Documentation
¶
Index ¶
- Constants
- func DaemonSet(instance *octaviav1.OctaviaAmphoraController, configHash string, ...) *appsv1.DaemonSet
- func EnsureFlavors(ctx context.Context, instance *octaviav1.OctaviaAmphoraController, ...) (string, error)
- func GetCertVolume(certSecretName string) []corev1.Volume
- func GetCertVolumeMount() []corev1.VolumeMount
- func GetInitVolumeMounts() []corev1.VolumeMount
- func GetVolumes(name string) []corev1.Volume
- type FlavorProfileData
- type OctaviaFlavors
Constants ¶
View Source
const (
// InitContainerCommand -
InitContainerCommand = "/usr/local/bin/container-scripts/init.sh %s"
)
Variables ¶
This section is empty.
Functions ¶
func DaemonSet ¶
func DaemonSet( instance *octaviav1.OctaviaAmphoraController, configHash string, labels map[string]string, annotations map[string]string, ) *appsv1.DaemonSet
DaemonSet func
func EnsureFlavors ¶
func EnsureFlavors(ctx context.Context, instance *octaviav1.OctaviaAmphoraController, log *logr.Logger, helper *helper.Helper) (string, error)
EnsureFlavors - enable that the Nova flavors for the amphora VMs are created
returns the UUID of the default Nova flavor
func GetCertVolume ¶
GetCertVolume - service volumes
func GetCertVolumeMount ¶
func GetCertVolumeMount() []corev1.VolumeMount
GetCertVolumeMount - certificate VolumeMount
func GetInitVolumeMounts ¶
func GetInitVolumeMounts() []corev1.VolumeMount
func GetVolumes ¶
Types ¶
type FlavorProfileData ¶
type FlavorProfileData struct { ComputeFlavorID string `json:"compute_flavor"` AmpImageTag string `json:"amp_image_tag"` }
FlavorProfileData -
Click to show internal directories.
Click to hide internal directories.