gateway

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: 65 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KonnectGatewayControlPlaneFinalizer is the finalizer added to KonnectGatewayControlPlane resources when created by the Gateway controller.
	KonnectGatewayControlPlaneFinalizer = "gateway.operator.konghq.com/konnect-gateway-controlplane"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayConfigDataPlaneOptions

type GatewayConfigDataPlaneOptions = gwtypes.GatewayConfigDataPlaneOptions

GatewayConfigDataPlaneOptions is an alias for the internally used GatewayConfigDataPlaneOptions version type.

type GatewayConfiguration

type GatewayConfiguration = gwtypes.GatewayConfiguration

GatewayConfiguration is an alias for the internally used GatewayConfiguration version type.

type GatewayConfigurationSpec

type GatewayConfigurationSpec = gwtypes.GatewayConfigurationSpec

GatewayConfigurationSpec is an alias for the internally used GatewayConfigurationSpec version type.

type GatewayFinalizer

type GatewayFinalizer string

GatewayFinalizer defines finalizers added by gateway controller.

const (
	// GatewayFinalizerCleanupDataPlanes is the finalizer to cleanup owned dataplane resources.
	GatewayFinalizerCleanupDataPlanes GatewayFinalizer = "gateway-operator.konghq.com/cleanup-dataplanes"
	// GatewayFinalizerCleanupControlPlanes is the finalizer to cleanup owned controlplane resources.
	GatewayFinalizerCleanupControlPlanes GatewayFinalizer = "gateway-operator.konghq.com/cleanup-controlplanes"
	// GatewayFinalizerCleanupNetworkPolicies is the finalizer to cleanup owned network policies.
	GatewayFinalizerCleanupNetworkPolicies GatewayFinalizer = "gateway-operator.konghq.com/cleanup-network-policies"
)

type Reconciler

type Reconciler struct {
	client.Client

	ControllerOptions       controller.Options
	Scheme                  *runtime.Scheme
	Namespace               string
	PodLabels               map[string]string
	DefaultDataPlaneImage   string
	KonnectEnabled          bool
	AnonymousReportsEnabled bool
	LoggingMode             logging.Mode
}

Reconciler reconciles a Gateway object.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile moves the current state of an object to the intended state.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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