Documentation
¶
Index ¶
Constants ¶
const KonnectGatewayControlPlaneFinalizer = consts.KonnectGatewayControlPlaneFinalizer
KonnectGatewayControlPlaneFinalizer is the finalizer added to KonnectGatewayControlPlane resources when created by the Gateway controller.
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
WatchNamespaces []string
// DataPlaneIPFamily controls which IP family (or families) provisioned
// DataPlanes' Kong listens bind to.
DataPlaneIPFamily ipfamily.IPFamily
// ReferenceGrantVersion is the ReferenceGrant API GroupVersion (v1 or v1beta1)
// served by the cluster. It's done this way to be able to support GWAPI < v1.5.
ReferenceGrantVersion schema.GroupVersion
// contains filtered or unexported fields
}
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.