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 ¶
Reconcile moves the current state of an object to the intended state.
func (*Reconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.