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 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) error // Remove is called when the source has been deleted. Remove(name, namespace string) }
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.