Documentation
¶
Overview ¶
Package manager contains functions to add and retrieve manager from context
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResourceLockFunc ¶ added in v0.7.0
type ResourceLockFunc func(*rest.Config, recorder.Provider, leaderelection.Options) (resourcelock.Interface, error)
ResourceLockFunc resouce lock function Ref: https://github.com/kubernetes-sigs/controller-runtime/blob/1638a6a9b82dc1e0046c7a1006f12dacd9475f54/pkg/leaderelection/leader_election.go#L54
type ResourceLockSetter ¶ added in v0.7.0
type ResourceLockSetter interface {
SetNewResourceLock(func(*rest.Config, recorder.Provider, leaderelection.Options) (resourcelock.Interface, error))
}
ResourceLockSetter sets a new resource lock function this will make possible to customize resource lock without having to force it into dependencies
Click to show internal directories.
Click to hide internal directories.