resourcegroup

package
v1.1.0-beta.0...-a878e1f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxGroupNameLength = 32

MaxGroupNameLength is max length of the name of a resource group

Variables

View Source
var (
	// ErrInvalidGroupSettings is from group.go.
	ErrInvalidGroupSettings = errors.New("invalid group settings")
	// ErrTooLongResourceGroupName is from group.go.
	ErrTooLongResourceGroupName = errors.New("resource group name too long")
	// ErrInvalidResourceGroupFormat is from group.go.
	ErrInvalidResourceGroupFormat = errors.New("group settings with invalid format")
	// ErrInvalidResourceGroupDuplicatedMode is from group.go.
	ErrInvalidResourceGroupDuplicatedMode = errors.New("cannot set RU mode and Raw mode options at the same time")
	// ErrUnknownResourceGroupMode is from group.go.
	ErrUnknownResourceGroupMode = errors.New("unknown resource group mode")
	// ErrDroppingInternalResourceGroup is from group.go
	ErrDroppingInternalResourceGroup = errors.New("can't drop reserved resource group")
	// ErrInvalidResourceGroupRunawayExecElapsedTime is from group.go.
	ErrInvalidResourceGroupRunawayExecElapsedTime = errors.New("invalid exec elapsed time")
	// ErrUnknownResourceGroupRunawayAction is from group.go.
	ErrUnknownResourceGroupRunawayAction = errors.New("unknown resource group runaway action")
)

Functions

func NewGroupFromOptions

func NewGroupFromOptions(groupName string, options *model.ResourceGroupSettings) (*rmpb.ResourceGroup, error)

NewGroupFromOptions creates a new resource group from the given options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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