Documentation ¶
Index ¶
- Constants
- Variables
- type ClusterCreator
- func (c *ClusterCreator) AskConfirmation() (bool, error)
- func (c *ClusterCreator) Create(startFrom string, _ int) error
- func (*ClusterCreator) GetPhasePath(phase string) (string, error)
- func (c *ClusterCreator) SetProperties(props []cluster.CreatorProperty)
- func (c *ClusterCreator) SetProperty(name string, value any)
- type ClusterDeleter
- type ExtraSchemaValidator
Constants ¶
View Source
const ( DistributionPhaseSchemaPath = ".spec.distribution" PluginsPhaseSchemaPath = ".spec.plugins" AllPhaseSchemaPath = "" StartFromFlagNotSet = "" )
Variables ¶
View Source
var ( ErrUnsupportedPhase = errors.New("unsupported phase") ErrAbortedByUser = errors.New("operation aborted by user") )
Functions ¶
This section is empty.
Types ¶
type ClusterCreator ¶
type ClusterCreator struct {
// contains filtered or unexported fields
}
func (*ClusterCreator) AskConfirmation ¶ added in v0.27.0
func (c *ClusterCreator) AskConfirmation() (bool, error)
func (*ClusterCreator) GetPhasePath ¶ added in v0.27.0
func (*ClusterCreator) GetPhasePath(phase string) (string, error)
func (*ClusterCreator) SetProperties ¶
func (c *ClusterCreator) SetProperties(props []cluster.CreatorProperty)
func (*ClusterCreator) SetProperty ¶
func (c *ClusterCreator) SetProperty(name string, value any)
type ClusterDeleter ¶
type ClusterDeleter struct {
// contains filtered or unexported fields
}
func (*ClusterDeleter) Delete ¶
func (d *ClusterDeleter) Delete() error
func (*ClusterDeleter) SetProperties ¶
func (d *ClusterDeleter) SetProperties(props []cluster.DeleterProperty)
func (*ClusterDeleter) SetProperty ¶
func (d *ClusterDeleter) SetProperty(name string, value any)
type ExtraSchemaValidator ¶
type ExtraSchemaValidator struct{}
func (*ExtraSchemaValidator) Validate ¶
func (*ExtraSchemaValidator) Validate(_ string) error
Click to show internal directories.
Click to hide internal directories.