kops

package
v0.11.0-rc Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrLabelKeyEmpty is returned when the label key is empty
	ErrLabelKeyEmpty = errors.New("label key is empty")
	// ErrLabelValueEmpty is returned when the label value is empty
	ErrLabelValueEmpty = errors.New("label value is empty")
)

Functions

func GetCloudResourceNameFromKopsMachinePool

func GetCloudResourceNameFromKopsMachinePool(kmp kinfrastructurev1alpha1.KopsMachinePool) (string, error)

func GetKopsMachinePoolsWithLabel

func GetKopsMachinePoolsWithLabel(ctx context.Context, c client.Client, key, value string) ([]kinfrastructurev1alpha1.KopsMachinePool, error)

GetKopsMachinePoolsWithLabel retrieve all KopsMachinePool with the given label

func GetRegionFromKopsSubnet

func GetRegionFromKopsSubnet(subnet kopsapi.ClusterSubnetSpec) (*string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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