getters

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package getters contains functions to get data from the system.

Index

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

func GetLocalProviders(ctx context.Context, cl client.Client) []string

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.

Jump to

Keyboard shortcuts

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