Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupKongLicense ¶
func SetupKongLicense( ctx context.Context, mgr ctrl.Manager, cacheSyncTimeout time.Duration, log logr.Logger, ) error
SetupKongLicense runs the KongLicense reconciler on the given manager and returns the license getter it provides. It is exported so that the operator's manager can run the same controller the embedded KIC runs inside ControlPlanes, reusing its license picking and status reporting. It reports under the operator's own controller type (LicenseControllerTypeKongOperator) so entries in the KongLicense status do not collide with the embedded KIC's. The operator requires the KongLicense CRD up front via requiredCRDChecks; the dynamic wrapper only covers consumers without that check. NOTE: no license validator is wired, so the license validity is not verified; only its availability is reported.
Types ¶
type DataPlane ¶
type DataPlane = internalcontrollers.DataPlane
DataPlane re-exports internalcontrollers.DataPlane so that reconcilers living outside the ingress-controller module tree can consume it.
type LicenseGetter ¶
LicenseGetter re-exports license.Getter so that consumers outside the ingress-controller module tree can consume the effective Kong license.
type Reconciler ¶
type Reconciler = internalcontrollers.Reconciler
Reconciler re-exports internalcontrollers.Reconciler so that reconcilers living outside the ingress-controller module tree can implement it.