getters

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 15 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 GetAllocationByClusterIDSpec added in v0.1.0

func GetAllocationByClusterIDSpec(ctx context.Context, c client.Client, clusterID string) (nodecorev1alpha1.AllocationList, error)

GetAllocationByClusterIDSpec retrieves the name of the allocation with the given in its Specs.

func GetAllocationByContractName added in v0.1.0

func GetAllocationByContractName(ctx context.Context, c client.Client, contractName string) (*nodecorev1alpha1.Allocation, error)

GetAllocationByContractName retrieves the Allocation with the given contract name.

func GetBlueprint added in v0.1.0

func GetBlueprint(ctx context.Context, c client.Client, flavorName string) (*nodecorev1alpha1.ServiceBlueprint, error)

GetBlueprint retrieves a ServiceBlueprint from the Flavor name.

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 KnownCluster CRs.

func GetNodeIdentity

func GetNodeIdentity(ctx context.Context, cl client.Client) *nodecorev1alpha1.NodeIdentity

GetNodeIdentity retrieves the node identity from the local cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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