Documentation ¶
Index ¶
- type HashicorpCloudPackerBucket
- func (m *HashicorpCloudPackerBucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucket) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucket) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucket) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketAncestry
- func (m *HashicorpCloudPackerBucketAncestry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketAncestry) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketAncestry) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketAncestry) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketAncestryChild
- func (m *HashicorpCloudPackerBucketAncestryChild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketAncestryChild) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketAncestryChild) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketAncestryChild) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketAncestryParent
- func (m *HashicorpCloudPackerBucketAncestryParent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketAncestryParent) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketAncestryParent) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketAncestryParent) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketAncestryParentChannelIteration
- func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketAncestryStatus
- func (m HashicorpCloudPackerBucketAncestryStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerBucketAncestryStatus) Pointer() *HashicorpCloudPackerBucketAncestryStatus
- func (m HashicorpCloudPackerBucketAncestryStatus) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketChildren
- func (m *HashicorpCloudPackerBucketChildren) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketChildren) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketChildren) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketChildren) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketLatestIteration
- func (m *HashicorpCloudPackerBucketLatestIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketLatestIteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketLatestIteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketLatestIteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBucketParents
- func (m *HashicorpCloudPackerBucketParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBucketParents) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBucketParents) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBucketParents) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBuild
- func (m *HashicorpCloudPackerBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBuild) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBuild) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBuild) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBuildCreateBody
- func (m *HashicorpCloudPackerBuildCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBuildCreateBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBuildCreateBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBuildCreateBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerBuildStatus
- type HashicorpCloudPackerBuildUpdates
- func (m *HashicorpCloudPackerBuildUpdates) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerBuildUpdates) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerBuildUpdates) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerBuildUpdates) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerChannel
- func (m *HashicorpCloudPackerChannel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerChannel) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerChannel) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerChannel) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerChannelAssignment
- func (m *HashicorpCloudPackerChannelAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerChannelAssignment) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerChannelAssignment) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerChannelAssignment) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerChannelAssignmentIteration
- func (m *HashicorpCloudPackerChannelAssignmentIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerChannelAssignmentIteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerChannelAssignmentIteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerChannelAssignmentIteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerChannelIterationPointer
- func (m *HashicorpCloudPackerChannelIterationPointer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerChannelIterationPointer) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerChannelIterationPointer) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerChannelIterationPointer) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerCreateBucketResponse
- func (m *HashicorpCloudPackerCreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerCreateBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerCreateBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerCreateBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerCreateBuildResponse
- func (m *HashicorpCloudPackerCreateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerCreateBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerCreateBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerCreateBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerCreateChannelRequestRestriction
- func (m HashicorpCloudPackerCreateChannelRequestRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerCreateChannelRequestRestriction) Pointer() *HashicorpCloudPackerCreateChannelRequestRestriction
- func (m HashicorpCloudPackerCreateChannelRequestRestriction) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerCreateChannelResponse
- func (m *HashicorpCloudPackerCreateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerCreateChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerCreateChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerCreateChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerCreateIterationResponse
- func (m *HashicorpCloudPackerCreateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerCreateIterationResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerCreateIterationResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerCreateIterationResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerCreateRegistryResponse
- func (m *HashicorpCloudPackerCreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerCreateRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerCreateRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerCreateRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerDeleteBucketResponse
- type HashicorpCloudPackerDeleteBuildResponse
- type HashicorpCloudPackerDeleteChannelResponse
- type HashicorpCloudPackerDeleteIterationResponse
- type HashicorpCloudPackerDeleteRegistryResponse
- func (m *HashicorpCloudPackerDeleteRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerDeleteRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerDeleteRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerDeleteRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerGetBucketResponse
- func (m *HashicorpCloudPackerGetBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerGetBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerGetBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerGetBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerGetBuildResponse
- func (m *HashicorpCloudPackerGetBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerGetBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerGetBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerGetBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerGetChannelResponse
- func (m *HashicorpCloudPackerGetChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerGetChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerGetChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerGetChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerGetIterationResponse
- func (m *HashicorpCloudPackerGetIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerGetIterationResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerGetIterationResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerGetIterationResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerGetRegistryResponse
- func (m *HashicorpCloudPackerGetRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerGetRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerGetRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerGetRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse
- func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerImage
- func (m *HashicorpCloudPackerImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerImage) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerImage) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerImage) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerImageCreateBody
- func (m *HashicorpCloudPackerImageCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerImageCreateBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerImageCreateBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerImageCreateBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerIteration
- func (m *HashicorpCloudPackerIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerIteration) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerIteration) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerIteration) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerIterationExternalStatus
- func (m HashicorpCloudPackerIterationExternalStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerIterationExternalStatus) Pointer() *HashicorpCloudPackerIterationExternalStatus
- func (m HashicorpCloudPackerIterationExternalStatus) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerIterationParents
- func (m *HashicorpCloudPackerIterationParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerIterationParents) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerIterationParents) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerIterationParents) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerIterationRevocationType
- func (m HashicorpCloudPackerIterationRevocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerIterationRevocationType) Pointer() *HashicorpCloudPackerIterationRevocationType
- func (m HashicorpCloudPackerIterationRevocationType) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerIterationTemplateType
- func (m HashicorpCloudPackerIterationTemplateType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerIterationTemplateType) Pointer() *HashicorpCloudPackerIterationTemplateType
- func (m HashicorpCloudPackerIterationTemplateType) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerIterationforList
- func (m *HashicorpCloudPackerIterationforList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerIterationforList) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerIterationforList) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerIterationforList) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerLatestIterationBuild
- func (m *HashicorpCloudPackerLatestIterationBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerLatestIterationBuild) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerLatestIterationBuild) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerLatestIterationBuild) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerListBucketAncestryResponse
- func (m *HashicorpCloudPackerListBucketAncestryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerListBucketAncestryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerListBucketAncestryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerListBucketAncestryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerListBucketsResponse
- func (m *HashicorpCloudPackerListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerListBucketsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerListBucketsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerListBucketsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerListBuildsResponse
- func (m *HashicorpCloudPackerListBuildsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerListBuildsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerListBuildsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerListBuildsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerListChannelHistoryResponse
- func (m *HashicorpCloudPackerListChannelHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerListChannelHistoryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerListChannelHistoryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerListChannelHistoryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerListChannelsResponse
- func (m *HashicorpCloudPackerListChannelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerListChannelsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerListChannelsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerListChannelsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerListIterationsResponse
- func (m *HashicorpCloudPackerListIterationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerListIterationsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerListIterationsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerListIterationsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse
- func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegistry
- func (m *HashicorpCloudPackerRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerRegistry) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerRegistry) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerRegistry) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegistryBillingDeprovision
- func (m *HashicorpCloudPackerRegistryBillingDeprovision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerRegistryBillingDeprovision) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerRegistryBillingDeprovision) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerRegistryBillingDeprovision) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegistryBillingDeprovisionReason
- func (m HashicorpCloudPackerRegistryBillingDeprovisionReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerRegistryBillingDeprovisionReason) Pointer() *HashicorpCloudPackerRegistryBillingDeprovisionReason
- func (m HashicorpCloudPackerRegistryBillingDeprovisionReason) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegistryConfig
- func (m *HashicorpCloudPackerRegistryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerRegistryConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerRegistryConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerRegistryConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegistryConfigTier
- func (m HashicorpCloudPackerRegistryConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerRegistryConfigTier) Pointer() *HashicorpCloudPackerRegistryConfigTier
- func (m HashicorpCloudPackerRegistryConfigTier) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRegistryTFCRunTaskConfig
- func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerRevokedAncestor
- func (m *HashicorpCloudPackerRevokedAncestor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerRevokedAncestor) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerRevokedAncestor) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerRevokedAncestor) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerTFCImageValidationRunTaskResponse
- type HashicorpCloudPackerUpdateBucketResponse
- func (m *HashicorpCloudPackerUpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerUpdateBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerUpdateBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerUpdateBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerUpdateBuildResponse
- func (m *HashicorpCloudPackerUpdateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerUpdateBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerUpdateBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerUpdateBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerUpdateChannelRequestRestriction
- func (m HashicorpCloudPackerUpdateChannelRequestRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPackerUpdateChannelRequestRestriction) Pointer() *HashicorpCloudPackerUpdateChannelRequestRestriction
- func (m HashicorpCloudPackerUpdateChannelRequestRestriction) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerUpdateChannelResponse
- func (m *HashicorpCloudPackerUpdateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerUpdateChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerUpdateChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerUpdateChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerUpdateIterationResponse
- func (m *HashicorpCloudPackerUpdateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerUpdateIterationResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerUpdateIterationResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerUpdateIterationResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPackerUpdateRegistryResponse
- func (m *HashicorpCloudPackerUpdateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPackerUpdateRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPackerUpdateRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPackerUpdateRegistryResponse) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudPackerBucket ¶
type HashicorpCloudPackerBucket 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 *HashicorpCloudPackerBucketChildren `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 *HashicorpCloudPackerBucketLatestIteration `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 *HashicorpCloudPackerBucketParents `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"` }
HashicorpCloudPackerBucket hashicorp cloud packer bucket
swagger:model hashicorp.cloud.packer.Bucket
func (*HashicorpCloudPackerBucket) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerBucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer bucket based on the context it is used
func (*HashicorpCloudPackerBucket) MarshalBinary ¶
func (m *HashicorpCloudPackerBucket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucket) UnmarshalBinary ¶
func (m *HashicorpCloudPackerBucket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketAncestry ¶ added in v0.36.0
type HashicorpCloudPackerBucketAncestry struct { // The child image bucket and the iteration in that image bucket that relates to the parent. Child *HashicorpCloudPackerBucketAncestryChild `json:"child,omitempty"` // The parent image bucket and iteration that relates to the child image bucket's latest iteration. Parent *HashicorpCloudPackerBucketAncestryParent `json:"parent,omitempty"` // The status of the relationship between the parent and child buckets. Status *HashicorpCloudPackerBucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPackerBucketAncestry The parent-child relationship between two image buckets.
swagger:model hashicorp.cloud.packer.BucketAncestry
func (*HashicorpCloudPackerBucketAncestry) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer bucket ancestry based on the context it is used
func (*HashicorpCloudPackerBucketAncestry) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketAncestry) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketAncestryChild ¶ added in v0.36.0
type HashicorpCloudPackerBucketAncestryChild 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"` }
HashicorpCloudPackerBucketAncestryChild hashicorp cloud packer bucket ancestry child
swagger:model hashicorp.cloud.packer.BucketAncestry.Child
func (*HashicorpCloudPackerBucketAncestryChild) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryChild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer bucket ancestry child based on context it is used
func (*HashicorpCloudPackerBucketAncestryChild) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryChild) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketAncestryChild) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryChild) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketAncestryParent ¶ added in v0.36.0
type HashicorpCloudPackerBucketAncestryParent 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 *HashicorpCloudPackerBucketAncestryParentChannelIteration `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"` }
HashicorpCloudPackerBucketAncestryParent hashicorp cloud packer bucket ancestry parent
swagger:model hashicorp.cloud.packer.BucketAncestry.Parent
func (*HashicorpCloudPackerBucketAncestryParent) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryParent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer bucket ancestry parent based on the context it is used
func (*HashicorpCloudPackerBucketAncestryParent) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryParent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketAncestryParent) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryParent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketAncestryParentChannelIteration ¶ added in v0.36.0
type HashicorpCloudPackerBucketAncestryParentChannelIteration 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"` }
HashicorpCloudPackerBucketAncestryParentChannelIteration hashicorp cloud packer bucket ancestry parent channel iteration
swagger:model hashicorp.cloud.packer.BucketAncestry.Parent.ChannelIteration
func (*HashicorpCloudPackerBucketAncestryParentChannelIteration) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer bucket ancestry parent channel iteration based on context it is used
func (*HashicorpCloudPackerBucketAncestryParentChannelIteration) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketAncestryParentChannelIteration) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketAncestryParentChannelIteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketAncestryStatus ¶ added in v0.36.0
type HashicorpCloudPackerBucketAncestryStatus string
HashicorpCloudPackerBucketAncestryStatus - 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.BucketAncestry.Status
const ( // HashicorpCloudPackerBucketAncestryStatusUNDETERMINED captures enum value "UNDETERMINED" HashicorpCloudPackerBucketAncestryStatusUNDETERMINED HashicorpCloudPackerBucketAncestryStatus = "UNDETERMINED" // HashicorpCloudPackerBucketAncestryStatusUPTODATE captures enum value "UP_TO_DATE" HashicorpCloudPackerBucketAncestryStatusUPTODATE HashicorpCloudPackerBucketAncestryStatus = "UP_TO_DATE" // HashicorpCloudPackerBucketAncestryStatusOUTOFDATE captures enum value "OUT_OF_DATE" HashicorpCloudPackerBucketAncestryStatusOUTOFDATE HashicorpCloudPackerBucketAncestryStatus = "OUT_OF_DATE" )
func NewHashicorpCloudPackerBucketAncestryStatus ¶ added in v0.36.0
func NewHashicorpCloudPackerBucketAncestryStatus(value HashicorpCloudPackerBucketAncestryStatus) *HashicorpCloudPackerBucketAncestryStatus
func (HashicorpCloudPackerBucketAncestryStatus) ContextValidate ¶ added in v0.36.0
func (m HashicorpCloudPackerBucketAncestryStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer bucket ancestry status based on context it is used
func (HashicorpCloudPackerBucketAncestryStatus) Pointer ¶ added in v0.36.0
func (m HashicorpCloudPackerBucketAncestryStatus) Pointer() *HashicorpCloudPackerBucketAncestryStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerBucketAncestryStatus.
type HashicorpCloudPackerBucketChildren ¶ added in v0.36.0
type HashicorpCloudPackerBucketChildren 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 *HashicorpCloudPackerBucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPackerBucketChildren hashicorp cloud packer bucket children
swagger:model hashicorp.cloud.packer.BucketChildren
func (*HashicorpCloudPackerBucketChildren) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketChildren) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer bucket children based on the context it is used
func (*HashicorpCloudPackerBucketChildren) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketChildren) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketChildren) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketChildren) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketLatestIteration ¶ added in v0.36.0
type HashicorpCloudPackerBucketLatestIteration 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 []*HashicorpCloudPackerLatestIterationBuild `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`. 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 *HashicorpCloudPackerRevokedAncestor `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 *HashicorpCloudPackerIterationRevocationType `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"` }
HashicorpCloudPackerBucketLatestIteration 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.BucketLatestIteration
func (*HashicorpCloudPackerBucketLatestIteration) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketLatestIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer bucket latest iteration based on the context it is used
func (*HashicorpCloudPackerBucketLatestIteration) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketLatestIteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketLatestIteration) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketLatestIteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBucketParents ¶ added in v0.36.0
type HashicorpCloudPackerBucketParents 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 *HashicorpCloudPackerBucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPackerBucketParents hashicorp cloud packer bucket parents
swagger:model hashicorp.cloud.packer.BucketParents
func (*HashicorpCloudPackerBucketParents) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer bucket parents based on the context it is used
func (*HashicorpCloudPackerBucketParents) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketParents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBucketParents) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerBucketParents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBuild ¶
type HashicorpCloudPackerBuild 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 []*HashicorpCloudPackerImage `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 *HashicorpCloudPackerBuildStatus `json:"status,omitempty"` // When the build was most recently updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPackerBuild hashicorp cloud packer build
swagger:model hashicorp.cloud.packer.Build
func (*HashicorpCloudPackerBuild) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer build based on the context it is used
func (*HashicorpCloudPackerBuild) MarshalBinary ¶
func (m *HashicorpCloudPackerBuild) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBuild) UnmarshalBinary ¶
func (m *HashicorpCloudPackerBuild) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBuildCreateBody ¶
type HashicorpCloudPackerBuildCreateBody 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 []*HashicorpCloudPackerImageCreateBody `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 *HashicorpCloudPackerBuildStatus `json:"status,omitempty"` }
HashicorpCloudPackerBuildCreateBody 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.BuildCreateBody
func (*HashicorpCloudPackerBuildCreateBody) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerBuildCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer build create body based on the context it is used
func (*HashicorpCloudPackerBuildCreateBody) MarshalBinary ¶
func (m *HashicorpCloudPackerBuildCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBuildCreateBody) UnmarshalBinary ¶
func (m *HashicorpCloudPackerBuildCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerBuildStatus ¶
type HashicorpCloudPackerBuildStatus string
HashicorpCloudPackerBuildStatus - 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.BuildStatus
const ( // HashicorpCloudPackerBuildStatusUNSET captures enum value "UNSET" HashicorpCloudPackerBuildStatusUNSET HashicorpCloudPackerBuildStatus = "UNSET" // HashicorpCloudPackerBuildStatusRUNNING captures enum value "RUNNING" HashicorpCloudPackerBuildStatusRUNNING HashicorpCloudPackerBuildStatus = "RUNNING" // HashicorpCloudPackerBuildStatusDONE captures enum value "DONE" HashicorpCloudPackerBuildStatusDONE HashicorpCloudPackerBuildStatus = "DONE" // HashicorpCloudPackerBuildStatusCANCELLED captures enum value "CANCELLED" HashicorpCloudPackerBuildStatusCANCELLED HashicorpCloudPackerBuildStatus = "CANCELLED" // HashicorpCloudPackerBuildStatusFAILED captures enum value "FAILED" HashicorpCloudPackerBuildStatusFAILED HashicorpCloudPackerBuildStatus = "FAILED" )
func NewHashicorpCloudPackerBuildStatus ¶ added in v0.23.0
func NewHashicorpCloudPackerBuildStatus(value HashicorpCloudPackerBuildStatus) *HashicorpCloudPackerBuildStatus
func (HashicorpCloudPackerBuildStatus) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPackerBuildStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer build status based on context it is used
func (HashicorpCloudPackerBuildStatus) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPackerBuildStatus) Pointer() *HashicorpCloudPackerBuildStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerBuildStatus.
type HashicorpCloudPackerBuildUpdates ¶
type HashicorpCloudPackerBuildUpdates 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 []*HashicorpCloudPackerImageCreateBody `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 *HashicorpCloudPackerBuildStatus `json:"status,omitempty"` }
HashicorpCloudPackerBuildUpdates 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.BuildUpdates
func (*HashicorpCloudPackerBuildUpdates) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerBuildUpdates) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer build updates based on the context it is used
func (*HashicorpCloudPackerBuildUpdates) MarshalBinary ¶
func (m *HashicorpCloudPackerBuildUpdates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerBuildUpdates) UnmarshalBinary ¶
func (m *HashicorpCloudPackerBuildUpdates) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerChannel ¶
type HashicorpCloudPackerChannel 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 *HashicorpCloudPackerIteration `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 *HashicorpCloudPackerChannelIterationPointer `json:"pointer,omitempty"` // Whether this channel's access is restricted to users of the organization with permission to create and manage resources. Restricted bool `json:"restricted,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"` }
HashicorpCloudPackerChannel hashicorp cloud packer channel
swagger:model hashicorp.cloud.packer.Channel
func (*HashicorpCloudPackerChannel) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerChannel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer channel based on the context it is used
func (*HashicorpCloudPackerChannel) MarshalBinary ¶
func (m *HashicorpCloudPackerChannel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerChannel) UnmarshalBinary ¶
func (m *HashicorpCloudPackerChannel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerChannelAssignment ¶ added in v0.28.0
type HashicorpCloudPackerChannelAssignment struct { // The user who assigned this iteration. AuthorID string `json:"author_id,omitempty"` // The assigned iteration. Iteration *HashicorpCloudPackerChannelAssignmentIteration `json:"iteration,omitempty"` // When the iteration assigment happened. // Format: date-time PromotedAt strfmt.DateTime `json:"promoted_at,omitempty"` }
HashicorpCloudPackerChannelAssignment A channel assignment history entry. It contains information about when an iteration was assigned to a channel, and the user who did the assignment.
swagger:model hashicorp.cloud.packer.ChannelAssignment
func (*HashicorpCloudPackerChannelAssignment) ContextValidate ¶ added in v0.28.0
func (m *HashicorpCloudPackerChannelAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer channel assignment based on the context it is used
func (*HashicorpCloudPackerChannelAssignment) MarshalBinary ¶ added in v0.28.0
func (m *HashicorpCloudPackerChannelAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerChannelAssignment) UnmarshalBinary ¶ added in v0.28.0
func (m *HashicorpCloudPackerChannelAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerChannelAssignmentIteration ¶ added in v0.36.0
type HashicorpCloudPackerChannelAssignmentIteration struct { // Fingerprint of the iteration. The fingerprint is set by Packer when you // call `packer build`. 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"` // Information about this iteration's parents. Parents are the base images // Packer used to build this iteration. Parents *HashicorpCloudPackerIterationParents `json:"parents,omitempty"` // The current state of the iteration. Status *HashicorpCloudPackerIterationExternalStatus `json:"status,omitempty"` }
HashicorpCloudPackerChannelAssignmentIteration hashicorp cloud packer channel assignment iteration
swagger:model hashicorp.cloud.packer.ChannelAssignment.Iteration
func (*HashicorpCloudPackerChannelAssignmentIteration) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerChannelAssignmentIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer channel assignment iteration based on the context it is used
func (*HashicorpCloudPackerChannelAssignmentIteration) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerChannelAssignmentIteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerChannelAssignmentIteration) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerChannelAssignmentIteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerChannelIterationPointer ¶
type HashicorpCloudPackerChannelIterationPointer 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 *HashicorpCloudPackerIteration `json:"iteration,omitempty"` }
HashicorpCloudPackerChannelIterationPointer 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.ChannelIterationPointer
func (*HashicorpCloudPackerChannelIterationPointer) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerChannelIterationPointer) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer channel iteration pointer based on the context it is used
func (*HashicorpCloudPackerChannelIterationPointer) MarshalBinary ¶
func (m *HashicorpCloudPackerChannelIterationPointer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerChannelIterationPointer) UnmarshalBinary ¶
func (m *HashicorpCloudPackerChannelIterationPointer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerCreateBucketResponse ¶
type HashicorpCloudPackerCreateBucketResponse struct { // Information about the bucket that was created. Bucket *HashicorpCloudPackerBucket `json:"bucket,omitempty"` }
HashicorpCloudPackerCreateBucketResponse hashicorp cloud packer create bucket response
swagger:model hashicorp.cloud.packer.CreateBucketResponse
func (*HashicorpCloudPackerCreateBucketResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerCreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer create bucket response based on the context it is used
func (*HashicorpCloudPackerCreateBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerCreateBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerCreateBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerCreateBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerCreateBuildResponse ¶
type HashicorpCloudPackerCreateBuildResponse struct { // Information about the build that was created. Build *HashicorpCloudPackerBuild `json:"build,omitempty"` }
HashicorpCloudPackerCreateBuildResponse hashicorp cloud packer create build response
swagger:model hashicorp.cloud.packer.CreateBuildResponse
func (*HashicorpCloudPackerCreateBuildResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerCreateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer create build response based on the context it is used
func (*HashicorpCloudPackerCreateBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerCreateBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerCreateBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerCreateBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerCreateChannelRequestRestriction ¶ added in v0.43.0
type HashicorpCloudPackerCreateChannelRequestRestriction string
HashicorpCloudPackerCreateChannelRequestRestriction - RESTRICTED: Make the channel only visible to users with permission to create and manage.
- UNRESTRICTED: Make the channel visible to every member of this organization.
swagger:model hashicorp.cloud.packer.CreateChannelRequest.Restriction
const ( // HashicorpCloudPackerCreateChannelRequestRestrictionRESTRICTIONUNSET captures enum value "RESTRICTION_UNSET" HashicorpCloudPackerCreateChannelRequestRestrictionRESTRICTIONUNSET HashicorpCloudPackerCreateChannelRequestRestriction = "RESTRICTION_UNSET" // HashicorpCloudPackerCreateChannelRequestRestrictionRESTRICTED captures enum value "RESTRICTED" HashicorpCloudPackerCreateChannelRequestRestrictionRESTRICTED HashicorpCloudPackerCreateChannelRequestRestriction = "RESTRICTED" // HashicorpCloudPackerCreateChannelRequestRestrictionUNRESTRICTED captures enum value "UNRESTRICTED" HashicorpCloudPackerCreateChannelRequestRestrictionUNRESTRICTED HashicorpCloudPackerCreateChannelRequestRestriction = "UNRESTRICTED" )
func NewHashicorpCloudPackerCreateChannelRequestRestriction ¶ added in v0.43.0
func NewHashicorpCloudPackerCreateChannelRequestRestriction(value HashicorpCloudPackerCreateChannelRequestRestriction) *HashicorpCloudPackerCreateChannelRequestRestriction
func (HashicorpCloudPackerCreateChannelRequestRestriction) ContextValidate ¶ added in v0.43.0
func (m HashicorpCloudPackerCreateChannelRequestRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer create channel request restriction based on context it is used
func (HashicorpCloudPackerCreateChannelRequestRestriction) Pointer ¶ added in v0.43.0
func (m HashicorpCloudPackerCreateChannelRequestRestriction) Pointer() *HashicorpCloudPackerCreateChannelRequestRestriction
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerCreateChannelRequestRestriction.
type HashicorpCloudPackerCreateChannelResponse ¶
type HashicorpCloudPackerCreateChannelResponse struct { // Information about the channel that was created. Channel *HashicorpCloudPackerChannel `json:"channel,omitempty"` }
HashicorpCloudPackerCreateChannelResponse hashicorp cloud packer create channel response
swagger:model hashicorp.cloud.packer.CreateChannelResponse
func (*HashicorpCloudPackerCreateChannelResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerCreateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer create channel response based on the context it is used
func (*HashicorpCloudPackerCreateChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerCreateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerCreateChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerCreateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerCreateIterationResponse ¶
type HashicorpCloudPackerCreateIterationResponse struct { // iteration Iteration *HashicorpCloudPackerIteration `json:"iteration,omitempty"` }
HashicorpCloudPackerCreateIterationResponse hashicorp cloud packer create iteration response
swagger:model hashicorp.cloud.packer.CreateIterationResponse
func (*HashicorpCloudPackerCreateIterationResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerCreateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer create iteration response based on the context it is used
func (*HashicorpCloudPackerCreateIterationResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerCreateIterationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerCreateIterationResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerCreateIterationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerCreateRegistryResponse ¶
type HashicorpCloudPackerCreateRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPackerRegistry `json:"registry,omitempty"` }
HashicorpCloudPackerCreateRegistryResponse hashicorp cloud packer create registry response
swagger:model hashicorp.cloud.packer.CreateRegistryResponse
func (*HashicorpCloudPackerCreateRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerCreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer create registry response based on the context it is used
func (*HashicorpCloudPackerCreateRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerCreateRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerCreateRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerCreateRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerDeleteBucketResponse ¶
type HashicorpCloudPackerDeleteBucketResponse interface{}
HashicorpCloudPackerDeleteBucketResponse hashicorp cloud packer delete bucket response
swagger:model hashicorp.cloud.packer.DeleteBucketResponse
type HashicorpCloudPackerDeleteBuildResponse ¶
type HashicorpCloudPackerDeleteBuildResponse interface{}
HashicorpCloudPackerDeleteBuildResponse hashicorp cloud packer delete build response
swagger:model hashicorp.cloud.packer.DeleteBuildResponse
type HashicorpCloudPackerDeleteChannelResponse ¶
type HashicorpCloudPackerDeleteChannelResponse interface{}
HashicorpCloudPackerDeleteChannelResponse hashicorp cloud packer delete channel response
swagger:model hashicorp.cloud.packer.DeleteChannelResponse
type HashicorpCloudPackerDeleteIterationResponse ¶
type HashicorpCloudPackerDeleteIterationResponse interface{}
HashicorpCloudPackerDeleteIterationResponse hashicorp cloud packer delete iteration response
swagger:model hashicorp.cloud.packer.DeleteIterationResponse
type HashicorpCloudPackerDeleteRegistryResponse ¶
type HashicorpCloudPackerDeleteRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPackerRegistry `json:"registry,omitempty"` }
HashicorpCloudPackerDeleteRegistryResponse hashicorp cloud packer delete registry response
swagger:model hashicorp.cloud.packer.DeleteRegistryResponse
func (*HashicorpCloudPackerDeleteRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerDeleteRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer delete registry response based on the context it is used
func (*HashicorpCloudPackerDeleteRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerDeleteRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerDeleteRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerDeleteRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerGetBucketResponse ¶
type HashicorpCloudPackerGetBucketResponse struct { // The requested information about the bucket. Bucket *HashicorpCloudPackerBucket `json:"bucket,omitempty"` }
HashicorpCloudPackerGetBucketResponse hashicorp cloud packer get bucket response
swagger:model hashicorp.cloud.packer.GetBucketResponse
func (*HashicorpCloudPackerGetBucketResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerGetBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer get bucket response based on the context it is used
func (*HashicorpCloudPackerGetBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerGetBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerGetBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerGetBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerGetBuildResponse ¶
type HashicorpCloudPackerGetBuildResponse struct { // The requested build. Build *HashicorpCloudPackerBuild `json:"build,omitempty"` }
HashicorpCloudPackerGetBuildResponse hashicorp cloud packer get build response
swagger:model hashicorp.cloud.packer.GetBuildResponse
func (*HashicorpCloudPackerGetBuildResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerGetBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer get build response based on the context it is used
func (*HashicorpCloudPackerGetBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerGetBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerGetBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerGetBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerGetChannelResponse ¶
type HashicorpCloudPackerGetChannelResponse struct { // The requested channel information. Channel *HashicorpCloudPackerChannel `json:"channel,omitempty"` }
HashicorpCloudPackerGetChannelResponse hashicorp cloud packer get channel response
swagger:model hashicorp.cloud.packer.GetChannelResponse
func (*HashicorpCloudPackerGetChannelResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerGetChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer get channel response based on the context it is used
func (*HashicorpCloudPackerGetChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerGetChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerGetChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerGetChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerGetIterationResponse ¶
type HashicorpCloudPackerGetIterationResponse struct { // The requested iteration. Iteration *HashicorpCloudPackerIteration `json:"iteration,omitempty"` }
HashicorpCloudPackerGetIterationResponse hashicorp cloud packer get iteration response
swagger:model hashicorp.cloud.packer.GetIterationResponse
func (*HashicorpCloudPackerGetIterationResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerGetIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer get iteration response based on the context it is used
func (*HashicorpCloudPackerGetIterationResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerGetIterationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerGetIterationResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerGetIterationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerGetRegistryResponse ¶
type HashicorpCloudPackerGetRegistryResponse struct { // registry Registry *HashicorpCloudPackerRegistry `json:"registry,omitempty"` }
HashicorpCloudPackerGetRegistryResponse hashicorp cloud packer get registry response
swagger:model hashicorp.cloud.packer.GetRegistryResponse
func (*HashicorpCloudPackerGetRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerGetRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer get registry response based on the context it is used
func (*HashicorpCloudPackerGetRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerGetRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerGetRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerGetRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse ¶
type HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse 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"` }
HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse hashicorp cloud packer get registry t f c run task API response
swagger:model hashicorp.cloud.packer.GetRegistryTFCRunTaskAPIResponse
func (*HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer get registry t f c run task API response based on context it is used
func (*HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerImage ¶
type HashicorpCloudPackerImage 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"` }
HashicorpCloudPackerImage Represents the actual region:image_id mapping for a single image, in a single build.
swagger:model hashicorp.cloud.packer.Image
func (*HashicorpCloudPackerImage) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer image based on context it is used
func (*HashicorpCloudPackerImage) MarshalBinary ¶
func (m *HashicorpCloudPackerImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerImage) UnmarshalBinary ¶
func (m *HashicorpCloudPackerImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerImageCreateBody ¶
type HashicorpCloudPackerImageCreateBody 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"` }
HashicorpCloudPackerImageCreateBody 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.ImageCreateBody
func (*HashicorpCloudPackerImageCreateBody) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerImageCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer image create body based on context it is used
func (*HashicorpCloudPackerImageCreateBody) MarshalBinary ¶
func (m *HashicorpCloudPackerImageCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerImageCreateBody) UnmarshalBinary ¶
func (m *HashicorpCloudPackerImageCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerIteration ¶
type HashicorpCloudPackerIteration 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 []*HashicorpCloudPackerBuild `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`. 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 *HashicorpCloudPackerRevokedAncestor `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 *HashicorpCloudPackerIterationRevocationType `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"` // The type of Packer configuration template used to build this iteration. TemplateType *HashicorpCloudPackerIterationTemplateType `json:"template_type,omitempty"` // When the iteration was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPackerIteration hashicorp cloud packer iteration
swagger:model hashicorp.cloud.packer.Iteration
func (*HashicorpCloudPackerIteration) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerIteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer iteration based on the context it is used
func (*HashicorpCloudPackerIteration) MarshalBinary ¶
func (m *HashicorpCloudPackerIteration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerIteration) UnmarshalBinary ¶
func (m *HashicorpCloudPackerIteration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerIterationExternalStatus ¶ added in v0.36.0
type HashicorpCloudPackerIterationExternalStatus string
HashicorpCloudPackerIterationExternalStatus - ITERATION_UNSET: UNSET is a sentinel zero value so that an uninitialized value can be detected.
- ITERATION_RUNNING: Running means the `packer build` is currently running in the iteration.
- ITERATION_CANCELLED: Cancelled means the `packer build` was cancelled by a user.
- ITERATION_FAILED: Failed means the `packer build` failed and therefore image creation failed.
- ITERATION_REVOKED: Revoked means the iteration has been revoked.
- ITERATION_REVOCATION_SCHEDULED: Revocation scheduled means the iteration has been scheduled to be revoked.
- ITERATION_ACTIVE: Active means the iteration is valid and ready to be used.
swagger:model hashicorp.cloud.packer.IterationExternalStatus
const ( // HashicorpCloudPackerIterationExternalStatusITERATIONUNSET captures enum value "ITERATION_UNSET" HashicorpCloudPackerIterationExternalStatusITERATIONUNSET HashicorpCloudPackerIterationExternalStatus = "ITERATION_UNSET" // HashicorpCloudPackerIterationExternalStatusITERATIONRUNNING captures enum value "ITERATION_RUNNING" HashicorpCloudPackerIterationExternalStatusITERATIONRUNNING HashicorpCloudPackerIterationExternalStatus = "ITERATION_RUNNING" // HashicorpCloudPackerIterationExternalStatusITERATIONCANCELLED captures enum value "ITERATION_CANCELLED" HashicorpCloudPackerIterationExternalStatusITERATIONCANCELLED HashicorpCloudPackerIterationExternalStatus = "ITERATION_CANCELLED" // HashicorpCloudPackerIterationExternalStatusITERATIONFAILED captures enum value "ITERATION_FAILED" HashicorpCloudPackerIterationExternalStatusITERATIONFAILED HashicorpCloudPackerIterationExternalStatus = "ITERATION_FAILED" // HashicorpCloudPackerIterationExternalStatusITERATIONREVOKED captures enum value "ITERATION_REVOKED" HashicorpCloudPackerIterationExternalStatusITERATIONREVOKED HashicorpCloudPackerIterationExternalStatus = "ITERATION_REVOKED" // HashicorpCloudPackerIterationExternalStatusITERATIONREVOCATIONSCHEDULED captures enum value "ITERATION_REVOCATION_SCHEDULED" HashicorpCloudPackerIterationExternalStatusITERATIONREVOCATIONSCHEDULED HashicorpCloudPackerIterationExternalStatus = "ITERATION_REVOCATION_SCHEDULED" // HashicorpCloudPackerIterationExternalStatusITERATIONACTIVE captures enum value "ITERATION_ACTIVE" HashicorpCloudPackerIterationExternalStatusITERATIONACTIVE HashicorpCloudPackerIterationExternalStatus = "ITERATION_ACTIVE" )
func NewHashicorpCloudPackerIterationExternalStatus ¶ added in v0.36.0
func NewHashicorpCloudPackerIterationExternalStatus(value HashicorpCloudPackerIterationExternalStatus) *HashicorpCloudPackerIterationExternalStatus
func (HashicorpCloudPackerIterationExternalStatus) ContextValidate ¶ added in v0.36.0
func (m HashicorpCloudPackerIterationExternalStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer iteration external status based on context it is used
func (HashicorpCloudPackerIterationExternalStatus) Pointer ¶ added in v0.36.0
func (m HashicorpCloudPackerIterationExternalStatus) Pointer() *HashicorpCloudPackerIterationExternalStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerIterationExternalStatus.
type HashicorpCloudPackerIterationParents ¶ added in v0.36.0
type HashicorpCloudPackerIterationParents struct { // The endpoint URL for the bucket's ancestry at this iteration. Href string `json:"href,omitempty"` // The parents' overall status for the bucket's ancestry at this iteration. // If at least one parent is out of date, the overall status will be 'OUT_OF_DATE'. Status *HashicorpCloudPackerBucketAncestryStatus `json:"status,omitempty"` }
HashicorpCloudPackerIterationParents hashicorp cloud packer iteration parents
swagger:model hashicorp.cloud.packer.IterationParents
func (*HashicorpCloudPackerIterationParents) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerIterationParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer iteration parents based on the context it is used
func (*HashicorpCloudPackerIterationParents) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerIterationParents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerIterationParents) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerIterationParents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerIterationRevocationType ¶ added in v0.36.0
type HashicorpCloudPackerIterationRevocationType string
HashicorpCloudPackerIterationRevocationType - 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.Iteration.RevocationType
const ( // HashicorpCloudPackerIterationRevocationTypeUNSET captures enum value "UNSET" HashicorpCloudPackerIterationRevocationTypeUNSET HashicorpCloudPackerIterationRevocationType = "UNSET" // HashicorpCloudPackerIterationRevocationTypeMANUAL captures enum value "MANUAL" HashicorpCloudPackerIterationRevocationTypeMANUAL HashicorpCloudPackerIterationRevocationType = "MANUAL" // HashicorpCloudPackerIterationRevocationTypeINHERITED captures enum value "INHERITED" HashicorpCloudPackerIterationRevocationTypeINHERITED HashicorpCloudPackerIterationRevocationType = "INHERITED" )
func NewHashicorpCloudPackerIterationRevocationType ¶ added in v0.36.0
func NewHashicorpCloudPackerIterationRevocationType(value HashicorpCloudPackerIterationRevocationType) *HashicorpCloudPackerIterationRevocationType
func (HashicorpCloudPackerIterationRevocationType) ContextValidate ¶ added in v0.36.0
func (m HashicorpCloudPackerIterationRevocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer iteration revocation type based on context it is used
func (HashicorpCloudPackerIterationRevocationType) Pointer ¶ added in v0.36.0
func (m HashicorpCloudPackerIterationRevocationType) Pointer() *HashicorpCloudPackerIterationRevocationType
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerIterationRevocationType.
type HashicorpCloudPackerIterationTemplateType ¶ added in v0.28.0
type HashicorpCloudPackerIterationTemplateType string
HashicorpCloudPackerIterationTemplateType - TEMPLATE_TYPE_UNSET: TEMPLATE_TYPE_UNSET is a sentinel zero value so that an uninitialized value can be detected.
- HCL2: HCL2 configuration template; either pkr.hcl or pkr.json
- JSON: Legacy JSON configuration template
swagger:model hashicorp.cloud.packer.Iteration.TemplateType
const ( // HashicorpCloudPackerIterationTemplateTypeTEMPLATETYPEUNSET captures enum value "TEMPLATE_TYPE_UNSET" HashicorpCloudPackerIterationTemplateTypeTEMPLATETYPEUNSET HashicorpCloudPackerIterationTemplateType = "TEMPLATE_TYPE_UNSET" // HashicorpCloudPackerIterationTemplateTypeHCL2 captures enum value "HCL2" HashicorpCloudPackerIterationTemplateTypeHCL2 HashicorpCloudPackerIterationTemplateType = "HCL2" // HashicorpCloudPackerIterationTemplateTypeJSON captures enum value "JSON" HashicorpCloudPackerIterationTemplateTypeJSON HashicorpCloudPackerIterationTemplateType = "JSON" )
func NewHashicorpCloudPackerIterationTemplateType ¶ added in v0.28.0
func NewHashicorpCloudPackerIterationTemplateType(value HashicorpCloudPackerIterationTemplateType) *HashicorpCloudPackerIterationTemplateType
func (HashicorpCloudPackerIterationTemplateType) ContextValidate ¶ added in v0.28.0
func (m HashicorpCloudPackerIterationTemplateType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer iteration template type based on context it is used
func (HashicorpCloudPackerIterationTemplateType) Pointer ¶ added in v0.28.0
func (m HashicorpCloudPackerIterationTemplateType) Pointer() *HashicorpCloudPackerIterationTemplateType
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerIterationTemplateType.
type HashicorpCloudPackerIterationforList ¶
type HashicorpCloudPackerIterationforList 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`. 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 *HashicorpCloudPackerRevokedAncestor `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 *HashicorpCloudPackerIterationRevocationType `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"` }
HashicorpCloudPackerIterationforList The list endpoint does not return build information.
swagger:model hashicorp.cloud.packer.IterationforList
func (*HashicorpCloudPackerIterationforList) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerIterationforList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer iterationfor list based on the context it is used
func (*HashicorpCloudPackerIterationforList) MarshalBinary ¶
func (m *HashicorpCloudPackerIterationforList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerIterationforList) UnmarshalBinary ¶
func (m *HashicorpCloudPackerIterationforList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerLatestIterationBuild ¶ added in v0.36.0
type HashicorpCloudPackerLatestIterationBuild 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 []*HashicorpCloudPackerImage `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 *HashicorpCloudPackerBuildStatus `json:"status,omitempty"` // When the build was most recently updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPackerLatestIterationBuild 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.LatestIterationBuild
func (*HashicorpCloudPackerLatestIterationBuild) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerLatestIterationBuild) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer latest iteration build based on the context it is used
func (*HashicorpCloudPackerLatestIterationBuild) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerLatestIterationBuild) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerLatestIterationBuild) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerLatestIterationBuild) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerListBucketAncestryResponse ¶ added in v0.36.0
type HashicorpCloudPackerListBucketAncestryResponse struct { // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // relations Relations []*HashicorpCloudPackerBucketAncestry `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"` }
HashicorpCloudPackerListBucketAncestryResponse hashicorp cloud packer list bucket ancestry response
swagger:model hashicorp.cloud.packer.ListBucketAncestryResponse
func (*HashicorpCloudPackerListBucketAncestryResponse) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerListBucketAncestryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer list bucket ancestry response based on the context it is used
func (*HashicorpCloudPackerListBucketAncestryResponse) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerListBucketAncestryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerListBucketAncestryResponse) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerListBucketAncestryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerListBucketsResponse ¶
type HashicorpCloudPackerListBucketsResponse struct { // List of buckets. Buckets []*HashicorpCloudPackerBucket `json:"buckets"` // Pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPackerListBucketsResponse hashicorp cloud packer list buckets response
swagger:model hashicorp.cloud.packer.ListBucketsResponse
func (*HashicorpCloudPackerListBucketsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer list buckets response based on the context it is used
func (*HashicorpCloudPackerListBucketsResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerListBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerListBucketsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerListBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerListBuildsResponse ¶
type HashicorpCloudPackerListBuildsResponse struct { // The requested list of builds. Builds []*HashicorpCloudPackerBuild `json:"builds"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPackerListBuildsResponse hashicorp cloud packer list builds response
swagger:model hashicorp.cloud.packer.ListBuildsResponse
func (*HashicorpCloudPackerListBuildsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerListBuildsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer list builds response based on the context it is used
func (*HashicorpCloudPackerListBuildsResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerListBuildsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerListBuildsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerListBuildsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerListChannelHistoryResponse ¶ added in v0.28.0
type HashicorpCloudPackerListChannelHistoryResponse struct { // The total amount of channel assignments that are listed Count int32 `json:"count,omitempty"` // history History []*HashicorpCloudPackerChannelAssignment `json:"history"` // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPackerListChannelHistoryResponse hashicorp cloud packer list channel history response
swagger:model hashicorp.cloud.packer.ListChannelHistoryResponse
func (*HashicorpCloudPackerListChannelHistoryResponse) ContextValidate ¶ added in v0.28.0
func (m *HashicorpCloudPackerListChannelHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer list channel history response based on the context it is used
func (*HashicorpCloudPackerListChannelHistoryResponse) MarshalBinary ¶ added in v0.28.0
func (m *HashicorpCloudPackerListChannelHistoryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerListChannelHistoryResponse) UnmarshalBinary ¶ added in v0.28.0
func (m *HashicorpCloudPackerListChannelHistoryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerListChannelsResponse ¶
type HashicorpCloudPackerListChannelsResponse struct { // channels Channels []*HashicorpCloudPackerChannel `json:"channels"` }
HashicorpCloudPackerListChannelsResponse hashicorp cloud packer list channels response
swagger:model hashicorp.cloud.packer.ListChannelsResponse
func (*HashicorpCloudPackerListChannelsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerListChannelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer list channels response based on the context it is used
func (*HashicorpCloudPackerListChannelsResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerListChannelsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerListChannelsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerListChannelsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerListIterationsResponse ¶
type HashicorpCloudPackerListIterationsResponse struct { // The requested list of iterations. Iterations []*HashicorpCloudPackerIterationforList `json:"iterations"` // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPackerListIterationsResponse hashicorp cloud packer list iterations response
swagger:model hashicorp.cloud.packer.ListIterationsResponse
func (*HashicorpCloudPackerListIterationsResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerListIterationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer list iterations response based on the context it is used
func (*HashicorpCloudPackerListIterationsResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerListIterationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerListIterationsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerListIterationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse ¶
type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse 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"` }
HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse hashicorp cloud packer regenerate t f c run task hmac key response
swagger:model hashicorp.cloud.packer.RegenerateTFCRunTaskHmacKeyResponse
func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer regenerate t f c run task hmac key response based on context it is used
func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerRegistry ¶
type HashicorpCloudPackerRegistry struct { // config Config *HashicorpCloudPackerRegistryConfig `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"` }
HashicorpCloudPackerRegistry hashicorp cloud packer registry
swagger:model hashicorp.cloud.packer.Registry
func (*HashicorpCloudPackerRegistry) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer registry based on the context it is used
func (*HashicorpCloudPackerRegistry) MarshalBinary ¶
func (m *HashicorpCloudPackerRegistry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerRegistry) UnmarshalBinary ¶
func (m *HashicorpCloudPackerRegistry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerRegistryBillingDeprovision ¶
type HashicorpCloudPackerRegistryBillingDeprovision 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 *HashicorpCloudPackerRegistryBillingDeprovisionReason `json:"reason,omitempty"` }
HashicorpCloudPackerRegistryBillingDeprovision hashicorp cloud packer registry billing deprovision
swagger:model hashicorp.cloud.packer.RegistryBillingDeprovision
func (*HashicorpCloudPackerRegistryBillingDeprovision) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerRegistryBillingDeprovision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer registry billing deprovision based on the context it is used
func (*HashicorpCloudPackerRegistryBillingDeprovision) MarshalBinary ¶
func (m *HashicorpCloudPackerRegistryBillingDeprovision) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerRegistryBillingDeprovision) UnmarshalBinary ¶
func (m *HashicorpCloudPackerRegistryBillingDeprovision) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerRegistryBillingDeprovisionReason ¶
type HashicorpCloudPackerRegistryBillingDeprovisionReason string
HashicorpCloudPackerRegistryBillingDeprovisionReason hashicorp cloud packer registry billing deprovision reason
swagger:model hashicorp.cloud.packer.RegistryBillingDeprovision.Reason
const ( // HashicorpCloudPackerRegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT captures enum value "DELINQUENT_BILLING_ACCOUNT" HashicorpCloudPackerRegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT HashicorpCloudPackerRegistryBillingDeprovisionReason = "DELINQUENT_BILLING_ACCOUNT" // HashicorpCloudPackerRegistryBillingDeprovisionReasonUSERREQUEST captures enum value "USER_REQUEST" HashicorpCloudPackerRegistryBillingDeprovisionReasonUSERREQUEST HashicorpCloudPackerRegistryBillingDeprovisionReason = "USER_REQUEST" // HashicorpCloudPackerRegistryBillingDeprovisionReasonHASHIADMINREQUEST captures enum value "HASHI_ADMIN_REQUEST" HashicorpCloudPackerRegistryBillingDeprovisionReasonHASHIADMINREQUEST HashicorpCloudPackerRegistryBillingDeprovisionReason = "HASHI_ADMIN_REQUEST" )
func NewHashicorpCloudPackerRegistryBillingDeprovisionReason ¶ added in v0.23.0
func NewHashicorpCloudPackerRegistryBillingDeprovisionReason(value HashicorpCloudPackerRegistryBillingDeprovisionReason) *HashicorpCloudPackerRegistryBillingDeprovisionReason
func (HashicorpCloudPackerRegistryBillingDeprovisionReason) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPackerRegistryBillingDeprovisionReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer registry billing deprovision reason based on context it is used
func (HashicorpCloudPackerRegistryBillingDeprovisionReason) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPackerRegistryBillingDeprovisionReason) Pointer() *HashicorpCloudPackerRegistryBillingDeprovisionReason
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerRegistryBillingDeprovisionReason.
type HashicorpCloudPackerRegistryConfig ¶
type HashicorpCloudPackerRegistryConfig 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 *HashicorpCloudPackerRegistryBillingDeprovision `json:"billing_deprovision,omitempty"` // The feature tier for the registry. FeatureTier *HashicorpCloudPackerRegistryConfigTier `json:"feature_tier,omitempty"` // Required configuration to run TFC run tasks for validation against this registry. TfcRunTaskConfig *HashicorpCloudPackerRegistryTFCRunTaskConfig `json:"tfc_run_task_config,omitempty"` }
HashicorpCloudPackerRegistryConfig The HCP Packer Registry configuration
swagger:model hashicorp.cloud.packer.RegistryConfig
func (*HashicorpCloudPackerRegistryConfig) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerRegistryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer registry config based on the context it is used
func (*HashicorpCloudPackerRegistryConfig) MarshalBinary ¶
func (m *HashicorpCloudPackerRegistryConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerRegistryConfig) UnmarshalBinary ¶
func (m *HashicorpCloudPackerRegistryConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerRegistryConfigTier ¶
type HashicorpCloudPackerRegistryConfigTier string
HashicorpCloudPackerRegistryConfigTier - PRIVATE_BETA: Deprecated
swagger:model hashicorp.cloud.packer.RegistryConfig.Tier
const ( // HashicorpCloudPackerRegistryConfigTierUNSET captures enum value "UNSET" HashicorpCloudPackerRegistryConfigTierUNSET HashicorpCloudPackerRegistryConfigTier = "UNSET" // HashicorpCloudPackerRegistryConfigTierPRIVATEBETA captures enum value "PRIVATE_BETA" HashicorpCloudPackerRegistryConfigTierPRIVATEBETA HashicorpCloudPackerRegistryConfigTier = "PRIVATE_BETA" // HashicorpCloudPackerRegistryConfigTierSTANDARD captures enum value "STANDARD" HashicorpCloudPackerRegistryConfigTierSTANDARD HashicorpCloudPackerRegistryConfigTier = "STANDARD" // HashicorpCloudPackerRegistryConfigTierPLUS captures enum value "PLUS" HashicorpCloudPackerRegistryConfigTierPLUS HashicorpCloudPackerRegistryConfigTier = "PLUS" )
func NewHashicorpCloudPackerRegistryConfigTier ¶ added in v0.23.0
func NewHashicorpCloudPackerRegistryConfigTier(value HashicorpCloudPackerRegistryConfigTier) *HashicorpCloudPackerRegistryConfigTier
func (HashicorpCloudPackerRegistryConfigTier) ContextValidate ¶ added in v0.23.0
func (m HashicorpCloudPackerRegistryConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer registry config tier based on context it is used
func (HashicorpCloudPackerRegistryConfigTier) Pointer ¶ added in v0.23.0
func (m HashicorpCloudPackerRegistryConfigTier) Pointer() *HashicorpCloudPackerRegistryConfigTier
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerRegistryConfigTier.
type HashicorpCloudPackerRegistryTFCRunTaskConfig ¶
type HashicorpCloudPackerRegistryTFCRunTaskConfig 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"` }
HashicorpCloudPackerRegistryTFCRunTaskConfig hashicorp cloud packer registry t f c run task config
swagger:model hashicorp.cloud.packer.RegistryTFCRunTaskConfig
func (*HashicorpCloudPackerRegistryTFCRunTaskConfig) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer registry t f c run task config based on context it is used
func (*HashicorpCloudPackerRegistryTFCRunTaskConfig) MarshalBinary ¶
func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerRegistryTFCRunTaskConfig) UnmarshalBinary ¶
func (m *HashicorpCloudPackerRegistryTFCRunTaskConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerRevokedAncestor ¶ added in v0.36.0
type HashicorpCloudPackerRevokedAncestor 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"` }
HashicorpCloudPackerRevokedAncestor hashicorp cloud packer revoked ancestor
swagger:model hashicorp.cloud.packer.RevokedAncestor
func (*HashicorpCloudPackerRevokedAncestor) ContextValidate ¶ added in v0.36.0
func (m *HashicorpCloudPackerRevokedAncestor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer revoked ancestor based on context it is used
func (*HashicorpCloudPackerRevokedAncestor) MarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerRevokedAncestor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerRevokedAncestor) UnmarshalBinary ¶ added in v0.36.0
func (m *HashicorpCloudPackerRevokedAncestor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerTFCImageValidationRunTaskResponse ¶
type HashicorpCloudPackerTFCImageValidationRunTaskResponse interface{}
HashicorpCloudPackerTFCImageValidationRunTaskResponse hashicorp cloud packer t f c image validation run task response
swagger:model hashicorp.cloud.packer.TFCImageValidationRunTaskResponse
type HashicorpCloudPackerUpdateBucketResponse ¶
type HashicorpCloudPackerUpdateBucketResponse struct { // Information about the bucket that was updated. Bucket *HashicorpCloudPackerBucket `json:"bucket,omitempty"` }
HashicorpCloudPackerUpdateBucketResponse hashicorp cloud packer update bucket response
swagger:model hashicorp.cloud.packer.UpdateBucketResponse
func (*HashicorpCloudPackerUpdateBucketResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerUpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer update bucket response based on the context it is used
func (*HashicorpCloudPackerUpdateBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerUpdateBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerUpdateBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerUpdateBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerUpdateBuildResponse ¶
type HashicorpCloudPackerUpdateBuildResponse struct { // Information about the build you updated. Build *HashicorpCloudPackerBuild `json:"build,omitempty"` }
HashicorpCloudPackerUpdateBuildResponse hashicorp cloud packer update build response
swagger:model hashicorp.cloud.packer.UpdateBuildResponse
func (*HashicorpCloudPackerUpdateBuildResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerUpdateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer update build response based on the context it is used
func (*HashicorpCloudPackerUpdateBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerUpdateBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerUpdateBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerUpdateBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerUpdateChannelRequestRestriction ¶ added in v0.43.0
type HashicorpCloudPackerUpdateChannelRequestRestriction string
HashicorpCloudPackerUpdateChannelRequestRestriction - RESTRICTED: Make the channel only visible to users with permission to create and manage.
- UNRESTRICTED: Make the channel visible to every member of this organization.
swagger:model hashicorp.cloud.packer.UpdateChannelRequest.Restriction
const ( // HashicorpCloudPackerUpdateChannelRequestRestrictionRESTRICTIONUNSET captures enum value "RESTRICTION_UNSET" HashicorpCloudPackerUpdateChannelRequestRestrictionRESTRICTIONUNSET HashicorpCloudPackerUpdateChannelRequestRestriction = "RESTRICTION_UNSET" // HashicorpCloudPackerUpdateChannelRequestRestrictionRESTRICTED captures enum value "RESTRICTED" HashicorpCloudPackerUpdateChannelRequestRestrictionRESTRICTED HashicorpCloudPackerUpdateChannelRequestRestriction = "RESTRICTED" // HashicorpCloudPackerUpdateChannelRequestRestrictionUNRESTRICTED captures enum value "UNRESTRICTED" HashicorpCloudPackerUpdateChannelRequestRestrictionUNRESTRICTED HashicorpCloudPackerUpdateChannelRequestRestriction = "UNRESTRICTED" )
func NewHashicorpCloudPackerUpdateChannelRequestRestriction ¶ added in v0.43.0
func NewHashicorpCloudPackerUpdateChannelRequestRestriction(value HashicorpCloudPackerUpdateChannelRequestRestriction) *HashicorpCloudPackerUpdateChannelRequestRestriction
func (HashicorpCloudPackerUpdateChannelRequestRestriction) ContextValidate ¶ added in v0.43.0
func (m HashicorpCloudPackerUpdateChannelRequestRestriction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer update channel request restriction based on context it is used
func (HashicorpCloudPackerUpdateChannelRequestRestriction) Pointer ¶ added in v0.43.0
func (m HashicorpCloudPackerUpdateChannelRequestRestriction) Pointer() *HashicorpCloudPackerUpdateChannelRequestRestriction
Pointer returns a pointer to a freshly-allocated HashicorpCloudPackerUpdateChannelRequestRestriction.
type HashicorpCloudPackerUpdateChannelResponse ¶
type HashicorpCloudPackerUpdateChannelResponse struct { // channel Channel *HashicorpCloudPackerChannel `json:"channel,omitempty"` }
HashicorpCloudPackerUpdateChannelResponse hashicorp cloud packer update channel response
swagger:model hashicorp.cloud.packer.UpdateChannelResponse
func (*HashicorpCloudPackerUpdateChannelResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerUpdateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer update channel response based on the context it is used
func (*HashicorpCloudPackerUpdateChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerUpdateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerUpdateChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerUpdateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerUpdateIterationResponse ¶
type HashicorpCloudPackerUpdateIterationResponse struct { // Information about the updated iteration. Iteration *HashicorpCloudPackerIteration `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"` }
HashicorpCloudPackerUpdateIterationResponse hashicorp cloud packer update iteration response
swagger:model hashicorp.cloud.packer.UpdateIterationResponse
func (*HashicorpCloudPackerUpdateIterationResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerUpdateIterationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer update iteration response based on the context it is used
func (*HashicorpCloudPackerUpdateIterationResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerUpdateIterationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerUpdateIterationResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerUpdateIterationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPackerUpdateRegistryResponse ¶
type HashicorpCloudPackerUpdateRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPackerRegistry `json:"registry,omitempty"` }
HashicorpCloudPackerUpdateRegistryResponse hashicorp cloud packer update registry response
swagger:model hashicorp.cloud.packer.UpdateRegistryResponse
func (*HashicorpCloudPackerUpdateRegistryResponse) ContextValidate ¶ added in v0.23.0
func (m *HashicorpCloudPackerUpdateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer update registry response based on the context it is used
func (*HashicorpCloudPackerUpdateRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPackerUpdateRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPackerUpdateRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPackerUpdateRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- hashicorp_cloud_packer_bucket.go
- hashicorp_cloud_packer_bucket_ancestry.go
- hashicorp_cloud_packer_bucket_ancestry_child.go
- hashicorp_cloud_packer_bucket_ancestry_parent.go
- hashicorp_cloud_packer_bucket_ancestry_parent_channel_iteration.go
- hashicorp_cloud_packer_bucket_ancestry_status.go
- hashicorp_cloud_packer_bucket_children.go
- hashicorp_cloud_packer_bucket_latest_iteration.go
- hashicorp_cloud_packer_bucket_parents.go
- hashicorp_cloud_packer_build.go
- hashicorp_cloud_packer_build_create_body.go
- hashicorp_cloud_packer_build_status.go
- hashicorp_cloud_packer_build_updates.go
- hashicorp_cloud_packer_channel.go
- hashicorp_cloud_packer_channel_assignment.go
- hashicorp_cloud_packer_channel_assignment_iteration.go
- hashicorp_cloud_packer_channel_iteration_pointer.go
- hashicorp_cloud_packer_create_bucket_response.go
- hashicorp_cloud_packer_create_build_response.go
- hashicorp_cloud_packer_create_channel_request_restriction.go
- hashicorp_cloud_packer_create_channel_response.go
- hashicorp_cloud_packer_create_iteration_response.go
- hashicorp_cloud_packer_create_registry_response.go
- hashicorp_cloud_packer_delete_bucket_response.go
- hashicorp_cloud_packer_delete_build_response.go
- hashicorp_cloud_packer_delete_channel_response.go
- hashicorp_cloud_packer_delete_iteration_response.go
- hashicorp_cloud_packer_delete_registry_response.go
- hashicorp_cloud_packer_get_bucket_response.go
- hashicorp_cloud_packer_get_build_response.go
- hashicorp_cloud_packer_get_channel_response.go
- hashicorp_cloud_packer_get_iteration_response.go
- hashicorp_cloud_packer_get_registry_response.go
- hashicorp_cloud_packer_get_registry_t_f_c_run_task_api_response.go
- hashicorp_cloud_packer_image.go
- hashicorp_cloud_packer_image_create_body.go
- hashicorp_cloud_packer_iteration.go
- hashicorp_cloud_packer_iteration_external_status.go
- hashicorp_cloud_packer_iteration_parents.go
- hashicorp_cloud_packer_iteration_revocation_type.go
- hashicorp_cloud_packer_iteration_template_type.go
- hashicorp_cloud_packer_iterationfor_list.go
- hashicorp_cloud_packer_latest_iteration_build.go
- hashicorp_cloud_packer_list_bucket_ancestry_response.go
- hashicorp_cloud_packer_list_buckets_response.go
- hashicorp_cloud_packer_list_builds_response.go
- hashicorp_cloud_packer_list_channel_history_response.go
- hashicorp_cloud_packer_list_channels_response.go
- hashicorp_cloud_packer_list_iterations_response.go
- hashicorp_cloud_packer_regenerate_t_f_c_run_task_hmac_key_response.go
- hashicorp_cloud_packer_registry.go
- hashicorp_cloud_packer_registry_billing_deprovision.go
- hashicorp_cloud_packer_registry_billing_deprovision_reason.go
- hashicorp_cloud_packer_registry_config.go
- hashicorp_cloud_packer_registry_config_tier.go
- hashicorp_cloud_packer_registry_t_f_c_run_task_config.go
- hashicorp_cloud_packer_revoked_ancestor.go
- hashicorp_cloud_packer_t_f_c_image_validation_run_task_response.go
- hashicorp_cloud_packer_update_bucket_response.go
- hashicorp_cloud_packer_update_build_response.go
- hashicorp_cloud_packer_update_channel_request_restriction.go
- hashicorp_cloud_packer_update_channel_response.go
- hashicorp_cloud_packer_update_iteration_response.go
- hashicorp_cloud_packer_update_registry_response.go