Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagKeyMinLength = 1 TagKeyMaxLength = 50 TagKeyPattern = "^[a-zA-Z0-9_]+( [a-zA-Z0-9_]+){0,127}$" )
View Source
const ( TagValueMinLength = 1 TagValueMaxLength = 128 TagValuePattern = "^[a-zA-Z0-9_]+( [a-zA-Z0-9_]+){0,127}$" )
Variables ¶
View Source
var ( ErrTagKeyInvalidLength = fmt.Errorf("tag key must be between 1 and 50 characters") ErrTagKeyPatternMismatch = fmt.Errorf("tag key must match pattern %s", TagKeyPattern) )
View Source
var ( ErrTagValueInvalidLength = fmt.Errorf("tag value must be between 1 and 128 characters") ErrTagValuePatternMismatch = fmt.Errorf("tag value must match pattern %s", TagValuePattern) )
Functions ¶
This section is empty.
Types ¶
type ResourceType ¶
type ResourceType int
const ( ResourceTypeMachine ResourceType = iota ResourceTypeUnknown )
func ResourceTypeFromString ¶
func ResourceTypeFromString(s string) ResourceType
func (ResourceType) String ¶
func (r ResourceType) String() string
Click to show internal directories.
Click to hide internal directories.