openstacknet

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// AppLabel -
	AppLabel = "osp-openstacknet"

	// FinalizerName -
	FinalizerName = "openstacknet.osp-director.openstack.org"
)

Variables

This section is empty.

Functions

func GetOpenStackNetsAttachConfigBridgeNames

func GetOpenStackNetsAttachConfigBridgeNames(r common.ReconcilerCommon, namespace string) (map[string]string, error)

GetOpenStackNetsAttachConfigBridgeNames - Return a map of OpenStackNet names in the passed namespace to the bridge-name in their attachConfig

func GetOpenStackNetsBindingMap

func GetOpenStackNetsBindingMap(r common.ReconcilerCommon, namespace string) (map[string]string, error)

GetOpenStackNetsBindingMap - Returns map of OpenStackNet name to binding type

func GetOpenStackNetsWithLabel

func GetOpenStackNetsWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetList, error)

GetOpenStackNetsWithLabel - Return a list of all OpenStackNets in the namespace that have (optional) labels

func GetSriovNetworkNodePoliciesWithLabel

func GetSriovNetworkNodePoliciesWithLabel(r common.ReconcilerCommon, labelSelector map[string]string, namespace string) (map[string]sriovnetworkv1.SriovNetworkNodePolicy, error)

GetSriovNetworkNodePoliciesWithLabel - Returns list of sriovnetworknodepolicies labeled with labelSelector

func GetSriovNetworksWithLabel

func GetSriovNetworksWithLabel(r common.ReconcilerCommon, labelSelector map[string]string, namespace string) (map[string]sriovnetworkv1.SriovNetwork, error)

GetSriovNetworksWithLabel - Returns list of sriovnetworks labeled with labelSelector

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL