Documentation
¶
Overview ¶
Package paramversion provides version spec parsing for AWS Systems Manager Parameter Store (name#VERSION~SHIFT).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidVersion = errors.New("# must be followed by a version number")
ErrInvalidVersion is returned when # is not followed by a version number.
Functions ¶
Types ¶
type AbsoluteSpec ¶
type AbsoluteSpec struct {
Version *int64 // Explicit version number (#VERSION)
}
AbsoluteSpec represents the absolute version specifier for SSM Parameter Store.
type Spec ¶
type Spec = version.Spec[AbsoluteSpec]
Spec represents a parsed SSM Parameter Store parameter version specification.
Grammar: <name>[#<N>]<shift>*
- #<N> optional version number (0 or 1)
- <shift> ~ or ~<N>, repeatable (0 or more, cumulative)
Examples: /my/param, /my/param#3, /my/param~1, /my/param#5~2, /my/param~~.
Click to show internal directories.
Click to hide internal directories.