Documentation ¶
Index ¶
- Constants
- func CreateServiceMonitor(suc *model.ServiceUnitConfig, cc *model.ClusterConfig) *promv1.ServiceMonitor
- func CreateStatelessUnitDeployment(suc *model.ServiceUnitConfig, cc *model.ClusterConfig) *appsv1.Deployment
- func CreateStatelessUnitService(suc *model.ServiceUnitConfig, cc *model.ClusterConfig) *corev1.Service
- func CreateStatelessUnitYamlConfigMap(suc *model.ServiceUnitConfig, cc *model.ClusterConfig, rawConfig string) *corev1.ConfigMap
Constants ¶
View Source
const ( HTTP_PORT_NAME = "http" GRPC_PORT_NAME = "grpc" HEALTH_PORT_NAME = "health" )
Variables ¶
This section is empty.
Functions ¶
func CreateServiceMonitor ¶ added in v1.0.10
func CreateServiceMonitor(suc *model.ServiceUnitConfig, cc *model.ClusterConfig) *promv1.ServiceMonitor
func CreateStatelessUnitDeployment ¶
func CreateStatelessUnitDeployment(suc *model.ServiceUnitConfig, cc *model.ClusterConfig) *appsv1.Deployment
CreateServiceUnitDeployment creates deployment for service unit
func CreateStatelessUnitService ¶
func CreateStatelessUnitService(suc *model.ServiceUnitConfig, cc *model.ClusterConfig) *corev1.Service
CreateServiceUnitService creates service for service unit
func CreateStatelessUnitYamlConfigMap ¶
func CreateStatelessUnitYamlConfigMap(suc *model.ServiceUnitConfig, cc *model.ClusterConfig, rawConfig string) *corev1.ConfigMap
CreateServiceUnitConfigMap creates config config map for service unit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.