controller_fetcher

package
v0.0.0-...-7600a38 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 7 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 {
	// 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

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