provisionserver

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: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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