Documentation
¶
Overview ¶
Package services contains different functions and services used into the FLUIDOS environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllFlavours ¶
func GetAllFlavours(cl client.Client) ([]nodecorev1alpha1.Flavour, error)
GetAllFlavours returns all the Flavours in the cluster.
func GetFlavourByID ¶
GetFlavourByID returns the entire Flavour CR (not only spec) in the cluster that matches the flavourID.
Types ¶
type FlavourService ¶ added in v0.0.2
type FlavourService interface { sync.Mutex GetAllFlavours() ([]nodecorev1alpha1.Flavour, error) GetFlavourByID(flavourID string) (*nodecorev1alpha1.Flavour, error) }
FlavourService is the interface that wraps the basic Flavour methods and allows to manage the concurrent access to the Flavour CRs.
Click to show internal directories.
Click to hide internal directories.