onpremises

package
v0.27.2-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubernetesPhaseSchemaPath   = ".spec.kubernetes"
	DistributionPhaseSchemaPath = ".spec.distribution"
	PluginsPhaseSchemaPath      = ".spec.plugins"
	AllPhaseSchemaPath          = ""
	StartFromFlagNotSet         = ""
)

Variables

View Source
var (
	ErrUnsupportedPhase = errors.New("unsupported phase")
	ErrAbortedByUser    = errors.New("operation aborted by user")
)
View Source
var ErrAnsibleNotInstalled = errors.New("ansible 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 (c *ClusterCreator) AskConfirmation() (bool, error)

func (*ClusterCreator) Create

func (c *ClusterCreator) Create(startFrom string, _ int) 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

type ExtraToolsValidator

type ExtraToolsValidator struct {
	// contains filtered or unexported fields
}

func NewExtraToolsValidator

func NewExtraToolsValidator(executor execx.Executor) *ExtraToolsValidator

func (*ExtraToolsValidator) Validate

func (x *ExtraToolsValidator) Validate(_ string) ([]string, []error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL