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