Documentation ¶
Index ¶
- Constants
- Variables
- func FilterDomains(wildcardPatterns []string, domains []string) (wildcardDomains, nonWildcardDomains []string)
- func GenNginxIngressAnnotations(obj *crdsv1.Router) map[string]string
- func IsHttpsCertReady(cert *certmanagerv1.Certificate) (bool, error)
- type Reconciler
- func (r *Reconciler) EnsuringHttpsCerts(req *rApi.Request[*crdsv1.Router]) stepResult.Result
- func (r *Reconciler) GetName() string
- func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, logger logging.Logger) error
Constants ¶
View Source
const ( IngressReady string = "ingress-ready" BasicAuthReady string = "basic-auth-ready" DefaultsPatched string = "patch-defaults" Finalizing string = "finalizing" CheckHttpsCerteady string = "https-cert-ready" EnsuringHttpsCertsIfEnabled string = "ensuring-https-certs-if-enabled" SettingUpBasicAuthIfEnabled string = "setting-up-basic-auth-if-enabled" CreatingIngressResources string = "creating-ingress-resources" CleaningUpResources string = "cleaning-up-resourcess" )
Variables ¶
View Source
var ( ApplyChecklist = []rApi.CheckMeta{ {Name: DefaultsPatched, Title: "Defaults Patched"}, {Name: EnsuringHttpsCertsIfEnabled, Title: "Ensuring HTTPS Cert if enabled"}, {Name: SettingUpBasicAuthIfEnabled, Title: "Setting Up Basic Auth if enabled"}, } DeleteChecklist = []rApi.CheckMeta{ {Name: CleaningUpResources, Title: "Cleaning Up Resources"}, } )
Functions ¶
func FilterDomains ¶
func IsHttpsCertReady ¶
func IsHttpsCertReady(cert *certmanagerv1.Certificate) (bool, error)
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Scheme *runtime.Scheme Name string Env *env.Env // contains filtered or unexported fields }
func (*Reconciler) EnsuringHttpsCerts ¶
func (r *Reconciler) EnsuringHttpsCerts(req *rApi.Request[*crdsv1.Router]) stepResult.Result
func (*Reconciler) GetName ¶
func (r *Reconciler) GetName() string
func (*Reconciler) SetupWithManager ¶
Click to show internal directories.
Click to hide internal directories.