serviceunit

package
v1.1.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL