openstackprovisionserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 8 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

	// HttpdConfPath -
	HttpdConfPath = "/usr/local/apache2/conf/httpd.conf"
)
View Source
const (
	// ServiceCommand -
	ServiceCommand = "cp -f /usr/local/apache2/conf/httpd.conf /etc/httpd/conf/httpd.conf && /usr/bin/run-httpd"
)

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 Deployment

func Deployment(
	instance *baremetalv1.OpenStackProvisionServer,
	configHash string,
	labels map[string]string,
	provInterfaceName string,
) *appsv1.Deployment

Deployment func

func InitContainer

func InitContainer(init InitContainerDetails) []corev1.Container

InitContainer - init container for provision server pods

Types

type InitContainerDetails

type InitContainerDetails struct {
	ContainerImage string
	Privileged     bool
	VolumeMounts   []corev1.VolumeMount
}

InitContainerDetails information

Jump to

Keyboard shortcuts

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