Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for Negate (0.17 sec)

  1. test/stress/runstress.go

    		log.Fatalf("stressExec: exec output = %q; want %q", out, wantOutput)
    	}
    	Println("did exec")
    }
    
    func stressExec() {
    	gate := make(chan bool, 10) // max execs at once
    	for {
    		gate <- true
    		go func() {
    			doAnExec()
    			<-gate
    		}()
    	}
    }
    
    func ringf(in <-chan int, out chan<- int, donec chan bool) {
    	for {
    		var n int
    		select {
    		case <-donec:
    			return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    	if len(p.Spec.SchedulingGates) == 0 {
    		return nil
    	}
    	gates := make([]string, 0, len(p.Spec.SchedulingGates))
    	for _, gate := range p.Spec.SchedulingGates {
    		gates = append(gates, gate.Name)
    	}
    	return framework.NewStatus(framework.UnschedulableAndUnresolvable, fmt.Sprintf("waiting for scheduling gates: %v", gates))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/feature/feature.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package feature
    
    // Features carries feature gate values used by various plugins.
    // This struct allows us to break the dependency of the plugins on
    // the internal k8s features pkg.
    type Features struct {
    	EnableDynamicResourceAllocation              bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go

    	DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()
    
    	// DefaultFeatureGate is a shared global FeatureGate.
    	// Top-level commands/options setup that needs to modify this feature gate should use DefaultMutableFeatureGate.
    	DefaultFeatureGate featuregate.FeatureGate = DefaultMutableFeatureGate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/controllermanager_test.go

    		{
    			name:               "standalone taint-eviction-controller should run when SeparateTaintEvictionController feature gate is enabled",
    			enableFeatureGate:  true,
    			expectInitFuncCall: true,
    		},
    		{
    			name:               "standalone taint-eviction-controller should not run when SeparateTaintEvictionController feature gate is not enabled",
    			enableFeatureGate:  false,
    			expectInitFuncCall: false,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/match/matchers.go

    func Or(ms ...Matcher) Matcher {
    	return func(i echo.Instance) bool {
    		for _, m := range ms {
    			if m != nil && m(i) {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    // Not negates the given matcher. Example:
    //
    //	Not(Naked())
    func Not(m Matcher) Matcher {
    	return func(i echo.Instance) bool {
    		return !m(i)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. pkg/probe/exec/exec.go

    			if utilfeature.DefaultFeatureGate.Enabled(features.ExecProbeTimeout) {
    				return probe.Failure, err.Error(), nil
    			}
    
    			klog.Warningf("Exec probe timed out but ExecProbeTimeout feature gate was disabled")
    		}
    
    		return probe.Unknown, "", err
    	}
    	return probe.Success, string(data), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/validatingadmissionpolicystatus.go

    	}
    }
    
    func startValidatingAdmissionPolicyStatusController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    	// KCM won't start the controller without the feature gate set.
    
    	schemaResolver := resolver.NewDefinitionsSchemaResolver(openapi.GetOpenAPIDefinitions, k8sscheme.Scheme, apiextensionsscheme.Scheme).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. pkg/registry/storagemigration/rest/storage_storagemigration.go

    				return nil, err
    			}
    			storage[resource] = svm
    			storage[resource+"/status"] = svmStatus
    		} else {
    			klog.Warning("StorageVersionMigrator storage is disabled because the StorageVersionMigrator feature gate is disabled")
    		}
    	}
    
    	return storage, nil
    }
    
    func (p RESTStorageProvider) GroupName() string {
    	return storagemigration.GroupName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go

    	// https://github.com/kubernetes/kubeadm/issues/2907
    	if !features.Enabled(initCfg.ClusterConfiguration.FeatureGates, features.WaitForAllControlPlaneComponents) {
    		klog.V(5).Infof("[wait-control-plane] Skipping phase as the feature gate WaitForAllControlPlaneComponents is disabled")
    		return nil
    	}
    
    	waiter, err := newControlPlaneWaiter(data.DryRun(), 0, nil, data.OutputWriter())
    	if err != nil {
    		return errors.Wrap(err, "error creating waiter")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top