Documentation ¶
Index ¶
- Constants
- func CreateAdditionalNetworks(ctx context.Context, h *helper.Helper, instance *v1beta1.OVSDBServer, ...) ([]string, error)
- func DaemonSet(instance *v1beta1.OVSDBServer, configHash string, labels map[string]string, ...) (*appsv1.DaemonSet, error)
- func EnvDownwardAPI(field string) env.Setter
- func GetOvsDbVolumeMounts() []corev1.VolumeMount
- func GetVolumes(name string, namespace string) []corev1.Volume
Constants ¶
View Source
const (
// ServiceName - ovsdb-server service name
ServiceName = "ovsdb-server"
)
Variables ¶
This section is empty.
Functions ¶
func CreateAdditionalNetworks ¶
func CreateAdditionalNetworks( ctx context.Context, h *helper.Helper, instance *v1beta1.OVSDBServer, labels map[string]string, ) ([]string, error)
CreateAdditionalNetworks - creates network attachement definitions based on the provided mappings
func DaemonSet ¶
func DaemonSet( instance *v1beta1.OVSDBServer, 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 GetOvsDbVolumeMounts ¶
func GetOvsDbVolumeMounts() []corev1.VolumeMount
GetOvsDbVolumeMounts - ovsdb-server VolumeMounts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.