Documentation ¶
Index ¶
- type HashicorpCloudPacker20230101AncestryStatus
- func (m HashicorpCloudPacker20230101AncestryStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101AncestryStatus) Pointer() *HashicorpCloudPacker20230101AncestryStatus
- func (m HashicorpCloudPacker20230101AncestryStatus) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Artifact
- func (m *HashicorpCloudPacker20230101Artifact) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Artifact) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Artifact) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Artifact) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ArtifactCreateBody
- func (m *HashicorpCloudPacker20230101ArtifactCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ArtifactCreateBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ArtifactCreateBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ArtifactCreateBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Bucket
- func (m *HashicorpCloudPacker20230101Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Bucket) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Bucket) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Bucket) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101BucketAncestry
- func (m *HashicorpCloudPacker20230101BucketAncestry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101BucketAncestry) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101BucketAncestry) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101BucketAncestry) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101BucketAncestryType
- func (m HashicorpCloudPacker20230101BucketAncestryType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101BucketAncestryType) Pointer() *HashicorpCloudPacker20230101BucketAncestryType
- func (m HashicorpCloudPacker20230101BucketAncestryType) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101BucketChildren
- func (m *HashicorpCloudPacker20230101BucketChildren) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101BucketChildren) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101BucketChildren) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101BucketChildren) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101BucketParents
- func (m *HashicorpCloudPacker20230101BucketParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101BucketParents) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101BucketParents) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101BucketParents) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Build
- func (m *HashicorpCloudPacker20230101Build) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Build) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Build) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Build) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101BuildMetadata
- func (m *HashicorpCloudPacker20230101BuildMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101BuildMetadata) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101BuildMetadata) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101BuildMetadata) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101BuildStatus
- func (m HashicorpCloudPacker20230101BuildStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101BuildStatus) Pointer() *HashicorpCloudPacker20230101BuildStatus
- func (m HashicorpCloudPacker20230101BuildStatus) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Channel
- func (m *HashicorpCloudPacker20230101Channel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Channel) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Channel) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Channel) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ChannelAssignment
- func (m *HashicorpCloudPacker20230101ChannelAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ChannelAssignment) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ChannelAssignment) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ChannelAssignment) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ChannelVersion
- func (m *HashicorpCloudPacker20230101ChannelVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ChannelVersion) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ChannelVersion) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ChannelVersion) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Child
- func (m *HashicorpCloudPacker20230101Child) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Child) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Child) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Child) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateBucketBody
- func (m *HashicorpCloudPacker20230101CreateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateBucketBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateBucketBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateBucketBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateBucketResponse
- func (m *HashicorpCloudPacker20230101CreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateBuildBody
- func (m *HashicorpCloudPacker20230101CreateBuildBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateBuildBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateBuildBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateBuildBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateBuildResponse
- func (m *HashicorpCloudPacker20230101CreateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateChannelBody
- func (m *HashicorpCloudPacker20230101CreateChannelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateChannelBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateChannelBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateChannelBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateChannelResponse
- func (m *HashicorpCloudPacker20230101CreateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateRegistryBody
- func (m *HashicorpCloudPacker20230101CreateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateRegistryBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateRegistryBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateRegistryBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateRegistryResponse
- func (m *HashicorpCloudPacker20230101CreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateVersionBody
- func (m *HashicorpCloudPacker20230101CreateVersionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateVersionBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateVersionBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateVersionBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101CreateVersionResponse
- func (m *HashicorpCloudPacker20230101CreateVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101CreateVersionResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101CreateVersionResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101CreateVersionResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101DeleteBucketResponse
- type HashicorpCloudPacker20230101DeleteBuildResponse
- type HashicorpCloudPacker20230101DeleteChannelResponse
- type HashicorpCloudPacker20230101DeleteRegistryResponse
- func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101DeleteVersionResponse
- type HashicorpCloudPacker20230101GetBucketResponse
- func (m *HashicorpCloudPacker20230101GetBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101GetBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101GetBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101GetBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101GetBuildResponse
- func (m *HashicorpCloudPacker20230101GetBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101GetBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101GetBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101GetBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101GetChannelResponse
- func (m *HashicorpCloudPacker20230101GetChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101GetChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101GetChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101GetChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101GetRegistryResponse
- func (m *HashicorpCloudPacker20230101GetRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101GetRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101GetRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101GetRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse
- func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101GetVersionResponse
- func (m *HashicorpCloudPacker20230101GetVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101GetVersionResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101GetVersionResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101GetVersionResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ListBucketAncestryResponse
- func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ListBucketsResponse
- func (m *HashicorpCloudPacker20230101ListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ListBucketsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ListBucketsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ListBucketsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ListBuildsResponse
- func (m *HashicorpCloudPacker20230101ListBuildsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ListBuildsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ListBuildsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ListBuildsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse
- func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ListChannelsResponse
- func (m *HashicorpCloudPacker20230101ListChannelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ListChannelsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ListChannelsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ListChannelsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101ListVersionsResponse
- func (m *HashicorpCloudPacker20230101ListVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101ListVersionsResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101ListVersionsResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101ListVersionsResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Parent
- func (m *HashicorpCloudPacker20230101Parent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Parent) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Parent) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Parent) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse
- func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Registry
- func (m *HashicorpCloudPacker20230101Registry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Registry) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Registry) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Registry) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RegistryBillingDeprovision
- func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RegistryBillingDeprovisionReason
- func (m HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) Pointer() *HashicorpCloudPacker20230101RegistryBillingDeprovisionReason
- func (m HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RegistryConfig
- func (m *HashicorpCloudPacker20230101RegistryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101RegistryConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101RegistryConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101RegistryConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RegistryConfigTier
- func (m HashicorpCloudPacker20230101RegistryConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101RegistryConfigTier) Pointer() *HashicorpCloudPacker20230101RegistryConfigTier
- func (m HashicorpCloudPacker20230101RegistryConfigTier) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RegistryTFCRunTaskConfig
- func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RevocationType
- func (m HashicorpCloudPacker20230101RevocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101RevocationType) Pointer() *HashicorpCloudPacker20230101RevocationType
- func (m HashicorpCloudPacker20230101RevocationType) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101RevokedAncestor
- func (m *HashicorpCloudPacker20230101RevokedAncestor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101RevokedAncestor) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101RevokedAncestor) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101RevokedAncestor) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse
- type HashicorpCloudPacker20230101TemplateType
- func (m HashicorpCloudPacker20230101TemplateType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101TemplateType) Pointer() *HashicorpCloudPacker20230101TemplateType
- func (m HashicorpCloudPacker20230101TemplateType) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateBucketBody
- func (m *HashicorpCloudPacker20230101UpdateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateBucketBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateBucketBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateBucketBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateBucketResponse
- func (m *HashicorpCloudPacker20230101UpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateBucketResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateBucketResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateBucketResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateBuildBody
- func (m *HashicorpCloudPacker20230101UpdateBuildBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateBuildBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateBuildBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateBuildBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateBuildResponse
- func (m *HashicorpCloudPacker20230101UpdateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateBuildResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateBuildResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateBuildResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateChannelBody
- func (m *HashicorpCloudPacker20230101UpdateChannelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateChannelBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateChannelBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateChannelBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateChannelResponse
- func (m *HashicorpCloudPacker20230101UpdateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateChannelResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateChannelResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateChannelResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateRegistryBody
- func (m *HashicorpCloudPacker20230101UpdateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateRegistryBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateRegistryBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateRegistryBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateRegistryResponse
- func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateVersionBody
- func (m *HashicorpCloudPacker20230101UpdateVersionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateVersionBody) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateVersionBody) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateVersionBody) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101UpdateVersionResponse
- func (m *HashicorpCloudPacker20230101UpdateVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101UpdateVersionResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101UpdateVersionResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101UpdateVersionResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101Version
- func (m *HashicorpCloudPacker20230101Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101Version) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101Version) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101Version) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101VersionParents
- func (m *HashicorpCloudPacker20230101VersionParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudPacker20230101VersionParents) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudPacker20230101VersionParents) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudPacker20230101VersionParents) Validate(formats strfmt.Registry) error
- type HashicorpCloudPacker20230101VersionStatus
- func (m HashicorpCloudPacker20230101VersionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudPacker20230101VersionStatus) Pointer() *HashicorpCloudPacker20230101VersionStatus
- func (m HashicorpCloudPacker20230101VersionStatus) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudPacker20230101AncestryStatus ¶
type HashicorpCloudPacker20230101AncestryStatus string
HashicorpCloudPacker20230101AncestryStatus - UNDETERMINED: HCP Packer cannot determine whether the child artifact is out of date. This status occurs when the parent version was not assigned to a channel when Packer built the artifact, the channel no longer exists in the bucket, or HCP Packer is not tracking the parent.
- UP_TO_DATE: The child artifact is built from the version currently assigned to the channel.
- OUT_OF_DATE: The child artifact is built from a different version than the one currently
assigned to the channel.
swagger:model hashicorp.cloud.packer_20230101.AncestryStatus
const ( // HashicorpCloudPacker20230101AncestryStatusUNDETERMINED captures enum value "UNDETERMINED" HashicorpCloudPacker20230101AncestryStatusUNDETERMINED HashicorpCloudPacker20230101AncestryStatus = "UNDETERMINED" // HashicorpCloudPacker20230101AncestryStatusUPTODATE captures enum value "UP_TO_DATE" HashicorpCloudPacker20230101AncestryStatusUPTODATE HashicorpCloudPacker20230101AncestryStatus = "UP_TO_DATE" // HashicorpCloudPacker20230101AncestryStatusOUTOFDATE captures enum value "OUT_OF_DATE" HashicorpCloudPacker20230101AncestryStatusOUTOFDATE HashicorpCloudPacker20230101AncestryStatus = "OUT_OF_DATE" )
func NewHashicorpCloudPacker20230101AncestryStatus ¶
func NewHashicorpCloudPacker20230101AncestryStatus(value HashicorpCloudPacker20230101AncestryStatus) *HashicorpCloudPacker20230101AncestryStatus
func (HashicorpCloudPacker20230101AncestryStatus) ContextValidate ¶
func (m HashicorpCloudPacker20230101AncestryStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 ancestry status based on context it is used
func (HashicorpCloudPacker20230101AncestryStatus) Pointer ¶
func (m HashicorpCloudPacker20230101AncestryStatus) Pointer() *HashicorpCloudPacker20230101AncestryStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101AncestryStatus.
type HashicorpCloudPacker20230101Artifact ¶
type HashicorpCloudPacker20230101Artifact struct { // Created datetime. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // ID or URL of the remote artifact as given by a build. // For example, ami-12345. ExternalIdentifier string `json:"external_identifier,omitempty"` // Unique identifier (ULID). ID string `json:"id,omitempty"` // External region as provided by `packer build`. For example, "ap-east-1". Region string `json:"region,omitempty"` }
HashicorpCloudPacker20230101Artifact hashicorp cloud packer 20230101 artifact
swagger:model hashicorp.cloud.packer_20230101.Artifact
func (*HashicorpCloudPacker20230101Artifact) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Artifact) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 artifact based on context it is used
func (*HashicorpCloudPacker20230101Artifact) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Artifact) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Artifact) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Artifact) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ArtifactCreateBody ¶
type HashicorpCloudPacker20230101ArtifactCreateBody struct { // ID or URL of the remote cloud artifact as given by a build. ExternalIdentifier string `json:"external_identifier,omitempty"` // Cloud-specific region as provided by `packer build`. For example, "ap-east-1". Region string `json:"region,omitempty"` }
HashicorpCloudPacker20230101ArtifactCreateBody This message is used for build/create calls; it removes elements from the Artifact message that the user cannot set.
swagger:model hashicorp.cloud.packer_20230101.ArtifactCreateBody
func (*HashicorpCloudPacker20230101ArtifactCreateBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ArtifactCreateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 artifact create body based on context it is used
func (*HashicorpCloudPacker20230101ArtifactCreateBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ArtifactCreateBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ArtifactCreateBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ArtifactCreateBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101Bucket ¶
type HashicorpCloudPacker20230101Bucket struct { // Information about this bucket's children. Children are buckets that used // any version of this bucket as the base artifact for their latest complete // version. Children *HashicorpCloudPacker20230101BucketChildren `json:"children,omitempty"` // Created datetime. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Short description of what this bucket is for. Description string `json:"description,omitempty"` // Unique identifier (ULID). ID string `json:"id,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 valid version, same assigned to the latest channel. LatestVersion *HashicorpCloudPacker20230101Version `json:"latest_version,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Human-readable name for the bucket. Name string `json:"name,omitempty"` // Information about this bucket's parents. Parents are the base artifacts // OSS Packer used for building the latest complete version in this bucket. Parents *HashicorpCloudPacker20230101BucketParents `json:"parents,omitempty"` // List of the cloud providers or other platforms that are included in the // latest complete version. e.g aws, gcp, or azure. Platforms []string `json:"platforms"` // Last updated datetime. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // Total number of versions in this bucket. VersionCount string `json:"version_count,omitempty"` }
HashicorpCloudPacker20230101Bucket hashicorp cloud packer 20230101 bucket
swagger:model hashicorp.cloud.packer_20230101.Bucket
func (*HashicorpCloudPacker20230101Bucket) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 bucket based on the context it is used
func (*HashicorpCloudPacker20230101Bucket) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Bucket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Bucket) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Bucket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101BucketAncestry ¶
type HashicorpCloudPacker20230101BucketAncestry struct { // The child bucket and the version in that bucket that relates tom the parent. Child *HashicorpCloudPacker20230101Child `json:"child,omitempty"` // The parent bucket and version that relates to the child bucket's // latest version. Parent *HashicorpCloudPacker20230101Parent `json:"parent,omitempty"` // The status of the relationship between the parent and child buckets. Status *HashicorpCloudPacker20230101AncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20230101BucketAncestry The parent-child relationship between two buckets.
swagger:model hashicorp.cloud.packer_20230101.BucketAncestry
func (*HashicorpCloudPacker20230101BucketAncestry) ContextValidate ¶
func (m *HashicorpCloudPacker20230101BucketAncestry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 bucket ancestry based on the context it is used
func (*HashicorpCloudPacker20230101BucketAncestry) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101BucketAncestry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101BucketAncestry) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101BucketAncestry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101BucketAncestryType ¶
type HashicorpCloudPacker20230101BucketAncestryType string
HashicorpCloudPacker20230101BucketAncestryType hashicorp cloud packer 20230101 bucket ancestry type
swagger:model hashicorp.cloud.packer_20230101.BucketAncestryType
const ( // HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEUNSET captures enum value "ANCESTRY_TYPE_UNSET" HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEUNSET HashicorpCloudPacker20230101BucketAncestryType = "ANCESTRY_TYPE_UNSET" // HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEPARENTS captures enum value "ANCESTRY_TYPE_PARENTS" HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEPARENTS HashicorpCloudPacker20230101BucketAncestryType = "ANCESTRY_TYPE_PARENTS" // HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPECHILDREN captures enum value "ANCESTRY_TYPE_CHILDREN" HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPECHILDREN HashicorpCloudPacker20230101BucketAncestryType = "ANCESTRY_TYPE_CHILDREN" )
func NewHashicorpCloudPacker20230101BucketAncestryType ¶
func NewHashicorpCloudPacker20230101BucketAncestryType(value HashicorpCloudPacker20230101BucketAncestryType) *HashicorpCloudPacker20230101BucketAncestryType
func (HashicorpCloudPacker20230101BucketAncestryType) ContextValidate ¶
func (m HashicorpCloudPacker20230101BucketAncestryType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 bucket ancestry type based on context it is used
func (HashicorpCloudPacker20230101BucketAncestryType) Pointer ¶
func (m HashicorpCloudPacker20230101BucketAncestryType) Pointer() *HashicorpCloudPacker20230101BucketAncestryType
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101BucketAncestryType.
type HashicorpCloudPacker20230101BucketChildren ¶
type HashicorpCloudPacker20230101BucketChildren struct { // The URL to retrieve the list of ancestry relationships between this // bucket and its direct children. Href string `json:"href,omitempty"` // The overall ancestry status for all child versions. // If at least one child is out of date, HCP Packer reports the overall // status as 'OUT_OF_DATE'. Status *HashicorpCloudPacker20230101AncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20230101BucketChildren hashicorp cloud packer 20230101 bucket children
swagger:model hashicorp.cloud.packer_20230101.BucketChildren
func (*HashicorpCloudPacker20230101BucketChildren) ContextValidate ¶
func (m *HashicorpCloudPacker20230101BucketChildren) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 bucket children based on the context it is used
func (*HashicorpCloudPacker20230101BucketChildren) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101BucketChildren) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101BucketChildren) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101BucketChildren) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101BucketParents ¶
type HashicorpCloudPacker20230101BucketParents struct { // The URL to retrieve the list of ancestry relationships between this // bucket and its parents. Href string `json:"href,omitempty"` // The overall status for all parent versions. // If at least one parent is out of date, HCP Packer reports the overall // status as 'OUT_OF_DATE'. Status *HashicorpCloudPacker20230101AncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20230101BucketParents hashicorp cloud packer 20230101 bucket parents
swagger:model hashicorp.cloud.packer_20230101.BucketParents
func (*HashicorpCloudPacker20230101BucketParents) ContextValidate ¶
func (m *HashicorpCloudPacker20230101BucketParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 bucket parents based on the context it is used
func (*HashicorpCloudPacker20230101BucketParents) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101BucketParents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101BucketParents) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101BucketParents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101Build ¶
type HashicorpCloudPacker20230101Build struct { // List of artifacts associated with this build. Artifacts []*HashicorpCloudPacker20230101Artifact `json:"artifacts"` // 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"` // Created datetime // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Unique identifier (ULID). ID string `json:"id,omitempty"` // A key:value map for custom, user-settable metadata about your build. Labels map[string]string `json:"labels,omitempty"` // Information set by Packer about the build process of the artifact. // Builds are returned on many endpoints, but Build Metadata is only returned for Build endpoints and GetVersion. Metadata *HashicorpCloudPacker20230101BuildMetadata `json:"metadata,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"` // Platform that this build produced artifacts for. // For example, AWS, GCP, or Azure. Platform string `json:"platform,omitempty"` // ID or URL of the remote cloud source artifact that HCP Packer uses to // track artifact dependencies for build pipelines. SourceExternalIdentifier string `json:"source_external_identifier,omitempty"` // Current state of the build. Status *HashicorpCloudPacker20230101BuildStatus `json:"status,omitempty"` // Last updated datetime // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // Unique identifier of the version associated with this build; this was // created and set by the HCP Packer registry when the version was created. VersionID string `json:"version_id,omitempty"` }
HashicorpCloudPacker20230101Build hashicorp cloud packer 20230101 build
swagger:model hashicorp.cloud.packer_20230101.Build
func (*HashicorpCloudPacker20230101Build) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Build) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 build based on the context it is used
func (*HashicorpCloudPacker20230101Build) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Build) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Build) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Build) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101BuildMetadata ¶ added in v0.90.0
type HashicorpCloudPacker20230101BuildMetadata struct {
// Information from Packer related to its runtime state, such as version, and plugins used.
Packer interface{} `json:"packer,omitempty"`
}
HashicorpCloudPacker20230101BuildMetadata hashicorp cloud packer 20230101 build metadata
swagger:model hashicorp.cloud.packer_20230101.BuildMetadata
func (*HashicorpCloudPacker20230101BuildMetadata) ContextValidate ¶ added in v0.90.0
func (m *HashicorpCloudPacker20230101BuildMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 build metadata based on context it is used
func (*HashicorpCloudPacker20230101BuildMetadata) MarshalBinary ¶ added in v0.90.0
func (m *HashicorpCloudPacker20230101BuildMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101BuildMetadata) UnmarshalBinary ¶ added in v0.90.0
func (m *HashicorpCloudPacker20230101BuildMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101BuildStatus ¶
type HashicorpCloudPacker20230101BuildStatus string
HashicorpCloudPacker20230101BuildStatus - BUILD_UNSET: UNSET is a sentinel zero value so that an uninitialized value can be detected.
- BUILD_RUNNING: Running means the `packer build` is currently running.
- BUILD_DONE: Done means the `packer build` has finished successfully.
- BUILD_CANCELLED: Cancelled means the `packer build` was cancelled by a user.
- BUILD_FAILED: Failed means the `packer build` failed and therefore artifact creation failed.
swagger:model hashicorp.cloud.packer_20230101.BuildStatus
const ( // HashicorpCloudPacker20230101BuildStatusBUILDUNSET captures enum value "BUILD_UNSET" HashicorpCloudPacker20230101BuildStatusBUILDUNSET HashicorpCloudPacker20230101BuildStatus = "BUILD_UNSET" // HashicorpCloudPacker20230101BuildStatusBUILDRUNNING captures enum value "BUILD_RUNNING" HashicorpCloudPacker20230101BuildStatusBUILDRUNNING HashicorpCloudPacker20230101BuildStatus = "BUILD_RUNNING" // HashicorpCloudPacker20230101BuildStatusBUILDDONE captures enum value "BUILD_DONE" HashicorpCloudPacker20230101BuildStatusBUILDDONE HashicorpCloudPacker20230101BuildStatus = "BUILD_DONE" // HashicorpCloudPacker20230101BuildStatusBUILDCANCELLED captures enum value "BUILD_CANCELLED" HashicorpCloudPacker20230101BuildStatusBUILDCANCELLED HashicorpCloudPacker20230101BuildStatus = "BUILD_CANCELLED" // HashicorpCloudPacker20230101BuildStatusBUILDFAILED captures enum value "BUILD_FAILED" HashicorpCloudPacker20230101BuildStatusBUILDFAILED HashicorpCloudPacker20230101BuildStatus = "BUILD_FAILED" )
func NewHashicorpCloudPacker20230101BuildStatus ¶
func NewHashicorpCloudPacker20230101BuildStatus(value HashicorpCloudPacker20230101BuildStatus) *HashicorpCloudPacker20230101BuildStatus
func (HashicorpCloudPacker20230101BuildStatus) ContextValidate ¶
func (m HashicorpCloudPacker20230101BuildStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 build status based on context it is used
func (HashicorpCloudPacker20230101BuildStatus) Pointer ¶
func (m HashicorpCloudPacker20230101BuildStatus) Pointer() *HashicorpCloudPacker20230101BuildStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101BuildStatus.
type HashicorpCloudPacker20230101Channel ¶
type HashicorpCloudPacker20230101Channel struct { // User who last updated the channel. AuthorID string `json:"author_id,omitempty"` // Human-readable name for the bucket this channel belongs to. BucketName string `json:"bucket_name,omitempty"` // Created datetime. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // // Unique identifier (ULID). ID string `json:"id,omitempty"` // If the channel is managed by HCP Packer (such as the latest channel). Managed bool `json:"managed,omitempty"` // Human-readable name for the channel. Name string `json:"name,omitempty"` // Whether this channel's access is restricted to users with write permission // in the HCP Packer registry. Restricted bool `json:"restricted,omitempty"` // Last updated datetime. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // Version the channel is pointing to. Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"` }
HashicorpCloudPacker20230101Channel hashicorp cloud packer 20230101 channel
swagger:model hashicorp.cloud.packer_20230101.Channel
func (*HashicorpCloudPacker20230101Channel) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Channel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 channel based on the context it is used
func (*HashicorpCloudPacker20230101Channel) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Channel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Channel) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Channel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ChannelAssignment ¶
type HashicorpCloudPacker20230101ChannelAssignment struct { // When the version assignment happened. // Format: date-time AssignedAt strfmt.DateTime `json:"assigned_at,omitempty"` // The user who assigned this version. AuthorID string `json:"author_id,omitempty"` // The assigned version. Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"` }
HashicorpCloudPacker20230101ChannelAssignment hashicorp cloud packer 20230101 channel assignment
swagger:model hashicorp.cloud.packer_20230101.ChannelAssignment
func (*HashicorpCloudPacker20230101ChannelAssignment) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ChannelAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 channel assignment based on the context it is used
func (*HashicorpCloudPacker20230101ChannelAssignment) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ChannelAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ChannelAssignment) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ChannelAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ChannelVersion ¶
type HashicorpCloudPacker20230101ChannelVersion struct { // The currently assigned version's build fingerprint. Fingerprint string `json:"fingerprint,omitempty"` // The currently assigned version's ULID. ID string `json:"id,omitempty"` // The currently assigned version's name. Name string `json:"name,omitempty"` }
HashicorpCloudPacker20230101ChannelVersion hashicorp cloud packer 20230101 channel version
swagger:model hashicorp.cloud.packer_20230101.ChannelVersion
func (*HashicorpCloudPacker20230101ChannelVersion) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ChannelVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 channel version based on context it is used
func (*HashicorpCloudPacker20230101ChannelVersion) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ChannelVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ChannelVersion) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ChannelVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101Child ¶
type HashicorpCloudPacker20230101Child struct { // The child bucket's name. BucketName string `json:"bucket_name,omitempty"` // The child version build fingerprint. VersionFingerprint string `json:"version_fingerprint,omitempty"` // The child version ULID. VersionID string `json:"version_id,omitempty"` // The child version name. VersionName string `json:"version_name,omitempty"` }
HashicorpCloudPacker20230101Child hashicorp cloud packer 20230101 child
swagger:model hashicorp.cloud.packer_20230101.Child
func (*HashicorpCloudPacker20230101Child) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Child) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 child based on context it is used
func (*HashicorpCloudPacker20230101Child) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Child) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Child) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Child) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateBucketBody ¶
type HashicorpCloudPacker20230101CreateBucketBody struct { // A short description of what this bucket's artifacts are for. Description string `json:"description,omitempty"` // A key:value map for custom, user-settable metadata about your bucket. Labels map[string]string `json:"labels,omitempty"` // Human-readable name for the bucket. Name string `json:"name,omitempty"` }
HashicorpCloudPacker20230101CreateBucketBody hashicorp cloud packer 20230101 create bucket body
swagger:model hashicorp.cloud.packer_20230101.CreateBucketBody
func (*HashicorpCloudPacker20230101CreateBucketBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 create bucket body based on context it is used
func (*HashicorpCloudPacker20230101CreateBucketBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBucketBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateBucketBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBucketBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateBucketResponse ¶
type HashicorpCloudPacker20230101CreateBucketResponse struct { // bucket Bucket *HashicorpCloudPacker20230101Bucket `json:"bucket,omitempty"` }
HashicorpCloudPacker20230101CreateBucketResponse === BUCKET ===
swagger:model hashicorp.cloud.packer_20230101.CreateBucketResponse
func (*HashicorpCloudPacker20230101CreateBucketResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create bucket response based on the context it is used
func (*HashicorpCloudPacker20230101CreateBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateBuildBody ¶
type HashicorpCloudPacker20230101CreateBuildBody struct { // List of artifacts associated with this build. Artifacts []*HashicorpCloudPacker20230101ArtifactCreateBody `json:"artifacts"` // 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"` // 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 was used to fetch the parent_version_id. // When the parent_channel_id is set, parent_version_id should also be set. ParentChannelID string `json:"parent_channel_id,omitempty"` // The ID of the parent version associated with the `source_external_identifier`. ParentVersionID string `json:"parent_version_id,omitempty"` // The platform that this build produced artifacts for. // For example, AWS, GCP, or Azure. Platform string `json:"platform,omitempty"` // The ID or URL of the remote cloud source artifact. Used for tracking artifact // dependencies for build pipelines. SourceExternalIdentifier string `json:"source_external_identifier,omitempty"` // Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED, // or UNSET. Status *HashicorpCloudPacker20230101BuildStatus `json:"status,omitempty"` }
HashicorpCloudPacker20230101CreateBuildBody 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_20230101.CreateBuildBody
func (*HashicorpCloudPacker20230101CreateBuildBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateBuildBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create build body based on the context it is used
func (*HashicorpCloudPacker20230101CreateBuildBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBuildBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateBuildBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBuildBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateBuildResponse ¶
type HashicorpCloudPacker20230101CreateBuildResponse struct { // build Build *HashicorpCloudPacker20230101Build `json:"build,omitempty"` }
HashicorpCloudPacker20230101CreateBuildResponse === BUILD & ARTIFACT ===
swagger:model hashicorp.cloud.packer_20230101.CreateBuildResponse
func (*HashicorpCloudPacker20230101CreateBuildResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create build response based on the context it is used
func (*HashicorpCloudPacker20230101CreateBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateChannelBody ¶
type HashicorpCloudPacker20230101CreateChannelBody struct { // Human-readable name for the channel. Name string `json:"name,omitempty"` // Whether this channel's access is restricted to users with write permission in the HCP Packer registry. Restricted bool `json:"restricted,omitempty"` // Fingerprint of the version. The fingerprint is set by Packer when you // call `packer build`. VersionFingerprint string `json:"version_fingerprint,omitempty"` }
HashicorpCloudPacker20230101CreateChannelBody hashicorp cloud packer 20230101 create channel body
swagger:model hashicorp.cloud.packer_20230101.CreateChannelBody
func (*HashicorpCloudPacker20230101CreateChannelBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateChannelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 create channel body based on context it is used
func (*HashicorpCloudPacker20230101CreateChannelBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateChannelBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateChannelBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateChannelBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateChannelResponse ¶
type HashicorpCloudPacker20230101CreateChannelResponse struct { // channel Channel *HashicorpCloudPacker20230101Channel `json:"channel,omitempty"` }
HashicorpCloudPacker20230101CreateChannelResponse === CHANNEL ===
swagger:model hashicorp.cloud.packer_20230101.CreateChannelResponse
func (*HashicorpCloudPacker20230101CreateChannelResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create channel response based on the context it is used
func (*HashicorpCloudPacker20230101CreateChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateRegistryBody ¶
type HashicorpCloudPacker20230101CreateRegistryBody struct { // feature tier FeatureTier *HashicorpCloudPacker20230101RegistryConfigTier `json:"feature_tier,omitempty"` }
HashicorpCloudPacker20230101CreateRegistryBody hashicorp cloud packer 20230101 create registry body
swagger:model hashicorp.cloud.packer_20230101.CreateRegistryBody
func (*HashicorpCloudPacker20230101CreateRegistryBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create registry body based on the context it is used
func (*HashicorpCloudPacker20230101CreateRegistryBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateRegistryBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateRegistryBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateRegistryBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateRegistryResponse ¶
type HashicorpCloudPacker20230101CreateRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPacker20230101Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20230101CreateRegistryResponse hashicorp cloud packer 20230101 create registry response
swagger:model hashicorp.cloud.packer_20230101.CreateRegistryResponse
func (*HashicorpCloudPacker20230101CreateRegistryResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create registry response based on the context it is used
func (*HashicorpCloudPacker20230101CreateRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateVersionBody ¶
type HashicorpCloudPacker20230101CreateVersionBody struct { // Fingerprint of the version set by Packer when you call `packer build`. // Refer to the Packer documentation for more information on how this value is set. // The fingerprint can be used as an identifier for the version. // A valid fingerprint is 1-40 characters long, begins and ends with a letter or number, // and contains only ASCII letters, numbers, hyphens, dots, and underscores. Fingerprint string `json:"fingerprint,omitempty"` // The type of Packer configuration template used to build this version. TemplateType *HashicorpCloudPacker20230101TemplateType `json:"template_type,omitempty"` }
HashicorpCloudPacker20230101CreateVersionBody hashicorp cloud packer 20230101 create version body
swagger:model hashicorp.cloud.packer_20230101.CreateVersionBody
func (*HashicorpCloudPacker20230101CreateVersionBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateVersionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create version body based on the context it is used
func (*HashicorpCloudPacker20230101CreateVersionBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateVersionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateVersionBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateVersionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101CreateVersionResponse ¶
type HashicorpCloudPacker20230101CreateVersionResponse struct { // version Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"` }
HashicorpCloudPacker20230101CreateVersionResponse === VERSION ===
swagger:model hashicorp.cloud.packer_20230101.CreateVersionResponse
func (*HashicorpCloudPacker20230101CreateVersionResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101CreateVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 create version response based on the context it is used
func (*HashicorpCloudPacker20230101CreateVersionResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101CreateVersionResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101CreateVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101DeleteBucketResponse ¶
type HashicorpCloudPacker20230101DeleteBucketResponse interface{}
HashicorpCloudPacker20230101DeleteBucketResponse hashicorp cloud packer 20230101 delete bucket response
swagger:model hashicorp.cloud.packer_20230101.DeleteBucketResponse
type HashicorpCloudPacker20230101DeleteBuildResponse ¶
type HashicorpCloudPacker20230101DeleteBuildResponse interface{}
HashicorpCloudPacker20230101DeleteBuildResponse hashicorp cloud packer 20230101 delete build response
swagger:model hashicorp.cloud.packer_20230101.DeleteBuildResponse
type HashicorpCloudPacker20230101DeleteChannelResponse ¶
type HashicorpCloudPacker20230101DeleteChannelResponse interface{}
HashicorpCloudPacker20230101DeleteChannelResponse hashicorp cloud packer 20230101 delete channel response
swagger:model hashicorp.cloud.packer_20230101.DeleteChannelResponse
type HashicorpCloudPacker20230101DeleteRegistryResponse ¶
type HashicorpCloudPacker20230101DeleteRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPacker20230101Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20230101DeleteRegistryResponse hashicorp cloud packer 20230101 delete registry response
swagger:model hashicorp.cloud.packer_20230101.DeleteRegistryResponse
func (*HashicorpCloudPacker20230101DeleteRegistryResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 delete registry response based on the context it is used
func (*HashicorpCloudPacker20230101DeleteRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101DeleteRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101DeleteRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101DeleteVersionResponse ¶
type HashicorpCloudPacker20230101DeleteVersionResponse interface{}
HashicorpCloudPacker20230101DeleteVersionResponse hashicorp cloud packer 20230101 delete version response
swagger:model hashicorp.cloud.packer_20230101.DeleteVersionResponse
type HashicorpCloudPacker20230101GetBucketResponse ¶
type HashicorpCloudPacker20230101GetBucketResponse struct { // bucket Bucket *HashicorpCloudPacker20230101Bucket `json:"bucket,omitempty"` }
HashicorpCloudPacker20230101GetBucketResponse hashicorp cloud packer 20230101 get bucket response
swagger:model hashicorp.cloud.packer_20230101.GetBucketResponse
func (*HashicorpCloudPacker20230101GetBucketResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101GetBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 get bucket response based on the context it is used
func (*HashicorpCloudPacker20230101GetBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101GetBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101GetBuildResponse ¶
type HashicorpCloudPacker20230101GetBuildResponse struct { // build Build *HashicorpCloudPacker20230101Build `json:"build,omitempty"` }
HashicorpCloudPacker20230101GetBuildResponse hashicorp cloud packer 20230101 get build response
swagger:model hashicorp.cloud.packer_20230101.GetBuildResponse
func (*HashicorpCloudPacker20230101GetBuildResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101GetBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 get build response based on the context it is used
func (*HashicorpCloudPacker20230101GetBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101GetBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101GetChannelResponse ¶
type HashicorpCloudPacker20230101GetChannelResponse struct { // channel Channel *HashicorpCloudPacker20230101Channel `json:"channel,omitempty"` }
HashicorpCloudPacker20230101GetChannelResponse hashicorp cloud packer 20230101 get channel response
swagger:model hashicorp.cloud.packer_20230101.GetChannelResponse
func (*HashicorpCloudPacker20230101GetChannelResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101GetChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 get channel response based on the context it is used
func (*HashicorpCloudPacker20230101GetChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101GetChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101GetRegistryResponse ¶
type HashicorpCloudPacker20230101GetRegistryResponse struct { // registry Registry *HashicorpCloudPacker20230101Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20230101GetRegistryResponse === REGISTRY ===
swagger:model hashicorp.cloud.packer_20230101.GetRegistryResponse
func (*HashicorpCloudPacker20230101GetRegistryResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101GetRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 get registry response based on the context it is used
func (*HashicorpCloudPacker20230101GetRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101GetRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse ¶
type HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse 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"` }
HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse hashicorp cloud packer 20230101 get registry t f c run task API response
swagger:model hashicorp.cloud.packer_20230101.GetRegistryTFCRunTaskAPIResponse
func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 get registry t f c run task API response based on context it is used
func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101GetVersionResponse ¶
type HashicorpCloudPacker20230101GetVersionResponse struct { // version Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"` }
HashicorpCloudPacker20230101GetVersionResponse hashicorp cloud packer 20230101 get version response
swagger:model hashicorp.cloud.packer_20230101.GetVersionResponse
func (*HashicorpCloudPacker20230101GetVersionResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101GetVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 get version response based on the context it is used
func (*HashicorpCloudPacker20230101GetVersionResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101GetVersionResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101GetVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ListBucketAncestryResponse ¶
type HashicorpCloudPacker20230101ListBucketAncestryResponse struct { // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // relations Relations []*HashicorpCloudPacker20230101BucketAncestry `json:"relations"` // The total number of ancestral relationships returned for the specified bucket. These can be parent or child artifacts. TotalCount int32 `json:"total_count,omitempty"` }
HashicorpCloudPacker20230101ListBucketAncestryResponse hashicorp cloud packer 20230101 list bucket ancestry response
swagger:model hashicorp.cloud.packer_20230101.ListBucketAncestryResponse
func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 list bucket ancestry response based on the context it is used
func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListBucketAncestryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ListBucketsResponse ¶
type HashicorpCloudPacker20230101ListBucketsResponse struct { // buckets Buckets []*HashicorpCloudPacker20230101Bucket `json:"buckets"` // Pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPacker20230101ListBucketsResponse hashicorp cloud packer 20230101 list buckets response
swagger:model hashicorp.cloud.packer_20230101.ListBucketsResponse
func (*HashicorpCloudPacker20230101ListBucketsResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ListBucketsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 list buckets response based on the context it is used
func (*HashicorpCloudPacker20230101ListBucketsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListBucketsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ListBucketsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListBucketsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ListBuildsResponse ¶
type HashicorpCloudPacker20230101ListBuildsResponse struct { // builds Builds []*HashicorpCloudPacker20230101Build `json:"builds"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Pagination tokens for a subsequent request. Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPacker20230101ListBuildsResponse hashicorp cloud packer 20230101 list builds response
swagger:model hashicorp.cloud.packer_20230101.ListBuildsResponse
func (*HashicorpCloudPacker20230101ListBuildsResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ListBuildsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 list builds response based on the context it is used
func (*HashicorpCloudPacker20230101ListBuildsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListBuildsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ListBuildsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListBuildsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse ¶
type HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse struct { // count Count int32 `json:"count,omitempty"` // history History []*HashicorpCloudPacker20230101ChannelAssignment `json:"history"` // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse hashicorp cloud packer 20230101 list channel assignment history response
swagger:model hashicorp.cloud.packer_20230101.ListChannelAssignmentHistoryResponse
func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 list channel assignment history response based on the context it is used
func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ListChannelsResponse ¶
type HashicorpCloudPacker20230101ListChannelsResponse struct { // channels Channels []*HashicorpCloudPacker20230101Channel `json:"channels"` }
HashicorpCloudPacker20230101ListChannelsResponse hashicorp cloud packer 20230101 list channels response
swagger:model hashicorp.cloud.packer_20230101.ListChannelsResponse
func (*HashicorpCloudPacker20230101ListChannelsResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ListChannelsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 list channels response based on the context it is used
func (*HashicorpCloudPacker20230101ListChannelsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListChannelsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ListChannelsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListChannelsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101ListVersionsResponse ¶
type HashicorpCloudPacker20230101ListVersionsResponse struct { // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` // versions Versions []*HashicorpCloudPacker20230101Version `json:"versions"` }
HashicorpCloudPacker20230101ListVersionsResponse hashicorp cloud packer 20230101 list versions response
swagger:model hashicorp.cloud.packer_20230101.ListVersionsResponse
func (*HashicorpCloudPacker20230101ListVersionsResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101ListVersionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 list versions response based on the context it is used
func (*HashicorpCloudPacker20230101ListVersionsResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListVersionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101ListVersionsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101ListVersionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101Parent ¶
type HashicorpCloudPacker20230101Parent struct { // The parent bucket name. BucketName string `json:"bucket_name,omitempty"` // The name of the channel associated with this relationship. ChannelName string `json:"channel_name,omitempty"` // The version currently assigned to the channel associated with the ancestry // relationship. ChannelVersion *HashicorpCloudPacker20230101ChannelVersion `json:"channel_version,omitempty"` // The parent version fingerprint. VersionFingerprint string `json:"version_fingerprint,omitempty"` // The parent version ULID. VersionID string `json:"version_id,omitempty"` // The parent version name. VersionName string `json:"version_name,omitempty"` }
HashicorpCloudPacker20230101Parent hashicorp cloud packer 20230101 parent
swagger:model hashicorp.cloud.packer_20230101.Parent
func (*HashicorpCloudPacker20230101Parent) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Parent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 parent based on the context it is used
func (*HashicorpCloudPacker20230101Parent) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Parent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Parent) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Parent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse ¶
type HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse 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"` }
HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse hashicorp cloud packer 20230101 regenerate t f c run task hmac key response
swagger:model hashicorp.cloud.packer_20230101.RegenerateTFCRunTaskHmacKeyResponse
func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 regenerate t f c run task hmac key response based on context it is used
func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101Registry ¶
type HashicorpCloudPacker20230101Registry struct { // config Config *HashicorpCloudPacker20230101RegistryConfig `json:"config,omitempty"` // Created datetime. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Unique identifier (ULID). ID string `json:"id,omitempty"` // location Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"` // Last updated datetime. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20230101Registry hashicorp cloud packer 20230101 registry
swagger:model hashicorp.cloud.packer_20230101.Registry
func (*HashicorpCloudPacker20230101Registry) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Registry) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 registry based on the context it is used
func (*HashicorpCloudPacker20230101Registry) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Registry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Registry) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Registry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101RegistryBillingDeprovision ¶
type HashicorpCloudPacker20230101RegistryBillingDeprovision struct { // Datetime when the registry was deactivated of billing. // Format: date-time At strfmt.DateTime `json:"at,omitempty"` // Reason for registry deactivation. Reason *HashicorpCloudPacker20230101RegistryBillingDeprovisionReason `json:"reason,omitempty"` }
HashicorpCloudPacker20230101RegistryBillingDeprovision hashicorp cloud packer 20230101 registry billing deprovision
swagger:model hashicorp.cloud.packer_20230101.RegistryBillingDeprovision
func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) ContextValidate ¶
func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 registry billing deprovision based on the context it is used
func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegistryBillingDeprovision) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101RegistryBillingDeprovisionReason ¶
type HashicorpCloudPacker20230101RegistryBillingDeprovisionReason string
HashicorpCloudPacker20230101RegistryBillingDeprovisionReason hashicorp cloud packer 20230101 registry billing deprovision reason
swagger:model hashicorp.cloud.packer_20230101.RegistryBillingDeprovision.Reason
const ( // HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT captures enum value "DELINQUENT_BILLING_ACCOUNT" HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT HashicorpCloudPacker20230101RegistryBillingDeprovisionReason = "DELINQUENT_BILLING_ACCOUNT" // HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonUSERREQUEST captures enum value "USER_REQUEST" HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonUSERREQUEST HashicorpCloudPacker20230101RegistryBillingDeprovisionReason = "USER_REQUEST" // HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonHASHIADMINREQUEST captures enum value "HASHI_ADMIN_REQUEST" HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonHASHIADMINREQUEST HashicorpCloudPacker20230101RegistryBillingDeprovisionReason = "HASHI_ADMIN_REQUEST" )
func NewHashicorpCloudPacker20230101RegistryBillingDeprovisionReason ¶
func NewHashicorpCloudPacker20230101RegistryBillingDeprovisionReason(value HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) *HashicorpCloudPacker20230101RegistryBillingDeprovisionReason
func (HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) ContextValidate ¶
func (m HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 registry billing deprovision reason based on context it is used
func (HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) Pointer ¶
func (m HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) Pointer() *HashicorpCloudPacker20230101RegistryBillingDeprovisionReason
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101RegistryBillingDeprovisionReason.
type HashicorpCloudPacker20230101RegistryConfig ¶
type HashicorpCloudPacker20230101RegistryConfig struct { // Current state of the registry. A registry is activated when the system // correctly starts billing for it. Activated bool `json:"activated,omitempty"` // Information about the billing deactivation. BillingDeprovision *HashicorpCloudPacker20230101RegistryBillingDeprovision `json:"billing_deprovision,omitempty"` // Feature tier for the registry. FeatureTier *HashicorpCloudPacker20230101RegistryConfigTier `json:"feature_tier,omitempty"` // Required configuration to run TFC run tasks for validation against this // registry. TfcRunTaskConfig *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig `json:"tfc_run_task_config,omitempty"` }
HashicorpCloudPacker20230101RegistryConfig The HCP Packer Registry configuration.
swagger:model hashicorp.cloud.packer_20230101.RegistryConfig
func (*HashicorpCloudPacker20230101RegistryConfig) ContextValidate ¶
func (m *HashicorpCloudPacker20230101RegistryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 registry config based on the context it is used
func (*HashicorpCloudPacker20230101RegistryConfig) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegistryConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101RegistryConfig) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegistryConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101RegistryConfigTier ¶
type HashicorpCloudPacker20230101RegistryConfigTier string
HashicorpCloudPacker20230101RegistryConfigTier hashicorp cloud packer 20230101 registry config tier
swagger:model hashicorp.cloud.packer_20230101.RegistryConfig.Tier
const ( // HashicorpCloudPacker20230101RegistryConfigTierUNSET captures enum value "UNSET" HashicorpCloudPacker20230101RegistryConfigTierUNSET HashicorpCloudPacker20230101RegistryConfigTier = "UNSET" // HashicorpCloudPacker20230101RegistryConfigTierSTANDARD captures enum value "STANDARD" HashicorpCloudPacker20230101RegistryConfigTierSTANDARD HashicorpCloudPacker20230101RegistryConfigTier = "STANDARD" // HashicorpCloudPacker20230101RegistryConfigTierPLUS captures enum value "PLUS" HashicorpCloudPacker20230101RegistryConfigTierPLUS HashicorpCloudPacker20230101RegistryConfigTier = "PLUS" )
func NewHashicorpCloudPacker20230101RegistryConfigTier ¶
func NewHashicorpCloudPacker20230101RegistryConfigTier(value HashicorpCloudPacker20230101RegistryConfigTier) *HashicorpCloudPacker20230101RegistryConfigTier
func (HashicorpCloudPacker20230101RegistryConfigTier) ContextValidate ¶
func (m HashicorpCloudPacker20230101RegistryConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 registry config tier based on context it is used
func (HashicorpCloudPacker20230101RegistryConfigTier) Pointer ¶
func (m HashicorpCloudPacker20230101RegistryConfigTier) Pointer() *HashicorpCloudPacker20230101RegistryConfigTier
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101RegistryConfigTier.
type HashicorpCloudPacker20230101RegistryTFCRunTaskConfig ¶
type HashicorpCloudPacker20230101RegistryTFCRunTaskConfig 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"` }
HashicorpCloudPacker20230101RegistryTFCRunTaskConfig hashicorp cloud packer 20230101 registry t f c run task config
swagger:model hashicorp.cloud.packer_20230101.RegistryTFCRunTaskConfig
func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) ContextValidate ¶
func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 registry t f c run task config based on context it is used
func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101RevocationType ¶
type HashicorpCloudPacker20230101RevocationType string
HashicorpCloudPacker20230101RevocationType - MANUAL: This version was revoked manually.
- INHERITED: This version inherited a revocation from an upstream ancestor and was revoked automatically.
swagger:model hashicorp.cloud.packer_20230101.RevocationType
const ( // HashicorpCloudPacker20230101RevocationTypeREVOCATIONTYPEUNSET captures enum value "REVOCATION_TYPE_UNSET" HashicorpCloudPacker20230101RevocationTypeREVOCATIONTYPEUNSET HashicorpCloudPacker20230101RevocationType = "REVOCATION_TYPE_UNSET" // HashicorpCloudPacker20230101RevocationTypeMANUAL captures enum value "MANUAL" HashicorpCloudPacker20230101RevocationTypeMANUAL HashicorpCloudPacker20230101RevocationType = "MANUAL" // HashicorpCloudPacker20230101RevocationTypeINHERITED captures enum value "INHERITED" HashicorpCloudPacker20230101RevocationTypeINHERITED HashicorpCloudPacker20230101RevocationType = "INHERITED" )
func NewHashicorpCloudPacker20230101RevocationType ¶
func NewHashicorpCloudPacker20230101RevocationType(value HashicorpCloudPacker20230101RevocationType) *HashicorpCloudPacker20230101RevocationType
func (HashicorpCloudPacker20230101RevocationType) ContextValidate ¶
func (m HashicorpCloudPacker20230101RevocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 revocation type based on context it is used
func (HashicorpCloudPacker20230101RevocationType) Pointer ¶
func (m HashicorpCloudPacker20230101RevocationType) Pointer() *HashicorpCloudPacker20230101RevocationType
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101RevocationType.
type HashicorpCloudPacker20230101RevokedAncestor ¶
type HashicorpCloudPacker20230101RevokedAncestor struct { // The revoked ancestor bucket name. BucketName string `json:"bucket_name,omitempty"` // The URL to get the revoked ancestor. Href string `json:"href,omitempty"` // The revoked ancestor version fingerprint. VersionFingerprint string `json:"version_fingerprint,omitempty"` // The revoked ancestor version ULID. VersionID string `json:"version_id,omitempty"` // The revoked ancestor version name. VersionName string `json:"version_name,omitempty"` }
HashicorpCloudPacker20230101RevokedAncestor hashicorp cloud packer 20230101 revoked ancestor
swagger:model hashicorp.cloud.packer_20230101.RevokedAncestor
func (*HashicorpCloudPacker20230101RevokedAncestor) ContextValidate ¶
func (m *HashicorpCloudPacker20230101RevokedAncestor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 revoked ancestor based on context it is used
func (*HashicorpCloudPacker20230101RevokedAncestor) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101RevokedAncestor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101RevokedAncestor) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101RevokedAncestor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse ¶
type HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse interface{}
HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse === MISC ===
swagger:model hashicorp.cloud.packer_20230101.TFCArtifactValidationRunTaskResponse
type HashicorpCloudPacker20230101TemplateType ¶
type HashicorpCloudPacker20230101TemplateType string
HashicorpCloudPacker20230101TemplateType - 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_20230101.TemplateType
const ( // HashicorpCloudPacker20230101TemplateTypeTEMPLATETYPEUNSET captures enum value "TEMPLATE_TYPE_UNSET" HashicorpCloudPacker20230101TemplateTypeTEMPLATETYPEUNSET HashicorpCloudPacker20230101TemplateType = "TEMPLATE_TYPE_UNSET" // HashicorpCloudPacker20230101TemplateTypeHCL2 captures enum value "HCL2" HashicorpCloudPacker20230101TemplateTypeHCL2 HashicorpCloudPacker20230101TemplateType = "HCL2" // HashicorpCloudPacker20230101TemplateTypeJSON captures enum value "JSON" HashicorpCloudPacker20230101TemplateTypeJSON HashicorpCloudPacker20230101TemplateType = "JSON" )
func NewHashicorpCloudPacker20230101TemplateType ¶
func NewHashicorpCloudPacker20230101TemplateType(value HashicorpCloudPacker20230101TemplateType) *HashicorpCloudPacker20230101TemplateType
func (HashicorpCloudPacker20230101TemplateType) ContextValidate ¶
func (m HashicorpCloudPacker20230101TemplateType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 template type based on context it is used
func (HashicorpCloudPacker20230101TemplateType) Pointer ¶
func (m HashicorpCloudPacker20230101TemplateType) Pointer() *HashicorpCloudPacker20230101TemplateType
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101TemplateType.
type HashicorpCloudPacker20230101UpdateBucketBody ¶
type HashicorpCloudPacker20230101UpdateBucketBody struct { // A short description of what this bucket's artifacts are for. Description string `json:"description,omitempty"` // A key:value map for custom, user-settable metadata about your bucket. Labels map[string]string `json:"labels,omitempty"` // A list of the cloud providers or other platforms that are included in the // latest completed version. e.g aws, gcp, or azure. Platforms []string `json:"platforms"` }
HashicorpCloudPacker20230101UpdateBucketBody hashicorp cloud packer 20230101 update bucket body
swagger:model hashicorp.cloud.packer_20230101.UpdateBucketBody
func (*HashicorpCloudPacker20230101UpdateBucketBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateBucketBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 update bucket body based on context it is used
func (*HashicorpCloudPacker20230101UpdateBucketBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBucketBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateBucketBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBucketBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateBucketResponse ¶
type HashicorpCloudPacker20230101UpdateBucketResponse struct { // bucket Bucket *HashicorpCloudPacker20230101Bucket `json:"bucket,omitempty"` }
HashicorpCloudPacker20230101UpdateBucketResponse hashicorp cloud packer 20230101 update bucket response
swagger:model hashicorp.cloud.packer_20230101.UpdateBucketResponse
func (*HashicorpCloudPacker20230101UpdateBucketResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateBucketResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update bucket response based on the context it is used
func (*HashicorpCloudPacker20230101UpdateBucketResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBucketResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateBucketResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBucketResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateBuildBody ¶
type HashicorpCloudPacker20230101UpdateBuildBody struct { // A list of artifacts to create and associate with this build. Artifacts []*HashicorpCloudPacker20230101ArtifactCreateBody `json:"artifacts"` // A key:value map for custom, user-settable metadata about your build. Labels map[string]string `json:"labels,omitempty"` // Additional information set by Packer about a build, such as plugins used. Metadata *HashicorpCloudPacker20230101BuildMetadata `json:"metadata,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 was used to fetch the parent_version_id. // When the parent_channel_id is set, parent_version_id should also be set. ParentChannelID string `json:"parent_channel_id,omitempty"` // The ID of the parent version associated with the `source_external_identifier`. ParentVersionID string `json:"parent_version_id,omitempty"` // The platform that this build produced artifacts for. // For example, AWS, GCP, or Azure. Platform string `json:"platform,omitempty"` // The ID or URL of the remote cloud source artifact. Used for tracking artifact // dependencies for build pipelines. SourceExternalIdentifier string `json:"source_external_identifier,omitempty"` // Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED, // or UNSET. Status *HashicorpCloudPacker20230101BuildStatus `json:"status,omitempty"` }
HashicorpCloudPacker20230101UpdateBuildBody hashicorp cloud packer 20230101 update build body
swagger:model hashicorp.cloud.packer_20230101.UpdateBuildBody
func (*HashicorpCloudPacker20230101UpdateBuildBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateBuildBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update build body based on the context it is used
func (*HashicorpCloudPacker20230101UpdateBuildBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBuildBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateBuildBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBuildBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateBuildResponse ¶
type HashicorpCloudPacker20230101UpdateBuildResponse struct { // build Build *HashicorpCloudPacker20230101Build `json:"build,omitempty"` }
HashicorpCloudPacker20230101UpdateBuildResponse hashicorp cloud packer 20230101 update build response
swagger:model hashicorp.cloud.packer_20230101.UpdateBuildResponse
func (*HashicorpCloudPacker20230101UpdateBuildResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateBuildResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update build response based on the context it is used
func (*HashicorpCloudPacker20230101UpdateBuildResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBuildResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateBuildResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateBuildResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateChannelBody ¶
type HashicorpCloudPacker20230101UpdateChannelBody struct { // Whether this channel's access is restricted to users with write permission in the HCP Packer registry. Restricted bool `json:"restricted,omitempty"` // The required mask of fields to update. Fields name are converted lower-camel naming conventions. // // Example of usage: // * "versionFingerprint,restricted" will update both assigned version and channel restriction. // * "versionFingerprint" will only update the assigned version. // * "restricted" will only update the channel restriction. UpdateMask string `json:"update_mask,omitempty"` // Fingerprint of the version. The fingerprint is set by Packer when you // call `packer build`. VersionFingerprint string `json:"version_fingerprint,omitempty"` }
HashicorpCloudPacker20230101UpdateChannelBody hashicorp cloud packer 20230101 update channel body
swagger:model hashicorp.cloud.packer_20230101.UpdateChannelBody
func (*HashicorpCloudPacker20230101UpdateChannelBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateChannelBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 update channel body based on context it is used
func (*HashicorpCloudPacker20230101UpdateChannelBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateChannelBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateChannelBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateChannelBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateChannelResponse ¶
type HashicorpCloudPacker20230101UpdateChannelResponse struct { // channel Channel *HashicorpCloudPacker20230101Channel `json:"channel,omitempty"` }
HashicorpCloudPacker20230101UpdateChannelResponse hashicorp cloud packer 20230101 update channel response
swagger:model hashicorp.cloud.packer_20230101.UpdateChannelResponse
func (*HashicorpCloudPacker20230101UpdateChannelResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateChannelResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update channel response based on the context it is used
func (*HashicorpCloudPacker20230101UpdateChannelResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateChannelResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateChannelResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateChannelResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateRegistryBody ¶
type HashicorpCloudPacker20230101UpdateRegistryBody struct { // activated Activated bool `json:"activated,omitempty"` // feature tier FeatureTier *HashicorpCloudPacker20230101RegistryConfigTier `json:"feature_tier,omitempty"` // To enable `Activated` field use `update_mask`. Send `["config.activated",]` if you want to activate or deactivate the // registry. If given `[]`, we will ignore `activated` entirely. UpdateMask string `json:"update_mask,omitempty"` }
HashicorpCloudPacker20230101UpdateRegistryBody hashicorp cloud packer 20230101 update registry body
swagger:model hashicorp.cloud.packer_20230101.UpdateRegistryBody
func (*HashicorpCloudPacker20230101UpdateRegistryBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateRegistryBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update registry body based on the context it is used
func (*HashicorpCloudPacker20230101UpdateRegistryBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateRegistryBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateRegistryBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateRegistryBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateRegistryResponse ¶
type HashicorpCloudPacker20230101UpdateRegistryResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // registry Registry *HashicorpCloudPacker20230101Registry `json:"registry,omitempty"` }
HashicorpCloudPacker20230101UpdateRegistryResponse hashicorp cloud packer 20230101 update registry response
swagger:model hashicorp.cloud.packer_20230101.UpdateRegistryResponse
func (*HashicorpCloudPacker20230101UpdateRegistryResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update registry response based on the context it is used
func (*HashicorpCloudPacker20230101UpdateRegistryResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateRegistryResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateRegistryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateVersionBody ¶
type HashicorpCloudPacker20230101UpdateVersionBody struct { // Set to "true" when all builds associated with this version have // successfully completed and uploaded metadata to the registry. When // "complete" is true, this version is considered ready to use, and can // have channels assigned to it. Complete bool `json:"complete,omitempty"` // When set to true, any user created channels will not be rolled back to the // last valid version they were assigned to. DisableRollbackChannels bool `json:"disable_rollback_channels,omitempty"` // When set to true, will make a previously revoked version valid again. Restore bool `json:"restore,omitempty"` // Optional field to provide the reason for why this version is being revoked. RevocationMessage string `json:"revocation_message,omitempty"` // revoke_at accepts strings in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) // format to represent the revocation timestamp. To instantly revoke the // version, provide the current timestamp. // The revoke_at timestamp will always be recorded in // UTC (Coordinated Universal Time). // This option is equivalent to the 'revoke_in' option and therefore only // one of them should be set when updating the version. // Format: date-time RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"` // revoke_in accepts a signed sequence of decimal numbers with a unit suffix // to represent the duration to the revocation date, such as '30d' or '2h45m'. // Valid time units are 's', 'm', 'h', and 'd' as for seconds, minutes, hours, // and days. // To instantly revoke the version, provide the duration of zero seconds // ("0s"). // The revoke_in duration will be used to calculate the version revocation // timestamp, which will be recorded as UTC (Coordinated Universal Time). // This option is equivalent to the 'revoke_at' option and therefore only one // of them should be set when updating the version. RevokeIn string `json:"revoke_in,omitempty"` // When set to true, the version's descendants won't inherit its revocation // status. SkipDescendantsRevocation bool `json:"skip_descendants_revocation,omitempty"` }
HashicorpCloudPacker20230101UpdateVersionBody hashicorp cloud packer 20230101 update version body
swagger:model hashicorp.cloud.packer_20230101.UpdateVersionBody
func (*HashicorpCloudPacker20230101UpdateVersionBody) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateVersionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 update version body based on context it is used
func (*HashicorpCloudPacker20230101UpdateVersionBody) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateVersionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateVersionBody) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateVersionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101UpdateVersionResponse ¶
type HashicorpCloudPacker20230101UpdateVersionResponse struct { // operation Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"` // version Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"` }
HashicorpCloudPacker20230101UpdateVersionResponse hashicorp cloud packer 20230101 update version response
swagger:model hashicorp.cloud.packer_20230101.UpdateVersionResponse
func (*HashicorpCloudPacker20230101UpdateVersionResponse) ContextValidate ¶
func (m *HashicorpCloudPacker20230101UpdateVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 update version response based on the context it is used
func (*HashicorpCloudPacker20230101UpdateVersionResponse) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101UpdateVersionResponse) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101UpdateVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101Version ¶
type HashicorpCloudPacker20230101Version struct { // Name of the author who created this version. AuthorID string `json:"author_id,omitempty"` // Human-readable name for the bucket that this version is associated with. BucketName string `json:"bucket_name,omitempty"` // List of all the builds associated with this version. Builds []*HashicorpCloudPacker20230101Build `json:"builds"` // Created datetime. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // Fingerprint of the version. The fingerprint is set by Packer when you // call `packer build`. Fingerprint string `json:"fingerprint,omitempty"` // If true, this version has children versions. Knowing if a version has // descendants can help taking decisions such as persist revocation to all // its descendants or not. HasDescendants bool `json:"has_descendants,omitempty"` // Unique identifier (ULID). ID string `json:"id,omitempty"` // Human-readable name of the version. Name string `json:"name,omitempty"` // Information about this version's parents. Parents are the base artifact. Parents *HashicorpCloudPacker20230101VersionParents `json:"parents,omitempty"` // Who revoked this version. 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"` // Ancestor version from whom this version inherited the revocation. RevocationInheritedFrom *HashicorpCloudPacker20230101RevokedAncestor `json:"revocation_inherited_from,omitempty"` // Short explanation of why this version was revoked. RevocationMessage string `json:"revocation_message,omitempty"` // Revocation type is 'manual' when the version is revoked directly or // 'inherited' when the version inherits a revocation from an upstream // ancestor. RevocationType *HashicorpCloudPacker20230101RevocationType `json:"revocation_type,omitempty"` // Datetime from when the version is revoked an no longer trusted to be secure. // Format: date-time RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"` // Current state of the version. Status *HashicorpCloudPacker20230101VersionStatus `json:"status,omitempty"` // The type of Packer configuration template used to build this version. TemplateType *HashicorpCloudPacker20230101TemplateType `json:"template_type,omitempty"` // Last updated datetime. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudPacker20230101Version hashicorp cloud packer 20230101 version
swagger:model hashicorp.cloud.packer_20230101.Version
func (*HashicorpCloudPacker20230101Version) ContextValidate ¶
func (m *HashicorpCloudPacker20230101Version) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 version based on the context it is used
func (*HashicorpCloudPacker20230101Version) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101Version) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101Version) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101Version) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101VersionParents ¶
type HashicorpCloudPacker20230101VersionParents struct { // The endpoint URL for the bucket's ancestry at this version. Href string `json:"href,omitempty"` // The parents' overall status for the bucket's ancestry at this version. // If at least one parent is out of date, the overall status will be 'OUT_OF_DATE'. Status *HashicorpCloudPacker20230101AncestryStatus `json:"status,omitempty"` }
HashicorpCloudPacker20230101VersionParents hashicorp cloud packer 20230101 version parents
swagger:model hashicorp.cloud.packer_20230101.VersionParents
func (*HashicorpCloudPacker20230101VersionParents) ContextValidate ¶
func (m *HashicorpCloudPacker20230101VersionParents) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud packer 20230101 version parents based on the context it is used
func (*HashicorpCloudPacker20230101VersionParents) MarshalBinary ¶
func (m *HashicorpCloudPacker20230101VersionParents) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudPacker20230101VersionParents) UnmarshalBinary ¶
func (m *HashicorpCloudPacker20230101VersionParents) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudPacker20230101VersionStatus ¶
type HashicorpCloudPacker20230101VersionStatus string
HashicorpCloudPacker20230101VersionStatus - VERSION_UNSET: UNSET is a sentinel zero value so that an uninitialized value can be detected.
- VERSION_RUNNING: Running means the `packer build` is currently running in the version.
- VERSION_CANCELLED: Cancelled means the `packer build` was cancelled by a user.
- VERSION_FAILED: Failed means the `packer build` failed and therefore artifact creation failed.
- VERSION_REVOKED: Revoked means the version has been revoked.
- VERSION_REVOCATION_SCHEDULED: Revocation scheduled means the version has been scheduled to be revoked.
- VERSION_ACTIVE: Active means the version is valid and ready to be used.
- VERSION_INCOMPLETE: Incomplete means the version has one or more builds that didn't run and the status is UNSET.
swagger:model hashicorp.cloud.packer_20230101.VersionStatus
const ( // HashicorpCloudPacker20230101VersionStatusVERSIONUNSET captures enum value "VERSION_UNSET" HashicorpCloudPacker20230101VersionStatusVERSIONUNSET HashicorpCloudPacker20230101VersionStatus = "VERSION_UNSET" // HashicorpCloudPacker20230101VersionStatusVERSIONRUNNING captures enum value "VERSION_RUNNING" HashicorpCloudPacker20230101VersionStatusVERSIONRUNNING HashicorpCloudPacker20230101VersionStatus = "VERSION_RUNNING" // HashicorpCloudPacker20230101VersionStatusVERSIONCANCELLED captures enum value "VERSION_CANCELLED" HashicorpCloudPacker20230101VersionStatusVERSIONCANCELLED HashicorpCloudPacker20230101VersionStatus = "VERSION_CANCELLED" // HashicorpCloudPacker20230101VersionStatusVERSIONFAILED captures enum value "VERSION_FAILED" HashicorpCloudPacker20230101VersionStatusVERSIONFAILED HashicorpCloudPacker20230101VersionStatus = "VERSION_FAILED" // HashicorpCloudPacker20230101VersionStatusVERSIONREVOKED captures enum value "VERSION_REVOKED" HashicorpCloudPacker20230101VersionStatusVERSIONREVOKED HashicorpCloudPacker20230101VersionStatus = "VERSION_REVOKED" // HashicorpCloudPacker20230101VersionStatusVERSIONREVOCATIONSCHEDULED captures enum value "VERSION_REVOCATION_SCHEDULED" HashicorpCloudPacker20230101VersionStatusVERSIONREVOCATIONSCHEDULED HashicorpCloudPacker20230101VersionStatus = "VERSION_REVOCATION_SCHEDULED" // HashicorpCloudPacker20230101VersionStatusVERSIONACTIVE captures enum value "VERSION_ACTIVE" HashicorpCloudPacker20230101VersionStatusVERSIONACTIVE HashicorpCloudPacker20230101VersionStatus = "VERSION_ACTIVE" // HashicorpCloudPacker20230101VersionStatusVERSIONINCOMPLETE captures enum value "VERSION_INCOMPLETE" HashicorpCloudPacker20230101VersionStatusVERSIONINCOMPLETE HashicorpCloudPacker20230101VersionStatus = "VERSION_INCOMPLETE" )
func NewHashicorpCloudPacker20230101VersionStatus ¶
func NewHashicorpCloudPacker20230101VersionStatus(value HashicorpCloudPacker20230101VersionStatus) *HashicorpCloudPacker20230101VersionStatus
func (HashicorpCloudPacker20230101VersionStatus) ContextValidate ¶
func (m HashicorpCloudPacker20230101VersionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud packer 20230101 version status based on context it is used
func (HashicorpCloudPacker20230101VersionStatus) Pointer ¶
func (m HashicorpCloudPacker20230101VersionStatus) Pointer() *HashicorpCloudPacker20230101VersionStatus
Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101VersionStatus.
Source Files ¶
- hashicorp_cloud_packer20230101_ancestry_status.go
- hashicorp_cloud_packer20230101_artifact.go
- hashicorp_cloud_packer20230101_artifact_create_body.go
- hashicorp_cloud_packer20230101_bucket.go
- hashicorp_cloud_packer20230101_bucket_ancestry.go
- hashicorp_cloud_packer20230101_bucket_ancestry_type.go
- hashicorp_cloud_packer20230101_bucket_children.go
- hashicorp_cloud_packer20230101_bucket_parents.go
- hashicorp_cloud_packer20230101_build.go
- hashicorp_cloud_packer20230101_build_metadata.go
- hashicorp_cloud_packer20230101_build_status.go
- hashicorp_cloud_packer20230101_channel.go
- hashicorp_cloud_packer20230101_channel_assignment.go
- hashicorp_cloud_packer20230101_channel_version.go
- hashicorp_cloud_packer20230101_child.go
- hashicorp_cloud_packer20230101_create_bucket_body.go
- hashicorp_cloud_packer20230101_create_bucket_response.go
- hashicorp_cloud_packer20230101_create_build_body.go
- hashicorp_cloud_packer20230101_create_build_response.go
- hashicorp_cloud_packer20230101_create_channel_body.go
- hashicorp_cloud_packer20230101_create_channel_response.go
- hashicorp_cloud_packer20230101_create_registry_body.go
- hashicorp_cloud_packer20230101_create_registry_response.go
- hashicorp_cloud_packer20230101_create_version_body.go
- hashicorp_cloud_packer20230101_create_version_response.go
- hashicorp_cloud_packer20230101_delete_bucket_response.go
- hashicorp_cloud_packer20230101_delete_build_response.go
- hashicorp_cloud_packer20230101_delete_channel_response.go
- hashicorp_cloud_packer20230101_delete_registry_response.go
- hashicorp_cloud_packer20230101_delete_version_response.go
- hashicorp_cloud_packer20230101_get_bucket_response.go
- hashicorp_cloud_packer20230101_get_build_response.go
- hashicorp_cloud_packer20230101_get_channel_response.go
- hashicorp_cloud_packer20230101_get_registry_response.go
- hashicorp_cloud_packer20230101_get_registry_t_f_c_run_task_api_response.go
- hashicorp_cloud_packer20230101_get_version_response.go
- hashicorp_cloud_packer20230101_list_bucket_ancestry_response.go
- hashicorp_cloud_packer20230101_list_buckets_response.go
- hashicorp_cloud_packer20230101_list_builds_response.go
- hashicorp_cloud_packer20230101_list_channel_assignment_history_response.go
- hashicorp_cloud_packer20230101_list_channels_response.go
- hashicorp_cloud_packer20230101_list_versions_response.go
- hashicorp_cloud_packer20230101_parent.go
- hashicorp_cloud_packer20230101_regenerate_t_f_c_run_task_hmac_key_response.go
- hashicorp_cloud_packer20230101_registry.go
- hashicorp_cloud_packer20230101_registry_billing_deprovision.go
- hashicorp_cloud_packer20230101_registry_billing_deprovision_reason.go
- hashicorp_cloud_packer20230101_registry_config.go
- hashicorp_cloud_packer20230101_registry_config_tier.go
- hashicorp_cloud_packer20230101_registry_t_f_c_run_task_config.go
- hashicorp_cloud_packer20230101_revocation_type.go
- hashicorp_cloud_packer20230101_revoked_ancestor.go
- hashicorp_cloud_packer20230101_t_f_c_artifact_validation_run_task_response.go
- hashicorp_cloud_packer20230101_template_type.go
- hashicorp_cloud_packer20230101_update_bucket_body.go
- hashicorp_cloud_packer20230101_update_bucket_response.go
- hashicorp_cloud_packer20230101_update_build_body.go
- hashicorp_cloud_packer20230101_update_build_response.go
- hashicorp_cloud_packer20230101_update_channel_body.go
- hashicorp_cloud_packer20230101_update_channel_response.go
- hashicorp_cloud_packer20230101_update_registry_body.go
- hashicorp_cloud_packer20230101_update_registry_response.go
- hashicorp_cloud_packer20230101_update_version_body.go
- hashicorp_cloud_packer20230101_update_version_response.go
- hashicorp_cloud_packer20230101_version.go
- hashicorp_cloud_packer20230101_version_parents.go
- hashicorp_cloud_packer20230101_version_status.go