compute

package
v0.3.11-8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 51 Imported by: 1

Documentation

Index

Constants

This section is empty.

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 ClircShowOpt

type ClircShowOpt struct {
	options.BaseIdOptions
	FollowOutputFormat bool `help:"follow output format"`
}

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|VolcEngine|ZStack|Google|Ctyun"`
	Brand    []string `help:"Brands" choices:"OneCloud|VMware|Aliyun|Azure|Aws|Qcloud|Huawei|OpenStack|Ucloud|VolcEngine|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 HistoryUsageListOptions

type HistoryUsageListOptions struct {
	options.ExtraListOptions
	StartDate time.Time
	EndDate   time.Time
	Interval  string `choices:"hour|day|month|year" default:"day"`
}

func (*HistoryUsageListOptions) GetExportKeys

func (o *HistoryUsageListOptions) GetExportKeys() string

func (*HistoryUsageListOptions) GetId

func (o *HistoryUsageListOptions) GetId() string

func (*HistoryUsageListOptions) Params

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