Documentation ¶
Index ¶
- Constants
- func DbSyncJob(instance *ironicv1.IronicInspector, labels map[string]string) *batchv1.Job
- func GetInitVolumeMounts() []corev1.VolumeMount
- func GetVolumeMounts() []corev1.VolumeMount
- func GetVolumes(name string) []corev1.Volume
- func InitContainer(init APIDetails) []corev1.Container
- func InspectorPods(ctx context.Context, instance *ironicv1.IronicInspector, helper *helper.Helper, ...) (*corev1.PodList, error)
- func Route(serviceName string, instance *ironicv1.IronicInspector, ...) *routev1.Route
- func Service(serviceName string, instance *ironicv1.IronicInspector, ...) *corev1.Service
- func StatefulSet(instance *ironicv1.IronicInspector, configHash string, ...) *appsv1.StatefulSet
- type APIDetails
Constants ¶
View Source
const ( // DatabaseName - DatabaseName = "ironic_inspector" // IronicInspectorPublicPort - IronicInspectorPublicPort int32 = 5050 // IronicInspectorInternalPort - IronicInspectorInternalPort int32 = 5050 // KollaConfigDbSync - KollaConfigDbSync = "/var/lib/config-data/merged/db-sync-config.json" // KollaConfig - KollaConfig = "/var/lib/config-data/merged/ironic-inspector-config.json" // DnsmasqKollaConfig - DnsmasqKollaConfig = "/var/lib/config-data/merged/dnsmasq-config.json" // HttpbootKollaConfig - HttpbootKollaConfig = "/var/lib/config-data/merged/httpboot-config.json" )
View Source
const ( // InitContainerCommand - InitContainerCommand = "/usr/local/bin/container-scripts/init.sh" // PxeInitContainerCommand - PxeInitContainerCommand = "/usr/local/bin/container-scripts/pxe-init.sh" )
View Source
const ( // DBSyncCommand - DBSyncCommand = "" /* 133-byte string literal not displayed */ )
View Source
const (
// ServiceCommand -
ServiceCommand = "/usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start"
)
Variables ¶
This section is empty.
Functions ¶
func GetInitVolumeMounts ¶
func GetInitVolumeMounts() []corev1.VolumeMount
GetInitVolumeMounts - Ironic Inspector init task VolumeMounts
func GetVolumeMounts ¶
func GetVolumeMounts() []corev1.VolumeMount
GetVolumeMounts - Ironic Inspector VolumeMounts
func InitContainer ¶
func InitContainer(init APIDetails) []corev1.Container
InitContainer - init container for Ironic Inspector pods
func InspectorPods ¶
func InspectorPods( ctx context.Context, instance *ironicv1.IronicInspector, helper *helper.Helper, serviceLabels map[string]string, ) (*corev1.PodList, error)
InspectorPods - Query current running ironic-inspector pods managed by the statefulset
func Route ¶
func Route( serviceName string, instance *ironicv1.IronicInspector, routeLabels map[string]string, ) *routev1.Route
Route - Route for httpboot service when no inspection network
func Service ¶
func Service( serviceName string, instance *ironicv1.IronicInspector, serviceLabels map[string]string, ) *corev1.Service
Service - Service for conductor pod services
func StatefulSet ¶
func StatefulSet( instance *ironicv1.IronicInspector, configHash string, labels map[string]string, ingressDomain string, annotations map[string]string, ) *appsv1.StatefulSet
StatefulSet func
Types ¶
type APIDetails ¶
type APIDetails struct { ContainerImage string PxeInit bool PxeContainerImage string DatabaseHost string DatabaseName string TransportURLSecret string OSPSecret string DBPasswordSelector string UserPasswordSelector string VolumeMounts []corev1.VolumeMount Privileged bool InspectorHTTPURL string IngressDomain string InspectionNetwork string }
APIDetails information
Click to show internal directories.
Click to hide internal directories.