openstackclient

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppLabel -
	AppLabel = "osp-openstackclient"

	// FinalizerName -
	FinalizerName = "openstackclient.osp-director.openstack.org"

	// ServiceAccount -
	ServiceAccount = "osp-director-operator-openstackclient"

	// CloudAdminUID -
	CloudAdminUID = 42401
	// CloudAdminGID -
	CloudAdminGID = 42401
	// HostsPersistentStorageSize - size in GB
	HostsPersistentStorageSize = "1G"
	// CloudAdminPersistentStorageSize - size in GB
	CloudAdminPersistentStorageSize = "4G"
	// KollaSrcPersistentStorageSize - size in GB
	KollaSrcPersistentStorageSize = "1G"
	// Count - openstackclient count is atm fixed to 1
	Count = 1
	// Role - openstackclient has not tripleo role, set it as const
	Role = "OpenstackClient"
)

Variables

This section is empty.

Functions

func GetInitContainers

func GetInitContainers(inits []InitContainer) []corev1.Container

GetInitContainers - init containers

func GetInitVolumeMounts

func GetInitVolumeMounts(instance *ospdirectorv1beta1.OpenStackClient) []corev1.VolumeMount

GetInitVolumeMounts -

func GetVolumeMounts

func GetVolumeMounts(instance *ospdirectorv1beta1.OpenStackClient) []corev1.VolumeMount

GetVolumeMounts -

func GetVolumes

func GetVolumes(instance *ospdirectorv1beta1.OpenStackClient) []corev1.Volume

GetVolumes -

Types

type InitContainer

type InitContainer struct {
	Args           []string
	Commands       []string
	ContainerImage string
	Env            []corev1.EnvVar
	Privileged     bool
	VolumeMounts   []corev1.VolumeMount
}

InitContainer information

Jump to

Keyboard shortcuts

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