Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSinkBinding ¶
func NewSinkBinding(name, namespace string, o ...SinkBindingOption) *sourcesv1alpha1.SinkBinding
NewSinkBinding creates a v1alpha1 SinkBinding with SinkBindingOptions
Types ¶
type SinkBindingOption ¶
type SinkBindingOption func(*sourcesv1alpha1.SinkBinding)
SinkBindingOption enables further configuration of a v1alpha1 SinkBinding.
func WithCloudEventOverrides ¶
func WithCloudEventOverrides(overrides duckv1.CloudEventOverrides) SinkBindingOption
WithCloudEventOverrides assigns the CloudEventsOverrides of the SinkBinding.
func WithSink ¶
func WithSink(sink duckv1.Destination) SinkBindingOption
WithSink assigns the sink of the SinkBinding.
func WithSubject ¶
func WithSubject(subject tracker.Reference) SinkBindingOption
WithSubject assigns the subject of the SinkBinding.
Click to show internal directories.
Click to hide internal directories.