compute

package
v0.3.9-2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 44 Imported by: 1

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 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