Documentation ¶
Index ¶
- type HashicorpCloudPacker20220411Bucket
- func (m *HashicorpCloudPacker20220411Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411Bucket) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411Bucket) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411Bucket) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketAncestry
- func (m *HashicorpCloudPacker20220411BucketAncestry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketAncestry) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketAncestry) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketAncestry) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketAncestryChild
- func (m *HashicorpCloudPacker20220411BucketAncestryChild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketAncestryChild) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketAncestryChild) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketAncestryChild) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketAncestryParent
- func (m *HashicorpCloudPacker20220411BucketAncestryParent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketAncestryParent) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketAncestryParent) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketAncestryParent) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketAncestryParentChannelIteration
- func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketAncestryStatus
- func (m HashicorpCloudPacker20220411BucketAncestryStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20220411BucketAncestryStatus) Pointer() *HashicorpCloudPacker20220411BucketAncestryStatus
- func (m HashicorpCloudPacker20220411BucketAncestryStatus) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketChildren
- func (m *HashicorpCloudPacker20220411BucketChildren) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketChildren) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketChildren) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketChildren) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketLatestIteration
- func (m *HashicorpCloudPacker20220411BucketLatestIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketLatestIteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketLatestIteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketLatestIteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BucketParents
- func (m *HashicorpCloudPacker20220411BucketParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BucketParents) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BucketParents) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BucketParents) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411Build
- func (m *HashicorpCloudPacker20220411Build) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411Build) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411Build) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411Build) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BuildCreateBody
- func (m *HashicorpCloudPacker20220411BuildCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BuildCreateBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BuildCreateBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BuildCreateBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BuildStatus
- func (m HashicorpCloudPacker20220411BuildStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20220411BuildStatus) Pointer() *HashicorpCloudPacker20220411BuildStatus
- func (m HashicorpCloudPacker20220411BuildStatus) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411BuildUpdates
- func (m *HashicorpCloudPacker20220411BuildUpdates) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411BuildUpdates) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411BuildUpdates) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411BuildUpdates) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411Channel
- func (m *HashicorpCloudPacker20220411Channel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411Channel) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411Channel) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411Channel) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ChannelIterationPointer
- func (m *HashicorpCloudPacker20220411ChannelIterationPointer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ChannelIterationPointer) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ChannelIterationPointer) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ChannelIterationPointer) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateBucketRequest
- func (m *HashicorpCloudPacker20220411CreateBucketRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateBucketRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateBucketRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateBucketRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateBucketResponse
- func (m *HashicorpCloudPacker20220411CreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateBuildRequest
- func (m *HashicorpCloudPacker20220411CreateBuildRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateBuildRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateBuildRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateBuildRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateBuildResponse
- func (m *HashicorpCloudPacker20220411CreateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateChannelRequest
- func (m *HashicorpCloudPacker20220411CreateChannelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateChannelRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateChannelRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateChannelRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateChannelResponse
- func (m *HashicorpCloudPacker20220411CreateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateIterationRequest
- func (m *HashicorpCloudPacker20220411CreateIterationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateIterationRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateIterationRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateIterationRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateIterationResponse
- func (m *HashicorpCloudPacker20220411CreateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateIterationResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateIterationResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateIterationResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateRegistryRequest
- func (m *HashicorpCloudPacker20220411CreateRegistryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateRegistryRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateRegistryRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateRegistryRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411CreateRegistryResponse
- func (m *HashicorpCloudPacker20220411CreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411CreateRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411CreateRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411CreateRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411DeleteBucketResponse
- type HashicorpCloudPacker20220411DeleteBuildResponse
- type HashicorpCloudPacker20220411DeleteChannelResponse
- type HashicorpCloudPacker20220411DeleteIterationResponse
- type HashicorpCloudPacker20220411DeleteRegistryResponse
- func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411GetBucketResponse
- func (m *HashicorpCloudPacker20220411GetBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411GetBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411GetBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411GetBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411GetBuildResponse
- func (m *HashicorpCloudPacker20220411GetBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411GetBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411GetBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411GetBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411GetChannelResponse
- func (m *HashicorpCloudPacker20220411GetChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411GetChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411GetChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411GetChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411GetIterationResponse
- func (m *HashicorpCloudPacker20220411GetIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411GetIterationResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411GetIterationResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411GetIterationResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411GetRegistryResponse
- func (m *HashicorpCloudPacker20220411GetRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411GetRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411GetRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411GetRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse
- func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411Image
- func (m *HashicorpCloudPacker20220411Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411Image) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411Image) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411Image) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ImageCreateBody
- func (m *HashicorpCloudPacker20220411ImageCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ImageCreateBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ImageCreateBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ImageCreateBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411Iteration
- func (m *HashicorpCloudPacker20220411Iteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411Iteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411Iteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411Iteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411IterationRevocationType
- func (m HashicorpCloudPacker20220411IterationRevocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20220411IterationRevocationType) Pointer() *HashicorpCloudPacker20220411IterationRevocationType
- func (m HashicorpCloudPacker20220411IterationRevocationType) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411IterationforList
- func (m *HashicorpCloudPacker20220411IterationforList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411IterationforList) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411IterationforList) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411IterationforList) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411LatestIterationBuild
- func (m *HashicorpCloudPacker20220411LatestIterationBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411LatestIterationBuild) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411LatestIterationBuild) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411LatestIterationBuild) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ListBucketAncestryResponse
- func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ListBucketsResponse
- func (m *HashicorpCloudPacker20220411ListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ListBucketsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ListBucketsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ListBucketsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ListBuildsResponse
- func (m *HashicorpCloudPacker20220411ListBuildsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ListBuildsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ListBuildsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ListBuildsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ListChannelsResponse
- func (m *HashicorpCloudPacker20220411ListChannelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ListChannelsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ListChannelsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ListChannelsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411ListIterationsResponse
- func (m *HashicorpCloudPacker20220411ListIterationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411ListIterationsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411ListIterationsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411ListIterationsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411Registry
- func (m *HashicorpCloudPacker20220411Registry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411Registry) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411Registry) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411Registry) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegistryBillingDeprovision
- func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegistryBillingDeprovisionReason
- func (m HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) Pointer() *HashicorpCloudPacker20220411RegistryBillingDeprovisionReason
- func (m HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegistryConfig
- func (m *HashicorpCloudPacker20220411RegistryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411RegistryConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411RegistryConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411RegistryConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegistryConfigTier
- func (m HashicorpCloudPacker20220411RegistryConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20220411RegistryConfigTier) Pointer() *HashicorpCloudPacker20220411RegistryConfigTier
- func (m HashicorpCloudPacker20220411RegistryConfigTier) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RegistryTFCRunTaskConfig
- func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411RevokedAncestor
- func (m *HashicorpCloudPacker20220411RevokedAncestor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411RevokedAncestor) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411RevokedAncestor) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411RevokedAncestor) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse
- type HashicorpCloudPacker20220411UpdateBucketRequest
- func (m *HashicorpCloudPacker20220411UpdateBucketRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateBucketRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateBucketRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateBucketRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateBucketResponse
- func (m *HashicorpCloudPacker20220411UpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateBuildRequest
- func (m *HashicorpCloudPacker20220411UpdateBuildRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateBuildRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateBuildRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateBuildRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateBuildResponse
- func (m *HashicorpCloudPacker20220411UpdateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateChannelRequest
- func (m *HashicorpCloudPacker20220411UpdateChannelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateChannelRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateChannelRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateChannelRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateChannelResponse
- func (m *HashicorpCloudPacker20220411UpdateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateIterationRequest
- func (m *HashicorpCloudPacker20220411UpdateIterationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateIterationRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateIterationRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateIterationRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateIterationResponse
- func (m *HashicorpCloudPacker20220411UpdateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateIterationResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateIterationResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateIterationResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateRegistryRequest
- func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20220411UpdateRegistryResponse
- func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudPacker20220411Bucket ¶
type HashicorpCloudPacker20220411Bucket struct { // Information about this image bucket's children. Children are image buckets that used any iteration of this bucket // as the base image for their latest complete iteration. Children *HashicorpCloudPacker20220411BucketChildren `json:"children,omitempty"` // When the bucket was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // A short description of what this bucket's images are for. Description string `json:"description,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the bucket. ID string `json:"id,omitempty"` // The total number of iterations in this bucket. IterationCount string `json:"iteration_count,omitempty"` // A key:value map for custom, user-settable metadata about your bucket. Labels map[string]string `json:"labels,omitempty"` // The bucket's most recent iteration. This iteration may be complete or not. LatestIteration *HashicorpCloudPacker20220411BucketLatestIteration `json:"latest_iteration,omitempty"` // The human-readable version of the most recent completed iteration in this bucket. LatestVersion int32 `json:"latest_version,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Information about this image bucket's parents. Parents are the base images Packer used to build the latest complete iteration // in this image bucket. Parents *HashicorpCloudPacker20220411BucketParents `json:"parents,omitempty"` // A list of the cloud providers or other platforms that are included in the latest complete iteration. e.g aws, gcp, or azure. Platforms []string `json:"platforms"` // Human-readable name for the bucket. Slug string `json:"slug,omitempty"` // When the bucket was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411Bucket hashicorp cloud packer 20220411 bucket
swagger:model hashicorp.cloud.packer_20220411.Bucket
func (*HashicorpCloudPacker20220411Bucket) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 bucket based on the context it is used
func (*HashicorpCloudPacker20220411Bucket) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411Bucket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411Bucket) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411Bucket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketAncestry ¶
type HashicorpCloudPacker20220411BucketAncestry struct { // The child image bucket and the iteration in that image bucket that relates to the parent. Child *HashicorpCloudPacker20220411BucketAncestryChild `json:"child,omitempty"` // The parent image bucket and iteration that relates to the child image bucket's latest iteration. Parent *HashicorpCloudPacker20220411BucketAncestryParent `json:"parent,omitempty"` // The status of the relationship between the parent and child buckets. Status *HashicorpCloudPacker20220411BucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20220411BucketAncestry The parent-child relationship between two image buckets.
swagger:model hashicorp.cloud.packer_20220411.BucketAncestry
func (*HashicorpCloudPacker20220411BucketAncestry) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketAncestry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 bucket ancestry based on the context it is used
func (*HashicorpCloudPacker20220411BucketAncestry) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketAncestry) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketAncestryChild ¶
type HashicorpCloudPacker20220411BucketAncestryChild struct { // The child image bucket's slug. BucketSlug string `json:"bucket_slug,omitempty"` // The child iteration's build fingerprint. IterationFingerprint string `json:"iteration_fingerprint,omitempty"` // The child iteration's ULID. IterationID string `json:"iteration_id,omitempty"` // The child iteration's incremental version. IterationIncrementalVersion int32 `json:"iteration_incremental_version,omitempty"` }
HashicorpCloudPacker20220411BucketAncestryChild hashicorp cloud packer 20220411 bucket ancestry child
swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Child
func (*HashicorpCloudPacker20220411BucketAncestryChild) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketAncestryChild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 bucket ancestry child based on context it is used
func (*HashicorpCloudPacker20220411BucketAncestryChild) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestryChild) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketAncestryChild) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestryChild) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketAncestryParent ¶
type HashicorpCloudPacker20220411BucketAncestryParent struct { // The parent bucket slug. BucketSlug string `json:"bucket_slug,omitempty"` // The image channel associated with this relationship. Channel string `json:"channel,omitempty"` // The iteration currently assigned to the channel associated with the ancestry relationship. ChannelIteration *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration `json:"channel_iteration,omitempty"` // The parent iteration fingerprint. IterationFingerprint string `json:"iteration_fingerprint,omitempty"` // The parent iteration ULID. IterationID string `json:"iteration_id,omitempty"` // The parent iteration incremental version. IterationIncrementalVersion int32 `json:"iteration_incremental_version,omitempty"` }
HashicorpCloudPacker20220411BucketAncestryParent hashicorp cloud packer 20220411 bucket ancestry parent
swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Parent
func (*HashicorpCloudPacker20220411BucketAncestryParent) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketAncestryParent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 bucket ancestry parent based on the context it is used
func (*HashicorpCloudPacker20220411BucketAncestryParent) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestryParent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketAncestryParent) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestryParent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketAncestryParentChannelIteration ¶
type HashicorpCloudPacker20220411BucketAncestryParentChannelIteration struct { // The currently assigned iteration's build fingerprint. Fingerprint string `json:"fingerprint,omitempty"` // The currently assigned iteration's ULID. ID string `json:"id,omitempty"` // The currently assigned iteration's incremental version. IncrementalVersion int32 `json:"incremental_version,omitempty"` }
HashicorpCloudPacker20220411BucketAncestryParentChannelIteration hashicorp cloud packer 20220411 bucket ancestry parent channel iteration
swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Parent.ChannelIteration
func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 bucket ancestry parent channel iteration based on context it is used
func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketAncestryStatus ¶
type HashicorpCloudPacker20220411BucketAncestryStatus string
HashicorpCloudPacker20220411BucketAncestryStatus - UNDETERMINED: HCP Packer cannot determine whether the child image is out of date. This status occurs when the parent iteration was not assigned to an image channel when Packer built the image, the image channel no longer exists in the image bucket, or HCP Packer is not tracking the parent.
- UP_TO_DATE: The child image is built from the iteration currently assigned to the image channel.
- OUT_OF_DATE: The child image is built from a different iteration than the one currently assigned to the image channel.
swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Status
const ( // HashicorpCloudPacker20220411BucketAncestryStatusUNDETERMINED captures enum value "UNDETERMINED" HashicorpCloudPacker20220411BucketAncestryStatusUNDETERMINED HashicorpCloudPacker20220411BucketAncestryStatus = "UNDETERMINED" // HashicorpCloudPacker20220411BucketAncestryStatusUPTODATE captures enum value "UP_TO_DATE" HashicorpCloudPacker20220411BucketAncestryStatusUPTODATE HashicorpCloudPacker20220411BucketAncestryStatus = "UP_TO_DATE" // HashicorpCloudPacker20220411BucketAncestryStatusOUTOFDATE captures enum value "OUT_OF_DATE" HashicorpCloudPacker20220411BucketAncestryStatusOUTOFDATE HashicorpCloudPacker20220411BucketAncestryStatus = "OUT_OF_DATE" )
func NewHashicorpCloudPacker20220411BucketAncestryStatus ¶ added in v0.23.0
func NewHashicorpCloudPacker20220411BucketAncestryStatus(value HashicorpCloudPacker20220411BucketAncestryStatus) *HashicorpCloudPacker20220411BucketAncestryStatus
func (HashicorpCloudPacker20220411BucketAncestryStatus) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411BucketAncestryStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 bucket ancestry status based on context it is used
func (HashicorpCloudPacker20220411BucketAncestryStatus) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411BucketAncestryStatus) Pointer() *HashicorpCloudPacker20220411BucketAncestryStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411BucketAncestryStatus.
type HashicorpCloudPacker20220411BucketChildren ¶
type HashicorpCloudPacker20220411BucketChildren struct { // The URL to retrieve the list of ancestry relationships between this image bucket and its direct children. Href string `json:"href,omitempty"` // The overall ancestry status for all child iterations. // If at least one child is out of date, HCP Packer reports the overall status as 'OUT_OF_DATE'. Status *HashicorpCloudPacker20220411BucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20220411BucketChildren hashicorp cloud packer 20220411 bucket children
swagger:model hashicorp.cloud.packer_20220411.BucketChildren
func (*HashicorpCloudPacker20220411BucketChildren) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketChildren) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 bucket children based on the context it is used
func (*HashicorpCloudPacker20220411BucketChildren) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketChildren) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketChildren) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketChildren) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketLatestIteration ¶
type HashicorpCloudPacker20220411BucketLatestIteration struct { // The name of the person who created this iteration. AuthorID string `json:"author_id,omitempty"` // Human-readable name for the bucket that this iteration is associated with. BucketSlug string `json:"bucket_slug,omitempty"` // A list of all the builds associated with this iteration. Builds []*HashicorpCloudPacker20220411LatestIterationBuild `json:"builds"` // If true, all builds associated with this iteration have successfully // completed and uploaded metadata to the registry. When "complete" is true, // This iteration is considered ready to use, and can have channels assigned // to it. Complete bool `json:"complete,omitempty"` // When the iteration was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the iteration. ID string `json:"id,omitempty"` // The human-readable version number assigned to this iteration. This // field will only be set if the iteration is "complete". IncrementalVersion int32 `json:"incremental_version,omitempty"` // The unique identifier of the iteration that was used as a source // for this iteration, if this iteration was built on a base layer. // Deprecated: refer to build specific source_build_ulid. IterationAncestorID string `json:"iteration_ancestor_id,omitempty"` // Who revoked this iteration. For human authors (e.g. HCP Portal) this will be an email address. // For machine authors using service principals, this is the customer-chosen name for this service principal. RevocationAuthor string `json:"revocation_author,omitempty"` // The ancestor iteration from whom this iteration inherited the revocation state. RevocationInheritedFrom *HashicorpCloudPacker20220411RevokedAncestor `json:"revocation_inherited_from,omitempty"` // A short explanation of why this iteration was revoked. RevocationMessage string `json:"revocation_message,omitempty"` // Revocation type is 'manual' when self revoked or 'inherited' when inherited from a revoked ancestor. RevocationType *HashicorpCloudPacker20220411IterationRevocationType `json:"revocation_type,omitempty"` // Timestamp from when the iteration is revoked an no longer trusted to be secure. // Format: date-time RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"` // When the iteration was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411BucketLatestIteration A simplified Iteration used in Bucket to represent a bucket's latest iteration. This iteration representation does not contain ancestry information to avoid repetition.
swagger:model hashicorp.cloud.packer_20220411.BucketLatestIteration
func (*HashicorpCloudPacker20220411BucketLatestIteration) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketLatestIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 bucket latest iteration based on the context it is used
func (*HashicorpCloudPacker20220411BucketLatestIteration) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketLatestIteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketLatestIteration) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketLatestIteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BucketParents ¶
type HashicorpCloudPacker20220411BucketParents struct { // The URL to retrieve the list of ancestry relationships between this image bucket and its direct source images (parents). Href string `json:"href,omitempty"` // The overall status for all parent iterations. // If at least one parent is out of date, HCP Packer reports the overall status as 'OUT_OF_DATE'. Status *HashicorpCloudPacker20220411BucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20220411BucketParents hashicorp cloud packer 20220411 bucket parents
swagger:model hashicorp.cloud.packer_20220411.BucketParents
func (*HashicorpCloudPacker20220411BucketParents) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BucketParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 bucket parents based on the context it is used
func (*HashicorpCloudPacker20220411BucketParents) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketParents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BucketParents) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BucketParents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411Build ¶
type HashicorpCloudPacker20220411Build struct { // The cloud provider that this build produced artifacts for. // For example, AWS, GCP, or Azure. CloudProvider string `json:"cloud_provider,omitempty"` // Internal Packer name for the builder or post-processor component used to // build this. For example, "amazon-ebs" or "azure-arm". ComponentType string `json:"component_type,omitempty"` // When the build was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the build. ID string `json:"id,omitempty"` // List of images associated with this build. Images []*HashicorpCloudPacker20220411Image `json:"images"` // Unique identifier of the iteration associated with this build; this was // created and set by the HCP Packer registry when the iteration was created. IterationID string `json:"iteration_id,omitempty"` // A key:value map for custom, user-settable metadata about your build. Labels map[string]string `json:"labels,omitempty"` // The UUID specific to this call to Packer build. If you use the manifest // post-processor, this UUID will match the UUID present there. PackerRunUUID string `json:"packer_run_uuid,omitempty"` // Unique identifier of the HCP Packer registry build that Packer uses as the source // for this build. HCP Packer uses this to track dependencies for build pipelines. SourceBuildUlid string `json:"source_build_ulid,omitempty"` // The ID or URL of the remote cloud source image that HCP Packer uses to track image dependencies for build pipelines. SourceImageID string `json:"source_image_id,omitempty"` // Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED, // or UNSET. Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"` // When the build was most recently updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411Build hashicorp cloud packer 20220411 build
swagger:model hashicorp.cloud.packer_20220411.Build
func (*HashicorpCloudPacker20220411Build) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411Build) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 build based on the context it is used
func (*HashicorpCloudPacker20220411Build) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411Build) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411Build) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411Build) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BuildCreateBody ¶
type HashicorpCloudPacker20220411BuildCreateBody struct { // The cloud provider that this build produced artifacts for. // For example, AWS, GCP, or Azure. CloudProvider string `json:"cloud_provider,omitempty"` // Internal Packer name for the builder or post-processor component used to // build this. For example, "amazon-ebs" or "azure-arm" ComponentType string `json:"component_type,omitempty"` // List of images associated with this build. Images []*HashicorpCloudPacker20220411ImageCreateBody `json:"images"` // A key:value map for custom, user-settable metadata about your build. Labels map[string]string `json:"labels,omitempty"` // The UUID specific to this call to Packer build. If you use the manifest // post-processor, this UUID will match the UUID present there. PackerRunUUID string `json:"packer_run_uuid,omitempty"` // The ID of the channel that it was used to fetch the source_iteration_id. // When the source channel ID is set, the source iteration ID should also be set. SourceChannelID string `json:"source_channel_id,omitempty"` // The ID or URL of the remote cloud source image. Used for tracking image // dependencies for build pipelines. SourceImageID string `json:"source_image_id,omitempty"` // The ID of the parent iteration associated with the `source_image_id`. // When the source iteration ID is set, the source image ID should also be set. SourceIterationID string `json:"source_iteration_id,omitempty"` // Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED, // or UNSET. Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"` }
HashicorpCloudPacker20220411BuildCreateBody This message is used for build/create calls; it removes elements from the Build message that the user cannot set.
swagger:model hashicorp.cloud.packer_20220411.BuildCreateBody
func (*HashicorpCloudPacker20220411BuildCreateBody) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BuildCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 build create body based on the context it is used
func (*HashicorpCloudPacker20220411BuildCreateBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BuildCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BuildCreateBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BuildCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411BuildStatus ¶
type HashicorpCloudPacker20220411BuildStatus string
HashicorpCloudPacker20220411BuildStatus - UNSET: UNSET is a sentinel zero value so that an uninitialized value can be detected.
- RUNNING: Running means the `packer build` is currently running.
- DONE: Done means the `packer build` has finished successfully.
- CANCELLED: Cancelled means the `packer build` was cancelled by a user.
- FAILED: Failed means the `packer build` failed and therefore image creation failed.
swagger:model hashicorp.cloud.packer_20220411.BuildStatus
const ( // HashicorpCloudPacker20220411BuildStatusUNSET captures enum value "UNSET" HashicorpCloudPacker20220411BuildStatusUNSET HashicorpCloudPacker20220411BuildStatus = "UNSET" // HashicorpCloudPacker20220411BuildStatusRUNNING captures enum value "RUNNING" HashicorpCloudPacker20220411BuildStatusRUNNING HashicorpCloudPacker20220411BuildStatus = "RUNNING" // HashicorpCloudPacker20220411BuildStatusDONE captures enum value "DONE" HashicorpCloudPacker20220411BuildStatusDONE HashicorpCloudPacker20220411BuildStatus = "DONE" // HashicorpCloudPacker20220411BuildStatusCANCELLED captures enum value "CANCELLED" HashicorpCloudPacker20220411BuildStatusCANCELLED HashicorpCloudPacker20220411BuildStatus = "CANCELLED" // HashicorpCloudPacker20220411BuildStatusFAILED captures enum value "FAILED" HashicorpCloudPacker20220411BuildStatusFAILED HashicorpCloudPacker20220411BuildStatus = "FAILED" )
func NewHashicorpCloudPacker20220411BuildStatus ¶ added in v0.23.0
func NewHashicorpCloudPacker20220411BuildStatus(value HashicorpCloudPacker20220411BuildStatus) *HashicorpCloudPacker20220411BuildStatus
func (HashicorpCloudPacker20220411BuildStatus) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411BuildStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 build status based on context it is used
func (HashicorpCloudPacker20220411BuildStatus) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411BuildStatus) Pointer() *HashicorpCloudPacker20220411BuildStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411BuildStatus.
type HashicorpCloudPacker20220411BuildUpdates ¶
type HashicorpCloudPacker20220411BuildUpdates struct { // The cloud provider that this build produced artifacts for. // For example, AWS, GCP, or Azure. CloudProvider string `json:"cloud_provider,omitempty"` // A list of images to create and associate with this build. Images []*HashicorpCloudPacker20220411ImageCreateBody `json:"images"` // A key:value map for custom, user-settable metadata about your build. Labels map[string]string `json:"labels,omitempty"` // The UUID specific to this call to Packer build. If you use the manifest // post-processor, this UUID will match the UUID present there. PackerRunUUID string `json:"packer_run_uuid,omitempty"` // The ID of the channel that it was used to fetch the source_iteration_id. // When the source channel ID is set, the source iteration ID should also be set. SourceChannelID string `json:"source_channel_id,omitempty"` // The ID or URL of the remote cloud source image. Used for tracking image // dependencies for build pipelines. SourceImageID string `json:"source_image_id,omitempty"` // The ID of the parent iteration associated with the `source_image_id`. // When the source iteration ID is set, the source image ID should also be set. SourceIterationID string `json:"source_iteration_id,omitempty"` // Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED, // or UNSET. Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"` }
HashicorpCloudPacker20220411BuildUpdates BuildUpdates is used to group the elements of a Build that are allowed to be updated after the build has been created. It is part of the UpdateBuildRequest.
swagger:model hashicorp.cloud.packer_20220411.BuildUpdates
func (*HashicorpCloudPacker20220411BuildUpdates) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411BuildUpdates) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 build updates based on the context it is used
func (*HashicorpCloudPacker20220411BuildUpdates) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411BuildUpdates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411BuildUpdates) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411BuildUpdates) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411Channel ¶
type HashicorpCloudPacker20220411Channel struct { // The user who last updated the channel. AuthorID string `json:"author_id,omitempty"` // Human-readable name for the bucket this channel is associated with. BucketSlug string `json:"bucket_slug,omitempty"` // When the channel was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the channel. ID string `json:"id,omitempty"` // The iteration the channel is pointing to. Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"` // If the channel is managed by HCP Packer (such as the latest channel). Managed bool `json:"managed,omitempty"` // A pointer to the iteration currently associated with this channel. // Deprecated: look at the Channel.iteration instead. Pointer *HashicorpCloudPacker20220411ChannelIterationPointer `json:"pointer,omitempty"` // Human-readable name for the channel. Slug string `json:"slug,omitempty"` // When the channel was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411Channel hashicorp cloud packer 20220411 channel
swagger:model hashicorp.cloud.packer_20220411.Channel
func (*HashicorpCloudPacker20220411Channel) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411Channel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 channel based on the context it is used
func (*HashicorpCloudPacker20220411Channel) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411Channel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411Channel) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411Channel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ChannelIterationPointer ¶
type HashicorpCloudPacker20220411ChannelIterationPointer struct { // The user who pointed the channel to the iteration. AuthorID string `json:"author_id,omitempty"` // When the channel pointer was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // The iteration the channel is pointing to. Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"` }
HashicorpCloudPacker20220411ChannelIterationPointer A Channel Pointer is a special object that tracks channel history by storing both which iteration the channel points to and also when the channel was updated to point at said iteration. Deprecated: The iteration object is directly embed to Channel.
swagger:model hashicorp.cloud.packer_20220411.ChannelIterationPointer
func (*HashicorpCloudPacker20220411ChannelIterationPointer) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ChannelIterationPointer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 channel iteration pointer based on the context it is used
func (*HashicorpCloudPacker20220411ChannelIterationPointer) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ChannelIterationPointer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ChannelIterationPointer) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ChannelIterationPointer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateBucketRequest ¶
type HashicorpCloudPacker20220411CreateBucketRequest struct { // Human-readable name for the bucket. BucketSlug string `json:"bucket_slug,omitempty"` // A short description of what this bucket's images are for. Description string `json:"description,omitempty"` // A key:value map for custom, user-settable metadata about your bucket. Labels map[string]string `json:"labels,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudPacker20220411CreateBucketRequest hashicorp cloud packer 20220411 create bucket request
swagger:model hashicorp.cloud.packer_20220411.CreateBucketRequest
func (*HashicorpCloudPacker20220411CreateBucketRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateBucketRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create bucket request based on the context it is used
func (*HashicorpCloudPacker20220411CreateBucketRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBucketRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateBucketRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBucketRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateBucketResponse ¶
type HashicorpCloudPacker20220411CreateBucketResponse struct { // Information about the bucket that was created. Bucket *HashicorpCloudPacker20220411Bucket `json:"bucket,omitempty"` }
HashicorpCloudPacker20220411CreateBucketResponse hashicorp cloud packer 20220411 create bucket response
swagger:model hashicorp.cloud.packer_20220411.CreateBucketResponse
func (*HashicorpCloudPacker20220411CreateBucketResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create bucket response based on the context it is used
func (*HashicorpCloudPacker20220411CreateBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateBuildRequest ¶
type HashicorpCloudPacker20220411CreateBuildRequest struct { // Human-readable name for the bucket. BucketSlug string `json:"bucket_slug,omitempty"` // Information about the build to create. Build *HashicorpCloudPacker20220411BuildCreateBody `json:"build,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // ULID of the iteration that this build should be associated with. IterationID string `json:"iteration_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudPacker20220411CreateBuildRequest hashicorp cloud packer 20220411 create build request
swagger:model hashicorp.cloud.packer_20220411.CreateBuildRequest
func (*HashicorpCloudPacker20220411CreateBuildRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateBuildRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create build request based on the context it is used
func (*HashicorpCloudPacker20220411CreateBuildRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBuildRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateBuildRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBuildRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateBuildResponse ¶
type HashicorpCloudPacker20220411CreateBuildResponse struct { // Information about the build that was created. Build *HashicorpCloudPacker20220411Build `json:"build,omitempty"` }
HashicorpCloudPacker20220411CreateBuildResponse hashicorp cloud packer 20220411 create build response
swagger:model hashicorp.cloud.packer_20220411.CreateBuildResponse
func (*HashicorpCloudPacker20220411CreateBuildResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create build response based on the context it is used
func (*HashicorpCloudPacker20220411CreateBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateChannelRequest ¶
type HashicorpCloudPacker20220411CreateChannelRequest struct { // Human-readable name for the bucket to associate the channel with. BucketSlug string `json:"bucket_slug,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // The human-readable version number assigned to this iteration. IncrementalVersion int32 `json:"incremental_version,omitempty"` // ULID of the iteration. IterationID string `json:"iteration_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Human-readable name for the channel. Slug string `json:"slug,omitempty"` }
HashicorpCloudPacker20220411CreateChannelRequest hashicorp cloud packer 20220411 create channel request
swagger:model hashicorp.cloud.packer_20220411.CreateChannelRequest
func (*HashicorpCloudPacker20220411CreateChannelRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateChannelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create channel request based on the context it is used
func (*HashicorpCloudPacker20220411CreateChannelRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateChannelRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateChannelResponse ¶
type HashicorpCloudPacker20220411CreateChannelResponse struct { // Information about the channel that was created. Channel *HashicorpCloudPacker20220411Channel `json:"channel,omitempty"` }
HashicorpCloudPacker20220411CreateChannelResponse hashicorp cloud packer 20220411 create channel response
swagger:model hashicorp.cloud.packer_20220411.CreateChannelResponse
func (*HashicorpCloudPacker20220411CreateChannelResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create channel response based on the context it is used
func (*HashicorpCloudPacker20220411CreateChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateIterationRequest ¶
type HashicorpCloudPacker20220411CreateIterationRequest struct { // Human-readable name for the bucket. BucketSlug string `json:"bucket_slug,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudPacker20220411CreateIterationRequest hashicorp cloud packer 20220411 create iteration request
swagger:model hashicorp.cloud.packer_20220411.CreateIterationRequest
func (*HashicorpCloudPacker20220411CreateIterationRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateIterationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create iteration request based on the context it is used
func (*HashicorpCloudPacker20220411CreateIterationRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateIterationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateIterationRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateIterationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateIterationResponse ¶
type HashicorpCloudPacker20220411CreateIterationResponse struct { // iteration Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"` }
HashicorpCloudPacker20220411CreateIterationResponse hashicorp cloud packer 20220411 create iteration response
swagger:model hashicorp.cloud.packer_20220411.CreateIterationResponse
func (*HashicorpCloudPacker20220411CreateIterationResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create iteration response based on the context it is used
func (*HashicorpCloudPacker20220411CreateIterationResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateIterationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateIterationResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateIterationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateRegistryRequest ¶
type HashicorpCloudPacker20220411CreateRegistryRequest struct { // Feature tier of the Registry. FeatureTier *HashicorpCloudPacker20220411RegistryConfigTier `json:"feature_tier,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudPacker20220411CreateRegistryRequest hashicorp cloud packer 20220411 create registry request
swagger:model hashicorp.cloud.packer_20220411.CreateRegistryRequest
func (*HashicorpCloudPacker20220411CreateRegistryRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateRegistryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create registry request based on the context it is used
func (*HashicorpCloudPacker20220411CreateRegistryRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateRegistryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateRegistryRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateRegistryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411CreateRegistryResponse ¶
type HashicorpCloudPacker20220411CreateRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20220411CreateRegistryResponse hashicorp cloud packer 20220411 create registry response
swagger:model hashicorp.cloud.packer_20220411.CreateRegistryResponse
func (*HashicorpCloudPacker20220411CreateRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411CreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 create registry response based on the context it is used
func (*HashicorpCloudPacker20220411CreateRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411CreateRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411CreateRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411DeleteBucketResponse ¶
type HashicorpCloudPacker20220411DeleteBucketResponse interface{}
HashicorpCloudPacker20220411DeleteBucketResponse hashicorp cloud packer 20220411 delete bucket response
swagger:model hashicorp.cloud.packer_20220411.DeleteBucketResponse
type HashicorpCloudPacker20220411DeleteBuildResponse ¶
type HashicorpCloudPacker20220411DeleteBuildResponse interface{}
HashicorpCloudPacker20220411DeleteBuildResponse hashicorp cloud packer 20220411 delete build response
swagger:model hashicorp.cloud.packer_20220411.DeleteBuildResponse
type HashicorpCloudPacker20220411DeleteChannelResponse ¶
type HashicorpCloudPacker20220411DeleteChannelResponse interface{}
HashicorpCloudPacker20220411DeleteChannelResponse hashicorp cloud packer 20220411 delete channel response
swagger:model hashicorp.cloud.packer_20220411.DeleteChannelResponse
type HashicorpCloudPacker20220411DeleteIterationResponse ¶
type HashicorpCloudPacker20220411DeleteIterationResponse interface{}
HashicorpCloudPacker20220411DeleteIterationResponse hashicorp cloud packer 20220411 delete iteration response
swagger:model hashicorp.cloud.packer_20220411.DeleteIterationResponse
type HashicorpCloudPacker20220411DeleteRegistryResponse ¶
type HashicorpCloudPacker20220411DeleteRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20220411DeleteRegistryResponse hashicorp cloud packer 20220411 delete registry response
swagger:model hashicorp.cloud.packer_20220411.DeleteRegistryResponse
func (*HashicorpCloudPacker20220411DeleteRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 delete registry response based on the context it is used
func (*HashicorpCloudPacker20220411DeleteRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411DeleteRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411DeleteRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411GetBucketResponse ¶
type HashicorpCloudPacker20220411GetBucketResponse struct { // The requested information about the bucket. Bucket *HashicorpCloudPacker20220411Bucket `json:"bucket,omitempty"` }
HashicorpCloudPacker20220411GetBucketResponse hashicorp cloud packer 20220411 get bucket response
swagger:model hashicorp.cloud.packer_20220411.GetBucketResponse
func (*HashicorpCloudPacker20220411GetBucketResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411GetBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 get bucket response based on the context it is used
func (*HashicorpCloudPacker20220411GetBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411GetBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411GetBuildResponse ¶
type HashicorpCloudPacker20220411GetBuildResponse struct { // The requested build. Build *HashicorpCloudPacker20220411Build `json:"build,omitempty"` }
HashicorpCloudPacker20220411GetBuildResponse hashicorp cloud packer 20220411 get build response
swagger:model hashicorp.cloud.packer_20220411.GetBuildResponse
func (*HashicorpCloudPacker20220411GetBuildResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411GetBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 get build response based on the context it is used
func (*HashicorpCloudPacker20220411GetBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411GetBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411GetChannelResponse ¶
type HashicorpCloudPacker20220411GetChannelResponse struct { // The requested channel information. Channel *HashicorpCloudPacker20220411Channel `json:"channel,omitempty"` }
HashicorpCloudPacker20220411GetChannelResponse hashicorp cloud packer 20220411 get channel response
swagger:model hashicorp.cloud.packer_20220411.GetChannelResponse
func (*HashicorpCloudPacker20220411GetChannelResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411GetChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 get channel response based on the context it is used
func (*HashicorpCloudPacker20220411GetChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411GetChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411GetIterationResponse ¶
type HashicorpCloudPacker20220411GetIterationResponse struct { // The requested iteration. Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"` }
HashicorpCloudPacker20220411GetIterationResponse hashicorp cloud packer 20220411 get iteration response
swagger:model hashicorp.cloud.packer_20220411.GetIterationResponse
func (*HashicorpCloudPacker20220411GetIterationResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411GetIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 get iteration response based on the context it is used
func (*HashicorpCloudPacker20220411GetIterationResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetIterationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411GetIterationResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetIterationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411GetRegistryResponse ¶
type HashicorpCloudPacker20220411GetRegistryResponse struct { // registry Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20220411GetRegistryResponse hashicorp cloud packer 20220411 get registry response
swagger:model hashicorp.cloud.packer_20220411.GetRegistryResponse
func (*HashicorpCloudPacker20220411GetRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411GetRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 get registry response based on the context it is used
func (*HashicorpCloudPacker20220411GetRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411GetRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse ¶
type HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse struct { // URL of the API used by Terraform Cloud to run HCP Packer Run Tasks. APIURL string `json:"api_url,omitempty"` // HMAC key used by Terraform Cloud to sign the requests to the HCP Packer run task API. HmacKey string `json:"hmac_key,omitempty"` }
HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse hashicorp cloud packer 20220411 get registry t f c run task API response
swagger:model hashicorp.cloud.packer_20220411.GetRegistryTFCRunTaskAPIResponse
func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 get registry t f c run task API response based on context it is used
func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411Image ¶
type HashicorpCloudPacker20220411Image struct { // Timestamp at which this image was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) for the image. ID string `json:"id,omitempty"` // ID or URL of the remote cloud image as given by a build. For example, ami-12345. ImageID string `json:"image_id,omitempty"` // Cloud-specific region as provided by `packer build`. For example, "ap-east-1". Region string `json:"region,omitempty"` }
HashicorpCloudPacker20220411Image Represents the actual region:image_id mapping for a single image, in a single build.
swagger:model hashicorp.cloud.packer_20220411.Image
func (*HashicorpCloudPacker20220411Image) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 image based on context it is used
func (*HashicorpCloudPacker20220411Image) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411Image) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411Image) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411Image) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ImageCreateBody ¶
type HashicorpCloudPacker20220411ImageCreateBody struct { // ID or URL of the remote cloud image as given by a build. ImageID string `json:"image_id,omitempty"` // Cloud-specific region as provided by `packer build`. For example, "ap-east-1". Region string `json:"region,omitempty"` }
HashicorpCloudPacker20220411ImageCreateBody This message is used for build/create calls; it removes elements from the Image message that the user cannot set.
swagger:model hashicorp.cloud.packer_20220411.ImageCreateBody
func (*HashicorpCloudPacker20220411ImageCreateBody) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ImageCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 image create body based on context it is used
func (*HashicorpCloudPacker20220411ImageCreateBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ImageCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ImageCreateBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ImageCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411Iteration ¶
type HashicorpCloudPacker20220411Iteration struct { // The name of the person who created this iteration. AuthorID string `json:"author_id,omitempty"` // Human-readable name for the bucket that this iteration is associated with. BucketSlug string `json:"bucket_slug,omitempty"` // A list of all the builds associated with this iteration. Builds []*HashicorpCloudPacker20220411Build `json:"builds"` // If true, all builds associated with this iteration have successfully // completed and uploaded metadata to the registry. When "complete" is true, // This iteration is considered ready to use, and can have channels assigned // to it. Complete bool `json:"complete,omitempty"` // When the iteration was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // If true, this iteration has children iterations. Knowing if an iteration has descendants can help // taking decisions such as persist revocation to all its descendants or not. HasDescendants bool `json:"has_descendants,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the iteration. ID string `json:"id,omitempty"` // The human-readable version number assigned to this iteration. This // field will only be set if the iteration is "complete". IncrementalVersion int32 `json:"incremental_version,omitempty"` // The unique identifier of the iteration that was used as a source // for this iteration, if this iteration was built on a base layer. // Deprecated: refer to build specific source_build_ulid. IterationAncestorID string `json:"iteration_ancestor_id,omitempty"` // Who revoked this iteration. For human authors (e.g. HCP Portal) this will be an email address. // For machine authors using service principals, this is the customer-chosen name for this service principal. RevocationAuthor string `json:"revocation_author,omitempty"` // The ancestor iteration from whom this iteration inherited the revocation. RevocationInheritedFrom *HashicorpCloudPacker20220411RevokedAncestor `json:"revocation_inherited_from,omitempty"` // A short explanation of why this iteration was revoked. RevocationMessage string `json:"revocation_message,omitempty"` // Revocation type is 'manual' when the iteration is revoked directly or 'inherited' when the iteration inherits // a revocation from an upstream ancestor. RevocationType *HashicorpCloudPacker20220411IterationRevocationType `json:"revocation_type,omitempty"` // Timestamp from when the iteration is revoked an no longer trusted to be secure. // Format: date-time RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"` // When the iteration was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411Iteration hashicorp cloud packer 20220411 iteration
swagger:model hashicorp.cloud.packer_20220411.Iteration
func (*HashicorpCloudPacker20220411Iteration) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411Iteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 iteration based on the context it is used
func (*HashicorpCloudPacker20220411Iteration) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411Iteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411Iteration) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411Iteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411IterationRevocationType ¶
type HashicorpCloudPacker20220411IterationRevocationType string
HashicorpCloudPacker20220411IterationRevocationType - MANUAL: This iteration was revoked manually.
- INHERITED: This iteration inherited a revocation from an upstream ancestor and was revoked automatically.
swagger:model hashicorp.cloud.packer_20220411.Iteration.RevocationType
const ( // HashicorpCloudPacker20220411IterationRevocationTypeUNSET captures enum value "UNSET" HashicorpCloudPacker20220411IterationRevocationTypeUNSET HashicorpCloudPacker20220411IterationRevocationType = "UNSET" // HashicorpCloudPacker20220411IterationRevocationTypeMANUAL captures enum value "MANUAL" HashicorpCloudPacker20220411IterationRevocationTypeMANUAL HashicorpCloudPacker20220411IterationRevocationType = "MANUAL" // HashicorpCloudPacker20220411IterationRevocationTypeINHERITED captures enum value "INHERITED" HashicorpCloudPacker20220411IterationRevocationTypeINHERITED HashicorpCloudPacker20220411IterationRevocationType = "INHERITED" )
func NewHashicorpCloudPacker20220411IterationRevocationType ¶ added in v0.23.0
func NewHashicorpCloudPacker20220411IterationRevocationType(value HashicorpCloudPacker20220411IterationRevocationType) *HashicorpCloudPacker20220411IterationRevocationType
func (HashicorpCloudPacker20220411IterationRevocationType) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411IterationRevocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 iteration revocation type based on context it is used
func (HashicorpCloudPacker20220411IterationRevocationType) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411IterationRevocationType) Pointer() *HashicorpCloudPacker20220411IterationRevocationType
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411IterationRevocationType.
type HashicorpCloudPacker20220411IterationforList ¶
type HashicorpCloudPacker20220411IterationforList struct { // Who created the iteration. AuthorID string `json:"author_id,omitempty"` // Human-readable name for the bucket. BucketSlug string `json:"bucket_slug,omitempty"` // Maps the build component type to its status enum, for displaying build // status in the iterations view. BuildStatuses map[string]string `json:"build_statuses,omitempty"` // If true, all builds associated with this iteration have successfully // completed and uploaded metadata to the registry. When "complete" is true, // This iteration is considered ready to use, and can have channels assigned // to it. Complete bool `json:"complete,omitempty"` // When the iteration was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // If true, this iteration has children iterations. Knowing if an iteration has descendants can help // taking decisions such as persist revocation to all its descendants or not. HasDescendants bool `json:"has_descendants,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the iteration. ID string `json:"id,omitempty"` // The human-readable version number assigned to this iteration. This // field will only be set if the iteration is "complete". IncrementalVersion int32 `json:"incremental_version,omitempty"` // The unique identifier of the iteration that was used as a source // for this iteration, if this iteration was built on a base layer. // Deprecated: Deprecated: refer to build specific source_build_ulid. IterationAncestorID string `json:"iteration_ancestor_id,omitempty"` // Who revoked this iteration. For human authors (e.g. HCP Portal) this will be an email address. // For machine authors using service principals, this is the customer-chosen name for this service principal. RevocationAuthor string `json:"revocation_author,omitempty"` // The ancestor iteration from whom this iteration inherited the revocation state. RevocationInheritedFrom *HashicorpCloudPacker20220411RevokedAncestor `json:"revocation_inherited_from,omitempty"` // A short explanation of why this iteration was revoked. RevocationMessage string `json:"revocation_message,omitempty"` // Revocation type is 'manual' when self revoked or 'inherited' when inherited from a revoked ancestor. RevocationType *HashicorpCloudPacker20220411IterationRevocationType `json:"revocation_type,omitempty"` // Timestamp from when the iteration is revoked an no longer trusted to be secure. // Format: date-time RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"` // When the iteration was most recently updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411IterationforList The list endpoint does not return build information.
swagger:model hashicorp.cloud.packer_20220411.IterationforList
func (*HashicorpCloudPacker20220411IterationforList) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411IterationforList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 iterationfor list based on the context it is used
func (*HashicorpCloudPacker20220411IterationforList) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411IterationforList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411IterationforList) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411IterationforList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411LatestIterationBuild ¶
type HashicorpCloudPacker20220411LatestIterationBuild struct { // The cloud provider that this build produced artifacts for. // For example, AWS, GCP, or Azure. CloudProvider string `json:"cloud_provider,omitempty"` // Internal Packer name for the builder or post-processor component used to // build this. For example, "amazon-ebs" or "azure-arm". ComponentType string `json:"component_type,omitempty"` // When the build was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Universally Unique Lexicographically Sortable Identifier (ULID) of the build. ID string `json:"id,omitempty"` // List of images associated with this build. Images []*HashicorpCloudPacker20220411Image `json:"images"` // Unique identifier of the iteration associated with this build; this was // created and set by the HCP Packer registry when the iteration was created. IterationID string `json:"iteration_id,omitempty"` // A key:value map for custom, user-settable metadata about your build. Labels map[string]string `json:"labels,omitempty"` // The UUID specific to this call to Packer build. If you use the manifest // post-processor, this UUID will match the UUID present there. PackerRunUUID string `json:"packer_run_uuid,omitempty"` // Unique identifier of the HCP Packer registry build used as the source // for this build. Used for tracking dependencies for build pipelines. SourceBuildUlid string `json:"source_build_ulid,omitempty"` // The ID or URL of the remote cloud source image. Used for tracking image // dependencies for build pipelines. SourceImageID string `json:"source_image_id,omitempty"` // Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED, // or UNSET. Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"` // When the build was most recently updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411LatestIterationBuild A simplified Build used in BucketLatestIteration to represent the builds of a bucket's latest iteration. This build representation does not contain ancestry information to avoid repetition.
swagger:model hashicorp.cloud.packer_20220411.LatestIterationBuild
func (*HashicorpCloudPacker20220411LatestIterationBuild) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411LatestIterationBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 latest iteration build based on the context it is used
func (*HashicorpCloudPacker20220411LatestIterationBuild) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411LatestIterationBuild) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411LatestIterationBuild) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411LatestIterationBuild) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ListBucketAncestryResponse ¶
type HashicorpCloudPacker20220411ListBucketAncestryResponse struct { // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // relations Relations []*HashicorpCloudPacker20220411BucketAncestry `json:"relations"` // The total number of ancestral relationships returned for the specified image bucket. These can be parent or child images. TotalCount int32 `json:"total_count,omitempty"` }
HashicorpCloudPacker20220411ListBucketAncestryResponse hashicorp cloud packer 20220411 list bucket ancestry response
swagger:model hashicorp.cloud.packer_20220411.ListBucketAncestryResponse
func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 list bucket ancestry response based on the context it is used
func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListBucketAncestryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ListBucketsResponse ¶
type HashicorpCloudPacker20220411ListBucketsResponse struct { // List of buckets. Buckets []*HashicorpCloudPacker20220411Bucket `json:"buckets"` // Pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPacker20220411ListBucketsResponse hashicorp cloud packer 20220411 list buckets response
swagger:model hashicorp.cloud.packer_20220411.ListBucketsResponse
func (*HashicorpCloudPacker20220411ListBucketsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 list buckets response based on the context it is used
func (*HashicorpCloudPacker20220411ListBucketsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ListBucketsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ListBuildsResponse ¶
type HashicorpCloudPacker20220411ListBuildsResponse struct { // The requested list of builds. Builds []*HashicorpCloudPacker20220411Build `json:"builds"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPacker20220411ListBuildsResponse hashicorp cloud packer 20220411 list builds response
swagger:model hashicorp.cloud.packer_20220411.ListBuildsResponse
func (*HashicorpCloudPacker20220411ListBuildsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ListBuildsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 list builds response based on the context it is used
func (*HashicorpCloudPacker20220411ListBuildsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListBuildsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ListBuildsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListBuildsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ListChannelsResponse ¶
type HashicorpCloudPacker20220411ListChannelsResponse struct { // channels Channels []*HashicorpCloudPacker20220411Channel `json:"channels"` }
HashicorpCloudPacker20220411ListChannelsResponse hashicorp cloud packer 20220411 list channels response
swagger:model hashicorp.cloud.packer_20220411.ListChannelsResponse
func (*HashicorpCloudPacker20220411ListChannelsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ListChannelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 list channels response based on the context it is used
func (*HashicorpCloudPacker20220411ListChannelsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListChannelsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ListChannelsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListChannelsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411ListIterationsResponse ¶
type HashicorpCloudPacker20220411ListIterationsResponse struct { // The requested list of iterations. Iterations []*HashicorpCloudPacker20220411IterationforList `json:"iterations"` // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPacker20220411ListIterationsResponse hashicorp cloud packer 20220411 list iterations response
swagger:model hashicorp.cloud.packer_20220411.ListIterationsResponse
func (*HashicorpCloudPacker20220411ListIterationsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411ListIterationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 list iterations response based on the context it is used
func (*HashicorpCloudPacker20220411ListIterationsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListIterationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411ListIterationsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411ListIterationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest ¶
type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest struct { // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest hashicorp cloud packer 20220411 regenerate t f c run task hmac key request
swagger:model hashicorp.cloud.packer_20220411.RegenerateTFCRunTaskHmacKeyRequest
func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 regenerate t f c run task hmac key request based on the context it is used
func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse ¶
type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse struct { // New HMAC key used by Terraform Cloud to sign the requests to the HCP Packer run task API. HmacKey string `json:"hmac_key,omitempty"` }
HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse hashicorp cloud packer 20220411 regenerate t f c run task hmac key response
swagger:model hashicorp.cloud.packer_20220411.RegenerateTFCRunTaskHmacKeyResponse
func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 regenerate t f c run task hmac key response based on context it is used
func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411Registry ¶
type HashicorpCloudPacker20220411Registry struct { // config Config *HashicorpCloudPacker20220411RegistryConfig `json:"config,omitempty"` // When the registry was created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // ULID of the registry. ID string `json:"id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // When the registry was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20220411Registry hashicorp cloud packer 20220411 registry
swagger:model hashicorp.cloud.packer_20220411.Registry
func (*HashicorpCloudPacker20220411Registry) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411Registry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 registry based on the context it is used
func (*HashicorpCloudPacker20220411Registry) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411Registry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411Registry) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411Registry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411RegistryBillingDeprovision ¶
type HashicorpCloudPacker20220411RegistryBillingDeprovision struct { // The time the registry was deactivated of billing. // Format: date-time At strfmt.DateTime `json:"at,omitempty"` // Reason of why the registry was deactivated. Reason *HashicorpCloudPacker20220411RegistryBillingDeprovisionReason `json:"reason,omitempty"` }
HashicorpCloudPacker20220411RegistryBillingDeprovision hashicorp cloud packer 20220411 registry billing deprovision
swagger:model hashicorp.cloud.packer_20220411.RegistryBillingDeprovision
func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 registry billing deprovision based on the context it is used
func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegistryBillingDeprovision) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411RegistryBillingDeprovisionReason ¶
type HashicorpCloudPacker20220411RegistryBillingDeprovisionReason string
HashicorpCloudPacker20220411RegistryBillingDeprovisionReason hashicorp cloud packer 20220411 registry billing deprovision reason
swagger:model hashicorp.cloud.packer_20220411.RegistryBillingDeprovision.Reason
const ( // HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT captures enum value "DELINQUENT_BILLING_ACCOUNT" HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT HashicorpCloudPacker20220411RegistryBillingDeprovisionReason = "DELINQUENT_BILLING_ACCOUNT" // HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonUSERREQUEST captures enum value "USER_REQUEST" HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonUSERREQUEST HashicorpCloudPacker20220411RegistryBillingDeprovisionReason = "USER_REQUEST" // HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonHASHIADMINREQUEST captures enum value "HASHI_ADMIN_REQUEST" HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonHASHIADMINREQUEST HashicorpCloudPacker20220411RegistryBillingDeprovisionReason = "HASHI_ADMIN_REQUEST" )
func NewHashicorpCloudPacker20220411RegistryBillingDeprovisionReason ¶ added in v0.23.0
func NewHashicorpCloudPacker20220411RegistryBillingDeprovisionReason(value HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) *HashicorpCloudPacker20220411RegistryBillingDeprovisionReason
func (HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 registry billing deprovision reason based on context it is used
func (HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) Pointer() *HashicorpCloudPacker20220411RegistryBillingDeprovisionReason
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411RegistryBillingDeprovisionReason.
type HashicorpCloudPacker20220411RegistryConfig ¶
type HashicorpCloudPacker20220411RegistryConfig struct { // A registry is activated when the system correctly starts billing for it. Activated bool `json:"activated,omitempty"` // The information about the billing deactivation. BillingDeprovision *HashicorpCloudPacker20220411RegistryBillingDeprovision `json:"billing_deprovision,omitempty"` // The feature tier for the registry. FeatureTier *HashicorpCloudPacker20220411RegistryConfigTier `json:"feature_tier,omitempty"` // Required configuration to run TFC run tasks for validation against this registry. TfcRunTaskConfig *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig `json:"tfc_run_task_config,omitempty"` }
HashicorpCloudPacker20220411RegistryConfig The HCP Packer Registry configuration
swagger:model hashicorp.cloud.packer_20220411.RegistryConfig
func (*HashicorpCloudPacker20220411RegistryConfig) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411RegistryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 registry config based on the context it is used
func (*HashicorpCloudPacker20220411RegistryConfig) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegistryConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411RegistryConfig) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegistryConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411RegistryConfigTier ¶
type HashicorpCloudPacker20220411RegistryConfigTier string
HashicorpCloudPacker20220411RegistryConfigTier hashicorp cloud packer 20220411 registry config tier
swagger:model hashicorp.cloud.packer_20220411.RegistryConfig.Tier
const ( // HashicorpCloudPacker20220411RegistryConfigTierUNSET captures enum value "UNSET" HashicorpCloudPacker20220411RegistryConfigTierUNSET HashicorpCloudPacker20220411RegistryConfigTier = "UNSET" // HashicorpCloudPacker20220411RegistryConfigTierPRIVATEBETA captures enum value "PRIVATE_BETA" HashicorpCloudPacker20220411RegistryConfigTierPRIVATEBETA HashicorpCloudPacker20220411RegistryConfigTier = "PRIVATE_BETA" // HashicorpCloudPacker20220411RegistryConfigTierSTANDARD captures enum value "STANDARD" HashicorpCloudPacker20220411RegistryConfigTierSTANDARD HashicorpCloudPacker20220411RegistryConfigTier = "STANDARD" // HashicorpCloudPacker20220411RegistryConfigTierPLUS captures enum value "PLUS" HashicorpCloudPacker20220411RegistryConfigTierPLUS HashicorpCloudPacker20220411RegistryConfigTier = "PLUS" )
func NewHashicorpCloudPacker20220411RegistryConfigTier ¶ added in v0.23.0
func NewHashicorpCloudPacker20220411RegistryConfigTier(value HashicorpCloudPacker20220411RegistryConfigTier) *HashicorpCloudPacker20220411RegistryConfigTier
func (HashicorpCloudPacker20220411RegistryConfigTier) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411RegistryConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 registry config tier based on context it is used
func (HashicorpCloudPacker20220411RegistryConfigTier) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPacker20220411RegistryConfigTier) Pointer() *HashicorpCloudPacker20220411RegistryConfigTier
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411RegistryConfigTier.
type HashicorpCloudPacker20220411RegistryTFCRunTaskConfig ¶
type HashicorpCloudPacker20220411RegistryTFCRunTaskConfig struct { // Unique per registry API id for running HCP Packer run tasks. APIID string `json:"api_id,omitempty"` // Encrypted HMAC key used by Terraform Cloud to sign the requests to the HCP Packer run task API. HmacKey string `json:"hmac_key,omitempty"` }
HashicorpCloudPacker20220411RegistryTFCRunTaskConfig hashicorp cloud packer 20220411 registry t f c run task config
swagger:model hashicorp.cloud.packer_20220411.RegistryTFCRunTaskConfig
func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 registry t f c run task config based on context it is used
func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411RevokedAncestor ¶
type HashicorpCloudPacker20220411RevokedAncestor struct { // The revoked ancestor bucket slug. BucketSlug string `json:"bucket_slug,omitempty"` // The URL to get the revoked ancestor. Href string `json:"href,omitempty"` // The revoked ancestor iteration fingerprint. IterationFingerprint string `json:"iteration_fingerprint,omitempty"` // The revoked ancestor iteration ULID. IterationID string `json:"iteration_id,omitempty"` // The revoked ancestor iteration incremental version. IterationIncrementalVersion int32 `json:"iteration_incremental_version,omitempty"` }
HashicorpCloudPacker20220411RevokedAncestor hashicorp cloud packer 20220411 revoked ancestor
swagger:model hashicorp.cloud.packer_20220411.RevokedAncestor
func (*HashicorpCloudPacker20220411RevokedAncestor) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411RevokedAncestor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20220411 revoked ancestor based on context it is used
func (*HashicorpCloudPacker20220411RevokedAncestor) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411RevokedAncestor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411RevokedAncestor) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411RevokedAncestor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse ¶
type HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse interface{}
HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse hashicorp cloud packer 20220411 t f c image validation run task response
swagger:model hashicorp.cloud.packer_20220411.TFCImageValidationRunTaskResponse
type HashicorpCloudPacker20220411UpdateBucketRequest ¶
type HashicorpCloudPacker20220411UpdateBucketRequest struct { // Human-readable name for the bucket. BucketSlug string `json:"bucket_slug,omitempty"` // A short description of what this bucket's images are for. Description string `json:"description,omitempty"` // A key:value map for custom, user-settable metadata about your bucket. Labels map[string]string `json:"labels,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // A list of the cloud providers or other platforms that are included in the latest complete iteration. e.g aws, gcp, or azure. Platforms []string `json:"platforms"` }
HashicorpCloudPacker20220411UpdateBucketRequest hashicorp cloud packer 20220411 update bucket request
swagger:model hashicorp.cloud.packer_20220411.UpdateBucketRequest
func (*HashicorpCloudPacker20220411UpdateBucketRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateBucketRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update bucket request based on the context it is used
func (*HashicorpCloudPacker20220411UpdateBucketRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBucketRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateBucketRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBucketRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateBucketResponse ¶
type HashicorpCloudPacker20220411UpdateBucketResponse struct { // Information about the bucket that was updated. Bucket *HashicorpCloudPacker20220411Bucket `json:"bucket,omitempty"` }
HashicorpCloudPacker20220411UpdateBucketResponse hashicorp cloud packer 20220411 update bucket response
swagger:model hashicorp.cloud.packer_20220411.UpdateBucketResponse
func (*HashicorpCloudPacker20220411UpdateBucketResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update bucket response based on the context it is used
func (*HashicorpCloudPacker20220411UpdateBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateBuildRequest ¶
type HashicorpCloudPacker20220411UpdateBuildRequest struct { // ULID of the build that should be updated. BuildID string `json:"build_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Information about the build you are updating. Updates *HashicorpCloudPacker20220411BuildUpdates `json:"updates,omitempty"` }
HashicorpCloudPacker20220411UpdateBuildRequest hashicorp cloud packer 20220411 update build request
swagger:model hashicorp.cloud.packer_20220411.UpdateBuildRequest
func (*HashicorpCloudPacker20220411UpdateBuildRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateBuildRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update build request based on the context it is used
func (*HashicorpCloudPacker20220411UpdateBuildRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBuildRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateBuildRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBuildRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateBuildResponse ¶
type HashicorpCloudPacker20220411UpdateBuildResponse struct { // Information about the build you updated. Build *HashicorpCloudPacker20220411Build `json:"build,omitempty"` }
HashicorpCloudPacker20220411UpdateBuildResponse hashicorp cloud packer 20220411 update build response
swagger:model hashicorp.cloud.packer_20220411.UpdateBuildResponse
func (*HashicorpCloudPacker20220411UpdateBuildResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update build response based on the context it is used
func (*HashicorpCloudPacker20220411UpdateBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateChannelRequest ¶
type HashicorpCloudPacker20220411UpdateChannelRequest struct { // Human-readable name for the bucket that the channel is associated with. BucketSlug string `json:"bucket_slug,omitempty"` // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. It will most often correspond to a git commit sha, // but can be manually overridden by setting the environment variable // `HCP_PACKER_BUILD_FINGERPRINT`. Fingerprint string `json:"fingerprint,omitempty"` // The human-readable version number assigned to this iteration. IncrementalVersion int32 `json:"incremental_version,omitempty"` // ULID of the iteration. This was created and set by the // HCP Packer registry when the iteration was created. IterationID string `json:"iteration_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Human-readable name for the channel. Slug string `json:"slug,omitempty"` }
HashicorpCloudPacker20220411UpdateChannelRequest hashicorp cloud packer 20220411 update channel request
swagger:model hashicorp.cloud.packer_20220411.UpdateChannelRequest
func (*HashicorpCloudPacker20220411UpdateChannelRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateChannelRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update channel request based on the context it is used
func (*HashicorpCloudPacker20220411UpdateChannelRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateChannelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateChannelRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateChannelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateChannelResponse ¶
type HashicorpCloudPacker20220411UpdateChannelResponse struct { // channel Channel *HashicorpCloudPacker20220411Channel `json:"channel,omitempty"` }
HashicorpCloudPacker20220411UpdateChannelResponse hashicorp cloud packer 20220411 update channel response
swagger:model hashicorp.cloud.packer_20220411.UpdateChannelResponse
func (*HashicorpCloudPacker20220411UpdateChannelResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update channel response based on the context it is used
func (*HashicorpCloudPacker20220411UpdateChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateIterationRequest ¶
type HashicorpCloudPacker20220411UpdateIterationRequest struct { // Human-readable name for the bucket. BucketSlug string `json:"bucket_slug,omitempty"` // Set to "true" when all builds associated with this iteration have // successfully completed and uploaded metadata to the registry. When // "complete" is true, this iteration is considered ready to use, and can // have channels assigned to it. Complete bool `json:"complete,omitempty"` // ULID of the iteration. IterationID string `json:"iteration_id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // When set to true, will make a previously revoked iteration valid again. Restore bool `json:"restore,omitempty"` // Optional field to provide the reason for why this iteration is being revoked. RevocationMessage string `json:"revocation_message,omitempty"` // revoke_at accepts strings in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) // format to represent the revocation timestamp. To instantly revoke the iteration, provide the current timestamp. // The revoke_at timestamp will always be recorded in UTC (Coordinated Universal Time). // This option is equivalent to the 'revoke_in' option and therefore only one of them should be set when updating // the iteration. // Format: date-time RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"` // revoke_in accepts a signed sequence of decimal numbers with a unit suffix to represent the duration // to the revocation date, such as '30d' or '2h45m'. // Valid time units are 's', 'm', 'h', and 'd' as for seconds, minutes, hours, and days. // To instantly revoke the iteration, provide the duration of zero seconds ("0s"). // The revoke_in duration will be used to calculate the iteration revocation timestamp, // which will be recorded as UTC (Coordinated Universal Time). // This option is equivalent to the 'revoke_at' option and therefore only one of them should be set when updating // the iteration. RevokeIn string `json:"revoke_in,omitempty"` // When set to true, the iteration's descendants won't inherit its revocation status. SkipDescendantsRevocation bool `json:"skip_descendants_revocation,omitempty"` }
HashicorpCloudPacker20220411UpdateIterationRequest hashicorp cloud packer 20220411 update iteration request
swagger:model hashicorp.cloud.packer_20220411.UpdateIterationRequest
func (*HashicorpCloudPacker20220411UpdateIterationRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateIterationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update iteration request based on the context it is used
func (*HashicorpCloudPacker20220411UpdateIterationRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateIterationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateIterationRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateIterationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateIterationResponse ¶
type HashicorpCloudPacker20220411UpdateIterationResponse struct { // Information about the updated iteration. Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"` // When revoking, use this operation to follow the asynchronous process of revoking // all the iteration's descendants. Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` }
HashicorpCloudPacker20220411UpdateIterationResponse hashicorp cloud packer 20220411 update iteration response
swagger:model hashicorp.cloud.packer_20220411.UpdateIterationResponse
func (*HashicorpCloudPacker20220411UpdateIterationResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update iteration response based on the context it is used
func (*HashicorpCloudPacker20220411UpdateIterationResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateIterationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateIterationResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateIterationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateRegistryRequest ¶
type HashicorpCloudPacker20220411UpdateRegistryRequest struct { // Activates a deactivated registry. A registry can only be activated // if the organization billing account is valid (e.g. valid credits or payment method). Activate bool `json:"activate,omitempty"` // Feature tier of the Registry. FeatureTier *HashicorpCloudPacker20220411RegistryConfigTier `json:"feature_tier,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` }
HashicorpCloudPacker20220411UpdateRegistryRequest hashicorp cloud packer 20220411 update registry request
swagger:model hashicorp.cloud.packer_20220411.UpdateRegistryRequest
func (*HashicorpCloudPacker20220411UpdateRegistryRequest) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update registry request based on the context it is used
func (*HashicorpCloudPacker20220411UpdateRegistryRequest) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateRegistryRequest) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateRegistryRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20220411UpdateRegistryResponse ¶
type HashicorpCloudPacker20220411UpdateRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20220411UpdateRegistryResponse hashicorp cloud packer 20220411 update registry response
swagger:model hashicorp.cloud.packer_20220411.UpdateRegistryResponse
func (*HashicorpCloudPacker20220411UpdateRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20220411 update registry response based on the context it is used
func (*HashicorpCloudPacker20220411UpdateRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20220411UpdateRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20220411UpdateRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- hashicorp_cloud_packer20220411_bucket.go
- hashicorp_cloud_packer20220411_bucket_ancestry.go
- hashicorp_cloud_packer20220411_bucket_ancestry_child.go
- hashicorp_cloud_packer20220411_bucket_ancestry_parent.go
- hashicorp_cloud_packer20220411_bucket_ancestry_parent_channel_iteration.go
- hashicorp_cloud_packer20220411_bucket_ancestry_status.go
- hashicorp_cloud_packer20220411_bucket_children.go
- hashicorp_cloud_packer20220411_bucket_latest_iteration.go
- hashicorp_cloud_packer20220411_bucket_parents.go
- hashicorp_cloud_packer20220411_build.go
- hashicorp_cloud_packer20220411_build_create_body.go
- hashicorp_cloud_packer20220411_build_status.go
- hashicorp_cloud_packer20220411_build_updates.go
- hashicorp_cloud_packer20220411_channel.go
- hashicorp_cloud_packer20220411_channel_iteration_pointer.go
- hashicorp_cloud_packer20220411_create_bucket_request.go
- hashicorp_cloud_packer20220411_create_bucket_response.go
- hashicorp_cloud_packer20220411_create_build_request.go
- hashicorp_cloud_packer20220411_create_build_response.go
- hashicorp_cloud_packer20220411_create_channel_request.go
- hashicorp_cloud_packer20220411_create_channel_response.go
- hashicorp_cloud_packer20220411_create_iteration_request.go
- hashicorp_cloud_packer20220411_create_iteration_response.go
- hashicorp_cloud_packer20220411_create_registry_request.go
- hashicorp_cloud_packer20220411_create_registry_response.go
- hashicorp_cloud_packer20220411_delete_bucket_response.go
- hashicorp_cloud_packer20220411_delete_build_response.go
- hashicorp_cloud_packer20220411_delete_channel_response.go
- hashicorp_cloud_packer20220411_delete_iteration_response.go
- hashicorp_cloud_packer20220411_delete_registry_response.go
- hashicorp_cloud_packer20220411_get_bucket_response.go
- hashicorp_cloud_packer20220411_get_build_response.go
- hashicorp_cloud_packer20220411_get_channel_response.go
- hashicorp_cloud_packer20220411_get_iteration_response.go
- hashicorp_cloud_packer20220411_get_registry_response.go
- hashicorp_cloud_packer20220411_get_registry_t_f_c_run_task_api_response.go
- hashicorp_cloud_packer20220411_image.go
- hashicorp_cloud_packer20220411_image_create_body.go
- hashicorp_cloud_packer20220411_iteration.go
- hashicorp_cloud_packer20220411_iteration_revocation_type.go
- hashicorp_cloud_packer20220411_iterationfor_list.go
- hashicorp_cloud_packer20220411_latest_iteration_build.go
- hashicorp_cloud_packer20220411_list_bucket_ancestry_response.go
- hashicorp_cloud_packer20220411_list_buckets_response.go
- hashicorp_cloud_packer20220411_list_builds_response.go
- hashicorp_cloud_packer20220411_list_channels_response.go
- hashicorp_cloud_packer20220411_list_iterations_response.go
- hashicorp_cloud_packer20220411_regenerate_t_f_c_run_task_hmac_key_request.go
- hashicorp_cloud_packer20220411_regenerate_t_f_c_run_task_hmac_key_response.go
- hashicorp_cloud_packer20220411_registry.go
- hashicorp_cloud_packer20220411_registry_billing_deprovision.go
- hashicorp_cloud_packer20220411_registry_billing_deprovision_reason.go
- hashicorp_cloud_packer20220411_registry_config.go
- hashicorp_cloud_packer20220411_registry_config_tier.go
- hashicorp_cloud_packer20220411_registry_t_f_c_run_task_config.go
- hashicorp_cloud_packer20220411_revoked_ancestor.go
- hashicorp_cloud_packer20220411_t_f_c_image_validation_run_task_response.go
- hashicorp_cloud_packer20220411_update_bucket_request.go
- hashicorp_cloud_packer20220411_update_bucket_response.go
- hashicorp_cloud_packer20220411_update_build_request.go
- hashicorp_cloud_packer20220411_update_build_response.go
- hashicorp_cloud_packer20220411_update_channel_request.go
- hashicorp_cloud_packer20220411_update_channel_response.go
- hashicorp_cloud_packer20220411_update_iteration_request.go
- hashicorp_cloud_packer20220411_update_iteration_response.go
- hashicorp_cloud_packer20220411_update_registry_request.go
- hashicorp_cloud_packer20220411_update_registry_response.go