Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 185 for Implementation (1.39 sec)

  1. cmd/kubeadm/app/util/apiclient/wait.go

    	WaitForKubelet(healthzAddress string, healthzPort int32) error
    	// SetTimeout adjusts the timeout to the specified duration
    	SetTimeout(timeout time.Duration)
    }
    
    // KubeWaiter is an implementation of Waiter that is backed by a Kubernetes client
    type KubeWaiter struct {
    	client  clientset.Interface
    	timeout time.Duration
    	writer  io.Writer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/kubelet/volume_host.go

    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    )
    
    // NewInitializedVolumePluginMgr returns a new instance of
    // volume.VolumePluginMgr initialized with kubelets implementation of the
    // volume.VolumeHost interface.
    //
    // kubelet - used by VolumeHost methods to expose kubelet specific parameters
    // plugins - used to initialize volumePluginMgr
    func NewInitializedVolumePluginMgr(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    
    	// Depending on the implementation, different number of events that
    	// should be delivered to the watcher can be created before it will
    	// block the implementation and as a result force the watcher to be
    	// closed (as otherwise events would have to be dropped).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/token/token.go

    	return retrieveValidatedConfigInfo(nil, cfg, constants.DiscoveryRetryInterval, timeout)
    }
    
    // retrieveValidatedConfigInfo is a private implementation of RetrieveValidatedConfigInfo.
    // It accepts an optional clientset that can be used for testing purposes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common.go

    		// return the fake clientset used for dry-running
    		return fakeclient, nil
    	}
    	return kubeconfigutil.ClientSetFromFile(file)
    }
    
    // getWaiter gets the right waiter implementation
    func getWaiter(dryRun bool, client clientset.Interface, timeout time.Duration) apiclient.Waiter {
    	if dryRun {
    		return dryrunutil.NewWaiter()
    	}
    	return apiclient.NewKubeWaiter(client, timeout, os.Stdout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. pkg/controller/controller_utils.go

    //		controller1: expects  2 adds in 2 minutes
    //		controller2: expects  2 dels in 2 minutes
    //		controller3: expects -1 adds in 2 minutes => controller3's expectations have already been met
    //	}
    //
    // Implementation:
    //	ControlleeExpectation = pair of atomic counters to track controllee's creation/deletion
    //	ControllerExpectationsStore = TTLStore + a ControlleeExpectation per controller
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/defaults.go

    // SetDefaults_Namespace adds a default label for all namespaces
    func SetDefaults_Namespace(obj *v1.Namespace) {
    	// we can't SetDefaults for nameless namespaces (generateName).
    	// This code needs to be kept in sync with the implementation that exists
    	// in Namespace Canonicalize strategy (pkg/registry/core/namespace)
    
    	// note that this can result in many calls to feature enablement in some cases, but
    	// we assume that there's no real cost there.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    				// Dont have access to underlying regex, estimate a long regexp
    				regexSize := format.MaxRegexSize
    
    				// Copied from CEL implementation for regex cost
    				//
    				// https://swtch.com/~rsc/regexp/regexp1.html applies to RE2 implementation supported by CEL
    				// Add one to string length for purposes of cost calculation to prevent product of string and regex to be 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	}
    	return opts
    }
    
    type typeCheckingCompiler struct {
    	compositionEnv *plugincel.CompositionEnv
    	typeOverwrite  typeOverwrite
    }
    
    // CompileCELExpression compiles the given expression.
    // The implementation is the same as that of staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go
    // except that:
    // - object, oldObject, and params are typed instead of Dyn
    // - compiler does not enforce the output type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	if u, ok := into.(runtime.Unstructured); ok {
    		var content map[string]interface{}
    		defer func() {
    			switch u := u.(type) {
    			case *unstructured.UnstructuredList:
    				// UnstructuredList's implementation of SetUnstructuredContent
    				// produces different objects than those produced by a decode using
    				// UnstructuredJSONScheme:
    				//
    				//   1. SetUnstructuredContent retains the "items" key in the list's
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top