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
Click to show internal directories.
Click to hide internal directories.