status

package
v0.0.0-...-dbdff16 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorVersionName          = "operator"
	IngressControllerVersionName = "ingress-controller"
	CanaryImageVersionName       = "canary-server"
	UnknownVersionValue          = "unknown"
)

Variables

This section is empty.

Functions

func New

func New(mgr manager.Manager, config Config) (controller.Controller, error)

New creates the status controller. This is the controller that handles all the logic for creating the ClusterOperator operator and updating its status.

The controller watches IngressController resources in the manager namespace and uses them to compute the operator status. It also watches the clusteroperators resource so that it reconciles the ingress clusteroperator in case something else updates or deletes it.

Types

type Config

type Config struct {
	IngressControllerImage string
	CanaryImage            string
	OperatorReleaseVersion string
	Namespace              string
}

Config holds all the things necessary for the controller to run.

Jump to

Keyboard shortcuts

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