duck

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSubable added in v0.9.0

type PubSubable interface {
	kmeta.OwnerRefable
	// PubSubSpec returns the PubSubSpec portion of the Spec.
	PubSubSpec() *duckv1alpha1.PubSubSpec
	// PubSubStatus returns the PubSubStatus portion of the Status.
	PubSubStatus() *duckv1alpha1.PubSubStatus
	// ConditionSet returns the apis.ConditionSet of the embedding object
	// This Set must have the following Conditions defined in it.
	// "TopicReady",
	// "PullSubscriptionReady",
	// Which will be set appropriately automagically by the pubsub_reconciler.go
	ConditionSet() *apis.ConditionSet
}

PubSubable is an interface that each duckv1alpha1.PubSub duck type must support in order to get reconciled properly in a generic way.

Jump to

Keyboard shortcuts

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