models

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MPL-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudPacker20230101AncestryStatus

type HashicorpCloudPacker20230101AncestryStatus string

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

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

assigned to the channel.

swagger:model hashicorp.cloud.packer_20230101.AncestryStatus

const (

	// HashicorpCloudPacker20230101AncestryStatusUNDETERMINED captures enum value "UNDETERMINED"
	HashicorpCloudPacker20230101AncestryStatusUNDETERMINED HashicorpCloudPacker20230101AncestryStatus = "UNDETERMINED"

	// HashicorpCloudPacker20230101AncestryStatusUPTODATE captures enum value "UP_TO_DATE"
	HashicorpCloudPacker20230101AncestryStatusUPTODATE HashicorpCloudPacker20230101AncestryStatus = "UP_TO_DATE"

	// HashicorpCloudPacker20230101AncestryStatusOUTOFDATE captures enum value "OUT_OF_DATE"
	HashicorpCloudPacker20230101AncestryStatusOUTOFDATE HashicorpCloudPacker20230101AncestryStatus = "OUT_OF_DATE"
)

func (HashicorpCloudPacker20230101AncestryStatus) ContextValidate

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

func (HashicorpCloudPacker20230101AncestryStatus) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101AncestryStatus.

func (HashicorpCloudPacker20230101AncestryStatus) Validate

Validate validates this hashicorp cloud packer 20230101 ancestry status

type HashicorpCloudPacker20230101Artifact

type HashicorpCloudPacker20230101Artifact struct {

	// Created datetime.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// ID or URL of the remote artifact as given by a build.
	// For example, ami-12345.
	ExternalIdentifier string `json:"external_identifier,omitempty"`

	// Unique identifier (ULID).
	ID string `json:"id,omitempty"`

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

HashicorpCloudPacker20230101Artifact hashicorp cloud packer 20230101 artifact

swagger:model hashicorp.cloud.packer_20230101.Artifact

func (*HashicorpCloudPacker20230101Artifact) ContextValidate

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

ContextValidate validates this hashicorp cloud packer 20230101 artifact based on context it is used

func (*HashicorpCloudPacker20230101Artifact) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Artifact) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Artifact) Validate

Validate validates this hashicorp cloud packer 20230101 artifact

type HashicorpCloudPacker20230101ArtifactCreateBody

type HashicorpCloudPacker20230101ArtifactCreateBody struct {

	// ID or URL of the remote cloud artifact as given by a build.
	ExternalIdentifier string `json:"external_identifier,omitempty"`

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

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

swagger:model hashicorp.cloud.packer_20230101.ArtifactCreateBody

func (*HashicorpCloudPacker20230101ArtifactCreateBody) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 artifact create body based on context it is used

func (*HashicorpCloudPacker20230101ArtifactCreateBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ArtifactCreateBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ArtifactCreateBody) Validate

Validate validates this hashicorp cloud packer 20230101 artifact create body

type HashicorpCloudPacker20230101Bucket

type HashicorpCloudPacker20230101Bucket struct {

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

	// Created datetime.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Short description of what this bucket is for.
	Description string `json:"description,omitempty"`

	// Unique identifier (ULID).
	ID string `json:"id,omitempty"`

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

	// The bucket's most recent valid version, same assigned to the latest channel.
	LatestVersion *HashicorpCloudPacker20230101Version `json:"latest_version,omitempty"`

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

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

	// Information about this bucket's parents. Parents are the base artifacts
	// OSS Packer used for building the latest complete version in this bucket.
	Parents *HashicorpCloudPacker20230101BucketParents `json:"parents,omitempty"`

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

	// Last updated datetime.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Total number of versions in this bucket.
	VersionCount string `json:"version_count,omitempty"`
}

HashicorpCloudPacker20230101Bucket hashicorp cloud packer 20230101 bucket

swagger:model hashicorp.cloud.packer_20230101.Bucket

func (*HashicorpCloudPacker20230101Bucket) ContextValidate

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

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

func (*HashicorpCloudPacker20230101Bucket) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Bucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Bucket) Validate

Validate validates this hashicorp cloud packer 20230101 bucket

type HashicorpCloudPacker20230101BucketAncestry

type HashicorpCloudPacker20230101BucketAncestry struct {

	// The child bucket and the version in that bucket that relates tom the parent.
	Child *HashicorpCloudPacker20230101Child `json:"child,omitempty"`

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

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

HashicorpCloudPacker20230101BucketAncestry The parent-child relationship between two buckets.

swagger:model hashicorp.cloud.packer_20230101.BucketAncestry

func (*HashicorpCloudPacker20230101BucketAncestry) ContextValidate

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

func (*HashicorpCloudPacker20230101BucketAncestry) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BucketAncestry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BucketAncestry) Validate

Validate validates this hashicorp cloud packer 20230101 bucket ancestry

type HashicorpCloudPacker20230101BucketAncestryType

type HashicorpCloudPacker20230101BucketAncestryType string

HashicorpCloudPacker20230101BucketAncestryType hashicorp cloud packer 20230101 bucket ancestry type

swagger:model hashicorp.cloud.packer_20230101.BucketAncestryType

const (

	// HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEUNSET captures enum value "ANCESTRY_TYPE_UNSET"
	HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEUNSET HashicorpCloudPacker20230101BucketAncestryType = "ANCESTRY_TYPE_UNSET"

	// HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEPARENTS captures enum value "ANCESTRY_TYPE_PARENTS"
	HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPEPARENTS HashicorpCloudPacker20230101BucketAncestryType = "ANCESTRY_TYPE_PARENTS"

	// HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPECHILDREN captures enum value "ANCESTRY_TYPE_CHILDREN"
	HashicorpCloudPacker20230101BucketAncestryTypeANCESTRYTYPECHILDREN HashicorpCloudPacker20230101BucketAncestryType = "ANCESTRY_TYPE_CHILDREN"
)

func (HashicorpCloudPacker20230101BucketAncestryType) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 bucket ancestry type based on context it is used

func (HashicorpCloudPacker20230101BucketAncestryType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101BucketAncestryType.

func (HashicorpCloudPacker20230101BucketAncestryType) Validate

Validate validates this hashicorp cloud packer 20230101 bucket ancestry type

type HashicorpCloudPacker20230101BucketChildren

type HashicorpCloudPacker20230101BucketChildren struct {

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

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

HashicorpCloudPacker20230101BucketChildren hashicorp cloud packer 20230101 bucket children

swagger:model hashicorp.cloud.packer_20230101.BucketChildren

func (*HashicorpCloudPacker20230101BucketChildren) ContextValidate

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

func (*HashicorpCloudPacker20230101BucketChildren) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BucketChildren) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BucketChildren) Validate

Validate validates this hashicorp cloud packer 20230101 bucket children

type HashicorpCloudPacker20230101BucketParents

type HashicorpCloudPacker20230101BucketParents struct {

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

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

HashicorpCloudPacker20230101BucketParents hashicorp cloud packer 20230101 bucket parents

swagger:model hashicorp.cloud.packer_20230101.BucketParents

func (*HashicorpCloudPacker20230101BucketParents) ContextValidate

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

func (*HashicorpCloudPacker20230101BucketParents) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BucketParents) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BucketParents) Validate

