Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 115 for Implementation (0.33 sec)

  1. pkg/controlplane/reconcilers/lease.go

    }
    
    func (s *storageLeases) Destroy() {
    	s.destroyFn()
    }
    
    // NewLeases creates a new etcd-based Leases implementation.
    func NewLeases(config *storagebackend.ConfigForResource, baseKey string, leaseTime time.Duration) (Leases, error) {
    	// note that newFunc, newListFunc and resourcePrefix
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/policy/v1beta1/types.go

    	// UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
    	// should be considered for eviction. Current implementation considers healthy pods,
    	// as pods that have status.conditions item with type="Ready",status="True".
    	//
    	// Valid policies are IfHealthyBudget and AlwaysAllow.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server.go

    resources. The scheduler then ranks each valid Node and binds the Pod to a
    suitable Node. Multiple different schedulers may be used within a cluster;
    kube-scheduler is the reference implementation.
    See [scheduling](https://kubernetes.io/docs/concepts/scheduling-eviction/)
    for more information about scheduling and the kube-scheduler component.`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    		dialer = &net.Dialer{
    			Timeout: 30 * time.Second,
    		}
    	}
    
    	proxyDialer, err := proxy.SOCKS5("tcp", proxyDialAddr, auth, dialer)
    	if err != nil {
    		return nil, err
    	}
    
    	// According to the implementation of proxy.SOCKS5, the type assertion will always succeed
    	contextDialer, ok := proxyDialer.(proxy.ContextDialer)
    	if !ok {
    		return nil, errors.New("SOCKS5 Dialer must implement ContextDialer")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control.go

    // as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.
    type StatefulSetControlInterface interface {
    	// UpdateStatefulSet implements the control logic for Pod creation, update, and deletion, and
    	// persistent volume creation, update, and deletion.
    	// If an implementation returns a non-nil error, the invocation will be retried using a rate-limited strategy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. plugin/pkg/admission/gc/gc_admission.go

    			},
    		}
    		return &gcPermissionsEnforcement{
    			Handler:   admission.NewHandler(admission.Create, admission.Update),
    			whiteList: whiteList,
    		}, nil
    	})
    }
    
    // gcPermissionsEnforcement is an implementation of admission.Interface.
    type gcPermissionsEnforcement struct {
    	*admission.Handler
    
    	authorizer authorizer.Authorizer
    
    	restMapper meta.RESTMapper
    
    	// items in this whitelist are ignored upon admission.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top