zendesksource

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonSourceNotReady      = "NotReady"
	ReasonHandlerDeregistered = "Deregistered"
)

Reasons for API Events

Variables

This section is empty.

Functions

func NewAdapter

func NewAdapter(component string) pkgadapter.AdapterConstructor

NewAdapter returns a constructor for the source's adapter.

func NewController added in v1.4.0

func NewController(component string) pkgadapter.ControllerConstructor

NewController returns a constructor for the event source's Reconciler.

func NewEnvConfig added in v1.4.0

func NewEnvConfig() env.ConfigAccessor

NewEnvConfig satisfies env.ConfigConstructor. Returns an accessor for the source's adapter envConfig.

Types

type MTAdapter added in v1.4.0

type MTAdapter interface {
	// Registers a HTTP handler for the given source.
	RegisterHandlerFor(context.Context, *v1alpha1.ZendeskSource) error
	// Deregisters the HTTP handler for the given source.
	DeregisterHandlerFor(context.Context, *v1alpha1.ZendeskSource) error
}

MTAdapter allows the multi-tenant adapter to expose methods the reconciler can call while reconciling a source object.

type Reconciler added in v1.4.0

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for the event source type.

func (*Reconciler) ObserveFinalizeKind added in v1.4.0

func (r *Reconciler) ObserveFinalizeKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event

ObserveFinalizeKind implements reconcilerv1alpha1.ReadOnlyFinalizer.

func (*Reconciler) ObserveKind added in v1.4.0

func (r *Reconciler) ObserveKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event

ObserveKind implements reconcilerv1alpha1.ReadOnlyInterface.

func (*Reconciler) ReconcileKind added in v1.4.0

func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.ZendeskSource) reconciler.Event

ReconcileKind implements reconcilerv1alpha1.Interface.

Directories

Path Synopsis
Package handler contains the logic for handling Zendesk webhook events.
Package handler contains the logic for handling Zendesk webhook events.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL