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 CreateOrUpdateResponse
- type DeleteResponse
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 ¶
ValidateNodePoolName validates a given pool name
func ValidateTaint ¶
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
Click to show internal directories.
Click to hide internal directories.