Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(ctx context.Context, processed adapter.EnvConfigAccessor, ceClient cloudevents.Client) adapter.Adapter
func NewController ¶
func NewController(ctx context.Context, adapter adapter.Adapter) *controller.Impl
NewController initializes the controller and registers event handlers to enqueue events.
func NewEnvConfig ¶
func NewEnvConfig() adapter.EnvConfigAccessor
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) Remove ¶
func (a *Adapter) Remove(obj *v1beta1.KafkaSource)
func (*Adapter) ResolveSecret ¶
func (a *Adapter) ResolveSecret(ctx context.Context, ns string, ref *corev1.SecretKeySelector) string
ResolveSecret resolves the secret reference
type AdapterConfig ¶
type MTAdapter ¶
type MTAdapter interface { // Update is called when the source is ready and when the specification and/or status has changed. Update(ctx context.Context, source *v1beta1.KafkaSource) // Remove is called when the source has been deleted. Remove(source *v1beta1.KafkaSource) }
MTAdapter is the interface the multi-tenant KafkaSource adapter must implement
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler updates the internal Adapter cache kafkaSources
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, source *v1beta1.KafkaSource) reconciler.Event
Click to show internal directories.
Click to hide internal directories.