Documentation ¶
Index ¶
- Constants
- Variables
- func LogJobOutput(t *testing.T, ctx context.Context, c kubernetes.Interface, namespace string, ...)
- func Plaintext(t *testing.T, _ *testlib.Client) map[string][]byte
- func RunMultiple(t *testing.T, f func(t *testing.T))
- func RunMultipleN(t *testing.T, n int, f func(t *testing.T))
- func SaslPlaintextScram512(t *testing.T, client *testlib.Client) map[string][]byte
- func Ssl(t *testing.T, client *testlib.Client) map[string][]byte
- func SslSaslScram512(t *testing.T, client *testlib.Client) map[string][]byte
- type ConfigProvider
- type SecretProvider
Constants ¶
View Source
const ( // Kafka bootstrap server. BootstrapServersPlaintext = "my-cluster-kafka-bootstrap.kafka:9092" BootstrapServersSsl = "my-cluster-kafka-bootstrap.kafka:9093" BootstrapServersSaslPlaintext = "my-cluster-kafka-bootstrap.kafka:9094" BootstrapServersSslSaslScram = "my-cluster-kafka-bootstrap.kafka:9095" NumPartitions = 10 ReplicationFactor = 3 KafkaClusterNamespace = "kafka" TlsUserSecretName = "my-tls-user" SaslUserSecretName = "my-sasl-user" CaSecretName = "my-cluster-cluster-ca-cert" )
Variables ¶
View Source
var ( // Kafka bootstrap server as array. BootstrapServersPlaintextArr = []string{BootstrapServersPlaintext} BootstrapServersSslArr = []string{BootstrapServersSsl} BootstrapServersSaslPlaintextArr = []string{BootstrapServersSaslPlaintext} BootstrapServersSslSaslScramArr = []string{BootstrapServersSslSaslScram} )
Functions ¶
func LogJobOutput ¶ added in v0.23.0
func RunMultiple ¶
RunMultiple run test function f `rerunTimes` times.
func RunMultipleN ¶
RunMultiple run test function f n times.
func SaslPlaintextScram512 ¶ added in v0.21.0
Types ¶
type ConfigProvider ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.