Documentation ¶
Index ¶
- Constants
- func ConfigJob(ctx context.Context, h *helper.Helper, k8sClient client.Client, ...) ([]*batchv1.Job, error)
- func CreateAdditionalNetworks(ctx context.Context, h *helper.Helper, instance *v1beta1.OVNController, ...) ([]string, error)
- func DaemonSet(instance *v1beta1.OVNController, configHash string, labels map[string]string, ...) (*appsv1.DaemonSet, error)
- func EnvDownwardAPI(field string) env.Setter
- func GetOvnControllerVolumeMounts() []corev1.VolumeMount
- func GetVolumes(name string, namespace string) []corev1.Volume
Constants ¶
View Source
const (
// ServiceName - ovn-controller service name
ServiceName = "ovn-controller"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigJob ¶
func ConfigJob( ctx context.Context, h *helper.Helper, k8sClient client.Client, instance *v1beta1.OVNController, sbCluster *v1beta1.OVNDBCluster, labels map[string]string, ) ([]*batchv1.Job, error)
ConfigJob - prepare job to configure ovn-controller
func CreateAdditionalNetworks ¶
func CreateAdditionalNetworks( ctx context.Context, h *helper.Helper, instance *v1beta1.OVNController, labels map[string]string, ) ([]string, error)
CreateAdditionalNetworks - creates network attachement definitions based on the provided mappings
func DaemonSet ¶
func DaemonSet( instance *v1beta1.OVNController, configHash string, labels map[string]string, annotations map[string]string, ) (*appsv1.DaemonSet, error)
DaemonSet func
func EnvDownwardAPI ¶
EnvDownwardAPI - set env from FieldRef->FieldPath, e.g. status.podIP
func GetOvnControllerVolumeMounts ¶
func GetOvnControllerVolumeMounts() []corev1.VolumeMount
GetOvnControllerVolumeMounts - ovn-controller VolumeMounts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.