controllers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterIssuerKind   = "ClusterIssuer"
	IssuerKind          = "Issuer"
	CertificateKind     = "Certificate"
	CertificateListKind = "CertificateList"
	DNSEndpointKind     = "DNSEndpoint"
	DNSEndpointListKind = "DNSEndpointList"
)

Constants for Kinds

Variables

This section is empty.

Functions

func SetupReconciler added in v0.3.1

func SetupReconciler(mgr manager.Manager, scheme *runtime.Scheme, opts ReconcilerOptions) error

SetupReconciler initializes reconcilers

func SetupScheme added in v0.3.1

func SetupScheme(scm *runtime.Scheme)

SetupScheme initializes a schema

Types

type HTTPProxyReconciler added in v0.3.0

type HTTPProxyReconciler struct {
	client.Client
	Log               logr.Logger
	Scheme            *runtime.Scheme
	ServiceKey        client.ObjectKey
	IssuerKey         client.ObjectKey
	Prefix            string
	DefaultIssuerName string
	DefaultIssuerKind string
	CreateDNSEndpoint bool
	CreateCertificate bool
	IngressClassName  string
}

HTTPProxyReconciler reconciles a HTTPProxy object

func (*HTTPProxyReconciler) Reconcile added in v0.3.0

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

Reconcile creates/updates CRDs from given HTTPProxy

func (*HTTPProxyReconciler) SetupWithManager added in v0.3.0

func (r *HTTPProxyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ReconcilerOptions added in v0.3.1

type ReconcilerOptions struct {
	ServiceKey        client.ObjectKey
	Prefix            string
	DefaultIssuerName string
	DefaultIssuerKind string
	CreateDNSEndpoint bool
	CreateCertificate bool
	IngressClassName  string
}

ReconcilerOptions is a set of options for reconcilers

Jump to

Keyboard shortcuts

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