heat

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName -
	ServiceName = "heat"
	// ServiceType -
	ServiceType = "orchestration"
	// CfnServiceName -
	CfnServiceName = "heat-cfn"
	// CfnServiceType -
	CfnServiceType = "cloudformation"
	// StackDomainAdminUsername -
	StackDomainAdminUsername = "heat_stack_domain_admin"
	// StackDomainName -
	StackDomainName = "heat_stack"
	// DatabaseName -
	DatabaseName = "heat"
	// HeatPublicPort -
	HeatPublicPort int32 = 8004
	// HeatInternalPort -
	HeatInternalPort int32 = 8004
	// HeatCfnPublicPort -
	HeatCfnPublicPort int32 = 8000
	// HeatCfnInternalPort -
	HeatCfnInternalPort int32 = 8000
	// KollaConfigDbSync -
	KollaConfigDbSync = "/var/lib/config-data/merged/db-sync-config.json"
	// APIComponent -
	APIComponent = "api"
	// CfnAPIComponent -
	CfnAPIComponent = "cfnapi"
	// EngineComponent -
	EngineComponent = "engine"
)
View Source
const (
	DBSyncCommand = "/usr/local/bin/kolla_set_configs && su heat -s /bin/bash -c 'heat-manage --config-file /etc/heat/heat.conf db_sync'"
)

DBSyncCommand

View Source
const (
	InitContainerCommand = "/usr/local/bin/container-scripts/init.sh"
)

InitContainerCommand is

Variables

This section is empty.

Functions

func DBSyncJob

func DBSyncJob(
	instance *heatv1beta1.Heat,
	labels map[string]string,
) *batchv1.Job

DBSyncJob function

func GetInitVolumeMounts

func GetInitVolumeMounts() []corev1.VolumeMount

GetInitVolumeMounts ...

func GetOwningHeatName

func GetOwningHeatName(instance client.Object) string

GetOwningHeatName - Given a HeatAPI, HeatCfnAPI, HeatEngine object, returning the parent Heat object that created it (if any)

func GetVolumeMounts

func GetVolumeMounts() []corev1.VolumeMount

GetVolumeMounts ...

func GetVolumes

func GetVolumes(name string) []corev1.Volume

GetVolumes ...

func InitContainer

func InitContainer(init APIDetails) []corev1.Container

InitContainer ..

Types

type APIDetails

type APIDetails struct {
	ContainerImage            string
	DatabaseHost              string
	DatabaseUser              string
	DatabaseName              string
	TransportURL              string
	OSPSecret                 string
	DBPasswordSelector        string
	UserPasswordSelector      string
	AuthEncryptionKeySelector string
	VolumeMounts              []corev1.VolumeMount
	Privileged                bool
}

APIDetails ..

Jump to

Keyboard shortcuts

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