Validate validates this hashicorp cloud packer 20230101 bucket parents

type HashicorpCloudPacker20230101Build

type HashicorpCloudPacker20230101Build struct {

	// List of artifacts associated with this build.
	Artifacts []*HashicorpCloudPacker20230101Artifact `json:"artifacts"`

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

	// Created datetime
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Unique identifier (ULID).
	ID string `json:"id,omitempty"`

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

	// Information set by Packer about the build process of the artifact.
	// Builds are returned on many endpoints, but Build Metadata is only returned for Build endpoints and GetVersion.
	Metadata *HashicorpCloudPacker20230101BuildMetadata `json:"metadata,omitempty"`

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

	// Platform that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	Platform string `json:"platform,omitempty"`

	// ID or URL of the remote cloud source artifact that HCP Packer uses to
	// track artifact dependencies for build pipelines.
	SourceExternalIdentifier string `json:"source_external_identifier,omitempty"`

	// Current state of the build.
	Status *HashicorpCloudPacker20230101BuildStatus `json:"status,omitempty"`

	// Last updated datetime
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Unique identifier of the version associated with this build; this was
	// created and set by the HCP Packer registry when the version was created.
	VersionID string `json:"version_id,omitempty"`
}

HashicorpCloudPacker20230101Build hashicorp cloud packer 20230101 build

swagger:model hashicorp.cloud.packer_20230101.Build

func (*HashicorpCloudPacker20230101Build) ContextValidate

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

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

func (*HashicorpCloudPacker20230101Build) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Build) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Build) Validate

Validate validates this hashicorp cloud packer 20230101 build

type HashicorpCloudPacker20230101BuildMetadata added in v0.90.0

type HashicorpCloudPacker20230101BuildMetadata struct {

	// Information from Packer related to its runtime state, such as version, and plugins used.
	Packer interface{} `json:"packer,omitempty"`
}

HashicorpCloudPacker20230101BuildMetadata hashicorp cloud packer 20230101 build metadata

swagger:model hashicorp.cloud.packer_20230101.BuildMetadata

func (*HashicorpCloudPacker20230101BuildMetadata) ContextValidate added in v0.90.0

ContextValidate validates this hashicorp cloud packer 20230101 build metadata based on context it is used

func (*HashicorpCloudPacker20230101BuildMetadata) MarshalBinary added in v0.90.0

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BuildMetadata) UnmarshalBinary added in v0.90.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101BuildMetadata) Validate added in v0.90.0

Validate validates this hashicorp cloud packer 20230101 build metadata

type HashicorpCloudPacker20230101BuildStatus

type HashicorpCloudPacker20230101BuildStatus string

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

  • BUILD_RUNNING: Running means the `packer build` is currently running.
  • BUILD_DONE: Done means the `packer build` has finished successfully.
  • BUILD_CANCELLED: Cancelled means the `packer build` was cancelled by a user.
  • BUILD_FAILED: Failed means the `packer build` failed and therefore artifact creation failed.

swagger:model hashicorp.cloud.packer_20230101.BuildStatus

const (

	// HashicorpCloudPacker20230101BuildStatusBUILDUNSET captures enum value "BUILD_UNSET"
	HashicorpCloudPacker20230101BuildStatusBUILDUNSET HashicorpCloudPacker20230101BuildStatus = "BUILD_UNSET"

	// HashicorpCloudPacker20230101BuildStatusBUILDRUNNING captures enum value "BUILD_RUNNING"
	HashicorpCloudPacker20230101BuildStatusBUILDRUNNING HashicorpCloudPacker20230101BuildStatus = "BUILD_RUNNING"

	// HashicorpCloudPacker20230101BuildStatusBUILDDONE captures enum value "BUILD_DONE"
	HashicorpCloudPacker20230101BuildStatusBUILDDONE HashicorpCloudPacker20230101BuildStatus = "BUILD_DONE"

	// HashicorpCloudPacker20230101BuildStatusBUILDCANCELLED captures enum value "BUILD_CANCELLED"
	HashicorpCloudPacker20230101BuildStatusBUILDCANCELLED HashicorpCloudPacker20230101BuildStatus = "BUILD_CANCELLED"

	// HashicorpCloudPacker20230101BuildStatusBUILDFAILED captures enum value "BUILD_FAILED"
	HashicorpCloudPacker20230101BuildStatusBUILDFAILED HashicorpCloudPacker20230101BuildStatus = "BUILD_FAILED"
)

func (HashicorpCloudPacker20230101BuildStatus) ContextValidate

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

func (HashicorpCloudPacker20230101BuildStatus) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101BuildStatus.

func (HashicorpCloudPacker20230101BuildStatus) Validate

Validate validates this hashicorp cloud packer 20230101 build status

type HashicorpCloudPacker20230101Channel

type HashicorpCloudPacker20230101Channel struct {

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

	// Human-readable name for the bucket this channel belongs to.
	BucketName string `json:"bucket_name,omitempty"`

	// Created datetime.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// // Unique identifier (ULID).
	ID string `json:"id,omitempty"`

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

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

	// Whether this channel's access is restricted to users with write permission
	// in the HCP Packer registry.
	Restricted bool `json:"restricted,omitempty"`

	// Last updated datetime.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// Version the channel is pointing to.
	Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"`
}

HashicorpCloudPacker20230101Channel hashicorp cloud packer 20230101 channel

swagger:model hashicorp.cloud.packer_20230101.Channel

func (*HashicorpCloudPacker20230101Channel) ContextValidate

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

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

func (*HashicorpCloudPacker20230101Channel) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Channel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Channel) Validate

Validate validates this hashicorp cloud packer 20230101 channel

type HashicorpCloudPacker20230101ChannelAssignment

type HashicorpCloudPacker20230101ChannelAssignment struct {

	// When the version assignment happened.
	// Format: date-time
	AssignedAt strfmt.DateTime `json:"assigned_at,omitempty"`

	// The user who assigned this version.
	AuthorID string `json:"author_id,omitempty"`

	// The assigned version.
	Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"`
}

HashicorpCloudPacker20230101ChannelAssignment hashicorp cloud packer 20230101 channel assignment

swagger:model hashicorp.cloud.packer_20230101.ChannelAssignment

func (*HashicorpCloudPacker20230101ChannelAssignment) ContextValidate

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

func (*HashicorpCloudPacker20230101ChannelAssignment) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ChannelAssignment) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ChannelAssignment) Validate

Validate validates this hashicorp cloud packer 20230101 channel assignment

type HashicorpCloudPacker20230101ChannelVersion

type HashicorpCloudPacker20230101ChannelVersion struct {

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

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

	// The currently assigned version's name.
	Name string `json:"name,omitempty"`
}

HashicorpCloudPacker20230101ChannelVersion hashicorp cloud packer 20230101 channel version

swagger:model hashicorp.cloud.packer_20230101.ChannelVersion

