Documentation ¶
Index ¶
- Constants
- Variables
- type ClusterCreator
- func (v *ClusterCreator) AskConfirmation() (bool, error)
- func (v *ClusterCreator) Create(startFrom string, timeout int) error
- func (v *ClusterCreator) CreateAsync(phases *Phases, startFrom string, vpnConnector *vpn.Connector, ...)
- func (*ClusterCreator) GetPhasePath(phase string) (string, error)
- func (v *ClusterCreator) SetProperties(props []cluster.CreatorProperty)
- func (v *ClusterCreator) SetProperty(name string, value any)
- type ClusterDeleter
- type ExtraSchemaValidator
- type ExtraToolsValidator
- type Phases
Constants ¶
View Source
const ( InfrastructurePhaseSchemaPath = ".spec.infrastructure" KubernetesPhaseSchemaPath = ".spec.kubernetes" DistributionPhaseSchemaPath = ".spec.distribution" PluginsPhaseSchemaPath = ".spec.plugins" AllPhaseSchemaPath = "" StartFromFlagNotSet = "" )
Variables ¶
View Source
var ( ErrUnsupportedPhase = errors.New("unsupported phase") ErrInfraNotPresent = errors.New("the configuration file does not contain an infrastructure section") ErrTimeout = errors.New("timeout reached") ErrAbortedByUser = errors.New("operation aborted by user") )
View Source
var ErrInvalidNodePoolSize = fmt.Errorf("invalid node pool size")
View Source
var ErrOpenVPNNotInstalled = errors.New("openvpn is not installed")
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 (v *ClusterCreator) AskConfirmation() (bool, error)
func (*ClusterCreator) Create ¶
func (v *ClusterCreator) Create(startFrom string, timeout int) error
func (*ClusterCreator) CreateAsync ¶ added in v0.27.0
func (*ClusterCreator) GetPhasePath ¶ added in v0.27.0
func (*ClusterCreator) GetPhasePath(phase string) (string, error)
func (*ClusterCreator) SetProperties ¶
func (v *ClusterCreator) SetProperties(props []cluster.CreatorProperty)
func (*ClusterCreator) SetProperty ¶
func (v *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(confPath string) error
type ExtraToolsValidator ¶
type ExtraToolsValidator struct {
// contains filtered or unexported fields
}
func NewExtraToolsValidator ¶
func NewExtraToolsValidator(executor execx.Executor, autoConnect bool) *ExtraToolsValidator
type Phases ¶ added in v0.27.0
type Phases struct { *create.PreFlight Infrastructure upgrade.OperatorPhaseAsync Kubernetes upgrade.OperatorPhaseAsync Distribution upgrade.ReducersOperatorPhaseAsync[v1alpha2.Reducers] *commcreate.Plugins }
Click to show internal directories.
Click to hide internal directories.