Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ContainerImage is the main running container. ContainerImage = common.ContainerNamePrefix + "kafka-manager:" + defaultVersion // DefaultHeapMB is the default kafka manager java heap size. // TODO what is the best heap size for kafka manager? DefaultHeapMB = 4096 ENV_ZKHOSTS = "ZK_HOSTS" ENV_JAVA_OPTS = "JAVA_OPTS" ENV_KM_USERNAME = "KM_USERNAME" ENV_KM_PASSWORD = "KM_PASSWORD" )
Variables ¶
This section is empty.
Functions ¶
func GenDefaultCreateServiceRequest ¶
func GenDefaultCreateServiceRequest(platform string, region string, cluster string, service string, opts *manage.CatalogKafkaManagerOptions, res *common.Resources, zkattr *common.ServiceAttr) *manage.CreateServiceRequest
GenDefaultCreateServiceRequest returns the default service creation request.
func ValidateRequest ¶
func ValidateRequest(req *manage.CatalogCreateKafkaManagerRequest) error
ValidateRequest checks if the request is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.