func (*HashicorpCloudPacker20230101ChannelVersion) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 channel version based on context it is used

func (*HashicorpCloudPacker20230101ChannelVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ChannelVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ChannelVersion) Validate

Validate validates this hashicorp cloud packer 20230101 channel version

type HashicorpCloudPacker20230101Child

type HashicorpCloudPacker20230101Child struct {

	// The child bucket's name.
	BucketName string `json:"bucket_name,omitempty"`

	// The child version build fingerprint.
	VersionFingerprint string `json:"version_fingerprint,omitempty"`

	// The child version ULID.
	VersionID string `json:"version_id,omitempty"`

	// The child version name.
	VersionName string `json:"version_name,omitempty"`
}

HashicorpCloudPacker20230101Child hashicorp cloud packer 20230101 child

swagger:model hashicorp.cloud.packer_20230101.Child

func (*HashicorpCloudPacker20230101Child) ContextValidate

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

ContextValidate validates this hashicorp cloud packer 20230101 child based on context it is used

func (*HashicorpCloudPacker20230101Child) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Child) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Child) Validate

Validate validates this hashicorp cloud packer 20230101 child

type HashicorpCloudPacker20230101CreateBucketBody

type HashicorpCloudPacker20230101CreateBucketBody struct {

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

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

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

HashicorpCloudPacker20230101CreateBucketBody hashicorp cloud packer 20230101 create bucket body

swagger:model hashicorp.cloud.packer_20230101.CreateBucketBody

func (*HashicorpCloudPacker20230101CreateBucketBody) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 create bucket body based on context it is used

func (*HashicorpCloudPacker20230101CreateBucketBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBucketBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBucketBody) Validate

Validate validates this hashicorp cloud packer 20230101 create bucket body

type HashicorpCloudPacker20230101CreateBucketResponse

type HashicorpCloudPacker20230101CreateBucketResponse struct {

	// bucket
	Bucket *HashicorpCloudPacker20230101Bucket `json:"bucket,omitempty"`
}

HashicorpCloudPacker20230101CreateBucketResponse === BUCKET ===

swagger:model hashicorp.cloud.packer_20230101.CreateBucketResponse

func (*HashicorpCloudPacker20230101CreateBucketResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101CreateBucketResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBucketResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBucketResponse) Validate

Validate validates this hashicorp cloud packer 20230101 create bucket response

type HashicorpCloudPacker20230101CreateBuildBody

type HashicorpCloudPacker20230101CreateBuildBody struct {

	// List of artifacts associated with this build.
	Artifacts []*HashicorpCloudPacker20230101ArtifactCreateBody `json:"artifacts"`

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

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

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

	// The ID of the channel that was used to fetch the parent_version_id.
	// When the parent_channel_id is set, parent_version_id should also be set.
	ParentChannelID string `json:"parent_channel_id,omitempty"`

	// The ID of the parent version associated with the `source_external_identifier`.
	ParentVersionID string `json:"parent_version_id,omitempty"`

	// The platform that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	Platform string `json:"platform,omitempty"`

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

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

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

swagger:model hashicorp.cloud.packer_20230101.CreateBuildBody

func (*HashicorpCloudPacker20230101CreateBuildBody) ContextValidate

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

func (*HashicorpCloudPacker20230101CreateBuildBody) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBuildBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBuildBody) Validate

Validate validates this hashicorp cloud packer 20230101 create build body

type HashicorpCloudPacker20230101CreateBuildResponse

type HashicorpCloudPacker20230101CreateBuildResponse struct {

	// build
	Build *HashicorpCloudPacker20230101Build `json:"build,omitempty"`
}

HashicorpCloudPacker20230101CreateBuildResponse === BUILD & ARTIFACT ===

swagger:model hashicorp.cloud.packer_20230101.CreateBuildResponse

func (*HashicorpCloudPacker20230101CreateBuildResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101CreateBuildResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBuildResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateBuildResponse) Validate

Validate validates this hashicorp cloud packer 20230101 create build response

type HashicorpCloudPacker20230101CreateChannelBody

type HashicorpCloudPacker20230101CreateChannelBody struct {

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

	// Whether this channel's access is restricted to users with write permission in the HCP Packer registry.
	Restricted bool `json:"restricted,omitempty"`

	// Fingerprint of the version. The fingerprint is set by Packer when you
	// call `packer build`.
	VersionFingerprint string `json:"version_fingerprint,omitempty"`
}

HashicorpCloudPacker20230101CreateChannelBody hashicorp cloud packer 20230101 create channel body

swagger:model hashicorp.cloud.packer_20230101.CreateChannelBody

func (*HashicorpCloudPacker20230101CreateChannelBody) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 create channel body based on context it is used

func (*HashicorpCloudPacker20230101CreateChannelBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateChannelBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateChannelBody) Validate

Validate validates this hashicorp cloud packer 20230101 create channel body

type HashicorpCloudPacker20230101CreateChannelResponse

type HashicorpCloudPacker20230101CreateChannelResponse struct {

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

HashicorpCloudPacker20230101CreateChannelResponse === CHANNEL ===

swagger:model hashicorp.cloud.packer_20230101.CreateChannelResponse

func (*HashicorpCloudPacker20230101CreateChannelResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101CreateChannelResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateChannelResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateChannelResponse) Validate

Validate validates this hashicorp cloud packer 20230101 create channel response

type HashicorpCloudPacker20230101CreateRegistryBody

type HashicorpCloudPacker20230101CreateRegistryBody struct {

	// feature tier
	FeatureTier *HashicorpCloudPacker20230101RegistryConfigTier `json:"feature_tier,omitempty"`
}

HashicorpCloudPacker20230101CreateRegistryBody hashicorp cloud packer 20230101 create registry body

swagger:model hashicorp.cloud.packer_20230101.CreateRegistryBody

func (*HashicorpCloudPacker20230101CreateRegistryBody) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 create registry body based on the context it is used

func (*HashicorpCloudPacker20230101CreateRegistryBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateRegistryBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateRegistryBody) Validate

Validate validates this hashicorp cloud packer 20230101 create registry body

type HashicorpCloudPacker20230101CreateRegistryResponse

type HashicorpCloudPacker20230101CreateRegistryResponse struct {

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

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

HashicorpCloudPacker20230101CreateRegistryResponse hashicorp cloud packer 20230101 create registry response

swagger:model hashicorp.cloud.packer_20230101.CreateRegistryResponse

func (*HashicorpCloudPacker20230101CreateRegistryResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101CreateRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20230101 create registry response

type HashicorpCloudPacker20230101CreateVersionBody

type HashicorpCloudPacker20230101CreateVersionBody struct {

	// Fingerprint of the version set by Packer when you call `packer build`.
	// Refer to the Packer documentation for more information on how this value is set.
	// The fingerprint can be used as an identifier for the version.
	// A valid fingerprint is 1-40 characters long, begins and ends with a letter or number,
	// and contains only ASCII letters, numbers, hyphens, dots, and underscores.
	Fingerprint string `json:"fingerprint,omitempty"`

	// The type of Packer configuration template used to build this version.
	TemplateType *HashicorpCloudPacker20230101TemplateType `json:"template_type,omitempty"`
}

HashicorpCloudPacker20230101CreateVersionBody hashicorp cloud packer 20230101 create version body

swagger:model hashicorp.cloud.packer_20230101.CreateVersionBody

func (*HashicorpCloudPacker20230101CreateVersionBody) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 create version body based on the context it is used

func (*HashicorpCloudPacker20230101CreateVersionBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateVersionBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateVersionBody) Validate

Validate validates this hashicorp cloud packer 20230101 create version body

type HashicorpCloudPacker20230101CreateVersionResponse

type HashicorpCloudPacker20230101CreateVersionResponse struct {

	// version
	Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"`
}

HashicorpCloudPacker20230101CreateVersionResponse === VERSION ===

swagger:model hashicorp.cloud.packer_20230101.CreateVersionResponse

func (*HashicorpCloudPacker20230101CreateVersionResponse) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 create version response based on the context it is used

func (*HashicorpCloudPacker20230101CreateVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101CreateVersionResponse) Validate

Validate validates this hashicorp cloud packer 20230101 create version response

type HashicorpCloudPacker20230101DeleteBucketResponse

type HashicorpCloudPacker20230101DeleteBucketResponse interface{}

HashicorpCloudPacker20230101DeleteBucketResponse hashicorp cloud packer 20230101 delete bucket response

swagger:model hashicorp.cloud.packer_20230101.DeleteBucketResponse

type HashicorpCloudPacker20230101DeleteBuildResponse

type HashicorpCloudPacker20230101DeleteBuildResponse interface{}

HashicorpCloudPacker20230101DeleteBuildResponse hashicorp cloud packer 20230101 delete build response

swagger:model hashicorp.cloud.packer_20230101.DeleteBuildResponse

type HashicorpCloudPacker20230101DeleteChannelResponse

type HashicorpCloudPacker20230101DeleteChannelResponse interface{}

HashicorpCloudPacker20230101DeleteChannelResponse hashicorp cloud packer 20230101 delete channel response

swagger:model hashicorp.cloud.packer_20230101.DeleteChannelResponse

type HashicorpCloudPacker20230101DeleteRegistryResponse

type HashicorpCloudPacker20230101DeleteRegistryResponse struct {

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

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

HashicorpCloudPacker20230101DeleteRegistryResponse hashicorp cloud packer 20230101 delete registry response

swagger:model hashicorp.cloud.packer_20230101.DeleteRegistryResponse

func (*HashicorpCloudPacker20230101DeleteRegistryResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101DeleteRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101DeleteRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101DeleteRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20230101 delete registry response

type HashicorpCloudPacker20230101DeleteVersionResponse

type HashicorpCloudPacker20230101DeleteVersionResponse interface{}

HashicorpCloudPacker20230101DeleteVersionResponse hashicorp cloud packer 20230101 delete version response

swagger:model hashicorp.cloud.packer_20230101.DeleteVersionResponse

type HashicorpCloudPacker20230101GetBucketResponse

type HashicorpCloudPacker20230101GetBucketResponse struct {

	// bucket
	Bucket *HashicorpCloudPacker20230101Bucket `json:"bucket,omitempty"`
}

HashicorpCloudPacker20230101GetBucketResponse hashicorp cloud packer 20230101 get bucket response

swagger:model hashicorp.cloud.packer_20230101.GetBucketResponse

func (*HashicorpCloudPacker20230101GetBucketResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101GetBucketResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetBucketResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetBucketResponse) Validate

Validate validates this hashicorp cloud packer 20230101 get bucket response

type HashicorpCloudPacker20230101GetBuildResponse

type HashicorpCloudPacker20230101GetBuildResponse struct {

	// build
	Build *HashicorpCloudPacker20230101Build `json:"build,omitempty"`
}

HashicorpCloudPacker20230101GetBuildResponse hashicorp cloud packer 20230101 get build response

swagger:model hashicorp.cloud.packer_20230101.GetBuildResponse

func (*HashicorpCloudPacker20230101GetBuildResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101GetBuildResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetBuildResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetBuildResponse) Validate

Validate validates this hashicorp cloud packer 20230101 get build response

type HashicorpCloudPacker20230101GetChannelResponse

type HashicorpCloudPacker20230101GetChannelResponse struct {

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

HashicorpCloudPacker20230101GetChannelResponse hashicorp cloud packer 20230101 get channel response

swagger:model hashicorp.cloud.packer_20230101.GetChannelResponse

func (*HashicorpCloudPacker20230101GetChannelResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101GetChannelResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetChannelResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetChannelResponse) Validate

Validate validates this hashicorp cloud packer 20230101 get channel response

type HashicorpCloudPacker20230101GetRegistryResponse

type HashicorpCloudPacker20230101GetRegistryResponse struct {

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

HashicorpCloudPacker20230101GetRegistryResponse === REGISTRY ===

swagger:model hashicorp.cloud.packer_20230101.GetRegistryResponse

func (*HashicorpCloudPacker20230101GetRegistryResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101GetRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20230101 get registry response

type HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse

type HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse struct {

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

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

HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse hashicorp cloud packer 20230101 get registry t f c run task API response

swagger:model hashicorp.cloud.packer_20230101.GetRegistryTFCRunTaskAPIResponse

func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetRegistryTFCRunTaskAPIResponse) Validate

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

type HashicorpCloudPacker20230101GetVersionResponse

type HashicorpCloudPacker20230101GetVersionResponse struct {

	// version
	Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"`
}

HashicorpCloudPacker20230101GetVersionResponse hashicorp cloud packer 20230101 get version response

swagger:model hashicorp.cloud.packer_20230101.GetVersionResponse

func (*HashicorpCloudPacker20230101GetVersionResponse) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 get version response based on the context it is used

func (*HashicorpCloudPacker20230101GetVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101GetVersionResponse) Validate

Validate validates this hashicorp cloud packer 20230101 get version response

type HashicorpCloudPacker20230101ListBucketAncestryResponse

type HashicorpCloudPacker20230101ListBucketAncestryResponse struct {

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

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

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

HashicorpCloudPacker20230101ListBucketAncestryResponse hashicorp cloud packer 20230101 list bucket ancestry response

swagger:model hashicorp.cloud.packer_20230101.ListBucketAncestryResponse

func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListBucketAncestryResponse) Validate

Validate validates this hashicorp cloud packer 20230101 list bucket ancestry response

type HashicorpCloudPacker20230101ListBucketsResponse

type HashicorpCloudPacker20230101ListBucketsResponse struct {

	// buckets
	Buckets []*HashicorpCloudPacker20230101Bucket `json:"buckets"`

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

HashicorpCloudPacker20230101ListBucketsResponse hashicorp cloud packer 20230101 list buckets response

swagger:model hashicorp.cloud.packer_20230101.ListBucketsResponse

func (*HashicorpCloudPacker20230101ListBucketsResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101ListBucketsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListBucketsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListBucketsResponse) Validate

Validate validates this hashicorp cloud packer 20230101 list buckets response

type HashicorpCloudPacker20230101ListBuildsResponse

type HashicorpCloudPacker20230101ListBuildsResponse struct {

	// builds
	Builds []*HashicorpCloudPacker20230101Build `json:"builds"`

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

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

HashicorpCloudPacker20230101ListBuildsResponse hashicorp cloud packer 20230101 list builds response

swagger:model hashicorp.cloud.packer_20230101.ListBuildsResponse

func (*HashicorpCloudPacker20230101ListBuildsResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101ListBuildsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListBuildsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListBuildsResponse) Validate

Validate validates this hashicorp cloud packer 20230101 list builds response

type HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse

type HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse struct {

	// count
	Count int32 `json:"count,omitempty"`

	// history
	History []*HashicorpCloudPacker20230101ChannelAssignment `json:"history"`

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

HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse hashicorp cloud packer 20230101 list channel assignment history response

swagger:model hashicorp.cloud.packer_20230101.ListChannelAssignmentHistoryResponse

func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 list channel assignment history response based on the context it is used

func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListChannelAssignmentHistoryResponse) Validate

Validate validates this hashicorp cloud packer 20230101 list channel assignment history response

type HashicorpCloudPacker20230101ListChannelsResponse

type HashicorpCloudPacker20230101ListChannelsResponse struct {

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

HashicorpCloudPacker20230101ListChannelsResponse hashicorp cloud packer 20230101 list channels response

swagger:model hashicorp.cloud.packer_20230101.ListChannelsResponse

func (*HashicorpCloudPacker20230101ListChannelsResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101ListChannelsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListChannelsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListChannelsResponse) Validate

Validate validates this hashicorp cloud packer 20230101 list channels response

type HashicorpCloudPacker20230101ListVersionsResponse

type HashicorpCloudPacker20230101ListVersionsResponse struct {

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

	// versions
	Versions []*HashicorpCloudPacker20230101Version `json:"versions"`
}

HashicorpCloudPacker20230101ListVersionsResponse hashicorp cloud packer 20230101 list versions response

swagger:model hashicorp.cloud.packer_20230101.ListVersionsResponse

func (*HashicorpCloudPacker20230101ListVersionsResponse) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 list versions response based on the context it is used

func (*HashicorpCloudPacker20230101ListVersionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListVersionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101ListVersionsResponse) Validate

Validate validates this hashicorp cloud packer 20230101 list versions response

type HashicorpCloudPacker20230101Parent

type HashicorpCloudPacker20230101Parent struct {

	// The parent bucket name.
	BucketName string `json:"bucket_name,omitempty"`

	// The name of the channel associated with this relationship.
	ChannelName string `json:"channel_name,omitempty"`

	// The version currently assigned to the channel associated with the ancestry
	// relationship.
	ChannelVersion *HashicorpCloudPacker20230101ChannelVersion `json:"channel_version,omitempty"`

	// The parent version fingerprint.
	VersionFingerprint string `json:"version_fingerprint,omitempty"`

	// The parent version ULID.
	VersionID string `json:"version_id,omitempty"`

	// The parent version name.
	VersionName string `json:"version_name,omitempty"`
}

HashicorpCloudPacker20230101Parent hashicorp cloud packer 20230101 parent

swagger:model hashicorp.cloud.packer_20230101.Parent

func (*HashicorpCloudPacker20230101Parent) ContextValidate

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

ContextValidate validate this hashicorp cloud packer 20230101 parent based on the context it is used

func (*HashicorpCloudPacker20230101Parent) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Parent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Parent) Validate

Validate validates this hashicorp cloud packer 20230101 parent

type HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse

type HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse struct {

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

HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse hashicorp cloud packer 20230101 regenerate t f c run task hmac key response

swagger:model hashicorp.cloud.packer_20230101.RegenerateTFCRunTaskHmacKeyResponse

func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegenerateTFCRunTaskHmacKeyResponse) Validate

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

type HashicorpCloudPacker20230101Registry

type HashicorpCloudPacker20230101Registry struct {

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

	// Created datetime.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Unique identifier (ULID).
	ID string `json:"id,omitempty"`

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

	// Last updated datetime.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20230101Registry hashicorp cloud packer 20230101 registry

swagger:model hashicorp.cloud.packer_20230101.Registry

func (*HashicorpCloudPacker20230101Registry) ContextValidate

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

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

func (*HashicorpCloudPacker20230101Registry) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Registry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Registry) Validate

Validate validates this hashicorp cloud packer 20230101 registry

type HashicorpCloudPacker20230101RegistryBillingDeprovision

type HashicorpCloudPacker20230101RegistryBillingDeprovision struct {

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

	// Reason for registry deactivation.
	Reason *HashicorpCloudPacker20230101RegistryBillingDeprovisionReason `json:"reason,omitempty"`
}

HashicorpCloudPacker20230101RegistryBillingDeprovision hashicorp cloud packer 20230101 registry billing deprovision

swagger:model hashicorp.cloud.packer_20230101.RegistryBillingDeprovision

func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) ContextValidate

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

func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegistryBillingDeprovision) Validate

Validate validates this hashicorp cloud packer 20230101 registry billing deprovision

type HashicorpCloudPacker20230101RegistryBillingDeprovisionReason

type HashicorpCloudPacker20230101RegistryBillingDeprovisionReason string

HashicorpCloudPacker20230101RegistryBillingDeprovisionReason hashicorp cloud packer 20230101 registry billing deprovision reason

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

const (

	// HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT captures enum value "DELINQUENT_BILLING_ACCOUNT"
	HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT HashicorpCloudPacker20230101RegistryBillingDeprovisionReason = "DELINQUENT_BILLING_ACCOUNT"

	// HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonUSERREQUEST captures enum value "USER_REQUEST"
	HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonUSERREQUEST HashicorpCloudPacker20230101RegistryBillingDeprovisionReason = "USER_REQUEST"

	// HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonHASHIADMINREQUEST captures enum value "HASHI_ADMIN_REQUEST"
	HashicorpCloudPacker20230101RegistryBillingDeprovisionReasonHASHIADMINREQUEST HashicorpCloudPacker20230101RegistryBillingDeprovisionReason = "HASHI_ADMIN_REQUEST"
)

func (HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) ContextValidate

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

func (HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101RegistryBillingDeprovisionReason.

func (HashicorpCloudPacker20230101RegistryBillingDeprovisionReason) Validate

Validate validates this hashicorp cloud packer 20230101 registry billing deprovision reason

type HashicorpCloudPacker20230101RegistryConfig

type HashicorpCloudPacker20230101RegistryConfig struct {

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

	// Information about the billing deactivation.
	BillingDeprovision *HashicorpCloudPacker20230101RegistryBillingDeprovision `json:"billing_deprovision,omitempty"`

	// Feature tier for the registry.
	FeatureTier *HashicorpCloudPacker20230101RegistryConfigTier `json:"feature_tier,omitempty"`

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

HashicorpCloudPacker20230101RegistryConfig The HCP Packer Registry configuration.

swagger:model hashicorp.cloud.packer_20230101.RegistryConfig

func (*HashicorpCloudPacker20230101RegistryConfig) ContextValidate

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

func (*HashicorpCloudPacker20230101RegistryConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegistryConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegistryConfig) Validate

Validate validates this hashicorp cloud packer 20230101 registry config

type HashicorpCloudPacker20230101RegistryConfigTier

type HashicorpCloudPacker20230101RegistryConfigTier string

HashicorpCloudPacker20230101RegistryConfigTier hashicorp cloud packer 20230101 registry config tier

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

const (

	// HashicorpCloudPacker20230101RegistryConfigTierUNSET captures enum value "UNSET"
	HashicorpCloudPacker20230101RegistryConfigTierUNSET HashicorpCloudPacker20230101RegistryConfigTier = "UNSET"

	// HashicorpCloudPacker20230101RegistryConfigTierSTANDARD captures enum value "STANDARD"
	HashicorpCloudPacker20230101RegistryConfigTierSTANDARD HashicorpCloudPacker20230101RegistryConfigTier = "STANDARD"

	// HashicorpCloudPacker20230101RegistryConfigTierPLUS captures enum value "PLUS"
	HashicorpCloudPacker20230101RegistryConfigTierPLUS HashicorpCloudPacker20230101RegistryConfigTier = "PLUS"
)

func (HashicorpCloudPacker20230101RegistryConfigTier) ContextValidate

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

func (HashicorpCloudPacker20230101RegistryConfigTier) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101RegistryConfigTier.

func (HashicorpCloudPacker20230101RegistryConfigTier) Validate

Validate validates this hashicorp cloud packer 20230101 registry config tier

type HashicorpCloudPacker20230101RegistryTFCRunTaskConfig

type HashicorpCloudPacker20230101RegistryTFCRunTaskConfig struct {

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

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

HashicorpCloudPacker20230101RegistryTFCRunTaskConfig hashicorp cloud packer 20230101 registry t f c run task config

swagger:model hashicorp.cloud.packer_20230101.RegistryTFCRunTaskConfig

func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) ContextValidate

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

func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RegistryTFCRunTaskConfig) Validate

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

type HashicorpCloudPacker20230101RevocationType

type HashicorpCloudPacker20230101RevocationType string

HashicorpCloudPacker20230101RevocationType - MANUAL: This version was revoked manually.

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

swagger:model hashicorp.cloud.packer_20230101.RevocationType

const (

	// HashicorpCloudPacker20230101RevocationTypeREVOCATIONTYPEUNSET captures enum value "REVOCATION_TYPE_UNSET"
	HashicorpCloudPacker20230101RevocationTypeREVOCATIONTYPEUNSET HashicorpCloudPacker20230101RevocationType = "REVOCATION_TYPE_UNSET"

	// HashicorpCloudPacker20230101RevocationTypeMANUAL captures enum value "MANUAL"
	HashicorpCloudPacker20230101RevocationTypeMANUAL HashicorpCloudPacker20230101RevocationType = "MANUAL"

	// HashicorpCloudPacker20230101RevocationTypeINHERITED captures enum value "INHERITED"
	HashicorpCloudPacker20230101RevocationTypeINHERITED HashicorpCloudPacker20230101RevocationType = "INHERITED"
)

func (HashicorpCloudPacker20230101RevocationType) ContextValidate

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

func (HashicorpCloudPacker20230101RevocationType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101RevocationType.

func (HashicorpCloudPacker20230101RevocationType) Validate

Validate validates this hashicorp cloud packer 20230101 revocation type

type HashicorpCloudPacker20230101RevokedAncestor

type HashicorpCloudPacker20230101RevokedAncestor struct {

	// The revoked ancestor bucket name.
	BucketName string `json:"bucket_name,omitempty"`

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

	// The revoked ancestor version fingerprint.
	VersionFingerprint string `json:"version_fingerprint,omitempty"`

	// The revoked ancestor version ULID.
	VersionID string `json:"version_id,omitempty"`

	// The revoked ancestor version name.
	VersionName string `json:"version_name,omitempty"`
}

HashicorpCloudPacker20230101RevokedAncestor hashicorp cloud packer 20230101 revoked ancestor

swagger:model hashicorp.cloud.packer_20230101.RevokedAncestor

func (*HashicorpCloudPacker20230101RevokedAncestor) ContextValidate

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

func (*HashicorpCloudPacker20230101RevokedAncestor) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RevokedAncestor) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101RevokedAncestor) Validate

Validate validates this hashicorp cloud packer 20230101 revoked ancestor

type HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse

type HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse interface{}

HashicorpCloudPacker20230101TFCArtifactValidationRunTaskResponse === MISC ===

swagger:model hashicorp.cloud.packer_20230101.TFCArtifactValidationRunTaskResponse

type HashicorpCloudPacker20230101TemplateType

type HashicorpCloudPacker20230101TemplateType string

HashicorpCloudPacker20230101TemplateType - TEMPLATE_TYPE_UNSET: TEMPLATE_TYPE_UNSET is a sentinel zero value so that an uninitialized value can be detected.

  • HCL2: HCL2 configuration template; either pkr.hcl or pkr.json
  • JSON: Legacy JSON configuration template

swagger:model hashicorp.cloud.packer_20230101.TemplateType

const (

	// HashicorpCloudPacker20230101TemplateTypeTEMPLATETYPEUNSET captures enum value "TEMPLATE_TYPE_UNSET"
	HashicorpCloudPacker20230101TemplateTypeTEMPLATETYPEUNSET HashicorpCloudPacker20230101TemplateType = "TEMPLATE_TYPE_UNSET"

	// HashicorpCloudPacker20230101TemplateTypeHCL2 captures enum value "HCL2"
	HashicorpCloudPacker20230101TemplateTypeHCL2 HashicorpCloudPacker20230101TemplateType = "HCL2"

	// HashicorpCloudPacker20230101TemplateTypeJSON captures enum value "JSON"
	HashicorpCloudPacker20230101TemplateTypeJSON HashicorpCloudPacker20230101TemplateType = "JSON"
)

func (HashicorpCloudPacker20230101TemplateType) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 template type based on context it is used

func (HashicorpCloudPacker20230101TemplateType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101TemplateType.

func (HashicorpCloudPacker20230101TemplateType) Validate

Validate validates this hashicorp cloud packer 20230101 template type

type HashicorpCloudPacker20230101UpdateBucketBody

type HashicorpCloudPacker20230101UpdateBucketBody struct {

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

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

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

HashicorpCloudPacker20230101UpdateBucketBody hashicorp cloud packer 20230101 update bucket body

swagger:model hashicorp.cloud.packer_20230101.UpdateBucketBody

func (*HashicorpCloudPacker20230101UpdateBucketBody) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 update bucket body based on context it is used

func (*HashicorpCloudPacker20230101UpdateBucketBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBucketBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBucketBody) Validate

Validate validates this hashicorp cloud packer 20230101 update bucket body

type HashicorpCloudPacker20230101UpdateBucketResponse

type HashicorpCloudPacker20230101UpdateBucketResponse struct {

	// bucket
	Bucket *HashicorpCloudPacker20230101Bucket `json:"bucket,omitempty"`
}

HashicorpCloudPacker20230101UpdateBucketResponse hashicorp cloud packer 20230101 update bucket response

swagger:model hashicorp.cloud.packer_20230101.UpdateBucketResponse

func (*HashicorpCloudPacker20230101UpdateBucketResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101UpdateBucketResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBucketResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBucketResponse) Validate

Validate validates this hashicorp cloud packer 20230101 update bucket response

type HashicorpCloudPacker20230101UpdateBuildBody

type HashicorpCloudPacker20230101UpdateBuildBody struct {

	// A list of artifacts to create and associate with this build.
	Artifacts []*HashicorpCloudPacker20230101ArtifactCreateBody `json:"artifacts"`

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

	// Additional information set by Packer about a build, such as plugins used.
	Metadata *HashicorpCloudPacker20230101BuildMetadata `json:"metadata,omitempty"`

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

	// The ID of the channel that was used to fetch the parent_version_id.
	// When the parent_channel_id is set, parent_version_id should also be set.
	ParentChannelID string `json:"parent_channel_id,omitempty"`

	// The ID of the parent version associated with the `source_external_identifier`.
	ParentVersionID string `json:"parent_version_id,omitempty"`

	// The platform that this build produced artifacts for.
	// For example, AWS, GCP, or Azure.
	Platform string `json:"platform,omitempty"`

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

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

HashicorpCloudPacker20230101UpdateBuildBody hashicorp cloud packer 20230101 update build body

swagger:model hashicorp.cloud.packer_20230101.UpdateBuildBody

func (*HashicorpCloudPacker20230101UpdateBuildBody) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 update build body based on the context it is used

func (*HashicorpCloudPacker20230101UpdateBuildBody) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBuildBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBuildBody) Validate

Validate validates this hashicorp cloud packer 20230101 update build body

type HashicorpCloudPacker20230101UpdateBuildResponse

type HashicorpCloudPacker20230101UpdateBuildResponse struct {

	// build
	Build *HashicorpCloudPacker20230101Build `json:"build,omitempty"`
}

HashicorpCloudPacker20230101UpdateBuildResponse hashicorp cloud packer 20230101 update build response

swagger:model hashicorp.cloud.packer_20230101.UpdateBuildResponse

func (*HashicorpCloudPacker20230101UpdateBuildResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101UpdateBuildResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBuildResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateBuildResponse) Validate

Validate validates this hashicorp cloud packer 20230101 update build response

type HashicorpCloudPacker20230101UpdateChannelBody

type HashicorpCloudPacker20230101UpdateChannelBody struct {

	// Whether this channel's access is restricted to users with write permission in the HCP Packer registry.
	Restricted bool `json:"restricted,omitempty"`

	// The required mask of fields to update. Fields name are converted lower-camel naming conventions.
	//
	// Example of usage:
	// * "versionFingerprint,restricted" will update both assigned version and channel restriction.
	// * "versionFingerprint" will only update the assigned version.
	// * "restricted" will only update the channel restriction.
	UpdateMask string `json:"update_mask,omitempty"`

	// Fingerprint of the version. The fingerprint is set by Packer when you
	// call `packer build`.
	VersionFingerprint string `json:"version_fingerprint,omitempty"`
}

HashicorpCloudPacker20230101UpdateChannelBody hashicorp cloud packer 20230101 update channel body

swagger:model hashicorp.cloud.packer_20230101.UpdateChannelBody

func (*HashicorpCloudPacker20230101UpdateChannelBody) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 update channel body based on context it is used

func (*HashicorpCloudPacker20230101UpdateChannelBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateChannelBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateChannelBody) Validate

Validate validates this hashicorp cloud packer 20230101 update channel body

type HashicorpCloudPacker20230101UpdateChannelResponse

type HashicorpCloudPacker20230101UpdateChannelResponse struct {

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

HashicorpCloudPacker20230101UpdateChannelResponse hashicorp cloud packer 20230101 update channel response

swagger:model hashicorp.cloud.packer_20230101.UpdateChannelResponse

func (*HashicorpCloudPacker20230101UpdateChannelResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101UpdateChannelResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateChannelResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateChannelResponse) Validate

Validate validates this hashicorp cloud packer 20230101 update channel response

type HashicorpCloudPacker20230101UpdateRegistryBody

type HashicorpCloudPacker20230101UpdateRegistryBody struct {

	// activated
	Activated bool `json:"activated,omitempty"`

	// feature tier
	FeatureTier *HashicorpCloudPacker20230101RegistryConfigTier `json:"feature_tier,omitempty"`

	// To enable `Activated` field use `update_mask`. Send `["config.activated",]` if you want to activate or deactivate the
	// registry. If given `[]`, we will ignore `activated` entirely.
	UpdateMask string `json:"update_mask,omitempty"`
}

HashicorpCloudPacker20230101UpdateRegistryBody hashicorp cloud packer 20230101 update registry body

swagger:model hashicorp.cloud.packer_20230101.UpdateRegistryBody

func (*HashicorpCloudPacker20230101UpdateRegistryBody) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 update registry body based on the context it is used

func (*HashicorpCloudPacker20230101UpdateRegistryBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateRegistryBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateRegistryBody) Validate

Validate validates this hashicorp cloud packer 20230101 update registry body

type HashicorpCloudPacker20230101UpdateRegistryResponse

type HashicorpCloudPacker20230101UpdateRegistryResponse struct {

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

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

HashicorpCloudPacker20230101UpdateRegistryResponse hashicorp cloud packer 20230101 update registry response

swagger:model hashicorp.cloud.packer_20230101.UpdateRegistryResponse

func (*HashicorpCloudPacker20230101UpdateRegistryResponse) ContextValidate

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

func (*HashicorpCloudPacker20230101UpdateRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateRegistryResponse) Validate

Validate validates this hashicorp cloud packer 20230101 update registry response

type HashicorpCloudPacker20230101UpdateVersionBody

type HashicorpCloudPacker20230101UpdateVersionBody struct {

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

	// When set to true, any user created channels will not be rolled back to the
	// last valid version they were assigned to.
	DisableRollbackChannels bool `json:"disable_rollback_channels,omitempty"`

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

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

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

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

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

HashicorpCloudPacker20230101UpdateVersionBody hashicorp cloud packer 20230101 update version body

swagger:model hashicorp.cloud.packer_20230101.UpdateVersionBody

func (*HashicorpCloudPacker20230101UpdateVersionBody) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 update version body based on context it is used

func (*HashicorpCloudPacker20230101UpdateVersionBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateVersionBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateVersionBody) Validate

Validate validates this hashicorp cloud packer 20230101 update version body

type HashicorpCloudPacker20230101UpdateVersionResponse

type HashicorpCloudPacker20230101UpdateVersionResponse struct {

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

	// version
	Version *HashicorpCloudPacker20230101Version `json:"version,omitempty"`
}

HashicorpCloudPacker20230101UpdateVersionResponse hashicorp cloud packer 20230101 update version response

swagger:model hashicorp.cloud.packer_20230101.UpdateVersionResponse

func (*HashicorpCloudPacker20230101UpdateVersionResponse) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 update version response based on the context it is used

func (*HashicorpCloudPacker20230101UpdateVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101UpdateVersionResponse) Validate

Validate validates this hashicorp cloud packer 20230101 update version response

type HashicorpCloudPacker20230101Version

type HashicorpCloudPacker20230101Version struct {

	// Name of the author who created this version.
	AuthorID string `json:"author_id,omitempty"`

	// Human-readable name for the bucket that this version is associated with.
	BucketName string `json:"bucket_name,omitempty"`

	// List of all the builds associated with this version.
	Builds []*HashicorpCloudPacker20230101Build `json:"builds"`

	// Created datetime.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Fingerprint of the version. The fingerprint is set by Packer when you
	// call `packer build`.
	Fingerprint string `json:"fingerprint,omitempty"`

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

	// Unique identifier (ULID).
	ID string `json:"id,omitempty"`

	// Human-readable name of the version.
	Name string `json:"name,omitempty"`

	// Information about this version's parents. Parents are the base artifact.
	Parents *HashicorpCloudPacker20230101VersionParents `json:"parents,omitempty"`

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

	// Ancestor version from whom this version inherited the revocation.
	RevocationInheritedFrom *HashicorpCloudPacker20230101RevokedAncestor `json:"revocation_inherited_from,omitempty"`

	// Short explanation of why this version was revoked.
	RevocationMessage string `json:"revocation_message,omitempty"`

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

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

	// Current state of the version.
	Status *HashicorpCloudPacker20230101VersionStatus `json:"status,omitempty"`

	// The type of Packer configuration template used to build this version.
	TemplateType *HashicorpCloudPacker20230101TemplateType `json:"template_type,omitempty"`

	// Last updated datetime.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudPacker20230101Version hashicorp cloud packer 20230101 version

swagger:model hashicorp.cloud.packer_20230101.Version

func (*HashicorpCloudPacker20230101Version) ContextValidate

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

ContextValidate validate this hashicorp cloud packer 20230101 version based on the context it is used

func (*HashicorpCloudPacker20230101Version) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Version) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101Version) Validate

Validate validates this hashicorp cloud packer 20230101 version

type HashicorpCloudPacker20230101VersionParents

type HashicorpCloudPacker20230101VersionParents struct {

	// The endpoint URL for the bucket's ancestry at this version.
	Href string `json:"href,omitempty"`

	// The parents' overall status for the bucket's ancestry at this version.
	// If at least one parent is out of date, the overall status will be 'OUT_OF_DATE'.
	Status *HashicorpCloudPacker20230101AncestryStatus `json:"status,omitempty"`
}

HashicorpCloudPacker20230101VersionParents hashicorp cloud packer 20230101 version parents

swagger:model hashicorp.cloud.packer_20230101.VersionParents

func (*HashicorpCloudPacker20230101VersionParents) ContextValidate

ContextValidate validate this hashicorp cloud packer 20230101 version parents based on the context it is used

func (*HashicorpCloudPacker20230101VersionParents) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPacker20230101VersionParents) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPacker20230101VersionParents) Validate

Validate validates this hashicorp cloud packer 20230101 version parents

type HashicorpCloudPacker20230101VersionStatus

type HashicorpCloudPacker20230101VersionStatus string

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

  • VERSION_RUNNING: Running means the `packer build` is currently running in the version.
  • VERSION_CANCELLED: Cancelled means the `packer build` was cancelled by a user.
  • VERSION_FAILED: Failed means the `packer build` failed and therefore artifact creation failed.
  • VERSION_REVOKED: Revoked means the version has been revoked.
  • VERSION_REVOCATION_SCHEDULED: Revocation scheduled means the version has been scheduled to be revoked.
  • VERSION_ACTIVE: Active means the version is valid and ready to be used.
  • VERSION_INCOMPLETE: Incomplete means the version has one or more builds that didn't run and the status is UNSET.

swagger:model hashicorp.cloud.packer_20230101.VersionStatus

const (

	// HashicorpCloudPacker20230101VersionStatusVERSIONUNSET captures enum value "VERSION_UNSET"
	HashicorpCloudPacker20230101VersionStatusVERSIONUNSET HashicorpCloudPacker20230101VersionStatus = "VERSION_UNSET"

	// HashicorpCloudPacker20230101VersionStatusVERSIONRUNNING captures enum value "VERSION_RUNNING"
	HashicorpCloudPacker20230101VersionStatusVERSIONRUNNING HashicorpCloudPacker20230101VersionStatus = "VERSION_RUNNING"

	// HashicorpCloudPacker20230101VersionStatusVERSIONCANCELLED captures enum value "VERSION_CANCELLED"
	HashicorpCloudPacker20230101VersionStatusVERSIONCANCELLED HashicorpCloudPacker20230101VersionStatus = "VERSION_CANCELLED"

	// HashicorpCloudPacker20230101VersionStatusVERSIONFAILED captures enum value "VERSION_FAILED"
	HashicorpCloudPacker20230101VersionStatusVERSIONFAILED HashicorpCloudPacker20230101VersionStatus = "VERSION_FAILED"

	// HashicorpCloudPacker20230101VersionStatusVERSIONREVOKED captures enum value "VERSION_REVOKED"
	HashicorpCloudPacker20230101VersionStatusVERSIONREVOKED HashicorpCloudPacker20230101VersionStatus = "VERSION_REVOKED"

	// HashicorpCloudPacker20230101VersionStatusVERSIONREVOCATIONSCHEDULED captures enum value "VERSION_REVOCATION_SCHEDULED"
	HashicorpCloudPacker20230101VersionStatusVERSIONREVOCATIONSCHEDULED HashicorpCloudPacker20230101VersionStatus = "VERSION_REVOCATION_SCHEDULED"

	// HashicorpCloudPacker20230101VersionStatusVERSIONACTIVE captures enum value "VERSION_ACTIVE"
	HashicorpCloudPacker20230101VersionStatusVERSIONACTIVE HashicorpCloudPacker20230101VersionStatus = "VERSION_ACTIVE"

	// HashicorpCloudPacker20230101VersionStatusVERSIONINCOMPLETE captures enum value "VERSION_INCOMPLETE"
	HashicorpCloudPacker20230101VersionStatusVERSIONINCOMPLETE HashicorpCloudPacker20230101VersionStatus = "VERSION_INCOMPLETE"
)

func (HashicorpCloudPacker20230101VersionStatus) ContextValidate

ContextValidate validates this hashicorp cloud packer 20230101 version status based on context it is used

func (HashicorpCloudPacker20230101VersionStatus) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudPacker20230101VersionStatus.

func (HashicorpCloudPacker20230101VersionStatus) Validate

Validate validates this hashicorp cloud packer 20230101 version status

Source Files

Jump to

Keyboard shortcuts

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