models

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudPacker20220411Bucket

type HashicorpCloudPacker20220411Bucket struct {

	// Information about this image bucket's children. Children are image buckets that used any iteration of this bucket
	// as the base image for their latest complete iteration.
	Children *HashicorpCloudPacker20220411BucketChildren `json:"children,omitempty"`

	// When the bucket was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// A short description of what this bucket's images are for.
	Description string `json:"description,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the bucket.
	ID string `json:"id,omitempty"`

	// The total number of iterations in this bucket.
	IterationCount string `json:"iteration_count,omitempty"`

	// A key:value map for custom, user-settable metadata about your bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// The bucket's most recent iteration. This iteration may be complete or not.
	LatestIteration *HashicorpCloudPacker20220411BucketLatestIteration `json:"latest_iteration,omitempty"`

	// The human-readable version of the most recent completed iteration in this bucket.
	LatestVersion int32 `json:"latest_version,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Information about this image bucket's parents. Parents are the base images Packer used to build the latest complete iteration
	// in this image bucket.
	Parents *HashicorpCloudPacker20220411BucketParents `json:"parents,omitempty"`

	// A list of the cloud providers or other platforms that are included in the latest complete iteration. e.g aws, gcp, or azure.
	Platforms []string `json:"platforms"`

	// Human-readable name for the bucket.
	Slug string `json:"slug,omitempty"`

	// When the bucket was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411Bucket hashicorp cloud packer 20220411 bucket

swagger:model hashicorp.cloud.packer_20220411.Bucket

func (*HashicorpCloudPacker20220411Bucket) ContextValidate added in v0.23.0

func (m *HashicorpCloudPacker20220411Bucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud packer 20220411 bucket based on the context it is used

func (*HashicorpCloudPacker20220411Bucket) MarshalBinary

func (m *HashicorpCloudPacker20220411Bucket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Bucket) UnmarshalBinary

func (m *HashicorpCloudPacker20220411Bucket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Bucket) Validate

Validate validates this hashicorp cloud packer 20220411 bucket

type HashicorpCloudPacker20220411BucketAncestry

type HashicorpCloudPacker20220411BucketAncestry struct {

	// The child image bucket and the iteration in that image bucket that relates to the parent.
	Child *HashicorpCloudPacker20220411BucketAncestryChild `json:"child,omitempty"`

	// The parent image bucket and iteration that relates to the child image bucket's latest iteration.
	Parent *HashicorpCloudPacker20220411BucketAncestryParent `json:"parent,omitempty"`

	// The status of the relationship between the parent and child buckets.
	Status *HashicorpCloudPacker20220411BucketAncestryStatus `json:"status,omitempty"`
}

HashicorpCloudPacker20220411BucketAncestry The parent-child relationship between two image buckets.

swagger:model hashicorp.cloud.packer_20220411.BucketAncestry

func (*HashicorpCloudPacker20220411BucketAncestry) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 bucket ancestry based on the context it is used

func (*HashicorpCloudPacker20220411BucketAncestry) MarshalBinary

func (m *HashicorpCloudPacker20220411BucketAncestry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestry) UnmarshalBinary

func (m *HashicorpCloudPacker20220411BucketAncestry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestry) Validate

Validate validates this hashicorp cloud packer 20220411 bucket ancestry

type HashicorpCloudPacker20220411BucketAncestryChild

type HashicorpCloudPacker20220411BucketAncestryChild struct {

	// The child image bucket's slug.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// The child iteration's build fingerprint.
	IterationFingerprint string `json:"iteration_fingerprint,omitempty"`

	// The child iteration's ULID.
	IterationID string `json:"iteration_id,omitempty"`

	// The child iteration's incremental version.
	IterationIncrementalVersion int32 `json:"iteration_incremental_version,omitempty"`
}

HashicorpCloudPacker20220411BucketAncestryChild hashicorp cloud packer 20220411 bucket ancestry child

swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Child

func (*HashicorpCloudPacker20220411BucketAncestryChild) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 bucket ancestry child based on context it is used

func (*HashicorpCloudPacker20220411BucketAncestryChild) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestryChild) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestryChild) Validate

Validate validates this hashicorp cloud packer 20220411 bucket ancestry child

type HashicorpCloudPacker20220411BucketAncestryParent

type HashicorpCloudPacker20220411BucketAncestryParent struct {

	// The parent bucket slug.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// The image channel associated with this relationship.
	Channel string `json:"channel,omitempty"`

	// The iteration currently assigned to the channel associated with the ancestry relationship.
	ChannelIteration *HashicorpCloudPacker20220411BucketAncestryParentChannelIteration `json:"channel_iteration,omitempty"`

	// The parent iteration fingerprint.
	IterationFingerprint string `json:"iteration_fingerprint,omitempty"`

	// The parent iteration ULID.
	IterationID string `json:"iteration_id,omitempty"`

	// The parent iteration incremental version.
	IterationIncrementalVersion int32 `json:"iteration_incremental_version,omitempty"`
}

HashicorpCloudPacker20220411BucketAncestryParent hashicorp cloud packer 20220411 bucket ancestry parent

swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Parent

func (*HashicorpCloudPacker20220411BucketAncestryParent) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 bucket ancestry parent based on the context it is used

func (*HashicorpCloudPacker20220411BucketAncestryParent) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestryParent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestryParent) Validate

Validate validates this hashicorp cloud packer 20220411 bucket ancestry parent

type HashicorpCloudPacker20220411BucketAncestryParentChannelIteration

type HashicorpCloudPacker20220411BucketAncestryParentChannelIteration struct {

	// The currently assigned iteration's build fingerprint.
	Fingerprint string `json:"fingerprint,omitempty"`

	// The currently assigned iteration's ULID.
	ID string `json:"id,omitempty"`

	// The currently assigned iteration's incremental version.
	IncrementalVersion int32 `json:"incremental_version,omitempty"`
}

HashicorpCloudPacker20220411BucketAncestryParentChannelIteration hashicorp cloud packer 20220411 bucket ancestry parent channel iteration

swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Parent.ChannelIteration

func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 bucket ancestry parent channel iteration based on context it is used

func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketAncestryParentChannelIteration) Validate

Validate validates this hashicorp cloud packer 20220411 bucket ancestry parent channel iteration

type HashicorpCloudPacker20220411BucketAncestryStatus

type HashicorpCloudPacker20220411BucketAncestryStatus string

HashicorpCloudPacker20220411BucketAncestryStatus - UNDETERMINED: HCP Packer cannot determine whether the child image is out of date. This status occurs when the parent iteration was not assigned to an image channel when Packer built the image, the image channel no longer exists in the image bucket, or HCP Packer is not tracking the parent.

  • UP_TO_DATE: The child image is built from the iteration currently assigned to the image channel.
  • OUT_OF_DATE: The child image is built from a different iteration than the one currently assigned to the image channel.

swagger:model hashicorp.cloud.packer_20220411.BucketAncestry.Status

const (

	// HashicorpCloudPacker20220411BucketAncestryStatusUNDETERMINED captures enum value "UNDETERMINED"
	HashicorpCloudPacker20220411BucketAncestryStatusUNDETERMINED HashicorpCloudPacker20220411BucketAncestryStatus = "UNDETERMINED"

	// HashicorpCloudPacker20220411BucketAncestryStatusUPTODATE captures enum value "UP_TO_DATE"
	HashicorpCloudPacker20220411BucketAncestryStatusUPTODATE HashicorpCloudPacker20220411BucketAncestryStatus = "UP_TO_DATE"

	// HashicorpCloudPacker20220411BucketAncestryStatusOUTOFDATE captures enum value "OUT_OF_DATE"
	HashicorpCloudPacker20220411BucketAncestryStatusOUTOFDATE HashicorpCloudPacker20220411BucketAncestryStatus = "OUT_OF_DATE"
)

func (HashicorpCloudPacker20220411BucketAncestryStatus) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 bucket ancestry status based on context it is used

func (HashicorpCloudPacker20220411BucketAncestryStatus) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411BucketAncestryStatus.

func (HashicorpCloudPacker20220411BucketAncestryStatus) Validate

Validate validates this hashicorp cloud packer 20220411 bucket ancestry status

type HashicorpCloudPacker20220411BucketChildren

type HashicorpCloudPacker20220411BucketChildren struct {

	// The URL to retrieve the list of ancestry relationships between this image bucket and its direct children.
	Href string `json:"href,omitempty"`

	// The overall ancestry status for all child iterations.
	// If at least one child is out of date, HCP Packer reports the overall status as 'OUT_OF_DATE'.
	Status *HashicorpCloudPacker20220411BucketAncestryStatus `json:"status,omitempty"`
}

HashicorpCloudPacker20220411BucketChildren hashicorp cloud packer 20220411 bucket children

swagger:model hashicorp.cloud.packer_20220411.BucketChildren

