controller

package
v0.0.0-...-b894158 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ob Object, log logr.Logger, mgr manager.Manager, cloner domain.Cloner) error

Register register the different type of objects with the controller and setup the watcher conditions

Types

type Object

type Object interface {
	// Name is the given name for the object
	Name() string

	//Get return  the client object inside the binded object
	Get() client.Object

	// NewCopy return new deep copy of the object
	NewCopy() Object

	//Containers return list of all available containers inside the object
	Containers() []v1.Container

	// OverrideImage overrides the specific image name which holds the given index
	OverrideImage(containerIndex int, newImage string)
}

func NewDaemonSetObject

func NewDaemonSetObject() Object

func NewDeploymentObject

func NewDeploymentObject() Object

Jump to

Keyboard shortcuts

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