Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedParameterType = errors.New("unsupported parameter type")
Functions ¶
This section is empty.
Types ¶
type APICore ¶
type APICore interface { // GetRevision retrieves a record of the latest or specific version. GetRevision(ctx context.Context, input GetRevisionInput) (*revisioning.Revision, error) // GetCanonicalVersion resolves a labeled/staged version to return a deterministic canonical version. GetCanonicalVersion(ctx context.Context, input GetCanonicalVersionInput) (versioning.CanonicalVersion, error) // ListVersions retrieves records of recent multiple versions. ListVersions(ctx context.Context, input ListVersionsInput) (VersionList, error) }
APICore abstracts AWS SecretsManager and Parameter Store clients. Note that neither APICore nor ParameterStoreAPI can handle relative versions.
type GetCanonicalVersionInput ¶
type GetCanonicalVersionInput struct { Name string VersionRequirement versioning.AbsoluteVersionRequirement }
type GetRevisionInput ¶
type GetRevisionInput struct { Name string VersionRequirement *versioning.AbsoluteVersionRequirement }
type ListRevisionsInput ¶
type ListVersionsInput ¶
type ParameterStoreAPI ¶
type ParameterStoreAPI interface { APICore // ListRevisions retrieves records of recent multiple versions and their revisions. ListRevisions(ctx context.Context, input ListRevisionsInput) (RevisionList, error) }
ParameterStoreAPI provides extended features for Parameter Store.
type RevisionList ¶
type RevisionList struct {
Items []*revisioning.Revision // sorted
}
type VersionList ¶
type VersionList struct {
Items []versioning.Version // sorted
}
Click to show internal directories.
Click to hide internal directories.