utils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMachinesForCluster

func GetMachinesForCluster(ctx context.Context, c client.Client, cluster client.ObjectKey, filters ...collections.Func) (collections.Machines, error)

GetMachinesForCluster returns a list of machines that can be filtered or not. If no filter is supplied then all machines associated with the target cluster are returned.

func IsTerminalError

func IsTerminalError(err error) bool

IsTerminalError checks whether the error is a terminalError. These are returned to indicate non-retriable errors.

func TerminalError

func TerminalError(err error) error

TerminalError is used to indicate a non-retriable error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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