Documentation ¶
Index ¶
- Constants
- func GetOpenStackNetAttachmentBridgeName(r common.ReconcilerCommon, namespace string, attachReference string) (string, error)
- func GetOpenStackNetAttachmentType(r common.ReconcilerCommon, namespace string, attachReference string) (*ospdirectorv1beta1.AttachType, error)
- func GetOpenStackNetAttachmentWithAttachReference(r common.ReconcilerCommon, namespace string, attachReference string) (*ospdirectorv1beta1.OpenStackNetAttachment, error)
- func GetOpenStackNetAttachmentWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetAttachment, error)
- func GetOpenStackNetAttachmentsWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetAttachmentList, error)
- func GetSriovNetworkNodePoliciesWithLabel(r common.ReconcilerCommon, labelSelector map[string]string, namespace string) (map[string]sriovnetworkv1.SriovNetworkNodePolicy, error)
- func GetSriovNetworksWithLabel(r common.ReconcilerCommon, labelSelector map[string]string, namespace string) (map[string]sriovnetworkv1.SriovNetwork, error)
Constants ¶
const ( // AppLabel - AppLabel = "osp-openstacknetattach" // FinalizerName - FinalizerName = "openstacknetattachment" // AttachReference - name of the NetAttachment used in osnet to reference the attachment AttachReference = "ooo-attach-reference" // AttachType - AttachType = "ooo-attach-type" // BridgeLabel - BridgeLabel = "ooo-bridge" // CniConfigTemplate - CniConfigTemplate = `` /* 343-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func GetOpenStackNetAttachmentBridgeName ¶
func GetOpenStackNetAttachmentBridgeName(r common.ReconcilerCommon, namespace string, attachReference string) (string, error)
GetOpenStackNetAttachmentBridgeName - Return name of the Bridge configured by the OpenStackNetAttachment
func GetOpenStackNetAttachmentType ¶
func GetOpenStackNetAttachmentType(r common.ReconcilerCommon, namespace string, attachReference string) (*ospdirectorv1beta1.AttachType, error)
GetOpenStackNetAttachmentType - Return type of OpenStackNetAttachment, either bridge or sriov
func GetOpenStackNetAttachmentWithAttachReference ¶
func GetOpenStackNetAttachmentWithAttachReference(r common.ReconcilerCommon, namespace string, attachReference string) (*ospdirectorv1beta1.OpenStackNetAttachment, error)
GetOpenStackNetAttachmentWithAttachReference - Return OpenStackNetAttachment for the reference name use in the osnet config
func GetOpenStackNetAttachmentWithLabel ¶
func GetOpenStackNetAttachmentWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetAttachment, error)
GetOpenStackNetAttachmentWithLabel - Return OpenStackNet with labels
func GetOpenStackNetAttachmentsWithLabel ¶
func GetOpenStackNetAttachmentsWithLabel(r common.ReconcilerCommon, namespace string, labelSelector map[string]string) (*ospdirectorv1beta1.OpenStackNetAttachmentList, error)
GetOpenStackNetAttachmentsWithLabel - Return a list of all OpenStackNetAttachmentss 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.