Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AppLabel - AppLabel = "osp-provisionserver" // DefaultPort - The starting default port for the OpenStackProvisionServer's Apache container DefaultPort = 6190 // FinalizerName - FinalizerName = "provisionservers.osp-director.openstack.org" // HttpdConfPath - HttpdConfPath = "/usr/local/apache2/conf/httpd.conf" // OwnerUIDLabelSelector - OwnerUIDLabelSelector = "provisionservers.osp-director.openstack.org/uid" // OwnerNameSpaceLabelSelector - OwnerNameSpaceLabelSelector = "provisionservers.osp-director.openstack.org/namespace" // OwnerNameLabelSelector - OwnerNameLabelSelector = "provisionservers.osp-director.openstack.org/name" // ServiceAccount - ServiceAccount = "osp-director-operator-openstackprovisionserver" )
Variables ¶
View Source
var ( // Raw is the string representation of the version. This will be replaced // with the calculated version at build time. Raw = "v0.0.1" // Version is semver representation of the version. Version = semver.MustParse("0.0.1") // String is the human-friendly representation of the version. String = fmt.Sprintf("ProvisionServerIpDiscoveryAgent %s", Raw) )
Functions ¶
func GetInitContainers ¶
func GetInitContainers(inits []InitContainer) []corev1.Container
GetInitContainers - init containers for ProvisionServers
func GetInitVolumeMounts ¶
func GetInitVolumeMounts(name string) []corev1.VolumeMount
GetInitVolumeMounts - general init task VolumeMounts
func GetVolumeMounts ¶
func GetVolumeMounts(name string) []corev1.VolumeMount
GetVolumeMounts - general VolumeMounts
func GetVolumes ¶
GetVolumes - general provisioning service volumes
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.