Documentation ¶
Index ¶
- Constants
- func GetInitContainers(inits []InitContainer) []corev1.Container
- func GetInitVolumeMounts(instance *ospdirectorv1beta1.OpenStackClient) []corev1.VolumeMount
- func GetVolumeMounts(instance *ospdirectorv1beta1.OpenStackClient) []corev1.VolumeMount
- func GetVolumes(instance *ospdirectorv1beta1.OpenStackClient) []corev1.Volume
- type InitContainer
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
Click to show internal directories.
Click to hide internal directories.