Documentation ¶
Index ¶
- func Validate(clusterName string, clusterConfig cluster.Kubernetes, ...) error
- func ValidateCRI(c *cluster.CRI) error
- func ValidateClusterName(name string) error
- func ValidateExtensions(e *cluster.Extension) error
- func ValidateHibernation(h *cluster.Hibernation) error
- func ValidateMaintenance(m *cluster.Maintenance) error
- func ValidateNodePool(np cluster.Nodepool) error
- func ValidateNodePoolName(name string) error
- func ValidateTaint(t cluster.Taint) error
- type CreateOrUpdateClusterResponse
- type DeleteClusterResponse
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 ¶
ValidateCRI validates the given cri struct
func ValidateClusterName ¶
ValidateClusterName validates a given cluster name
func ValidateExtensions ¶
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 ¶
ValidateNodePool validates a given node pool
func ValidateNodePoolName ¶ added in v1.12.3
ValidateNodePoolName validates a given pool name
func ValidateTaint ¶
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
Click to show internal directories.
Click to hide internal directories.