Documentation ¶
Index ¶
- Constants
- func NewKafkaSecret(options ...KafkaSecretOption) *corev1.Secret
- func WithEmptyUsername(secret *corev1.Secret)
- func WithMissingConfig(secret *corev1.Secret)
- func WithModifiedNamespace(secret *corev1.Secret)
- func WithModifiedPassword(secret *corev1.Secret)
- func WithModifiedSaslType(secret *corev1.Secret)
- func WithModifiedUsername(secret *corev1.Secret)
- type KafkaSecretOption
Constants ¶
View Source
const ( DefaultKafkaBroker = "TestBroker" DefaultSecretUsername = "TestUsername" DefaultSecretPassword = "TestPassword" DefaultSecretSaslType = sarama.SASLTypePlaintext DefaultSecretNamespace = "TestNamespace" ModifiedSecretUsername = "TestModifiedUsername" ModifiedSecretPassword = "TestModifiedPassword" ModifiedSecretSaslType = sarama.SASLTypeSCRAMSHA256 ModifiedSecretNamespace = "TestModifiedNamespace" )
Constants
Variables ¶
This section is empty.
Functions ¶
func NewKafkaSecret ¶
func NewKafkaSecret(options ...KafkaSecretOption) *corev1.Secret
NewKafkaSecret Creates A New Eventing-Kafka Secret For Testing
func WithEmptyUsername ¶
WithEmptyUsername Empties The Default Username Section Of The Secret Data
func WithMissingConfig ¶
WithMissingConfig Removes the Data From The Secret
func WithModifiedNamespace ¶
WithModifiedNamespace Modifies The Default Namespace Section Of The Secret Data
func WithModifiedPassword ¶
WithModifiedPassword Modifies The Default Password Section Of The Secret Data
func WithModifiedSaslType ¶
WithModifiedSaslType Modifies The Default SaslType Section Of The Secret Data
func WithModifiedUsername ¶
WithModifiedUsername Modifies The Default Username Section Of The Secret Data
Types ¶
type KafkaSecretOption ¶
KafkaSecretOption Enables Customization Of An Eventing-Kafka Secret
Click to show internal directories.
Click to hide internal directories.