toolbox

package
v0.0.0-...-414c732 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BizflyToolbox

type BizflyToolbox interface {
	Login(
		host, region, project, username, password string,
		timeout time.Duration,
	)
	PrintAll(detail bool)
	PrintCluster(account, project string)
	PrintPool(account, project, cluster string)
	PrintServer(account, project, clusterName string)
	PrintVolume(account, project, clusterName, server, status string)
	Sync(resource, account string, arguments ...[]string)
	Clean(account, project string)
	LinkPoolWithServer(account, project, pool string)
	Billing()
}

type HealthModel

type HealthModel struct {
	Url string
}

func (HealthModel) TableName

func (HealthModel) TableName() string

type SessionModel

type SessionModel struct {
}

func (SessionModel) TableName

func (SessionModel) TableName() string

type SettingModel

type SettingModel struct {
	Name  string `gorm:"primaryKey" json:"name"`
	Type  int    `json:"type"`
	Value string `json:"value"`
}

func (SettingModel) TableName

func (SettingModel) TableName() string

type SettingToolbox

type SettingToolbox interface {
	SetTimeout(timeout string)
	GetTimeout()
	SetEnable(timeout string)
	GetEnable()
}

type Toolbox

type Toolbox interface {
	container.CliModule
}

func NewToolbox

func NewToolbox(
	input string,
	outputs *[]string,
	database string,
	providers map[string]string,
) Toolbox

Jump to

Keyboard shortcuts

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