Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerFetcher ¶
func NewControllerFetcher(config *rest.Config, kubeClient kube_client.Interface, factory informers.SharedInformerFactory, betweenRefreshes, lifeTime time.Duration, jitterFactor float64) *controllerFetcher
NewControllerFetcher returns a new instance of controllerFetcher
Types ¶
type ControllerFetcher ¶
type ControllerFetcher interface { // FindTopMostWellKnownOrScalable returns topmost well-known or scalable controller. Error is returned if controller cannot be found. FindTopMostWellKnownOrScalable(controller *ControllerKeyWithAPIVersion) (*ControllerKeyWithAPIVersion, error) }
ControllerFetcher is responsible for finding the topmost well-known or scalable controller
type ControllerKey ¶
ControllerKey identifies a controller.
type ControllerKeyWithAPIVersion ¶
type ControllerKeyWithAPIVersion struct { ControllerKey ApiVersion string }
ControllerKeyWithAPIVersion identifies a controller and API it's defined in.
Click to show internal directories.
Click to hide internal directories.