Documentation
¶
Index ¶
- Constants
- type Actuator
- func (a *Actuator) ControllerName() string
- func (a *Actuator) FinalizerLocalName() string
- func (a *Actuator) GetGVK() schema.GroupVersionKind
- func (a *Actuator) IsRelevantSourceObject(r *common.SourceReconciler[*dnsv1alpha1.DNSEntry], entry *dnsv1alpha1.DNSEntry) bool
- func (a *Actuator) NewSourceObject() *dnsv1alpha1.DNSEntry
- func (a *Actuator) OnDelete(_ client.ObjectKey)
- func (a *Actuator) ReconcileSourceObject(ctx context.Context, r *common.SourceReconciler[*dnsv1alpha1.DNSEntry], ...) (reconcile.Result, error)
- func (a *Actuator) ShouldSetTargetEntryAnnotation() bool
Constants ¶
View Source
const ControllerName = "dnsentry-source"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actuator ¶
type Actuator struct {
}
Actuator is the actuator for DNSEntry source objects.
func (*Actuator) ControllerName ¶
ControllerName returns the name of this controller.
func (*Actuator) FinalizerLocalName ¶
FinalizerLocalName returns the local name of the finalizer.
func (*Actuator) GetGVK ¶
func (a *Actuator) GetGVK() schema.GroupVersionKind
GetGVK returns the GVK of DNSEntry.
func (*Actuator) IsRelevantSourceObject ¶
func (a *Actuator) IsRelevantSourceObject(r *common.SourceReconciler[*dnsv1alpha1.DNSEntry], entry *dnsv1alpha1.DNSEntry) bool
IsRelevantSourceObject checks whether the given DNSEntry is relevant for DNS management.
func (*Actuator) NewSourceObject ¶
func (a *Actuator) NewSourceObject() *dnsv1alpha1.DNSEntry
NewSourceObject creates a new DNSEntry object.
func (*Actuator) OnDelete ¶ added in v0.40.0
OnDelete is called when a DNSEntry is deleted. No action is needed in this case.
func (*Actuator) ReconcileSourceObject ¶
func (a *Actuator) ReconcileSourceObject( ctx context.Context, r *common.SourceReconciler[*dnsv1alpha1.DNSEntry], entry *dnsv1alpha1.DNSEntry, ) ( reconcile.Result, error, )
ReconcileSourceObject reconciles the given DNSEntry object.
func (*Actuator) ShouldSetTargetEntryAnnotation ¶
ShouldSetTargetEntryAnnotation indicates whether the target DNSEntry annotation should be set on the source object.
Click to show internal directories.
Click to hide internal directories.