Documentation ¶
Index ¶
- Constants
- Variables
- func BuildOwnerLabelValue(record *v1alpha1.DNSRecord) string
- type DNSProbeReconciler
- type DNSRecordReconciler
- func (r *DNSRecordReconciler) DeleteHealthChecks(ctx context.Context, dnsRecord *v1alpha1.DNSRecord) error
- func (r *DNSRecordReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *DNSRecordReconciler) ReconcileHealthChecks(ctx context.Context, dnsRecord *v1alpha1.DNSRecord, allowInsecureCerts bool) error
- func (r *DNSRecordReconciler) SetupWithManager(mgr ctrl.Manager, maxRequeue, validForDuration, minRequeue time.Duration, ...) error
Constants ¶
View Source
const ( ProbeOwnerLabel = "kuadrant.io/health-probes-owner" DNSHealthCheckFinalizer = "kuadrant.io/dns-health-check-probe" )
View Source
const (
DNSRecordFinalizer = "kuadrant.io/dns-record"
)
Variables ¶
View Source
var (
ErrInvalidHeader = fmt.Errorf("invalid header format")
)
Functions ¶
func BuildOwnerLabelValue ¶ added in v0.7.0
BuildOwnerLabelValue ensures label value does not exceed the 63 char limit It uses the name of the record, if the resulting string longer than 63 chars, it will use UIDHash of the record
Types ¶
type DNSProbeReconciler ¶ added in v0.7.0
type DNSProbeReconciler struct { client.Client Scheme *runtime.Scheme ProbeManager *probes.ProbeManager }
DNSProbeReconciler reconciles a DNSRecord object
func (*DNSProbeReconciler) SetupWithManager ¶ added in v0.7.0
func (r *DNSProbeReconciler) SetupWithManager(mgr ctrl.Manager, maxRequeue, validForDuration, minRequeue time.Duration) error
SetupWithManager sets up the controller with the Manager.
type DNSRecordReconciler ¶
type DNSRecordReconciler struct { client.Client Scheme *runtime.Scheme ProviderFactory provider.Factory }
DNSRecordReconciler reconciles a DNSRecord object
func (*DNSRecordReconciler) DeleteHealthChecks ¶ added in v0.7.0
func (r *DNSRecordReconciler) DeleteHealthChecks(ctx context.Context, dnsRecord *v1alpha1.DNSRecord) error
DeleteHealthChecks deletes all v1alpha1.DNSHealthCheckProbe that have ProbeOwnerLabel of passed in DNSRecord
func (*DNSRecordReconciler) ReconcileHealthChecks ¶ added in v0.2.0
func (*DNSRecordReconciler) SetupWithManager ¶
func (r *DNSRecordReconciler) SetupWithManager(mgr ctrl.Manager, maxRequeue, validForDuration, minRequeue time.Duration, healthProbesEnabled, allowInsecureHealthCert bool) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.