cluster

package
v1.30.8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(
	clusterName string,
	clusterConfig cluster.Kubernetes,
	nodePools []cluster.Nodepool,
	maintenance *cluster.Maintenance,
	hibernation *cluster.Hibernation,
	extensions *cluster.Extension,
) error

Validate validates the given cluster data (dry validation)

func ValidateCRI

func ValidateCRI(c *cluster.CRI) error

ValidateCRI validates the given cri struct

func ValidateClusterName

func ValidateClusterName(name string) error

ValidateClusterName validates a given cluster name

func ValidateExtensions

func ValidateExtensions(e *cluster.Extension) error

ValidateExtensions validates a given cluster extensions

func ValidateHibernation

func ValidateHibernation(h *cluster.Hibernation) error

ValidateHibernation validates a given cluster hibernation

func ValidateMaintenance

func ValidateMaintenance(m *cluster.Maintenance) error

ValidateMaintenance validates a given cluster maintenance

func ValidateNodePool

func ValidateNodePool(np cluster.Nodepool) error

ValidateNodePool validates a given node pool

func ValidateNodePoolName

func ValidateNodePoolName(name string) error

ValidateNodePoolName validates a given pool name

func ValidateTaint

func ValidateTaint(t cluster.Taint) error

ValidateTaint validates a given node pool taint

Types

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	cluster.ClientWithResponsesInterface
}

func (*CreateOrUpdateResponse) WaitHandler

func (*CreateOrUpdateResponse) WaitHandler(ctx context.Context, c *cluster.ClientWithResponses, projectID, clusterName string) *wait.Handler

type DeleteResponse

type DeleteResponse struct {
	cluster.ClientWithResponsesInterface
}

func (*DeleteResponse) WaitHandler

func (*DeleteResponse) WaitHandler(ctx context.Context, c *cluster.ClientWithResponses, projectID, clusterName string) *wait.Handler

Jump to

Keyboard shortcuts

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