Documentation ¶
Index ¶
- func Address(ctx context.Context, name string, timings ...time.Duration) (*duckv1.Addressable, error)
- func AsDestinationRef(name string) *duckv1.Destination
- func AsRef(name string) *duckv1.KReference
- func GVK() schema.GroupVersionKind
- func GVR() schema.GroupVersionResource
- func Install(name string, opts ...manifest.CfgFn) feature.StepFn
- func IsReady(name string, timings ...time.Duration) feature.StepFn
- func ValidateAddress(name string, validate addressable.ValidateAddressFn, timings ...time.Duration) feature.StepFn
- func WithNumPartitions(numPartitions string) manifest.CfgFn
- func WithReplicationFactor(replicationFactor string) manifest.CfgFn
- func WithRetentionDuration(retentionDuration string) manifest.CfgFn
- func WithVersion(version string) manifest.CfgFn
- type EnvConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Address ¶ added in v0.38.10
func Address(ctx context.Context, name string, timings ...time.Duration) (*duckv1.Addressable, error)
Address returns a Channel's address.
func AsDestinationRef ¶ added in v0.38.10
func AsDestinationRef(name string) *duckv1.Destination
AsRef returns a KRef for a Channel without namespace.
func AsRef ¶ added in v0.38.10
func AsRef(name string) *duckv1.KReference
AsRef returns a KRef for a Channel without namespace.
func GVK ¶ added in v0.38.10
func GVK() schema.GroupVersionKind
func GVR ¶
func GVR() schema.GroupVersionResource
func Install ¶
Install will create a KafkaChannel resource, using the latest version, augmented with the config fn options.
func ValidateAddress ¶ added in v0.38.10
func ValidateAddress(name string, validate addressable.ValidateAddressFn, timings ...time.Duration) feature.StepFn
ValidateAddress validates the address retured by Address
func WithNumPartitions ¶
WithNumPartitions adds the numPartitions config to a KafkaChannel spec.
func WithReplicationFactor ¶
WithReplicationFactor adds the replicationFactor config to a KafkaChannel spec.
func WithRetentionDuration ¶
WithRetentionDuration adds the retentionDuration config to a KafkaChannel spec.
func WithVersion ¶
WithVersion overrides the default API version
Types ¶
Click to show internal directories.
Click to hide internal directories.