compute

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultWebconsoleServer = "https://console.yunion.cn/web-console"
)

Variables

View Source
var (
	R = shell.R

	InvalidUpdateError = shell.InvalidUpdateError
)

Functions

This section is empty.

Types

type AgentDeleteOpt

type AgentDeleteOpt struct {
	AgentOpsOperations
}

func (AgentDeleteOpt) Description

func (o AgentDeleteOpt) Description() string

type AgentDisableImageCacheOpt

type AgentDisableImageCacheOpt struct {
	AgentOpsOperations
}

func (AgentDisableImageCacheOpt) Description

func (o AgentDisableImageCacheOpt) Description() string

type AgentDisableOpt

type AgentDisableOpt struct {
	AgentOpsOperations
}

func (AgentDisableOpt) Description

func (o AgentDisableOpt) Description() string

type AgentEnableImageCacheOpt

type AgentEnableImageCacheOpt struct {
	AgentOpsOperations
}

func (AgentEnableImageCacheOpt) Description

func (o AgentEnableImageCacheOpt) Description() string

type AgentEnableOpt

type AgentEnableOpt struct {
	AgentOpsOperations
}

func (AgentEnableOpt) Description

func (o AgentEnableOpt) Description() string

type AgentListOptions

type AgentListOptions struct {
	options.BaseListOptions
}

func (AgentListOptions) Description

func (o AgentListOptions) Description() string

func (AgentListOptions) Params

type AgentOpsOperations

type AgentOpsOperations struct {
	ID string `help:"ID or name of agent"`
}

func (AgentOpsOperations) GetId

func (o AgentOpsOperations) GetId() string

func (AgentOpsOperations) Params

type AgentShowOpt

type AgentShowOpt struct {
	AgentOpsOperations
}

func (AgentShowOpt) Description

func (o AgentShowOpt) Description() string

type CycleTimer

type CycleTimer struct {
	CycleCycleType string `help:"Cycle type for cycle timer" json:"cycle_type" choices:"day|week|month"`
	CycleMinute    int    `help:"Minute of cycle timer" json:"minute"`
	CycleHour      int    `help:"Hour of cycle timer" json:"hour"`
	CycleWeekdays  []int  `help:"Weekdays for cycle timer" json:"weekdays"`
	CycleMonthDays []int  `help:"Month days for cycle timer" json:"month_days"`
	CycleStartTime string `help:"Start time for cycle timer, format:'2006-01-02 15:04:05'" json:"start_time"`
	CycleEndTime   string `help:"End time for cycle timer, format:'2006-01-02 15:04:05'" json:"end_time"`
}

type GeneralUsageOptions

type GeneralUsageOptions struct {
	HostType []string `` /* 140-byte string literal not displayed */
	Provider []string `help:"Provider" choices:"OneCloud|VMware|Aliyun|Azure|Aws|Qcloud|Huawei|OpenStack|Ucloud|ZStack|Google|Ctyun"`
	Brand    []string `help:"Brands" choices:"OneCloud|VMware|Aliyun|Azure|Aws|Qcloud|Huawei|OpenStack|Ucloud|ZStack|DStack|Google|Ctyun"`
	Project  string   `help:"show usage of specified project"`

	ProjectDomain string `help:"show usage of specified domain"`

	CloudEnv string `help:"show usage of specified cloudenv" choices:"public|private|onpremise"`
	Scope    string `help:"show usage of specified privilege scope" choices:"system|domain|project"`

	Refresh bool `help:"force refresh usage statistics"`
}

type Timer

type Timer struct {
	TimingExecTime string `help:"Exectime for 'timing' type trigger, format:'2006-01-02 15:04:05'" json:"exec_time"`
}

Source Files

Jump to

Keyboard shortcuts

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