From 3588d447f1c75d28943f6c17d57f5d075fe6c5ca Mon Sep 17 00:00:00 2001 From: Aiwantaozi Date: Wed, 23 Jan 2019 08:55:45 +0800 Subject: [PATCH] generate code --- .../v3/zz_generated_kafka_config.go | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/client/management/v3/zz_generated_kafka_config.go b/client/management/v3/zz_generated_kafka_config.go index b1f8aa70..c1b04dcd 100644 --- a/client/management/v3/zz_generated_kafka_config.go +++ b/client/management/v3/zz_generated_kafka_config.go @@ -1,20 +1,28 @@ package client const ( - KafkaConfigType = "kafkaConfig" - KafkaConfigFieldBrokerEndpoints = "brokerEndpoints" - KafkaConfigFieldCertificate = "certificate" - KafkaConfigFieldClientCert = "clientCert" - KafkaConfigFieldClientKey = "clientKey" - KafkaConfigFieldTopic = "topic" - KafkaConfigFieldZookeeperEndpoint = "zookeeperEndpoint" + KafkaConfigType = "kafkaConfig" + KafkaConfigFieldBrokerEndpoints = "brokerEndpoints" + KafkaConfigFieldCertificate = "certificate" + KafkaConfigFieldClientCert = "clientCert" + KafkaConfigFieldClientKey = "clientKey" + KafkaConfigFieldSaslPassword = "saslPassword" + KafkaConfigFieldSaslScramMechanism = "saslScramMechanism" + KafkaConfigFieldSaslType = "saslType" + KafkaConfigFieldSaslUsername = "saslUsername" + KafkaConfigFieldTopic = "topic" + KafkaConfigFieldZookeeperEndpoint = "zookeeperEndpoint" ) type KafkaConfig struct { - BrokerEndpoints []string `json:"brokerEndpoints,omitempty" yaml:"brokerEndpoints,omitempty"` - Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"` - ClientCert string `json:"clientCert,omitempty" yaml:"clientCert,omitempty"` - ClientKey string `json:"clientKey,omitempty" yaml:"clientKey,omitempty"` - Topic string `json:"topic,omitempty" yaml:"topic,omitempty"` - ZookeeperEndpoint string `json:"zookeeperEndpoint,omitempty" yaml:"zookeeperEndpoint,omitempty"` + BrokerEndpoints []string `json:"brokerEndpoints,omitempty" yaml:"brokerEndpoints,omitempty"` + Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"` + ClientCert string `json:"clientCert,omitempty" yaml:"clientCert,omitempty"` + ClientKey string `json:"clientKey,omitempty" yaml:"clientKey,omitempty"` + SaslPassword string `json:"saslPassword,omitempty" yaml:"saslPassword,omitempty"` + SaslScramMechanism string `json:"saslScramMechanism,omitempty" yaml:"saslScramMechanism,omitempty"` + SaslType string `json:"saslType,omitempty" yaml:"saslType,omitempty"` + SaslUsername string `json:"saslUsername,omitempty" yaml:"saslUsername,omitempty"` + Topic string `json:"topic,omitempty" yaml:"topic,omitempty"` + ZookeeperEndpoint string `json:"zookeeperEndpoint,omitempty" yaml:"zookeeperEndpoint,omitempty"` }