func (*HashicorpCloudPacker20220411BucketChildren) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 bucket children based on the context it is used

func (*HashicorpCloudPacker20220411BucketChildren) MarshalBinary

func (m *HashicorpCloudPacker20220411BucketChildren) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketChildren) UnmarshalBinary

func (m *HashicorpCloudPacker20220411BucketChildren) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketChildren) Validate

Validate validates this hashicorp cloud packer 20220411 bucket children

type HashicorpCloudPacker20220411BucketLatestIteration

type HashicorpCloudPacker20220411BucketLatestIteration struct {

	// The name of the person who created this iteration.
	AuthorID string `json:"author_id,omitempty"`

	// Human-readable name for the bucket that this iteration is associated with.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// A list of all the builds associated with this iteration.
	Builds []*HashicorpCloudPacker20220411LatestIterationBuild `json:"builds"`

	// If true, all builds associated with this iteration have successfully
	// completed and uploaded metadata to the registry. When "complete" is true,
	// This iteration is considered ready to use, and can have channels assigned
	// to it.
	Complete bool `json:"complete,omitempty"`

	// When the iteration was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the iteration.
	ID string `json:"id,omitempty"`

	// The human-readable version number assigned to this iteration. This
	// field will only be set if the iteration is "complete".
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// The unique identifier of the iteration that was used as a source
	// for this iteration, if this iteration was built on a base layer.
	// Deprecated: refer to build specific source_build_ulid.
	IterationAncestorID string `json:"iteration_ancestor_id,omitempty"`

	// Who revoked this iteration. For human authors (e.g. HCP Portal) this will be an email address.
	// For machine authors using service principals, this is the customer-chosen name for this service principal.
	RevocationAuthor string `json:"revocation_author,omitempty"`

	// The ancestor iteration from whom this iteration inherited the revocation state.
	RevocationInheritedFrom *HashicorpCloudPacker20220411RevokedAncestor `json:"revocation_inherited_from,omitempty"`

	// A short explanation of why this iteration was revoked.
	RevocationMessage string `json:"revocation_message,omitempty"`

	// Revocation type is 'manual' when self revoked or 'inherited' when inherited from a revoked ancestor.
	RevocationType *HashicorpCloudPacker20220411IterationRevocationType `json:"revocation_type,omitempty"`

	// Timestamp from when the iteration is revoked an no longer trusted to be secure.
	// Format: date-time
	RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"`

	// When the iteration was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411BucketLatestIteration A simplified Iteration used in Bucket to represent a bucket's latest iteration. This iteration representation does not contain ancestry information to avoid repetition.

swagger:model hashicorp.cloud.packer_20220411.BucketLatestIteration

func (*HashicorpCloudPacker20220411BucketLatestIteration) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 bucket latest iteration based on the context it is used

func (*HashicorpCloudPacker20220411BucketLatestIteration) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketLatestIteration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketLatestIteration) Validate

Validate validates this hashicorp cloud packer 20220411 bucket latest iteration

type HashicorpCloudPacker20220411BucketParents

type HashicorpCloudPacker20220411BucketParents struct {

	// The URL to retrieve the list of ancestry relationships between this image bucket and its direct source images (parents).
	Href string `json:"href,omitempty"`

	// The overall status for all parent iterations.
	// If at least one parent is out of date, HCP Packer reports the  overall status as 'OUT_OF_DATE'.
	Status *HashicorpCloudPacker20220411BucketAncestryStatus `json:"status,omitempty"`
}

HashicorpCloudPacker20220411BucketParents hashicorp cloud packer 20220411 bucket parents

swagger:model hashicorp.cloud.packer_20220411.BucketParents

func (*HashicorpCloudPacker20220411BucketParents) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 bucket parents based on the context it is used

func (*HashicorpCloudPacker20220411BucketParents) MarshalBinary

func (m *HashicorpCloudPacker20220411BucketParents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketParents) UnmarshalBinary

func (m *HashicorpCloudPacker20220411BucketParents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BucketParents) Validate

Validate validates this hashicorp cloud packer 20220411 bucket parents

type HashicorpCloudPacker20220411Build

type HashicorpCloudPacker20220411Build struct {

	// The cloud provider that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	CloudProvider string `json:"cloud_provider,omitempty"`

	// Internal Packer name for the builder or post-processor component used to
	// build this. For example, "amazon-ebs" or "azure-arm".
	ComponentType string `json:"component_type,omitempty"`

	// When the build was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the build.
	ID string `json:"id,omitempty"`

	// List of images associated with this build.
	Images []*HashicorpCloudPacker20220411Image `json:"images"`

	// Unique identifier of the iteration associated with this build; this was
	// created and set by the HCP Packer registry when the iteration was created.
	IterationID string `json:"iteration_id,omitempty"`

	// A key:value map for custom, user-settable metadata about your build.
	Labels map[string]string `json:"labels,omitempty"`

	// The UUID specific to this call to Packer build. If you use the manifest
	// post-processor, this UUID will match the UUID present there.
	PackerRunUUID string `json:"packer_run_uuid,omitempty"`

	// Unique identifier of the HCP Packer registry build that Packer uses  as the source
	// for this build. HCP Packer uses this to track dependencies for build pipelines.
	SourceBuildUlid string `json:"source_build_ulid,omitempty"`

	// The ID or URL of the remote cloud source image that HCP Packer uses to track image dependencies for build pipelines.
	SourceImageID string `json:"source_image_id,omitempty"`

	// Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED,
	// or UNSET.
	Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"`

	// When the build was most recently updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411Build hashicorp cloud packer 20220411 build

swagger:model hashicorp.cloud.packer_20220411.Build

func (*HashicorpCloudPacker20220411Build) ContextValidate added in v0.23.0

func (m *HashicorpCloudPacker20220411Build) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud packer 20220411 build based on the context it is used

func (*HashicorpCloudPacker20220411Build) MarshalBinary

func (m *HashicorpCloudPacker20220411Build) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Build) UnmarshalBinary

func (m *HashicorpCloudPacker20220411Build) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Build) Validate

Validate validates this hashicorp cloud packer 20220411 build

type HashicorpCloudPacker20220411BuildCreateBody

type HashicorpCloudPacker20220411BuildCreateBody struct {

	// The cloud provider that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	CloudProvider string `json:"cloud_provider,omitempty"`

	// Internal Packer name for the builder or post-processor component used to
	// build this. For example, "amazon-ebs" or "azure-arm"
	ComponentType string `json:"component_type,omitempty"`

	// List of images associated with this build.
	Images []*HashicorpCloudPacker20220411ImageCreateBody `json:"images"`

	// A key:value map for custom, user-settable metadata about your build.
	Labels map[string]string `json:"labels,omitempty"`

	// The UUID specific to this call to Packer build. If you use the manifest
	// post-processor, this UUID will match the UUID present there.
	PackerRunUUID string `json:"packer_run_uuid,omitempty"`

	// The ID of the channel that it was used to fetch the source_iteration_id.
	// When the source channel ID is set, the source iteration ID should also be set.
	SourceChannelID string `json:"source_channel_id,omitempty"`

	// The ID or URL of the remote cloud source image. Used for tracking image
	// dependencies for build pipelines.
	SourceImageID string `json:"source_image_id,omitempty"`

	// The ID of the parent iteration associated with the `source_image_id`.
	// When the source iteration ID is set, the source image ID should also be set.
	SourceIterationID string `json:"source_iteration_id,omitempty"`

	// Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED,
	// or UNSET.
	Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"`
}

HashicorpCloudPacker20220411BuildCreateBody This message is used for build/create calls; it removes elements from the Build message that the user cannot set.

swagger:model hashicorp.cloud.packer_20220411.BuildCreateBody

func (*HashicorpCloudPacker20220411BuildCreateBody) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 build create body based on the context it is used

func (*HashicorpCloudPacker20220411BuildCreateBody) MarshalBinary

func (m *HashicorpCloudPacker20220411BuildCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BuildCreateBody) UnmarshalBinary

func (m *HashicorpCloudPacker20220411BuildCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BuildCreateBody) Validate

Validate validates this hashicorp cloud packer 20220411 build create body

type HashicorpCloudPacker20220411BuildStatus

type HashicorpCloudPacker20220411BuildStatus string

HashicorpCloudPacker20220411BuildStatus - UNSET: UNSET is a sentinel zero value so that an uninitialized value can be detected.

  • RUNNING: Running means the `packer build` is currently running.
  • DONE: Done means the `packer build` has finished successfully.
  • CANCELLED: Cancelled means the `packer build` was cancelled by a user.
  • FAILED: Failed means the `packer build` failed and therefore image creation failed.

swagger:model hashicorp.cloud.packer_20220411.BuildStatus

