Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketLocation ¶
BucketLocation represents the location of a target in HCP, identified by an organization ID, a project ID, and a bucket name.
For example, a Channel is located at a BucketLocation.
type ChannelLocation ¶
type ChannelLocation interface { BucketLocation GetChannelName() string }
ChannelLocation represents the location of a target in HCP, identified by an organization ID, a project ID, a bucket name, and a channel name.
For example, a Version is located at a ChannelLocation.
type GenericBucketLocation ¶
func (GenericBucketLocation) GetBucketName ¶
func (l GenericBucketLocation) GetBucketName() string
type GenericChannelLocation ¶
type GenericChannelLocation struct { BucketLocation ChannelName string }
func (GenericChannelLocation) GetChannelName ¶
func (l GenericChannelLocation) GetChannelName() string
type GenericLocation ¶
func (GenericLocation) GetOrganizationID ¶
func (l GenericLocation) GetOrganizationID() string
func (GenericLocation) GetProjectID ¶
func (l GenericLocation) GetProjectID() string
type GenericVersionLocation ¶
type GenericVersionLocation struct { BucketLocation VersionFingerprint string }
func (GenericVersionLocation) GetVersionFingerprint ¶
func (l GenericVersionLocation) GetVersionFingerprint() string
type Location ¶
type Location = ProjectLocation
type OrganizationLocation ¶
type OrganizationLocation interface {
GetOrganizationID() string
}
OrganizationLocation represents the location of a target in HCP, identified by an organization ID.
For example, a Project is located at an OrganizationLocation.
type ProjectLocation ¶
type ProjectLocation interface { OrganizationLocation GetProjectID() string }
ProjectLocation represents the location of a target in HCP, identified by an organization ID and a project ID.
For example, a Bucket is located at a ProjectLocation.
type VersionLocation ¶
type VersionLocation interface { BucketLocation GetVersionFingerprint() string }
VersionLocation represents the location of a target in HCP, identified by an organization ID, a project ID, a bucket name, and a version fingerprint.
For example, an Artifact is located at a VersionLocation.