Documentation ¶
Index ¶
- func GVR() schema.GroupVersionResource
- func Install(name string, opts ...manifest.CfgFn) feature.StepFn
- func IsReady(name string, timings ...time.Duration) feature.StepFn
- func VerifyScale(name string, replicas int32) feature.StepFn
- func WithAnnotations(annotations map[string]string) manifest.CfgFn
- func WithBootstrapServers(bootstrapServers []string) manifest.CfgFn
- func WithConsumers(consumers int32) manifest.CfgFn
- func WithExtensions(extensions map[string]string) manifest.CfgFn
- func WithInitialOffset(offset sources.Offset) manifest.CfgFn
- func WithOrdering(ordering string) manifest.CfgFn
- func WithSASLDisabled() manifest.CfgFn
- func WithSASLEnabled() manifest.CfgFn
- func WithSASLPassword(name, key string) manifest.CfgFn
- func WithSASLType(name, key string) manifest.CfgFn
- func WithSASLUser(name, key string) manifest.CfgFn
- func WithSink(ref *duckv1.KReference, uri string) manifest.CfgFn
- func WithTLSCACert(name, key string) manifest.CfgFn
- func WithTLSCert(name, key string) manifest.CfgFn
- func WithTLSDisabled() manifest.CfgFn
- func WithTLSEnabled() manifest.CfgFn
- func WithTLSKey(name, key string) manifest.CfgFn
- func WithTopics(topics []string) manifest.CfgFn
- func WithVersion(version string) manifest.CfgFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GVR ¶
func GVR() schema.GroupVersionResource
func Install ¶
Install will create a KafkaSource resource, using the latest version, augmented with the config fn options.
func WithAnnotations ¶
WithAnnotations adds annotation to a KafkaSource metadata.
func WithBootstrapServers ¶
WithBootstrapServers adds the bootstrapServers config to a KafkaSource spec.
func WithConsumers ¶
WithConsumers adds consumers to a KafkaSource spec.
func WithExtensions ¶
WithExtensions set ceoverrides.extensions to a KafkaSource spec.
func WithInitialOffset ¶ added in v0.36.2
WithInitialOffset adds the initial offset config to a KafkaSource spec.
func WithOrdering ¶ added in v0.37.1
WithOrdering adds ordering a KafkaSource spec.
func WithSASLDisabled ¶ added in v0.37.1
WithSASLDisabled disables SASL to a KafkaSource spec.
func WithSASLEnabled ¶
WithSASLEnabled enables SASL to a KafkaSource spec.
func WithSASLPassword ¶
WithSASLPassword adds the SASL password config to a KafkaSource spec.
func WithSASLType ¶
WithSASLType adds the SASL type config to a KafkaSource spec.
func WithSASLUser ¶
WithSASLUser adds the SASL user config to a KafkaSource spec.
func WithSink ¶
func WithSink(ref *duckv1.KReference, uri string) manifest.CfgFn
WithSink adds the sink related config to a KafkaSource spec.
func WithTLSCACert ¶
WithTLSCACert adds the TLS caCert config to a KafkaSource spec.
func WithTLSCert ¶
WithTLSCert adds the TLS cert config to a KafkaSource spec.
func WithTLSDisabled ¶ added in v0.37.1
WithTLSDisabled disables TLS to a KafkaSource spec.
func WithTLSEnabled ¶
WithTLSEnabled enables TLS to a KafkaSource spec.
func WithTLSKey ¶
WithTLSKey adds the TLS key config to a KafkaSource spec.
func WithTopics ¶
WithTopics adds the topics config to a KafkaSource spec.
func WithVersion ¶
WithVersion overrides the default API version
Types ¶
This section is empty.