Documentation ¶
Overview ¶
Package getters contains functions to get data from the system.
Index ¶
- func GetAllocationNameByClusterIDSpec(ctx context.Context, c client.Client, clusterID string) *string
- func GetLiqoCredentials(ctx context.Context, cl client.Client) (*nodecorev1alpha1.LiqoCredentials, error)
- func GetLocalProviders(ctx context.Context, cl client.Client) []string
- func GetNodeIdentity(ctx context.Context, cl client.Client) *nodecorev1alpha1.NodeIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllocationNameByClusterIDSpec ¶ added in v0.0.2
func GetAllocationNameByClusterIDSpec(ctx context.Context, c client.Client, clusterID string) *string
GetAllocationNameByClusterIDSpec retrieves the name of the allocation with the given in its Specs.
func GetLiqoCredentials ¶ added in v0.0.2
func GetLiqoCredentials(ctx context.Context, cl client.Client) (*nodecorev1alpha1.LiqoCredentials, error)
GetLiqoCredentials retrieves the Liqo credentials from the local cluster.
func GetLocalProviders ¶
GetLocalProviders retrieves the list of local providers ip addresses from the Network Manager configMap.
func GetNodeIdentity ¶
func GetNodeIdentity(ctx context.Context, cl client.Client) *nodecorev1alpha1.NodeIdentity
GetNodeIdentity retrieves the list of local providers ip addresses from the Network Manager configMap.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.