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") )
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.
Click to show internal directories.
Click to hide internal directories.