Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ServiceName - ServiceName = "placement" // DatabaseName - DatabaseName = "placement" // PlacementPublicPort - PlacementPublicPort int32 = 8778 // PlacementInternalPort - PlacementInternalPort int32 = 8778 // KollaConfig - KollaConfig = "/var/lib/config-data/merged/placement-api-config.json" )
View Source
const (
// DBSyncCommand -
DBSyncCommand = "/usr/local/bin/kolla_set_configs && su -s /bin/sh -c \"placement-manage db sync\" placement"
)
View Source
const (
// InitContainerCommand -
InitContainerCommand = "/usr/local/bin/container-scripts/init.sh"
)
View Source
const (
// ServiceCommand -
ServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
Variables ¶
This section is empty.
Functions ¶
func DbSyncJob ¶
func DbSyncJob( instance *placementv1.PlacementAPI, labels map[string]string, annotations map[string]string, ) *batchv1.Job
DbSyncJob func
func Deployment ¶
func Deployment( instance *placementv1.PlacementAPI, configHash string, labels map[string]string, annotations map[string]string, ) *appsv1.Deployment
Deployment func
Types ¶
Click to show internal directories.
Click to hide internal directories.