const (

	// HashicorpCloudPacker20220411BuildStatusUNSET captures enum value "UNSET"
	HashicorpCloudPacker20220411BuildStatusUNSET HashicorpCloudPacker20220411BuildStatus = "UNSET"

	// HashicorpCloudPacker20220411BuildStatusRUNNING captures enum value "RUNNING"
	HashicorpCloudPacker20220411BuildStatusRUNNING HashicorpCloudPacker20220411BuildStatus = "RUNNING"

	// HashicorpCloudPacker20220411BuildStatusDONE captures enum value "DONE"
	HashicorpCloudPacker20220411BuildStatusDONE HashicorpCloudPacker20220411BuildStatus = "DONE"

	// HashicorpCloudPacker20220411BuildStatusCANCELLED captures enum value "CANCELLED"
	HashicorpCloudPacker20220411BuildStatusCANCELLED HashicorpCloudPacker20220411BuildStatus = "CANCELLED"

	// HashicorpCloudPacker20220411BuildStatusFAILED captures enum value "FAILED"
	HashicorpCloudPacker20220411BuildStatusFAILED HashicorpCloudPacker20220411BuildStatus = "FAILED"
)

func NewHashicorpCloudPacker20220411BuildStatus added in v0.23.0

func NewHashicorpCloudPacker20220411BuildStatus(value HashicorpCloudPacker20220411BuildStatus) *HashicorpCloudPacker20220411BuildStatus

func (HashicorpCloudPacker20220411BuildStatus) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 build status based on context it is used

func (HashicorpCloudPacker20220411BuildStatus) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411BuildStatus.

func (HashicorpCloudPacker20220411BuildStatus) Validate

Validate validates this hashicorp cloud packer 20220411 build status

type HashicorpCloudPacker20220411BuildUpdates

type HashicorpCloudPacker20220411BuildUpdates struct {

	// The cloud provider that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	CloudProvider string `json:"cloud_provider,omitempty"`

	// A list of images to create and associate with this build.
	Images []*HashicorpCloudPacker20220411ImageCreateBody `json:"images"`

	// A key:value map for custom, user-settable metadata about your build.
	Labels map[string]string `json:"labels,omitempty"`

	// The UUID specific to this call to Packer build. If you use the manifest
	// post-processor, this UUID will match the UUID present there.
	PackerRunUUID string `json:"packer_run_uuid,omitempty"`

	// The ID of the channel that it was used to fetch the source_iteration_id.
	// When the source channel ID is set, the source iteration ID should also be set.
	SourceChannelID string `json:"source_channel_id,omitempty"`

	// The ID or URL of the remote cloud source image. Used for tracking image
	// dependencies for build pipelines.
	SourceImageID string `json:"source_image_id,omitempty"`

	// The ID of the parent iteration associated with the `source_image_id`.
	// When the source iteration ID is set, the source image ID should also be set.
	SourceIterationID string `json:"source_iteration_id,omitempty"`

	// Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED,
	// or UNSET.
	Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"`
}

HashicorpCloudPacker20220411BuildUpdates BuildUpdates is used to group the elements of a Build that are allowed to be updated after the build has been created. It is part of the UpdateBuildRequest.

swagger:model hashicorp.cloud.packer_20220411.BuildUpdates

func (*HashicorpCloudPacker20220411BuildUpdates) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 build updates based on the context it is used

func (*HashicorpCloudPacker20220411BuildUpdates) MarshalBinary

func (m *HashicorpCloudPacker20220411BuildUpdates) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BuildUpdates) UnmarshalBinary

func (m *HashicorpCloudPacker20220411BuildUpdates) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411BuildUpdates) Validate

Validate validates this hashicorp cloud packer 20220411 build updates

type HashicorpCloudPacker20220411Channel

type HashicorpCloudPacker20220411Channel struct {

	// The user who last updated the channel.
	AuthorID string `json:"author_id,omitempty"`

	// Human-readable name for the bucket this channel is associated with.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// When the channel was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the channel.
	ID string `json:"id,omitempty"`

	// The iteration the channel is pointing to.
	Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"`

	// If the channel is managed by HCP Packer (such as the latest channel).
	Managed bool `json:"managed,omitempty"`

	// A pointer to the iteration currently associated with this channel.
	// Deprecated: look at the Channel.iteration instead.
	Pointer *HashicorpCloudPacker20220411ChannelIterationPointer `json:"pointer,omitempty"`

	// Human-readable name for the channel.
	Slug string `json:"slug,omitempty"`

	// When the channel was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411Channel hashicorp cloud packer 20220411 channel

swagger:model hashicorp.cloud.packer_20220411.Channel

func (*HashicorpCloudPacker20220411Channel) ContextValidate added in v0.23.0

func (m *HashicorpCloudPacker20220411Channel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud packer 20220411 channel based on the context it is used

func (*HashicorpCloudPacker20220411Channel) MarshalBinary

func (m *HashicorpCloudPacker20220411Channel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Channel) UnmarshalBinary

func (m *HashicorpCloudPacker20220411Channel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Channel) Validate

Validate validates this hashicorp cloud packer 20220411 channel

type HashicorpCloudPacker20220411ChannelIterationPointer

type HashicorpCloudPacker20220411ChannelIterationPointer struct {

	// The user who pointed the channel to the iteration.
	AuthorID string `json:"author_id,omitempty"`

	// When the channel pointer was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The iteration the channel is pointing to.
	Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"`
}

HashicorpCloudPacker20220411ChannelIterationPointer A Channel Pointer is a special object that tracks channel history by storing both which iteration the channel points to and also when the channel was updated to point at said iteration. Deprecated: The iteration object is directly embed to Channel.

swagger:model hashicorp.cloud.packer_20220411.ChannelIterationPointer

func (*HashicorpCloudPacker20220411ChannelIterationPointer) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 channel iteration pointer based on the context it is used

func (*HashicorpCloudPacker20220411ChannelIterationPointer) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ChannelIterationPointer) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ChannelIterationPointer) Validate

Validate validates this hashicorp cloud packer 20220411 channel iteration pointer

type HashicorpCloudPacker20220411CreateBucketRequest

type HashicorpCloudPacker20220411CreateBucketRequest struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// A short description of what this bucket's images are for.
	Description string `json:"description,omitempty"`

	// A key:value map for custom, user-settable metadata about your bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudPacker20220411CreateBucketRequest hashicorp cloud packer 20220411 create bucket request

swagger:model hashicorp.cloud.packer_20220411.CreateBucketRequest

