Documentation ¶
Index ¶
- Constants
- func GenDefaultCreateServiceRequest(platform string, region string, azs []string, cluster string, service string, ...) *manage.CreateServiceRequest
- func GenReplicaConfigs(platform string, cluster string, service string, azs []string, ...) []*manage.ReplicaConfig
- func ValidateRequest(r *manage.CatalogCreateKibanaRequest) error
Constants ¶
View Source
const ( // ContainerImage is the main running container. ContainerImage = common.ContainerNamePrefix + "kibana:" + defaultVersion // DefaultReserveMemoryMB is the default reserved memory size for Kibana DefaultReserveMemoryMB = 2048 )
Variables ¶
This section is empty.
Functions ¶
func GenDefaultCreateServiceRequest ¶
func GenDefaultCreateServiceRequest(platform string, region string, azs []string, cluster string, service string, res *common.Resources, opts *manage.CatalogKibanaOptions, esNode string) *manage.CreateServiceRequest
GenDefaultCreateServiceRequest returns the default service creation request. kibana simply connects to the first elasticsearch node. TODO create a local coordinating elasticsearch instance.
func GenReplicaConfigs ¶
func GenReplicaConfigs(platform string, cluster string, service string, azs []string, res *common.Resources, opts *manage.CatalogKibanaOptions, esNode string) []*manage.ReplicaConfig
GenReplicaConfigs generates the replica configs.
func ValidateRequest ¶
func ValidateRequest(r *manage.CatalogCreateKibanaRequest) error
ValidateRequest checks if the request is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.