controller

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const IngressControllerFinalizer = "svc-ingress-propagator.buttah.cloud/propagated-ingress"
View Source
const IssuerClusterAnnotation = "cert-manager.io/cluster-issuer"
View Source
const IssuerNamespacedAnnotation = "cert-manager.io/issuer"
View Source
const MetaBase = "ingress-propagator.buttah.cloud"
View Source
const WellKnownIngressAnnotation = "kubernetes.io/ingress.class"

Variables

View Source
var LabelManaged = MetaBase + "/managed-by"
View Source
var LabelPropagator = MetaBase + "/propagator"

Functions

This section is empty.

Types

type PropagationController

type PropagationController struct {
	Client       client.Client
	TargetClient client.Client
	Log          logr.Logger
	Recorder     record.EventRecorder
	Options      PropagationControllerOptions
}

func (*PropagationController) FromIngressToPropagation added in v0.2.0

func (i *PropagationController) FromIngressToPropagation(ctx context.Context, logger logr.Logger, kubeClient client.Client, ingress networkingv1.Ingress) (propagation.Propagation, error)

func (*PropagationController) Reconcile

func (i *PropagationController) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*PropagationController) SetupWithManager added in v0.2.0

func (i *PropagationController) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

type PropagationControllerOptions

type PropagationControllerOptions struct {
	Identifier             string
	IngressClassName       string
	ControllerClassName    string
	TargetIngressClassName string
	TargetNamespace        string
	TargetIssuerName       string
	TargetIssuerNamespaced bool
	TLSrespect             bool
}

Jump to

Keyboard shortcuts

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