Help us shape the future of Go! Take the 2026 Go Developer Survey

clusterconnection

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

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

Extension is the Calico Enterprise behavior for the clusterconnection controller and the guardian components it renders.

func New

func New(variant operatorv1.ProductVariant) *Extension

New returns the clusterconnection extension for the variant the operator resolved.

func (*Extension) ExtendInputs

ExtendInputs computes the Enterprise-specific Guardian inputs the controller reads back: the managed cluster version (CNXVersion) and whether the license permits the domain-based egress network policy. It creates no certificates, so it returns no managed keypairs. The OSS controller path supplies its own defaults when this hook is absent.

func (*Extension) Modify

Modify dispatches over the components the clusterconnection controller renders.

func (*Extension) ValidateAndDefault

func (e *Extension) ValidateAndDefault(cr *operatorv1.ManagementClusterConnection) error

ValidateAndDefault accepts the Enterprise-only fields and defaults impersonation to empty lists so Guardian renders a stable config.

func (*Extension) Watches

Watches registers the resources only Enterprise guardian renders from.

Jump to

Keyboard shortcuts

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