models

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MPL-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudPackerBucket

type HashicorpCloudPackerBucket struct {

	// 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 *HashicorpCloudPackerIteration `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"`

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

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

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

HashicorpCloudPackerBucket hashicorp cloud packer bucket

swagger:model hashicorp.cloud.packer.Bucket

func (*HashicorpCloudPackerBucket) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerBucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerBucket) Validate

func (m *HashicorpCloudPackerBucket) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud packer bucket

type HashicorpCloudPackerBuild

type HashicorpCloudPackerBuild struct {

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

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

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

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

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

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

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

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

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

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

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

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

HashicorpCloudPackerBuild hashicorp cloud packer build

swagger:model hashicorp.cloud.packer.Build

func (*HashicorpCloudPackerBuild) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerBuild) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerBuild) Validate

func (m *HashicorpCloudPackerBuild) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud packer build

type HashicorpCloudPackerBuildCreateBody

type HashicorpCloudPackerBuildCreateBody struct {

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

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

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

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

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

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

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

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

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

swagger:model hashicorp.cloud.packer.BuildCreateBody

func (*HashicorpCloudPackerBuildCreateBody) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerBuildCreateBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerBuildCreateBody) Validate

Validate validates this hashicorp cloud packer build create body

type HashicorpCloudPackerBuildStatus

type HashicorpCloudPackerBuildStatus string

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

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

swagger:model hashicorp.cloud.packer.BuildStatus

const (

	// HashicorpCloudPackerBuildStatusUNSET captures enum value "UNSET"
	HashicorpCloudPackerBuildStatusUNSET HashicorpCloudPackerBuildStatus = "UNSET"

	// HashicorpCloudPackerBuildStatusRUNNING captures enum value "RUNNING"
	HashicorpCloudPackerBuildStatusRUNNING HashicorpCloudPackerBuildStatus = "RUNNING"

	// HashicorpCloudPackerBuildStatusDONE captures enum value "DONE"
	HashicorpCloudPackerBuildStatusDONE HashicorpCloudPackerBuildStatus = "DONE"

	// HashicorpCloudPackerBuildStatusCANCELLED captures enum value "CANCELLED"
	HashicorpCloudPackerBuildStatusCANCELLED HashicorpCloudPackerBuildStatus = "CANCELLED"

	// HashicorpCloudPackerBuildStatusFAILED captures enum value "FAILED"
	HashicorpCloudPackerBuildStatusFAILED HashicorpCloudPackerBuildStatus = "FAILED"
)

func (HashicorpCloudPackerBuildStatus) Validate

Validate validates this hashicorp cloud packer build status

type HashicorpCloudPackerBuildUpdates

type HashicorpCloudPackerBuildUpdates struct {

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

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

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

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

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

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

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

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

swagger:model hashicorp.cloud.packer.BuildUpdates

func (*HashicorpCloudPackerBuildUpdates) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerBuildUpdates) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerBuildUpdates) Validate

Validate validates this hashicorp cloud packer build updates

type HashicorpCloudPackerChannel

type HashicorpCloudPackerChannel struct {

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

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

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

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

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

	// A pointer to the iteration currently associated with this channel.
	// Deprecated: look at the Channel.iteration instead.
	Pointer *HashicorpCloudPackerChannelIterationPointer `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"`
}

HashicorpCloudPackerChannel hashicorp cloud packer channel

swagger:model hashicorp.cloud.packer.Channel

func (*HashicorpCloudPackerChannel) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerChannel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerChannel) Validate

func (m *HashicorpCloudPackerChannel) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud packer channel

type HashicorpCloudPackerChannelIterationPointer

type HashicorpCloudPackerChannelIterationPointer struct {

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

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

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

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

swagger:model hashicorp.cloud.packer.ChannelIterationPointer

func (*HashicorpCloudPackerChannelIterationPointer) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerChannelIterationPointer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerChannelIterationPointer) Validate

Validate validates this hashicorp cloud packer channel iteration pointer

type HashicorpCloudPackerCreateBucketRequest

type HashicorpCloudPackerCreateBucketRequest 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"`
}

HashicorpCloudPackerCreateBucketRequest hashicorp cloud packer create bucket request

swagger:model hashicorp.cloud.packer.CreateBucketRequest

func (*HashicorpCloudPackerCreateBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBucketRequest) Validate

