util

package
v3.0.8-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package util contains utility functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfraCluster

func GetInfraCluster(ctx context.Context, c client.Client, log logr.Logger, cluster *clusterv1.Cluster, controllerName string,
	dataDir string) (*scope.ClusterScope, error)

GetInfraCluster returns the infrastructure cluster object corresponding to a Cluster.

func GetKKMachineByName

func GetKKMachineByName(ctx context.Context, c client.Client, namespace, name string) (*infrav1.KKMachine, error)

GetKKMachineByName finds and return a Machine object using the specified params.

func GetOwnerKKMachine

func GetOwnerKKMachine(ctx context.Context, c client.Client, obj metav1.ObjectMeta) (*infrav1.KKMachine, error)

GetOwnerKKMachine returns the Machine object owning the given object.

Types

This section is empty.

Directories

Path Synopsis
Package collections implements collection utilities.
Package collections implements collection utilities.
Package log provides log utils.
Package log provides log utils.
Package osrelease is to parse a os release file content.
Package osrelease is to parse a os release file content.
Package secret provides a secret store for storing secrets.
Package secret provides a secret store for storing secrets.

Jump to

Keyboard shortcuts

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