Documentation ¶
Index ¶
- Constants
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- type Reconciler
- func (r *Reconciler) BuildAdapter(src commonv1alpha1.Reconcilable, _ *apis.URL) (*servingv1.Service, error)
- func (r *Reconciler) FinalizeKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event
- func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event
Constants ¶
View Source
const ( // ReasonTargetCreated indicates the successful creation of a Zendesk Target/Trigger. ReasonTargetCreated = "TargetCreated" // ReasonTargetUpdated indicates the successful update of a Zendesk Target/Trigger. ReasonTargetUpdated = "TargetUpdated" // ReasonTargetDeleted indicates the successful deletion of a Zendesk Target/Trigger. ReasonTargetDeleted = "TargetDeleted" // ReasonFailedTargetDelete indicates a failure during the deletion of a Zendesk Target/Trigger. ReasonFailedTargetDelete = "FailedTargetDelete" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController creates a Reconciler for the event source and returns the result of NewImpl.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler implements controller.Reconciler for the event source type.
func (*Reconciler) BuildAdapter ¶
func (r *Reconciler) BuildAdapter(src commonv1alpha1.Reconcilable, _ *apis.URL) (*servingv1.Service, error)
BuildAdapter implements common.AdapterBuilder.
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event
FinalizeKind is called when the resource is deleted.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event
ReconcileKind implements Interface.ReconcileKind.
Click to show internal directories.
Click to hide internal directories.