Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap struct {
// contains filtered or unexported fields
}
ConfigMap represents a configmap of some kind
func New ¶
func New(clientset *kubernetes.Clientset, namespace, name string) (*ConfigMap, error)
New creates a new ConfigMap
type LeaderLease ¶
type LeaderLease struct {
// contains filtered or unexported fields
}
func NewLeaderLease ¶
func NewLeaderLease(cm *ConfigMap, leaseKey, myID string) *LeaderLease
func (*LeaderLease) ManageLease ¶
func (l *LeaderLease) ManageLease(stopCh <-chan struct{})
func (*LeaderLease) TryAcquireLease ¶
func (l *LeaderLease) TryAcquireLease() (bool, error)
Click to show internal directories.
Click to hide internal directories.