Validate validates this hashicorp cloud packer create bucket request

type HashicorpCloudPackerCreateBucketResponse

type HashicorpCloudPackerCreateBucketResponse struct {

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

HashicorpCloudPackerCreateBucketResponse hashicorp cloud packer create bucket response

swagger:model hashicorp.cloud.packer.CreateBucketResponse

func (*HashicorpCloudPackerCreateBucketResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBucketResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBucketResponse) Validate

Validate validates this hashicorp cloud packer create bucket response

type HashicorpCloudPackerCreateBuildRequest

type HashicorpCloudPackerCreateBuildRequest struct {

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

	// Information about the build to create.
	Build *HashicorpCloudPackerBuildCreateBody `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"`
}

HashicorpCloudPackerCreateBuildRequest hashicorp cloud packer create build request

swagger:model hashicorp.cloud.packer.CreateBuildRequest

func (*HashicorpCloudPackerCreateBuildRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBuildRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBuildRequest) Validate

Validate validates this hashicorp cloud packer create build request

type HashicorpCloudPackerCreateBuildResponse

type HashicorpCloudPackerCreateBuildResponse struct {

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

HashicorpCloudPackerCreateBuildResponse hashicorp cloud packer create build response

swagger:model hashicorp.cloud.packer.CreateBuildResponse

func (*HashicorpCloudPackerCreateBuildResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBuildResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateBuildResponse) Validate

Validate validates this hashicorp cloud packer create build response

type HashicorpCloudPackerCreateChannelRequest

type HashicorpCloudPackerCreateChannelRequest 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"`
}

HashicorpCloudPackerCreateChannelRequest hashicorp cloud packer create channel request

swagger:model hashicorp.cloud.packer.CreateChannelRequest

func (*HashicorpCloudPackerCreateChannelRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateChannelRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateChannelRequest) Validate

Validate validates this hashicorp cloud packer create channel request

type HashicorpCloudPackerCreateChannelResponse

type HashicorpCloudPackerCreateChannelResponse struct {

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

HashicorpCloudPackerCreateChannelResponse hashicorp cloud packer create channel response

swagger:model hashicorp.cloud.packer.CreateChannelResponse

func (*HashicorpCloudPackerCreateChannelResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateChannelResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateChannelResponse) Validate

Validate validates this hashicorp cloud packer create channel response

type HashicorpCloudPackerCreateIterationRequest

type HashicorpCloudPackerCreateIterationRequest 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"`
}

HashicorpCloudPackerCreateIterationRequest hashicorp cloud packer create iteration request

swagger:model hashicorp.cloud.packer.CreateIterationRequest

func (*HashicorpCloudPackerCreateIterationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateIterationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateIterationRequest) Validate

Validate validates this hashicorp cloud packer create iteration request

type HashicorpCloudPackerCreateIterationResponse

type HashicorpCloudPackerCreateIterationResponse struct {

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

HashicorpCloudPackerCreateIterationResponse hashicorp cloud packer create iteration response

swagger:model hashicorp.cloud.packer.CreateIterationResponse

func (*HashicorpCloudPackerCreateIterationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateIterationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateIterationResponse) Validate

Validate validates this hashicorp cloud packer create iteration response

type HashicorpCloudPackerCreateRegistryRequest

type HashicorpCloudPackerCreateRegistryRequest struct {

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

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

HashicorpCloudPackerCreateRegistryRequest hashicorp cloud packer create registry request

swagger:model hashicorp.cloud.packer.CreateRegistryRequest

func (*HashicorpCloudPackerCreateRegistryRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateRegistryRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateRegistryRequest) Validate

Validate validates this hashicorp cloud packer create registry request

type HashicorpCloudPackerCreateRegistryResponse

type HashicorpCloudPackerCreateRegistryResponse struct {

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

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

HashicorpCloudPackerCreateRegistryResponse hashicorp cloud packer create registry response

swagger:model hashicorp.cloud.packer.CreateRegistryResponse

func (*HashicorpCloudPackerCreateRegistryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerCreateRegistryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerCreateRegistryResponse) Validate

Validate validates this hashicorp cloud packer create registry response

type HashicorpCloudPackerDeleteBucketResponse

type HashicorpCloudPackerDeleteBucketResponse interface{}

HashicorpCloudPackerDeleteBucketResponse hashicorp cloud packer delete bucket response

swagger:model hashicorp.cloud.packer.DeleteBucketResponse

type HashicorpCloudPackerDeleteBuildResponse

type HashicorpCloudPackerDeleteBuildResponse interface{}

HashicorpCloudPackerDeleteBuildResponse hashicorp cloud packer delete build response

swagger:model hashicorp.cloud.packer.DeleteBuildResponse

type HashicorpCloudPackerDeleteChannelResponse

type HashicorpCloudPackerDeleteChannelResponse interface{}

HashicorpCloudPackerDeleteChannelResponse hashicorp cloud packer delete channel response

swagger:model hashicorp.cloud.packer.DeleteChannelResponse

type HashicorpCloudPackerDeleteIterationResponse

type HashicorpCloudPackerDeleteIterationResponse interface{}

HashicorpCloudPackerDeleteIterationResponse hashicorp cloud packer delete iteration response

swagger:model hashicorp.cloud.packer.DeleteIterationResponse

type HashicorpCloudPackerDeleteRegistryResponse

type HashicorpCloudPackerDeleteRegistryResponse struct {

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

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

HashicorpCloudPackerDeleteRegistryResponse hashicorp cloud packer delete registry response

swagger:model hashicorp.cloud.packer.DeleteRegistryResponse

func (*HashicorpCloudPackerDeleteRegistryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerDeleteRegistryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerDeleteRegistryResponse) Validate

Validate validates this hashicorp cloud packer delete registry response

type HashicorpCloudPackerGetBucketResponse

type HashicorpCloudPackerGetBucketResponse struct {

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

HashicorpCloudPackerGetBucketResponse hashicorp cloud packer get bucket response

swagger:model hashicorp.cloud.packer.GetBucketResponse

func (*HashicorpCloudPackerGetBucketResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerGetBucketResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerGetBucketResponse) Validate

Validate validates this hashicorp cloud packer get bucket response

type HashicorpCloudPackerGetBuildResponse

type HashicorpCloudPackerGetBuildResponse struct {

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

HashicorpCloudPackerGetBuildResponse hashicorp cloud packer get build response

swagger:model hashicorp.cloud.packer.GetBuildResponse

func (*HashicorpCloudPackerGetBuildResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerGetBuildResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerGetBuildResponse) Validate

Validate validates this hashicorp cloud packer get build response

type HashicorpCloudPackerGetChannelResponse

type HashicorpCloudPackerGetChannelResponse struct {

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

HashicorpCloudPackerGetChannelResponse hashicorp cloud packer get channel response

swagger:model hashicorp.cloud.packer.GetChannelResponse

func (*HashicorpCloudPackerGetChannelResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerGetChannelResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerGetChannelResponse) Validate

Validate validates this hashicorp cloud packer get channel response

type HashicorpCloudPackerGetIterationResponse

type HashicorpCloudPackerGetIterationResponse struct {

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

HashicorpCloudPackerGetIterationResponse hashicorp cloud packer get iteration response

swagger:model hashicorp.cloud.packer.GetIterationResponse

func (*HashicorpCloudPackerGetIterationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerGetIterationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerGetIterationResponse) Validate

Validate validates this hashicorp cloud packer get iteration response

type HashicorpCloudPackerGetRegistryResponse

type HashicorpCloudPackerGetRegistryResponse struct {

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

HashicorpCloudPackerGetRegistryResponse hashicorp cloud packer get registry response

swagger:model hashicorp.cloud.packer.GetRegistryResponse

func (*HashicorpCloudPackerGetRegistryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerGetRegistryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerGetRegistryResponse) Validate

Validate validates this hashicorp cloud packer get registry response

type HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse

type HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse struct {

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

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

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

swagger:model hashicorp.cloud.packer.GetRegistryTFCRunTaskAPIResponse

func (*HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerGetRegistryTFCRunTaskAPIResponse) Validate

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

type HashicorpCloudPackerImage

type HashicorpCloudPackerImage struct {

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

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

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

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

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

swagger:model hashicorp.cloud.packer.Image

func (*HashicorpCloudPackerImage) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerImage) Validate

func (m *HashicorpCloudPackerImage) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud packer image

type HashicorpCloudPackerImageCreateBody

type HashicorpCloudPackerImageCreateBody struct {

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

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

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

swagger:model hashicorp.cloud.packer.ImageCreateBody

func (*HashicorpCloudPackerImageCreateBody) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerImageCreateBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerImageCreateBody) Validate

Validate validates this hashicorp cloud packer image create body

type HashicorpCloudPackerIteration

type HashicorpCloudPackerIteration struct {

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

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

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

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

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

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. 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
	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"`

	// A short explanation of why this iteration was revoked.
	RevocationMessage string `json:"revocation_message,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"`
}

HashicorpCloudPackerIteration hashicorp cloud packer iteration

swagger:model hashicorp.cloud.packer.Iteration

func (*HashicorpCloudPackerIteration) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerIteration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerIteration) Validate

func (m *HashicorpCloudPackerIteration) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud packer iteration

type HashicorpCloudPackerIterationforList

type HashicorpCloudPackerIterationforList struct {

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

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

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

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

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

	// Fingerprint of the iteration. The fingerprint is set by Packer when you
	// call `packer build`. 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
	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"`

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

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

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

HashicorpCloudPackerIterationforList The list endpoint does not return build information.

swagger:model hashicorp.cloud.packer.IterationforList

func (*HashicorpCloudPackerIterationforList) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerIterationforList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerIterationforList) Validate

Validate validates this hashicorp cloud packer iterationfor list

type HashicorpCloudPackerListBucketsResponse

type HashicorpCloudPackerListBucketsResponse struct {

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

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

HashicorpCloudPackerListBucketsResponse hashicorp cloud packer list buckets response

swagger:model hashicorp.cloud.packer.ListBucketsResponse

func (*HashicorpCloudPackerListBucketsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerListBucketsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerListBucketsResponse) Validate

Validate validates this hashicorp cloud packer list buckets response

type HashicorpCloudPackerListBuildsResponse

type HashicorpCloudPackerListBuildsResponse struct {

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

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

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

HashicorpCloudPackerListBuildsResponse hashicorp cloud packer list builds response

swagger:model hashicorp.cloud.packer.ListBuildsResponse

func (*HashicorpCloudPackerListBuildsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerListBuildsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerListBuildsResponse) Validate

Validate validates this hashicorp cloud packer list builds response

type HashicorpCloudPackerListChannelsResponse

type HashicorpCloudPackerListChannelsResponse struct {

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

HashicorpCloudPackerListChannelsResponse hashicorp cloud packer list channels response

swagger:model hashicorp.cloud.packer.ListChannelsResponse

func (*HashicorpCloudPackerListChannelsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerListChannelsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerListChannelsResponse) Validate

Validate validates this hashicorp cloud packer list channels response

type HashicorpCloudPackerListIterationsResponse

type HashicorpCloudPackerListIterationsResponse struct {

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

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

HashicorpCloudPackerListIterationsResponse hashicorp cloud packer list iterations response

swagger:model hashicorp.cloud.packer.ListIterationsResponse

func (*HashicorpCloudPackerListIterationsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerListIterationsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerListIterationsResponse) Validate

Validate validates this hashicorp cloud packer list iterations response

type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyRequest

type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyRequest struct {

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

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

swagger:model hashicorp.cloud.packer.RegenerateTFCRunTaskHmacKeyRequest

func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyRequest) Validate

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

type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse

type HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse struct {

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

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

swagger:model hashicorp.cloud.packer.RegenerateTFCRunTaskHmacKeyResponse

func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerRegenerateTFCRunTaskHmacKeyResponse) Validate

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

type HashicorpCloudPackerRegistry

type HashicorpCloudPackerRegistry struct {

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

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

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

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

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

HashicorpCloudPackerRegistry hashicorp cloud packer registry

swagger:model hashicorp.cloud.packer.Registry

func (*HashicorpCloudPackerRegistry) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerRegistry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerRegistry) Validate

func (m *HashicorpCloudPackerRegistry) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud packer registry

type HashicorpCloudPackerRegistryBillingDeprovision

type HashicorpCloudPackerRegistryBillingDeprovision struct {

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

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

HashicorpCloudPackerRegistryBillingDeprovision hashicorp cloud packer registry billing deprovision

swagger:model hashicorp.cloud.packer.RegistryBillingDeprovision

func (*HashicorpCloudPackerRegistryBillingDeprovision) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPackerRegistryBillingDeprovision) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerRegistryBillingDeprovision) Validate

Validate validates this hashicorp cloud packer registry billing deprovision

type HashicorpCloudPackerRegistryBillingDeprovisionReason

type HashicorpCloudPackerRegistryBillingDeprovisionReason string

HashicorpCloudPackerRegistryBillingDeprovisionReason hashicorp cloud packer registry billing deprovision reason

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

const (

	// HashicorpCloudPackerRegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT captures enum value "DELINQUENT_BILLING_ACCOUNT"
	HashicorpCloudPackerRegistryBillingDeprovisionReasonDELINQUENTBILLINGACCOUNT HashicorpCloudPackerRegistryBillingDeprovisionReason = "DELINQUENT_BILLING_ACCOUNT"

	// HashicorpCloudPackerRegistryBillingDeprovisionReasonUSERREQUEST captures enum value "USER_REQUEST"
	HashicorpCloudPackerRegistryBillingDeprovisionReasonUSERREQUEST HashicorpCloudPackerRegistryBillingDeprovisionReason = "USER_REQUEST"
)

func (HashicorpCloudPackerRegistryBillingDeprovisionReason) Validate

Validate validates this hashicorp cloud packer registry billing deprovision reason

type HashicorpCloudPackerRegistryConfig

type HashicorpCloudPackerRegistryConfig struct {

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

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

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

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

HashicorpCloudPackerRegistryConfig The HCP Packer Registry configuration

swagger:model hashicorp.cloud.packer.RegistryConfig

func (*HashicorpCloudPackerRegistryConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerRegistryConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerRegistryConfig) Validate

Validate validates this hashicorp cloud packer registry config

type HashicorpCloudPackerRegistryConfigTier

type HashicorpCloudPackerRegistryConfigTier string

HashicorpCloudPackerRegistryConfigTier hashicorp cloud packer registry config tier

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

const (

	// HashicorpCloudPackerRegistryConfigTierUNSET captures enum value "UNSET"
	HashicorpCloudPackerRegistryConfigTierUNSET HashicorpCloudPackerRegistryConfigTier = "UNSET"

	// HashicorpCloudPackerRegistryConfigTierPRIVATEBETA captures enum value "PRIVATE_BETA"
	HashicorpCloudPackerRegistryConfigTierPRIVATEBETA HashicorpCloudPackerRegistryConfigTier = "PRIVATE_BETA"

	// HashicorpCloudPackerRegistryConfigTierSTANDARD captures enum value "STANDARD"
	HashicorpCloudPackerRegistryConfigTierSTANDARD HashicorpCloudPackerRegistryConfigTier = "STANDARD"

	// HashicorpCloudPackerRegistryConfigTierPLUS captures enum value "PLUS"
	HashicorpCloudPackerRegistryConfigTierPLUS HashicorpCloudPackerRegistryConfigTier = "PLUS"
)

func (HashicorpCloudPackerRegistryConfigTier) Validate

Validate validates this hashicorp cloud packer registry config tier

type HashicorpCloudPackerRegistryTFCRunTaskConfig

type HashicorpCloudPackerRegistryTFCRunTaskConfig struct {

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

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

HashicorpCloudPackerRegistryTFCRunTaskConfig hashicorp cloud packer registry t f c run task config

swagger:model hashicorp.cloud.packer.RegistryTFCRunTaskConfig

func (*HashicorpCloudPackerRegistryTFCRunTaskConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudPackerRegistryTFCRunTaskConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerRegistryTFCRunTaskConfig) Validate

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

type HashicorpCloudPackerTFCImageValidationRunTaskResponse

type HashicorpCloudPackerTFCImageValidationRunTaskResponse interface{}

HashicorpCloudPackerTFCImageValidationRunTaskResponse hashicorp cloud packer t f c image validation run task response

swagger:model hashicorp.cloud.packer.TFCImageValidationRunTaskResponse

type HashicorpCloudPackerUpdateBucketRequest

type HashicorpCloudPackerUpdateBucketRequest 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"`
}

HashicorpCloudPackerUpdateBucketRequest hashicorp cloud packer update bucket request

swagger:model hashicorp.cloud.packer.UpdateBucketRequest

func (*HashicorpCloudPackerUpdateBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBucketRequest) Validate

Validate validates this hashicorp cloud packer update bucket request

type HashicorpCloudPackerUpdateBucketResponse

type HashicorpCloudPackerUpdateBucketResponse struct {

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

HashicorpCloudPackerUpdateBucketResponse hashicorp cloud packer update bucket response

swagger:model hashicorp.cloud.packer.UpdateBucketResponse

func (*HashicorpCloudPackerUpdateBucketResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBucketResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBucketResponse) Validate

Validate validates this hashicorp cloud packer update bucket response

type HashicorpCloudPackerUpdateBuildRequest

type HashicorpCloudPackerUpdateBuildRequest 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 *HashicorpCloudPackerBuildUpdates `json:"updates,omitempty"`
}

HashicorpCloudPackerUpdateBuildRequest hashicorp cloud packer update build request

swagger:model hashicorp.cloud.packer.UpdateBuildRequest

func (*HashicorpCloudPackerUpdateBuildRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBuildRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBuildRequest) Validate

Validate validates this hashicorp cloud packer update build request

type HashicorpCloudPackerUpdateBuildResponse

type HashicorpCloudPackerUpdateBuildResponse struct {

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

HashicorpCloudPackerUpdateBuildResponse hashicorp cloud packer update build response

swagger:model hashicorp.cloud.packer.UpdateBuildResponse

func (*HashicorpCloudPackerUpdateBuildResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBuildResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateBuildResponse) Validate

Validate validates this hashicorp cloud packer update build response

type HashicorpCloudPackerUpdateChannelRequest

type HashicorpCloudPackerUpdateChannelRequest 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"`
}

HashicorpCloudPackerUpdateChannelRequest hashicorp cloud packer update channel request

swagger:model hashicorp.cloud.packer.UpdateChannelRequest

func (*HashicorpCloudPackerUpdateChannelRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateChannelRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateChannelRequest) Validate

Validate validates this hashicorp cloud packer update channel request

type HashicorpCloudPackerUpdateChannelResponse

type HashicorpCloudPackerUpdateChannelResponse struct {

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

HashicorpCloudPackerUpdateChannelResponse hashicorp cloud packer update channel response

swagger:model hashicorp.cloud.packer.UpdateChannelResponse

func (*HashicorpCloudPackerUpdateChannelResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateChannelResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateChannelResponse) Validate

Validate validates this hashicorp cloud packer update channel response

type HashicorpCloudPackerUpdateIterationRequest

type HashicorpCloudPackerUpdateIterationRequest 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"`
}

HashicorpCloudPackerUpdateIterationRequest hashicorp cloud packer update iteration request

swagger:model hashicorp.cloud.packer.UpdateIterationRequest

func (*HashicorpCloudPackerUpdateIterationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateIterationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateIterationRequest) Validate

Validate validates this hashicorp cloud packer update iteration request

type HashicorpCloudPackerUpdateIterationResponse

type HashicorpCloudPackerUpdateIterationResponse struct {

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

HashicorpCloudPackerUpdateIterationResponse hashicorp cloud packer update iteration response

swagger:model hashicorp.cloud.packer.UpdateIterationResponse

func (*HashicorpCloudPackerUpdateIterationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateIterationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateIterationResponse) Validate

Validate validates this hashicorp cloud packer update iteration response

type HashicorpCloudPackerUpdateRegistryRequest

type HashicorpCloudPackerUpdateRegistryRequest 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 HashicorpCloudPackerRegistryConfigTier `json:"feature_tier,omitempty"`

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

HashicorpCloudPackerUpdateRegistryRequest hashicorp cloud packer update registry request

swagger:model hashicorp.cloud.packer.UpdateRegistryRequest

func (*HashicorpCloudPackerUpdateRegistryRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateRegistryRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateRegistryRequest) Validate

Validate validates this hashicorp cloud packer update registry request

type HashicorpCloudPackerUpdateRegistryResponse

type HashicorpCloudPackerUpdateRegistryResponse struct {

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

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

HashicorpCloudPackerUpdateRegistryResponse hashicorp cloud packer update registry response

swagger:model hashicorp.cloud.packer.UpdateRegistryResponse

func (*HashicorpCloudPackerUpdateRegistryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateRegistryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudPackerUpdateRegistryResponse) Validate

Validate validates this hashicorp cloud packer update registry response

Source Files

Jump to

Keyboard shortcuts

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