autoscale

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Resource = &core.Resource{
	PlatformName:     "iaas",
	Name:             "auto-scale",
	Aliases:          []string{"autoscale"},
	ServiceType:      reflect.TypeOf(&autoscale.Service{}),
	Category:         category.ResourceCategoryComputing,
	IsGlobalResource: true,
}

Functions

This section is empty.

Types

type CreateCPUThresholdScaling added in v1.11.0

type CreateCPUThresholdScaling struct {
	ServerPrefix string
	Up           int
	Down         int
}

type CreateRouterThresholdScaling added in v1.11.0

type CreateRouterThresholdScaling struct {
	RouterPrefix string
	Direction    string `cli:",options=in out" validate:"omitempty,oneof=in out"`
	Mbps         int
}

type UpdateCPUThresholdScaling added in v1.11.0

type UpdateCPUThresholdScaling struct {
	ServerPrefix *string
	Up           *int
	Down         *int
}

type UpdateRouterThresholdScaling added in v1.11.0

type UpdateRouterThresholdScaling struct {
	RouterPrefix *string
	Direction    *string `validate:"omitempty,oneof=in out"`
	Mbps         *int
}

Jump to

Keyboard shortcuts

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