controllers

package
v0.0.0-...-b1976e9 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewControllerDeployment

func NewControllerDeployment(client kubernetes.Interface) *Controller

func (*Controller) Create

func (c *Controller) Create(kdAudit *kdauditv1alpha1.KDAudit) (*appsv1.Deployment, error)

func (*Controller) GetObjDiff

func (c *Controller) GetObjDiff(depActive *appsv1.Deployment, kdAudit *kdauditv1alpha1.KDAudit) (bool, error)

func (*Controller) Update

func (c *Controller) Update(kdAudit *kdauditv1alpha1.KDAudit) (*appsv1.Deployment, error)

type ControllerType

type ControllerType int
const (
	NamespaceWatcher ControllerType = iota + 1
)

type Deployment

type Deployment struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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