provisionserver

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

func GetVolumes(name string) []corev1.Volume

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

Jump to

Keyboard shortcuts

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