func (*HashicorpCloudPacker20220411CreateBucketRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create bucket request based on the context it is used

func (*HashicorpCloudPacker20220411CreateBucketRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBucketRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBucketRequest) Validate

Validate validates this hashicorp cloud packer 20220411 create bucket request

type HashicorpCloudPacker20220411CreateBucketResponse

type HashicorpCloudPacker20220411CreateBucketResponse struct {

	// Information about the bucket that was created.
	Bucket *HashicorpCloudPacker20220411Bucket `json:"bucket,omitempty"`
}

HashicorpCloudPacker20220411CreateBucketResponse hashicorp cloud packer 20220411 create bucket response

swagger:model hashicorp.cloud.packer_20220411.CreateBucketResponse

func (*HashicorpCloudPacker20220411CreateBucketResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create bucket response based on the context it is used

func (*HashicorpCloudPacker20220411CreateBucketResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBucketResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBucketResponse) Validate

Validate validates this hashicorp cloud packer 20220411 create bucket response

type HashicorpCloudPacker20220411CreateBuildRequest

type HashicorpCloudPacker20220411CreateBuildRequest struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Information about the build to create.
	Build *HashicorpCloudPacker20220411BuildCreateBody `json:"build,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// ULID of the iteration that this build should be associated with.
	IterationID string `json:"iteration_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudPacker20220411CreateBuildRequest hashicorp cloud packer 20220411 create build request

swagger:model hashicorp.cloud.packer_20220411.CreateBuildRequest

func (*HashicorpCloudPacker20220411CreateBuildRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create build request based on the context it is used

func (*HashicorpCloudPacker20220411CreateBuildRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBuildRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBuildRequest) Validate

Validate validates this hashicorp cloud packer 20220411 create build request

type HashicorpCloudPacker20220411CreateBuildResponse

type HashicorpCloudPacker20220411CreateBuildResponse struct {

	// Information about the build that was created.
	Build *HashicorpCloudPacker20220411Build `json:"build,omitempty"`
}

HashicorpCloudPacker20220411CreateBuildResponse hashicorp cloud packer 20220411 create build response

swagger:model hashicorp.cloud.packer_20220411.CreateBuildResponse

func (*HashicorpCloudPacker20220411CreateBuildResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create build response based on the context it is used

func (*HashicorpCloudPacker20220411CreateBuildResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBuildResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateBuildResponse) Validate

Validate validates this hashicorp cloud packer 20220411 create build response

type HashicorpCloudPacker20220411CreateChannelRequest

type HashicorpCloudPacker20220411CreateChannelRequest struct {

	// Human-readable name for the bucket to associate the channel with.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// The human-readable version number assigned to this iteration.
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// ULID of the iteration.
	IterationID string `json:"iteration_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Human-readable name for the channel.
	Slug string `json:"slug,omitempty"`
}

HashicorpCloudPacker20220411CreateChannelRequest hashicorp cloud packer 20220411 create channel request

swagger:model hashicorp.cloud.packer_20220411.CreateChannelRequest

func (*HashicorpCloudPacker20220411CreateChannelRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create channel request based on the context it is used

func (*HashicorpCloudPacker20220411CreateChannelRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateChannelRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateChannelRequest) Validate

Validate validates this hashicorp cloud packer 20220411 create channel request

type HashicorpCloudPacker20220411CreateChannelResponse

type HashicorpCloudPacker20220411CreateChannelResponse struct {

	// Information about the channel that was created.
	Channel *HashicorpCloudPacker20220411Channel `json:"channel,omitempty"`
}

HashicorpCloudPacker20220411CreateChannelResponse hashicorp cloud packer 20220411 create channel response

swagger:model hashicorp.cloud.packer_20220411.CreateChannelResponse

func (*HashicorpCloudPacker20220411CreateChannelResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create channel response based on the context it is used

func (*HashicorpCloudPacker20220411CreateChannelResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateChannelResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateChannelResponse) Validate

Validate validates this hashicorp cloud packer 20220411 create channel response

type HashicorpCloudPacker20220411CreateIterationRequest

type HashicorpCloudPacker20220411CreateIterationRequest struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudPacker20220411CreateIterationRequest hashicorp cloud packer 20220411 create iteration request

swagger:model hashicorp.cloud.packer_20220411.CreateIterationRequest

func (*HashicorpCloudPacker20220411CreateIterationRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create iteration request based on the context it is used

func (*HashicorpCloudPacker20220411CreateIterationRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateIterationRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateIterationRequest) Validate

Validate validates this hashicorp cloud packer 20220411 create iteration request

type HashicorpCloudPacker20220411CreateIterationResponse

type HashicorpCloudPacker20220411CreateIterationResponse struct {

	// iteration
	Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"`
}

HashicorpCloudPacker20220411CreateIterationResponse hashicorp cloud packer 20220411 create iteration response

swagger:model hashicorp.cloud.packer_20220411.CreateIterationResponse

func (*HashicorpCloudPacker20220411CreateIterationResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create iteration response based on the context it is used

func (*HashicorpCloudPacker20220411CreateIterationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateIterationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateIterationResponse) Validate

Validate validates this hashicorp cloud packer 20220411 create iteration response

type HashicorpCloudPacker20220411CreateRegistryRequest

type HashicorpCloudPacker20220411CreateRegistryRequest struct {

	// Feature tier of the Registry.
	FeatureTier *HashicorpCloudPacker20220411RegistryConfigTier `json:"feature_tier,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudPacker20220411CreateRegistryRequest hashicorp cloud packer 20220411 create registry request

swagger:model hashicorp.cloud.packer_20220411.CreateRegistryRequest

func (*HashicorpCloudPacker20220411CreateRegistryRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create registry request based on the context it is used

func (*HashicorpCloudPacker20220411CreateRegistryRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateRegistryRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateRegistryRequest) Validate

Validate validates this hashicorp cloud packer 20220411 create registry request

type HashicorpCloudPacker20220411CreateRegistryResponse

type HashicorpCloudPacker20220411CreateRegistryResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// registry
	Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"`
}

HashicorpCloudPacker20220411CreateRegistryResponse hashicorp cloud packer 20220411 create registry response

swagger:model hashicorp.cloud.packer_20220411.CreateRegistryResponse

func (*HashicorpCloudPacker20220411CreateRegistryResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 create registry response based on the context it is used

func (*HashicorpCloudPacker20220411CreateRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411CreateRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20220411 create registry response

type HashicorpCloudPacker20220411DeleteBucketResponse

type HashicorpCloudPacker20220411DeleteBucketResponse interface{}

HashicorpCloudPacker20220411DeleteBucketResponse hashicorp cloud packer 20220411 delete bucket response

swagger:model hashicorp.cloud.packer_20220411.DeleteBucketResponse

type HashicorpCloudPacker20220411DeleteBuildResponse

type HashicorpCloudPacker20220411DeleteBuildResponse interface{}

HashicorpCloudPacker20220411DeleteBuildResponse hashicorp cloud packer 20220411 delete build response

swagger:model hashicorp.cloud.packer_20220411.DeleteBuildResponse

type HashicorpCloudPacker20220411DeleteChannelResponse

type HashicorpCloudPacker20220411DeleteChannelResponse interface{}

HashicorpCloudPacker20220411DeleteChannelResponse hashicorp cloud packer 20220411 delete channel response

swagger:model hashicorp.cloud.packer_20220411.DeleteChannelResponse

type HashicorpCloudPacker20220411DeleteIterationResponse

type HashicorpCloudPacker20220411DeleteIterationResponse interface{}

HashicorpCloudPacker20220411DeleteIterationResponse hashicorp cloud packer 20220411 delete iteration response

swagger:model hashicorp.cloud.packer_20220411.DeleteIterationResponse

type HashicorpCloudPacker20220411DeleteRegistryResponse

type HashicorpCloudPacker20220411DeleteRegistryResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// registry
	Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"`
}

HashicorpCloudPacker20220411DeleteRegistryResponse hashicorp cloud packer 20220411 delete registry response

swagger:model hashicorp.cloud.packer_20220411.DeleteRegistryResponse

func (*HashicorpCloudPacker20220411DeleteRegistryResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 delete registry response based on the context it is used

func (*HashicorpCloudPacker20220411DeleteRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411DeleteRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411DeleteRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20220411 delete registry response

type HashicorpCloudPacker20220411GetBucketResponse

type HashicorpCloudPacker20220411GetBucketResponse struct {

	// The requested information about the bucket.
	Bucket *HashicorpCloudPacker20220411Bucket `json:"bucket,omitempty"`
}

HashicorpCloudPacker20220411GetBucketResponse hashicorp cloud packer 20220411 get bucket response

swagger:model hashicorp.cloud.packer_20220411.GetBucketResponse

func (*HashicorpCloudPacker20220411GetBucketResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 get bucket response based on the context it is used

func (*HashicorpCloudPacker20220411GetBucketResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetBucketResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetBucketResponse) Validate

Validate validates this hashicorp cloud packer 20220411 get bucket response

type HashicorpCloudPacker20220411GetBuildResponse

type HashicorpCloudPacker20220411GetBuildResponse struct {

	// The requested build.
	Build *HashicorpCloudPacker20220411Build `json:"build,omitempty"`
}

HashicorpCloudPacker20220411GetBuildResponse hashicorp cloud packer 20220411 get build response

swagger:model hashicorp.cloud.packer_20220411.GetBuildResponse

func (*HashicorpCloudPacker20220411GetBuildResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 get build response based on the context it is used

func (*HashicorpCloudPacker20220411GetBuildResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetBuildResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetBuildResponse) Validate

Validate validates this hashicorp cloud packer 20220411 get build response

type HashicorpCloudPacker20220411GetChannelResponse

type HashicorpCloudPacker20220411GetChannelResponse struct {

	// The requested channel information.
	Channel *HashicorpCloudPacker20220411Channel `json:"channel,omitempty"`
}

HashicorpCloudPacker20220411GetChannelResponse hashicorp cloud packer 20220411 get channel response

swagger:model hashicorp.cloud.packer_20220411.GetChannelResponse

func (*HashicorpCloudPacker20220411GetChannelResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 get channel response based on the context it is used

func (*HashicorpCloudPacker20220411GetChannelResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetChannelResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetChannelResponse) Validate

Validate validates this hashicorp cloud packer 20220411 get channel response

type HashicorpCloudPacker20220411GetIterationResponse

type HashicorpCloudPacker20220411GetIterationResponse struct {

	// The requested iteration.
	Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"`
}

HashicorpCloudPacker20220411GetIterationResponse hashicorp cloud packer 20220411 get iteration response

swagger:model hashicorp.cloud.packer_20220411.GetIterationResponse

func (*HashicorpCloudPacker20220411GetIterationResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 get iteration response based on the context it is used

func (*HashicorpCloudPacker20220411GetIterationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetIterationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetIterationResponse) Validate

Validate validates this hashicorp cloud packer 20220411 get iteration response

type HashicorpCloudPacker20220411GetRegistryResponse

type HashicorpCloudPacker20220411GetRegistryResponse struct {

	// registry
	Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"`
}

HashicorpCloudPacker20220411GetRegistryResponse hashicorp cloud packer 20220411 get registry response

swagger:model hashicorp.cloud.packer_20220411.GetRegistryResponse

func (*HashicorpCloudPacker20220411GetRegistryResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 get registry response based on the context it is used

func (*HashicorpCloudPacker20220411GetRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20220411 get registry response

type HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse

type HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse struct {

	// URL of the API used by Terraform Cloud to run HCP Packer Run Tasks.
	APIURL string `json:"api_url,omitempty"`

	// HMAC key used by Terraform Cloud to sign the requests to the HCP Packer run task API.
	HmacKey string `json:"hmac_key,omitempty"`
}

HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse hashicorp cloud packer 20220411 get registry t f c run task API response

swagger:model hashicorp.cloud.packer_20220411.GetRegistryTFCRunTaskAPIResponse

func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 get registry t f c run task API response based on context it is used

func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411GetRegistryTFCRunTaskAPIResponse) Validate

Validate validates this hashicorp cloud packer 20220411 get registry t f c run task API response

type HashicorpCloudPacker20220411Image

type HashicorpCloudPacker20220411Image struct {

	// Timestamp at which this image was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) for the image.
	ID string `json:"id,omitempty"`

	// ID or URL of the remote cloud image as given by a build. For example, ami-12345.
	ImageID string `json:"image_id,omitempty"`

	// Cloud-specific region as provided by `packer build`. For example, "ap-east-1".
	Region string `json:"region,omitempty"`
}

HashicorpCloudPacker20220411Image Represents the actual region:image_id mapping for a single image, in a single build.

swagger:model hashicorp.cloud.packer_20220411.Image

func (*HashicorpCloudPacker20220411Image) ContextValidate added in v0.23.0

func (m *HashicorpCloudPacker20220411Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hashicorp cloud packer 20220411 image based on context it is used

func (*HashicorpCloudPacker20220411Image) MarshalBinary

func (m *HashicorpCloudPacker20220411Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Image) UnmarshalBinary

func (m *HashicorpCloudPacker20220411Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Image) Validate

Validate validates this hashicorp cloud packer 20220411 image

type HashicorpCloudPacker20220411ImageCreateBody

type HashicorpCloudPacker20220411ImageCreateBody struct {

	// ID or URL of the remote cloud image as given by a build.
	ImageID string `json:"image_id,omitempty"`

	// Cloud-specific region as provided by `packer build`. For example, "ap-east-1".
	Region string `json:"region,omitempty"`
}

HashicorpCloudPacker20220411ImageCreateBody This message is used for build/create calls; it removes elements from the Image message that the user cannot set.

swagger:model hashicorp.cloud.packer_20220411.ImageCreateBody

func (*HashicorpCloudPacker20220411ImageCreateBody) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 image create body based on context it is used

func (*HashicorpCloudPacker20220411ImageCreateBody) MarshalBinary

func (m *HashicorpCloudPacker20220411ImageCreateBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ImageCreateBody) UnmarshalBinary

func (m *HashicorpCloudPacker20220411ImageCreateBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ImageCreateBody) Validate

Validate validates this hashicorp cloud packer 20220411 image create body

type HashicorpCloudPacker20220411Iteration

type HashicorpCloudPacker20220411Iteration struct {

	// The name of the person who created this iteration.
	AuthorID string `json:"author_id,omitempty"`

	// Human-readable name for the bucket that this iteration is associated with.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// A list of all the builds associated with this iteration.
	Builds []*HashicorpCloudPacker20220411Build `json:"builds"`

	// If true, all builds associated with this iteration have successfully
	// completed and uploaded metadata to the registry. When "complete" is true,
	// This iteration is considered ready to use, and can have channels assigned
	// to it.
	Complete bool `json:"complete,omitempty"`

	// When the iteration was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// If true, this iteration has children iterations. Knowing if an iteration has descendants can help
	// taking decisions such as persist revocation to all its descendants or not.
	HasDescendants bool `json:"has_descendants,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the iteration.
	ID string `json:"id,omitempty"`

	// The human-readable version number assigned to this iteration. This
	// field will only be set if the iteration is "complete".
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// The unique identifier of the iteration that was used as a source
	// for this iteration, if this iteration was built on a base layer.
	// Deprecated: refer to build specific source_build_ulid.
	IterationAncestorID string `json:"iteration_ancestor_id,omitempty"`

	// Who revoked this iteration. For human authors (e.g. HCP Portal) this will be an email address.
	// For machine authors using service principals, this is the customer-chosen name for this service principal.
	RevocationAuthor string `json:"revocation_author,omitempty"`

	// The ancestor iteration from whom this iteration inherited the revocation.
	RevocationInheritedFrom *HashicorpCloudPacker20220411RevokedAncestor `json:"revocation_inherited_from,omitempty"`

	// A short explanation of why this iteration was revoked.
	RevocationMessage string `json:"revocation_message,omitempty"`

	// Revocation type is 'manual' when the iteration is revoked directly  or 'inherited' when the iteration inherits
	// a revocation from an upstream ancestor.
	RevocationType *HashicorpCloudPacker20220411IterationRevocationType `json:"revocation_type,omitempty"`

	// Timestamp from when the iteration is revoked an no longer trusted to be secure.
	// Format: date-time
	RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"`

	// When the iteration was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411Iteration hashicorp cloud packer 20220411 iteration

swagger:model hashicorp.cloud.packer_20220411.Iteration

func (*HashicorpCloudPacker20220411Iteration) ContextValidate added in v0.23.0

func (m *HashicorpCloudPacker20220411Iteration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud packer 20220411 iteration based on the context it is used

func (*HashicorpCloudPacker20220411Iteration) MarshalBinary

func (m *HashicorpCloudPacker20220411Iteration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Iteration) UnmarshalBinary

func (m *HashicorpCloudPacker20220411Iteration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Iteration) Validate

Validate validates this hashicorp cloud packer 20220411 iteration

type HashicorpCloudPacker20220411IterationRevocationType

type HashicorpCloudPacker20220411IterationRevocationType string

HashicorpCloudPacker20220411IterationRevocationType - MANUAL: This iteration was revoked manually.

  • INHERITED: This iteration inherited a revocation from an upstream ancestor and was revoked automatically.

swagger:model hashicorp.cloud.packer_20220411.Iteration.RevocationType

const (

	// HashicorpCloudPacker20220411IterationRevocationTypeUNSET captures enum value "UNSET"
	HashicorpCloudPacker20220411IterationRevocationTypeUNSET HashicorpCloudPacker20220411IterationRevocationType = "UNSET"

	// HashicorpCloudPacker20220411IterationRevocationTypeMANUAL captures enum value "MANUAL"
	HashicorpCloudPacker20220411IterationRevocationTypeMANUAL HashicorpCloudPacker20220411IterationRevocationType = "MANUAL"

	// HashicorpCloudPacker20220411IterationRevocationTypeINHERITED captures enum value "INHERITED"
	HashicorpCloudPacker20220411IterationRevocationTypeINHERITED HashicorpCloudPacker20220411IterationRevocationType = "INHERITED"
)

func (HashicorpCloudPacker20220411IterationRevocationType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 iteration revocation type based on context it is used

func (HashicorpCloudPacker20220411IterationRevocationType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411IterationRevocationType.

func (HashicorpCloudPacker20220411IterationRevocationType) Validate

Validate validates this hashicorp cloud packer 20220411 iteration revocation type

type HashicorpCloudPacker20220411IterationforList

type HashicorpCloudPacker20220411IterationforList struct {

	// Who created the iteration.
	AuthorID string `json:"author_id,omitempty"`

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Maps the build component type to its status enum, for displaying build
	// status in the iterations view.
	BuildStatuses map[string]string `json:"build_statuses,omitempty"`

	// If true, all builds associated with this iteration have successfully
	// completed and uploaded metadata to the registry. When "complete" is true,
	// This iteration is considered ready to use, and can have channels assigned
	// to it.
	Complete bool `json:"complete,omitempty"`

	// When the iteration was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// If true, this iteration has children iterations. Knowing if an iteration has descendants can help
	// taking decisions such as persist revocation to all its descendants or not.
	HasDescendants bool `json:"has_descendants,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the iteration.
	ID string `json:"id,omitempty"`

	// The human-readable version number assigned to this iteration. This
	// field will only be set if the iteration is "complete".
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// The unique identifier of the iteration that was used as a source
	// for this iteration, if this iteration was built on a base layer.
	// Deprecated: Deprecated: refer to build specific source_build_ulid.
	IterationAncestorID string `json:"iteration_ancestor_id,omitempty"`

	// Who revoked this iteration. For human authors (e.g. HCP Portal) this will be an email address.
	// For machine authors using service principals, this is the customer-chosen name for this service principal.
	RevocationAuthor string `json:"revocation_author,omitempty"`

	// The ancestor iteration from whom this iteration inherited the revocation state.
	RevocationInheritedFrom *HashicorpCloudPacker20220411RevokedAncestor `json:"revocation_inherited_from,omitempty"`

	// A short explanation of why this iteration was revoked.
	RevocationMessage string `json:"revocation_message,omitempty"`

	// Revocation type is 'manual' when self revoked or 'inherited' when inherited from a revoked ancestor.
	RevocationType *HashicorpCloudPacker20220411IterationRevocationType `json:"revocation_type,omitempty"`

	// Timestamp from when the iteration is revoked an no longer trusted to be secure.
	// Format: date-time
	RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"`

	// When the iteration was most recently updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411IterationforList The list endpoint does not return build information.

swagger:model hashicorp.cloud.packer_20220411.IterationforList

func (*HashicorpCloudPacker20220411IterationforList) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 iterationfor list based on the context it is used

func (*HashicorpCloudPacker20220411IterationforList) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411IterationforList) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411IterationforList) Validate

Validate validates this hashicorp cloud packer 20220411 iterationfor list

type HashicorpCloudPacker20220411LatestIterationBuild

type HashicorpCloudPacker20220411LatestIterationBuild struct {

	// The cloud provider that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	CloudProvider string `json:"cloud_provider,omitempty"`

	// Internal Packer name for the builder or post-processor component used to
	// build this. For example, "amazon-ebs" or "azure-arm".
	ComponentType string `json:"component_type,omitempty"`

	// When the build was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Universally Unique Lexicographically Sortable Identifier (ULID) of the build.
	ID string `json:"id,omitempty"`

	// List of images associated with this build.
	Images []*HashicorpCloudPacker20220411Image `json:"images"`

	// Unique identifier of the iteration associated with this build; this was
	// created and set by the HCP Packer registry when the iteration was created.
	IterationID string `json:"iteration_id,omitempty"`

	// A key:value map for custom, user-settable metadata about your build.
	Labels map[string]string `json:"labels,omitempty"`

	// The UUID specific to this call to Packer build. If you use the manifest
	// post-processor, this UUID will match the UUID present there.
	PackerRunUUID string `json:"packer_run_uuid,omitempty"`

	// Unique identifier of the HCP Packer registry build used as the source
	// for this build. Used for tracking dependencies for build pipelines.
	SourceBuildUlid string `json:"source_build_ulid,omitempty"`

	// The ID or URL of the remote cloud source image. Used for tracking image
	// dependencies for build pipelines.
	SourceImageID string `json:"source_image_id,omitempty"`

	// Status of the build. The status can be RUNNING, DONE, CANCELLED, FAILED,
	// or UNSET.
	Status *HashicorpCloudPacker20220411BuildStatus `json:"status,omitempty"`

	// When the build was most recently updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411LatestIterationBuild A simplified Build used in BucketLatestIteration to represent the builds of a bucket's latest iteration. This build representation does not contain ancestry information to avoid repetition.

swagger:model hashicorp.cloud.packer_20220411.LatestIterationBuild

func (*HashicorpCloudPacker20220411LatestIterationBuild) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 latest iteration build based on the context it is used

func (*HashicorpCloudPacker20220411LatestIterationBuild) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411LatestIterationBuild) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411LatestIterationBuild) Validate

Validate validates this hashicorp cloud packer 20220411 latest iteration build

type HashicorpCloudPacker20220411ListBucketAncestryResponse

type HashicorpCloudPacker20220411ListBucketAncestryResponse struct {

	// pagination
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// relations
	Relations []*HashicorpCloudPacker20220411BucketAncestry `json:"relations"`

	// The total number of ancestral relationships returned for the specified image bucket. These can be parent or child images.
	TotalCount int32 `json:"total_count,omitempty"`
}

HashicorpCloudPacker20220411ListBucketAncestryResponse hashicorp cloud packer 20220411 list bucket ancestry response

swagger:model hashicorp.cloud.packer_20220411.ListBucketAncestryResponse

func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 list bucket ancestry response based on the context it is used

func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListBucketAncestryResponse) Validate

Validate validates this hashicorp cloud packer 20220411 list bucket ancestry response

type HashicorpCloudPacker20220411ListBucketsResponse

type HashicorpCloudPacker20220411ListBucketsResponse struct {

	// List of buckets.
	Buckets []*HashicorpCloudPacker20220411Bucket `json:"buckets"`

	// Pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudPacker20220411ListBucketsResponse hashicorp cloud packer 20220411 list buckets response

swagger:model hashicorp.cloud.packer_20220411.ListBucketsResponse

func (*HashicorpCloudPacker20220411ListBucketsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 list buckets response based on the context it is used

func (*HashicorpCloudPacker20220411ListBucketsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListBucketsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListBucketsResponse) Validate

Validate validates this hashicorp cloud packer 20220411 list buckets response

type HashicorpCloudPacker20220411ListBuildsResponse

type HashicorpCloudPacker20220411ListBuildsResponse struct {

	// The requested list of builds.
	Builds []*HashicorpCloudPacker20220411Build `json:"builds"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudPacker20220411ListBuildsResponse hashicorp cloud packer 20220411 list builds response

swagger:model hashicorp.cloud.packer_20220411.ListBuildsResponse

func (*HashicorpCloudPacker20220411ListBuildsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 list builds response based on the context it is used

func (*HashicorpCloudPacker20220411ListBuildsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListBuildsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListBuildsResponse) Validate

Validate validates this hashicorp cloud packer 20220411 list builds response

type HashicorpCloudPacker20220411ListChannelsResponse

type HashicorpCloudPacker20220411ListChannelsResponse struct {

	// channels
	Channels []*HashicorpCloudPacker20220411Channel `json:"channels"`
}

HashicorpCloudPacker20220411ListChannelsResponse hashicorp cloud packer 20220411 list channels response

swagger:model hashicorp.cloud.packer_20220411.ListChannelsResponse

func (*HashicorpCloudPacker20220411ListChannelsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 list channels response based on the context it is used

func (*HashicorpCloudPacker20220411ListChannelsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListChannelsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListChannelsResponse) Validate

Validate validates this hashicorp cloud packer 20220411 list channels response

type HashicorpCloudPacker20220411ListIterationsResponse

type HashicorpCloudPacker20220411ListIterationsResponse struct {

	// The requested list of iterations.
	Iterations []*HashicorpCloudPacker20220411IterationforList `json:"iterations"`

	// pagination
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudPacker20220411ListIterationsResponse hashicorp cloud packer 20220411 list iterations response

swagger:model hashicorp.cloud.packer_20220411.ListIterationsResponse

func (*HashicorpCloudPacker20220411ListIterationsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 list iterations response based on the context it is used

func (*HashicorpCloudPacker20220411ListIterationsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListIterationsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411ListIterationsResponse) Validate

Validate validates this hashicorp cloud packer 20220411 list iterations response

type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest

type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest struct {

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest hashicorp cloud packer 20220411 regenerate t f c run task hmac key request

swagger:model hashicorp.cloud.packer_20220411.RegenerateTFCRunTaskHmacKeyRequest

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 regenerate t f c run task hmac key request based on the context it is used

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyRequest) Validate

Validate validates this hashicorp cloud packer 20220411 regenerate t f c run task hmac key request

type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse

type HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse struct {

	// New HMAC key used by Terraform Cloud to sign the requests to the HCP Packer run task API.
	HmacKey string `json:"hmac_key,omitempty"`
}

HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse hashicorp cloud packer 20220411 regenerate t f c run task hmac key response

swagger:model hashicorp.cloud.packer_20220411.RegenerateTFCRunTaskHmacKeyResponse

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 regenerate t f c run task hmac key response based on context it is used

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegenerateTFCRunTaskHmacKeyResponse) Validate

Validate validates this hashicorp cloud packer 20220411 regenerate t f c run task hmac key response

type HashicorpCloudPacker20220411Registry

type HashicorpCloudPacker20220411Registry struct {

	// config
	Config *HashicorpCloudPacker20220411RegistryConfig `json:"config,omitempty"`

	// When the registry was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// ULID of the registry.
	ID string `json:"id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// When the registry was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20220411Registry hashicorp cloud packer 20220411 registry

swagger:model hashicorp.cloud.packer_20220411.Registry

func (*HashicorpCloudPacker20220411Registry) ContextValidate added in v0.23.0

func (m *HashicorpCloudPacker20220411Registry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud packer 20220411 registry based on the context it is used

func (*HashicorpCloudPacker20220411Registry) MarshalBinary

func (m *HashicorpCloudPacker20220411Registry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Registry) UnmarshalBinary

func (m *HashicorpCloudPacker20220411Registry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411Registry) Validate

Validate validates this hashicorp cloud packer 20220411 registry

type HashicorpCloudPacker20220411RegistryBillingDeprovision

type HashicorpCloudPacker20220411RegistryBillingDeprovision struct {

	// The time the registry was deactivated of billing.
	// Format: date-time
	At strfmt.DateTime `json:"at,omitempty"`

	// Reason of why the registry was deactivated.
	Reason *HashicorpCloudPacker20220411RegistryBillingDeprovisionReason `json:"reason,omitempty"`
}

HashicorpCloudPacker20220411RegistryBillingDeprovision hashicorp cloud packer 20220411 registry billing deprovision

swagger:model hashicorp.cloud.packer_20220411.RegistryBillingDeprovision

func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 registry billing deprovision based on the context it is used

func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegistryBillingDeprovision) Validate

Validate validates this hashicorp cloud packer 20220411 registry billing deprovision

type HashicorpCloudPacker20220411RegistryBillingDeprovisionReason

type HashicorpCloudPacker20220411RegistryBillingDeprovisionReason string

HashicorpCloudPacker20220411RegistryBillingDeprovisionReason hashicorp cloud packer 20220411 registry billing deprovision reason

swagger:model hashicorp.cloud.packer_20220411.RegistryBillingDeprovision.Reason

const (

	// HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT captures enum value "DELINQUENT_BILLING_ACCOUNT"
	HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT HashicorpCloudPacker20220411RegistryBillingDeprovisionReason = "DELINQUENT_BILLING_ACCOUNT"

	// HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonUSERREQUEST captures enum value "USER_REQUEST"
	HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonUSERREQUEST HashicorpCloudPacker20220411RegistryBillingDeprovisionReason = "USER_REQUEST"

	// HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonHASHIADMINREQUEST captures enum value "HASHI_ADMIN_REQUEST"
	HashicorpCloudPacker20220411RegistryBillingDeprovisionReasonHASHIADMINREQUEST HashicorpCloudPacker20220411RegistryBillingDeprovisionReason = "HASHI_ADMIN_REQUEST"
)

func (HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 registry billing deprovision reason based on context it is used

func (HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411RegistryBillingDeprovisionReason.

func (HashicorpCloudPacker20220411RegistryBillingDeprovisionReason) Validate

Validate validates this hashicorp cloud packer 20220411 registry billing deprovision reason

type HashicorpCloudPacker20220411RegistryConfig

type HashicorpCloudPacker20220411RegistryConfig struct {

	// A registry is activated when the system correctly starts billing for it.
	Activated bool `json:"activated,omitempty"`

	// The information about the billing deactivation.
	BillingDeprovision *HashicorpCloudPacker20220411RegistryBillingDeprovision `json:"billing_deprovision,omitempty"`

	// The feature tier for the registry.
	FeatureTier *HashicorpCloudPacker20220411RegistryConfigTier `json:"feature_tier,omitempty"`

	// Required configuration to run TFC run tasks for validation against this registry.
	TfcRunTaskConfig *HashicorpCloudPacker20220411RegistryTFCRunTaskConfig `json:"tfc_run_task_config,omitempty"`
}

HashicorpCloudPacker20220411RegistryConfig The HCP Packer Registry configuration

swagger:model hashicorp.cloud.packer_20220411.RegistryConfig

func (*HashicorpCloudPacker20220411RegistryConfig) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 registry config based on the context it is used

func (*HashicorpCloudPacker20220411RegistryConfig) MarshalBinary

func (m *HashicorpCloudPacker20220411RegistryConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegistryConfig) UnmarshalBinary

func (m *HashicorpCloudPacker20220411RegistryConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegistryConfig) Validate

Validate validates this hashicorp cloud packer 20220411 registry config

type HashicorpCloudPacker20220411RegistryConfigTier

type HashicorpCloudPacker20220411RegistryConfigTier string

HashicorpCloudPacker20220411RegistryConfigTier hashicorp cloud packer 20220411 registry config tier

swagger:model hashicorp.cloud.packer_20220411.RegistryConfig.Tier

const (

	// HashicorpCloudPacker20220411RegistryConfigTierUNSET captures enum value "UNSET"
	HashicorpCloudPacker20220411RegistryConfigTierUNSET HashicorpCloudPacker20220411RegistryConfigTier = "UNSET"

	// HashicorpCloudPacker20220411RegistryConfigTierPRIVATEBETA captures enum value "PRIVATE_BETA"
	HashicorpCloudPacker20220411RegistryConfigTierPRIVATEBETA HashicorpCloudPacker20220411RegistryConfigTier = "PRIVATE_BETA"

	// HashicorpCloudPacker20220411RegistryConfigTierSTANDARD captures enum value "STANDARD"
	HashicorpCloudPacker20220411RegistryConfigTierSTANDARD HashicorpCloudPacker20220411RegistryConfigTier = "STANDARD"

	// HashicorpCloudPacker20220411RegistryConfigTierPLUS captures enum value "PLUS"
	HashicorpCloudPacker20220411RegistryConfigTierPLUS HashicorpCloudPacker20220411RegistryConfigTier = "PLUS"
)

func (HashicorpCloudPacker20220411RegistryConfigTier) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 registry config tier based on context it is used

func (HashicorpCloudPacker20220411RegistryConfigTier) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20220411RegistryConfigTier.

func (HashicorpCloudPacker20220411RegistryConfigTier) Validate

Validate validates this hashicorp cloud packer 20220411 registry config tier

type HashicorpCloudPacker20220411RegistryTFCRunTaskConfig

type HashicorpCloudPacker20220411RegistryTFCRunTaskConfig struct {

	// Unique per registry API id for running HCP Packer run tasks.
	APIID string `json:"api_id,omitempty"`

	// Encrypted HMAC key used by Terraform Cloud to sign the requests to the HCP Packer run task API.
	HmacKey string `json:"hmac_key,omitempty"`
}

HashicorpCloudPacker20220411RegistryTFCRunTaskConfig hashicorp cloud packer 20220411 registry t f c run task config

swagger:model hashicorp.cloud.packer_20220411.RegistryTFCRunTaskConfig

func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 registry t f c run task config based on context it is used

func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RegistryTFCRunTaskConfig) Validate

Validate validates this hashicorp cloud packer 20220411 registry t f c run task config

type HashicorpCloudPacker20220411RevokedAncestor

type HashicorpCloudPacker20220411RevokedAncestor struct {

	// The revoked ancestor bucket slug.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// The URL to get the revoked ancestor.
	Href string `json:"href,omitempty"`

	// The revoked ancestor iteration fingerprint.
	IterationFingerprint string `json:"iteration_fingerprint,omitempty"`

	// The revoked ancestor iteration ULID.
	IterationID string `json:"iteration_id,omitempty"`

	// The revoked ancestor iteration incremental version.
	IterationIncrementalVersion int32 `json:"iteration_incremental_version,omitempty"`
}

HashicorpCloudPacker20220411RevokedAncestor hashicorp cloud packer 20220411 revoked ancestor

swagger:model hashicorp.cloud.packer_20220411.RevokedAncestor

func (*HashicorpCloudPacker20220411RevokedAncestor) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud packer 20220411 revoked ancestor based on context it is used

func (*HashicorpCloudPacker20220411RevokedAncestor) MarshalBinary

func (m *HashicorpCloudPacker20220411RevokedAncestor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RevokedAncestor) UnmarshalBinary

func (m *HashicorpCloudPacker20220411RevokedAncestor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411RevokedAncestor) Validate

Validate validates this hashicorp cloud packer 20220411 revoked ancestor

type HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse

type HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse interface{}

HashicorpCloudPacker20220411TFCImageValidationRunTaskResponse hashicorp cloud packer 20220411 t f c image validation run task response

swagger:model hashicorp.cloud.packer_20220411.TFCImageValidationRunTaskResponse

type HashicorpCloudPacker20220411UpdateBucketRequest

type HashicorpCloudPacker20220411UpdateBucketRequest struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// A short description of what this bucket's images are for.
	Description string `json:"description,omitempty"`

	// A key:value map for custom, user-settable metadata about your bucket.
	Labels map[string]string `json:"labels,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// A list of the cloud providers or other platforms that are included in the latest complete iteration. e.g aws, gcp, or azure.
	Platforms []string `json:"platforms"`
}

HashicorpCloudPacker20220411UpdateBucketRequest hashicorp cloud packer 20220411 update bucket request

swagger:model hashicorp.cloud.packer_20220411.UpdateBucketRequest

func (*HashicorpCloudPacker20220411UpdateBucketRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update bucket request based on the context it is used

func (*HashicorpCloudPacker20220411UpdateBucketRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBucketRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBucketRequest) Validate

Validate validates this hashicorp cloud packer 20220411 update bucket request

type HashicorpCloudPacker20220411UpdateBucketResponse

type HashicorpCloudPacker20220411UpdateBucketResponse struct {

	// Information about the bucket that was updated.
	Bucket *HashicorpCloudPacker20220411Bucket `json:"bucket,omitempty"`
}

HashicorpCloudPacker20220411UpdateBucketResponse hashicorp cloud packer 20220411 update bucket response

swagger:model hashicorp.cloud.packer_20220411.UpdateBucketResponse

func (*HashicorpCloudPacker20220411UpdateBucketResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update bucket response based on the context it is used

func (*HashicorpCloudPacker20220411UpdateBucketResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBucketResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBucketResponse) Validate

Validate validates this hashicorp cloud packer 20220411 update bucket response

type HashicorpCloudPacker20220411UpdateBuildRequest

type HashicorpCloudPacker20220411UpdateBuildRequest struct {

	// ULID of the build that should be updated.
	BuildID string `json:"build_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Information about the build you are updating.
	Updates *HashicorpCloudPacker20220411BuildUpdates `json:"updates,omitempty"`
}

HashicorpCloudPacker20220411UpdateBuildRequest hashicorp cloud packer 20220411 update build request

swagger:model hashicorp.cloud.packer_20220411.UpdateBuildRequest

func (*HashicorpCloudPacker20220411UpdateBuildRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update build request based on the context it is used

func (*HashicorpCloudPacker20220411UpdateBuildRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBuildRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBuildRequest) Validate

Validate validates this hashicorp cloud packer 20220411 update build request

type HashicorpCloudPacker20220411UpdateBuildResponse

type HashicorpCloudPacker20220411UpdateBuildResponse struct {

	// Information about the build you updated.
	Build *HashicorpCloudPacker20220411Build `json:"build,omitempty"`
}

HashicorpCloudPacker20220411UpdateBuildResponse hashicorp cloud packer 20220411 update build response

swagger:model hashicorp.cloud.packer_20220411.UpdateBuildResponse

func (*HashicorpCloudPacker20220411UpdateBuildResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update build response based on the context it is used

func (*HashicorpCloudPacker20220411UpdateBuildResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBuildResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateBuildResponse) Validate

Validate validates this hashicorp cloud packer 20220411 update build response

type HashicorpCloudPacker20220411UpdateChannelRequest

type HashicorpCloudPacker20220411UpdateChannelRequest struct {

	// Human-readable name for the bucket that the channel is associated with.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. It will most often correspond to a git commit sha,
	// but can be manually overridden by setting the environment variable
	// `HCP_PACKER_BUILD_FINGERPRINT`.
	Fingerprint string `json:"fingerprint,omitempty"`

	// The human-readable version number assigned to this iteration.
	IncrementalVersion int32 `json:"incremental_version,omitempty"`

	// ULID of the iteration. This was created and set by the
	// HCP Packer registry when the iteration was created.
	IterationID string `json:"iteration_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Human-readable name for the channel.
	Slug string `json:"slug,omitempty"`
}

HashicorpCloudPacker20220411UpdateChannelRequest hashicorp cloud packer 20220411 update channel request

swagger:model hashicorp.cloud.packer_20220411.UpdateChannelRequest

func (*HashicorpCloudPacker20220411UpdateChannelRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update channel request based on the context it is used

func (*HashicorpCloudPacker20220411UpdateChannelRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateChannelRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateChannelRequest) Validate

Validate validates this hashicorp cloud packer 20220411 update channel request

type HashicorpCloudPacker20220411UpdateChannelResponse

type HashicorpCloudPacker20220411UpdateChannelResponse struct {

	// channel
	Channel *HashicorpCloudPacker20220411Channel `json:"channel,omitempty"`
}

HashicorpCloudPacker20220411UpdateChannelResponse hashicorp cloud packer 20220411 update channel response

swagger:model hashicorp.cloud.packer_20220411.UpdateChannelResponse

func (*HashicorpCloudPacker20220411UpdateChannelResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update channel response based on the context it is used

func (*HashicorpCloudPacker20220411UpdateChannelResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateChannelResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateChannelResponse) Validate

Validate validates this hashicorp cloud packer 20220411 update channel response

type HashicorpCloudPacker20220411UpdateIterationRequest

type HashicorpCloudPacker20220411UpdateIterationRequest struct {

	// Human-readable name for the bucket.
	BucketSlug string `json:"bucket_slug,omitempty"`

	// Set to "true" when all builds associated with this iteration have
	// successfully completed and uploaded metadata to the registry. When
	// "complete" is true, this iteration is considered ready to use, and can
	// have channels assigned to it.
	Complete bool `json:"complete,omitempty"`

	// ULID of the iteration.
	IterationID string `json:"iteration_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// When set to true, will make a previously revoked iteration valid again.
	Restore bool `json:"restore,omitempty"`

	// Optional field to provide the reason for why this iteration is being revoked.
	RevocationMessage string `json:"revocation_message,omitempty"`

	// revoke_at accepts strings in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt)
	// format to represent the revocation timestamp. To instantly revoke the iteration, provide the current timestamp.
	// The revoke_at timestamp will always be recorded in UTC (Coordinated Universal Time).
	// This option is equivalent to the 'revoke_in' option and therefore only one of them should be set when updating
	// the iteration.
	// Format: date-time
	RevokeAt strfmt.DateTime `json:"revoke_at,omitempty"`

	// revoke_in accepts a signed sequence of decimal numbers with a unit suffix to represent the duration
	// to the revocation date, such as '30d' or '2h45m'.
	// Valid time units are 's', 'm', 'h', and 'd' as for seconds, minutes, hours, and days.
	// To instantly revoke the iteration, provide the duration of zero seconds ("0s").
	// The revoke_in duration will be used to calculate the iteration revocation timestamp,
	// which will be recorded as UTC (Coordinated Universal Time).
	// This option is equivalent to the 'revoke_at' option and therefore only one of them should be set when updating
	// the iteration.
	RevokeIn string `json:"revoke_in,omitempty"`

	// When set to true, the iteration's descendants won't inherit its revocation status.
	SkipDescendantsRevocation bool `json:"skip_descendants_revocation,omitempty"`
}

HashicorpCloudPacker20220411UpdateIterationRequest hashicorp cloud packer 20220411 update iteration request

swagger:model hashicorp.cloud.packer_20220411.UpdateIterationRequest

func (*HashicorpCloudPacker20220411UpdateIterationRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update iteration request based on the context it is used

func (*HashicorpCloudPacker20220411UpdateIterationRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateIterationRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateIterationRequest) Validate

Validate validates this hashicorp cloud packer 20220411 update iteration request

type HashicorpCloudPacker20220411UpdateIterationResponse

type HashicorpCloudPacker20220411UpdateIterationResponse struct {

	// Information about the updated iteration.
	Iteration *HashicorpCloudPacker20220411Iteration `json:"iteration,omitempty"`

	// When revoking, use this operation to follow the asynchronous process of revoking
	// all the iteration's descendants.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudPacker20220411UpdateIterationResponse hashicorp cloud packer 20220411 update iteration response

swagger:model hashicorp.cloud.packer_20220411.UpdateIterationResponse

func (*HashicorpCloudPacker20220411UpdateIterationResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update iteration response based on the context it is used

func (*HashicorpCloudPacker20220411UpdateIterationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateIterationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateIterationResponse) Validate

Validate validates this hashicorp cloud packer 20220411 update iteration response

type HashicorpCloudPacker20220411UpdateRegistryRequest

type HashicorpCloudPacker20220411UpdateRegistryRequest struct {

	// Activates a deactivated registry. A registry can only be activated
	// if the organization billing account is valid (e.g. valid credits or payment method).
	Activate bool `json:"activate,omitempty"`

	// Feature tier of the Registry.
	FeatureTier *HashicorpCloudPacker20220411RegistryConfigTier `json:"feature_tier,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudPacker20220411UpdateRegistryRequest hashicorp cloud packer 20220411 update registry request

swagger:model hashicorp.cloud.packer_20220411.UpdateRegistryRequest

func (*HashicorpCloudPacker20220411UpdateRegistryRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update registry request based on the context it is used

func (*HashicorpCloudPacker20220411UpdateRegistryRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateRegistryRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateRegistryRequest) Validate

Validate validates this hashicorp cloud packer 20220411 update registry request

type HashicorpCloudPacker20220411UpdateRegistryResponse

type HashicorpCloudPacker20220411UpdateRegistryResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// registry
	Registry *HashicorpCloudPacker20220411Registry `json:"registry,omitempty"`
}

HashicorpCloudPacker20220411UpdateRegistryResponse hashicorp cloud packer 20220411 update registry response

swagger:model hashicorp.cloud.packer_20220411.UpdateRegistryResponse

func (*HashicorpCloudPacker20220411UpdateRegistryResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud packer 20220411 update registry response based on the context it is used

func (*HashicorpCloudPacker20220411UpdateRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20220411UpdateRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20220411 update registry response

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL