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[*corev1.Service], svc *corev1.Service) bool
- func (r *Actuator) NewSourceObject() *corev1.Service
- func (a *Actuator) ReconcileSourceObject(ctx context.Context, r *common.SourceReconciler[*corev1.Service], ...) (reconcile.Result, error)
- func (a *Actuator) ShouldSetTargetEntryAnnotation() bool
Constants ¶
View Source
const ControllerName = "service-source"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actuator ¶ added in v0.34.0
type Actuator struct {
}
Actuator is the actuator for Service source objects.
func (*Actuator) ControllerName ¶ added in v0.34.0
ControllerName returns the name of this controller.
func (*Actuator) FinalizerLocalName ¶ added in v0.34.0
FinalizerLocalName returns the local name of the finalizer.
func (*Actuator) GetGVK ¶ added in v0.34.0
func (a *Actuator) GetGVK() schema.GroupVersionKind
GetGVK returns the GVK of Service.
func (*Actuator) IsRelevantSourceObject ¶ added in v0.34.0
func (a *Actuator) IsRelevantSourceObject(r *common.SourceReconciler[*corev1.Service], svc *corev1.Service) bool
IsRelevantSourceObject checks whether the given Service is relevant for DNS management.
func (*Actuator) NewSourceObject ¶ added in v0.34.0
NewSourceObject creates a new Service object.
func (*Actuator) ReconcileSourceObject ¶ added in v0.34.0
func (a *Actuator) ReconcileSourceObject( ctx context.Context, r *common.SourceReconciler[*corev1.Service], service *corev1.Service, ) ( reconcile.Result, error, )
ReconcileSourceObject reconciles the given Service object.
func (*Actuator) ShouldSetTargetEntryAnnotation ¶ added in v0.34.0
ShouldSetTargetEntryAnnotation indicates whether the target DNSEntry annotation should be set on the source object.
Click to show internal directories.
Click to hide internal directories.