kubernetes: k8s.io/kubernetes/pkg/kubelet/nodelease Index | Files

package nodelease

import "k8s.io/kubernetes/pkg/kubelet/nodelease"


Package Files


type Controller Uses

type Controller interface {
    Run(stopCh <-chan struct{})

Controller manages creating and renewing the lease for this Kubelet

func NewController Uses

func NewController(clock clock.Clock, client clientset.Interface, holderIdentity string, leaseDurationSeconds int32, onRepeatedHeartbeatFailure func()) Controller

NewController constructs and returns a controller

Package nodelease imports 12 packages (graph) and is imported by 1 packages. Updated 2019-09-08. Refresh now. Tools for package owners.