nodepools

package
v0.0.0-...-a3a7d19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachConfigObject

func AttachConfigObject(ctx context.Context, cli client.Client, object client.Object) error

func AttachConfigObjectToNodePool

func AttachConfigObjectToNodePool(ctx context.Context, cli client.Client, object client.Object, np *hypershiftv1beta1.NodePool) error

func AttachTuningObject

func AttachTuningObject(ctx context.Context, cli client.Client, object client.Object) error

AttachTuningObject is attaches a tuning object into the nodepool associated with the hosted-cluster The function is idempotent

func AttachTuningObjectToNodePool

func AttachTuningObjectToNodePool(ctx context.Context, cli client.Client, object client.Object, np *hypershiftv1beta1.NodePool) error

func DeattachConfigObject

func DeattachConfigObject(ctx context.Context, cli client.Client, object client.Object) error

func DeattachConfigObjectFromNodePool

func DeattachConfigObjectFromNodePool(ctx context.Context, cli client.Client, object client.Object, np *hypershiftv1beta1.NodePool) error

func DeattachTuningObject

func DeattachTuningObject(ctx context.Context, cli client.Client, object client.Object) error

func DeattachTuningObjectToNodePool

func DeattachTuningObjectToNodePool(ctx context.Context, cli client.Client, object client.Object, np *hypershiftv1beta1.NodePool) error

func GetByClusterName

func GetByClusterName(ctx context.Context, c client.Client, hostedClusterName string) (*hypershiftv1beta1.NodePool, error)

func GetNodePool

func GetNodePool(ctx context.Context, cli client.Client) (*hypershiftv1beta1.NodePool, error)

func NodePoolStatusMessages

func NodePoolStatusMessages(ctx context.Context, c client.Client, NpName, namespace string, conditionReason string) ([]string, error)

func WaitForConfigToBeReady

func WaitForConfigToBeReady(ctx context.Context, c client.Client, NpName, namespace string) error

func WaitForUpdatingConfig

func WaitForUpdatingConfig(ctx context.Context, c client.Client, NpName, namespace 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