Documentation ¶
Index ¶
- func DeleteBMOComponents(ctx context.Context, conf *config.Metal3CtlConfig, options *DeleteOptions) error
- func DeleteFromMgmtCluster(input config.LoadMetal3CtlConfigInput, options *DeleteOptions) error
- func InitMgmtCluster(input config.LoadMetal3CtlConfigInput, options *InitOptions) error
- func MoveBMOComponents(ctx context.Context, conf *config.Metal3CtlConfig, options *MoveOptions) error
- func MoveFromBootstrapToTargetCluster(input config.LoadMetal3CtlConfigInput, options *MoveOptions) error
- type BMOConfig
- type ClusterctlConfig
- type ClusterctlConfigProvider
- type CreateCAPIRepositoryInput
- type DeleteOptions
- type InitOptions
- type MoveOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBMOComponents ¶
func DeleteBMOComponents(ctx context.Context, conf *config.Metal3CtlConfig, options *DeleteOptions) error
func DeleteFromMgmtCluster ¶
func DeleteFromMgmtCluster(input config.LoadMetal3CtlConfigInput, options *DeleteOptions) error
func InitMgmtCluster ¶
func InitMgmtCluster(input config.LoadMetal3CtlConfigInput, options *InitOptions) error
func MoveBMOComponents ¶
func MoveBMOComponents(ctx context.Context, conf *config.Metal3CtlConfig, options *MoveOptions) error
func MoveFromBootstrapToTargetCluster ¶
func MoveFromBootstrapToTargetCluster(input config.LoadMetal3CtlConfigInput, options *MoveOptions) error
Types ¶
type BMOConfig ¶
BMOConfig is the BMO config file that point to the repository created by InstallBMOComponents.
func InstallBMOComponents ¶
type ClusterctlConfig ¶
ClusterctlConfig is the clusterctl config file that point to the repository created by CreateRepository.
func CreateCAPIRepository ¶
func CreateCAPIRepository(ctx context.Context, input CreateCAPIRepositoryInput) (*ClusterctlConfig, error)
CreateCAPIRepository creates a local repository based on the metal3ctl config and returns a metal3ctl config file to be used for working with such repository.
func (*ClusterctlConfig) WriteFile ¶
func (c *ClusterctlConfig) WriteFile() error
WriteFile writes a clusterctl config file to disk.
type ClusterctlConfigProvider ¶
type ClusterctlConfigProvider struct { Name string `json:"name,omitempty"` URL string `json:"url,omitempty"` Type string `json:"type,omitempty"` }
ClusterctlConfigProvider mirrors clusterctl config.Provider interface and allows serialization of the corresponding info
type CreateCAPIRepositoryInput ¶
type CreateCAPIRepositoryInput struct {
// contains filtered or unexported fields
}
CreateCAPIRepositoryInput is the input for CreateCAPIRepository.
type DeleteOptions ¶
type InitOptions ¶
Click to show internal directories.
Click to hide internal directories.