infrastructure

package
v0.0.0-...-5b5d069 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceNameInfrastructure = "infrastructure"
)

Variables

This section is empty.

Functions

func NewInfrastructureCluster

func NewInfrastructureCluster(conf *conf.Bootstrap, logger log.Logger) biz.ClusterInfrastructure

Types

type InfrastructureCluster

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

func (*InfrastructureCluster) GetNodesSystemInfo

func (i *InfrastructureCluster) GetNodesSystemInfo(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) GetRegions

func (i *InfrastructureCluster) GetRegions(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) HandlerNodes

func (i *InfrastructureCluster) HandlerNodes(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) Install

func (i *InfrastructureCluster) Install(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) MigrateToBostionHost

func (i *InfrastructureCluster) MigrateToBostionHost(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) Start

func (i *InfrastructureCluster) Start(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) Stop

func (i *InfrastructureCluster) Stop(ctx context.Context, cluster *biz.Cluster) error

func (*InfrastructureCluster) UnInstall

func (i *InfrastructureCluster) UnInstall(ctx context.Context, cluster *biz.Cluster) error

Directories

Path Synopsis
api
log

Jump to

Keyboard shortcuts

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