controllerfetcher

package
v0.0.0-...-34f7b3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2019 License: GPL-3.0, Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerFetcher

type ControllerFetcher interface {
	// FindTopLevel returns top level controller. Error is returned if top level controller cannot be found.
	FindTopLevel(controller *ControllerKeyWithAPIVersion) (*ControllerKeyWithAPIVersion, error)
}

ControllerFetcher is responsible for finding the top level controller

func NewControllerFetcher

func NewControllerFetcher(config *rest.Config, kubeClient kube_client.Interface, factory informers.SharedInformerFactory) ControllerFetcher

NewControllerFetcher returns a new instance of controllerFetcher

type ControllerKey

type ControllerKey struct {
	Namespace string
	Kind      string
	Name      string
}

ControllerKey identifies a controller.

type ControllerKeyWithAPIVersion

type ControllerKeyWithAPIVersion struct {
	ControllerKey
	ApiVersion string
}

ControllerKeyWithAPIVersion identifies a controller and API it's defined in.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL