cluster

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 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 added in v1.12.3

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 CreateOrUpdateClusterResponse

type CreateOrUpdateClusterResponse struct {
	cluster.ClientWithResponsesInterface
}

func (CreateOrUpdateClusterResponse) WaitHandler

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

type DeleteClusterResponse

type DeleteClusterResponse struct {
	cluster.ClientWithResponsesInterface
}

func (DeleteClusterResponse) WaitHandler

func (r DeleteClusterResponse) 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