Documentation
¶
Index ¶
- Constants
- func GetAllIPReservations(osNet *ospdirectorv1beta1.OpenStackNet, ...) []ospdirectorv1beta1.IPReservation
- func GetOpenStackNetsBindingMap(ctx context.Context, r common.ReconcilerCommon, namespace string) (map[string]ospdirectorv1beta1.AttachType, error)
- func GetSriovNetworkNodePoliciesWithLabel(ctx context.Context, r common.ReconcilerCommon, ...) (map[string]sriovnetworkv1.SriovNetworkNodePolicy, error)
- func GetSriovNetworksWithLabel(ctx context.Context, r common.ReconcilerCommon, ...) (map[string]sriovnetworkv1.SriovNetwork, error)
Constants ¶
View Source
const ( // AppLabel - AppLabel = "osp-openstacknet" // FinalizerName - FinalizerName = "openstacknet.osp-director.openstack.org" )
Variables ¶
This section is empty.
Functions ¶
func GetAllIPReservations ¶
func GetAllIPReservations( osNet *ospdirectorv1beta1.OpenStackNet, newReservations []ospdirectorv1beta1.IPReservation, staticReservations []ospdirectorv1beta1.IPReservation, ) []ospdirectorv1beta1.IPReservation
GetAllIPReservations - get all reservations from the osnet (already synamic created, static configured + just now new created)
func GetOpenStackNetsBindingMap ¶
func GetOpenStackNetsBindingMap( ctx context.Context, r common.ReconcilerCommon, namespace string, ) (map[string]ospdirectorv1beta1.AttachType, error)
GetOpenStackNetsBindingMap - Returns map of OpenStackNet name to binding type
func GetSriovNetworkNodePoliciesWithLabel ¶
func GetSriovNetworkNodePoliciesWithLabel( ctx context.Context, 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( ctx context.Context, 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.
Click to show internal directories.
Click to hide internal directories.