status

package
v0.0.0-...-392e1a3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 41 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

func RegisterMetrics

func RegisterMetrics() error

Types

type Config

type Config struct {
	// ControlPlaneTopology scopes the zero-worker startup exception and Node
	// watch to hosted clusters with an external control plane.
	ControlPlaneTopology configv1.TopologyMode
	// MarketplaceEnabled indicates whether the "marketplace" capability is
	// enabled.
	MarketplaceEnabled bool
	// OperatorLifecycleManagerEnabled indicates whether the
	// "OperatorLifecycleManager" capability is enabled.
	OperatorLifecycleManagerEnabled bool
	GatewayAPIWithoutOLMEnabled     bool
	IngressControllerImage          string
	HAProxyImages                   map[operatorv1.HAProxyVersion]string
	DefaultHAProxyVersion           operatorv1.HAProxyVersion
	CanaryImage                     string
	OperatorReleaseVersion          string
	Namespace                       string
	GatewayAPIOperatorVersion       string
	// ModeAccessor provides read-only access to the Gateway API
	// management mode transition state. May be nil when the
	// management mode feature gate is disabled.
	ModeAccessor *operatorcontroller.GatewayAPIModeAccessor
}

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

type IngressOperatorStatusExtension

type IngressOperatorStatusExtension struct {
	// UnmanagedGatewayAPICRDNames contains a comma separated list of unmanaged GatewayAPI CRDs
	// which are present on the cluster.
	UnmanagedGatewayAPICRDNames string `json:"unmanagedGatewayAPICRDNames,omitempty"`
}

IngressOperatorStatusExtension holds status extensions of the ingress cluster operator.

Jump to

Keyboard shortcuts

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