controlplane

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCPForRef

GetCPForRef returns the KonnectGatewayControlPlane for the given ControlPlaneRef.

func GetControlPlaneRef

GetControlPlaneRef returns the ControlPlaneRef for the given entity.

func SpecDeepEqual

func SpecDeepEqual(spec1, spec2 *gwtypes.ControlPlaneOptions) bool

SpecDeepEqual returns true if the two ControlPlaneOptions are equal.

Types

type DefaultsArgs

type DefaultsArgs struct {
	Namespace                   string
	ControlPlaneName            string
	DataPlaneIngressServiceName string
	DataPlaneAdminServiceName   string
	OwnedByGateway              string
}

DefaultsArgs contains the parameters to pass to setControlPlaneDefaults

type ReferencedControlPlaneDoesNotExistError

type ReferencedControlPlaneDoesNotExistError struct {
	Reference commonv1alpha1.ControlPlaneRef
	Err       error
}

ReferencedControlPlaneDoesNotExistError is an error type that is returned when a Konnect entity references a KonnectGatewayControlPlane that does not exist.

func (ReferencedControlPlaneDoesNotExistError) Error

Error implements the error interface.

func (ReferencedControlPlaneDoesNotExistError) Unwrap

Unwrap returns the underlying error.

type ReferencedKongGatewayControlPlaneIsUnsupported

type ReferencedKongGatewayControlPlaneIsUnsupported struct {
	Reference commonv1alpha1.ControlPlaneRef
}

ReferencedKongGatewayControlPlaneIsUnsupported is an error type that is returned when a given CP reference type is not supported.

func (ReferencedKongGatewayControlPlaneIsUnsupported) Error

Jump to

Keyboard shortcuts

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