ironicconductor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KollaConfig -
	KollaConfig = "/var/lib/config-data/merged/ironic-conductor-config.json"
	// DnsmasqKollaConfig -
	DnsmasqKollaConfig = "/var/lib/config-data/merged/dnsmasq-config.json"
	// HttpbootKollaConfig -
	HttpbootKollaConfig = "/var/lib/config-data/merged/httpboot-config.json"
	// LogPath
	LogPath = "/dev/stdout"
)
View Source
const (
	// ServiceCommand -
	ServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)

Variables

This section is empty.

Functions

func ConductorPods

func ConductorPods(
	ctx context.Context,
	instance *ironicv1.IronicConductor,
	helper *helper.Helper,
	serviceLabels map[string]string,
) (*corev1.PodList, error)

ConductorPods - Query current running ironic-conductor pods managed by the statefulset

func GetInitVolumeMounts

func GetInitVolumeMounts() []corev1.VolumeMount

GetInitVolumeMounts - Ironic Conductor init task VolumeMounts

func GetVolumeMounts

func GetVolumeMounts() []corev1.VolumeMount

GetVolumeMounts - Ironic Conductor VolumeMounts

func GetVolumes

func GetVolumes(parentName string, instance *ironicv1.IronicConductor) []corev1.Volume

GetVolumes -

func Pvc

Pvc - Returns the deployment object for the Database

func Route

func Route(
	serviceName string,
	instance *ironicv1.IronicConductor,
	routeLabels map[string]string,
) *routev1.Route

Route - Route for httpboot service when no provisioning network

func Service

func Service(
	serviceName string,
	instance *ironicv1.IronicConductor,
	serviceLabels map[string]string,
) *corev1.Service

Service - Service for conductor pod services

func StatefulSet

func StatefulSet(
	instance *ironicv1.IronicConductor,
	configHash string,
	labels map[string]string,
	ingressDomain string,
	annotations map[string]string,
) *appsv1.StatefulSet

StatefulSet func

Types

This section is empty.

Jump to

Keyboard shortcuts

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