models

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudVagrant20220930ActivateRegistryRequest

type HashicorpCloudVagrant20220930ActivateRegistryRequest struct {

	// The name of the Registry to activate.
	Registry string `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930ActivateRegistryRequest hashicorp cloud vagrant 20220930 activate registry request

swagger:model hashicorp.cloud.vagrant_20220930.ActivateRegistryRequest

func (*HashicorpCloudVagrant20220930ActivateRegistryRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ActivateRegistryRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ActivateRegistryRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 activate registry request

type HashicorpCloudVagrant20220930ActivateRegistryResponse

type HashicorpCloudVagrant20220930ActivateRegistryResponse interface{}

HashicorpCloudVagrant20220930ActivateRegistryResponse hashicorp cloud vagrant 20220930 activate registry response

swagger:model hashicorp.cloud.vagrant_20220930.ActivateRegistryResponse

type HashicorpCloudVagrant20220930Box

type HashicorpCloudVagrant20220930Box struct {

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

	// A long-form description of the box.
	Description string `json:"description,omitempty"`

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant". Should be unique within the Registry.
	// This field should only be set when creating the box.
	ID string `json:"id,omitempty"`

	// Whether or not the Box is private.
	IsPrivate bool `json:"is_private,omitempty"`

	// A short-form description of the box. Limited to 100 characters.
	ShortDescription string `json:"short_description,omitempty"`

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

HashicorpCloudVagrant20220930Box hashicorp cloud vagrant 20220930 box

swagger:model hashicorp.cloud.vagrant_20220930.Box

func (*HashicorpCloudVagrant20220930Box) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930Box) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930Box) Validate

Validate validates this hashicorp cloud vagrant 20220930 box

type HashicorpCloudVagrant20220930CompleteUploadRequest

type HashicorpCloudVagrant20220930CompleteUploadRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// The HMAC for the upload supplied in the output of the corresponding
	// UploadProvider call.
	Hmac string `json:"hmac,omitempty"`

	// The name of the Provider.
	Provider string `json:"provider,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`

	// The name of the Version for the Provider.
	Version string `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930CompleteUploadRequest hashicorp cloud vagrant 20220930 complete upload request

swagger:model hashicorp.cloud.vagrant_20220930.CompleteUploadRequest

func (*HashicorpCloudVagrant20220930CompleteUploadRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CompleteUploadRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CompleteUploadRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 complete upload request

type HashicorpCloudVagrant20220930CompleteUploadResponse

type HashicorpCloudVagrant20220930CompleteUploadResponse interface{}

HashicorpCloudVagrant20220930CompleteUploadResponse hashicorp cloud vagrant 20220930 complete upload response

swagger:model hashicorp.cloud.vagrant_20220930.CompleteUploadResponse

type HashicorpCloudVagrant20220930CreateBoxRequest

type HashicorpCloudVagrant20220930CreateBoxRequest struct {

	// Details of the Box to create. Note that some fields are ignored
	// on input and should not be set.
	Data *HashicorpCloudVagrant20220930Box `json:"data,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930CreateBoxRequest hashicorp cloud vagrant 20220930 create box request

swagger:model hashicorp.cloud.vagrant_20220930.CreateBoxRequest

func (*HashicorpCloudVagrant20220930CreateBoxRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateBoxRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateBoxRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 create box request

type HashicorpCloudVagrant20220930CreateBoxResponse

type HashicorpCloudVagrant20220930CreateBoxResponse struct {

	// The created Box.
	Box *HashicorpCloudVagrant20220930Box `json:"box,omitempty"`
}

HashicorpCloudVagrant20220930CreateBoxResponse hashicorp cloud vagrant 20220930 create box response

swagger:model hashicorp.cloud.vagrant_20220930.CreateBoxResponse

func (*HashicorpCloudVagrant20220930CreateBoxResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateBoxResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateBoxResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 create box response

type HashicorpCloudVagrant20220930CreateProviderRequest

type HashicorpCloudVagrant20220930CreateProviderRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// external
	External *HashicorpCloudVagrant20220930ExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrant20220930HostedProvider `json:"hosted,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`

	// The name of the Version to create the Provider in.
	Version string `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930CreateProviderRequest hashicorp cloud vagrant 20220930 create provider request

swagger:model hashicorp.cloud.vagrant_20220930.CreateProviderRequest

func (*HashicorpCloudVagrant20220930CreateProviderRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateProviderRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateProviderRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 create provider request

type HashicorpCloudVagrant20220930CreateProviderResponse

type HashicorpCloudVagrant20220930CreateProviderResponse struct {

	// external
	External *HashicorpCloudVagrant20220930ExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrant20220930HostedProvider `json:"hosted,omitempty"`
}

HashicorpCloudVagrant20220930CreateProviderResponse hashicorp cloud vagrant 20220930 create provider response

swagger:model hashicorp.cloud.vagrant_20220930.CreateProviderResponse

func (*HashicorpCloudVagrant20220930CreateProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateProviderResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 create provider response

type HashicorpCloudVagrant20220930CreateRegistryRequest

type HashicorpCloudVagrant20220930CreateRegistryRequest struct {

	// The name of the Registry. This is a user-settable, globally-unique name,
	// and forms the first segment of a Box, ie: the "hashicorp" in
	// "hashicorp/vagrant". No two registries can have the same name, regardless
	// of the Organization they are in, or specific Project within that
	// Organization.
	ID string `json:"id,omitempty"`

	// The Location to create the Registry in.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVagrant20220930CreateRegistryRequest hashicorp cloud vagrant 20220930 create registry request

swagger:model hashicorp.cloud.vagrant_20220930.CreateRegistryRequest

func (*HashicorpCloudVagrant20220930CreateRegistryRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateRegistryRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateRegistryRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 create registry request

type HashicorpCloudVagrant20220930CreateRegistryResponse

type HashicorpCloudVagrant20220930CreateRegistryResponse struct {

	// The created Registry.
	Registry *HashicorpCloudVagrant20220930Registry `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930CreateRegistryResponse hashicorp cloud vagrant 20220930 create registry response

swagger:model hashicorp.cloud.vagrant_20220930.CreateRegistryResponse

func (*HashicorpCloudVagrant20220930CreateRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateRegistryResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 create registry response

type HashicorpCloudVagrant20220930CreateVersionRequest

type HashicorpCloudVagrant20220930CreateVersionRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// Details of the Version to create. Note that some fields are ignored
	// on input and should not be set.
	Data *HashicorpCloudVagrant20220930Version `json:"data,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930CreateVersionRequest hashicorp cloud vagrant 20220930 create version request

swagger:model hashicorp.cloud.vagrant_20220930.CreateVersionRequest

func (*HashicorpCloudVagrant20220930CreateVersionRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateVersionRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateVersionRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 create version request

type HashicorpCloudVagrant20220930CreateVersionResponse

type HashicorpCloudVagrant20220930CreateVersionResponse struct {

	// The created Version.
	Version *HashicorpCloudVagrant20220930Version `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930CreateVersionResponse hashicorp cloud vagrant 20220930 create version response

swagger:model hashicorp.cloud.vagrant_20220930.CreateVersionResponse

func (*HashicorpCloudVagrant20220930CreateVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930CreateVersionResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 create version response

type HashicorpCloudVagrant20220930DeactivateRegistryRequest

type HashicorpCloudVagrant20220930DeactivateRegistryRequest struct {

	// The name of the Registry to deactivate.
	Registry string `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930DeactivateRegistryRequest hashicorp cloud vagrant 20220930 deactivate registry request

swagger:model hashicorp.cloud.vagrant_20220930.DeactivateRegistryRequest

func (*HashicorpCloudVagrant20220930DeactivateRegistryRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930DeactivateRegistryRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930DeactivateRegistryRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 deactivate registry request

type HashicorpCloudVagrant20220930DeactivateRegistryResponse

type HashicorpCloudVagrant20220930DeactivateRegistryResponse interface{}

HashicorpCloudVagrant20220930DeactivateRegistryResponse hashicorp cloud vagrant 20220930 deactivate registry response

swagger:model hashicorp.cloud.vagrant_20220930.DeactivateRegistryResponse

type HashicorpCloudVagrant20220930DeleteBoxResponse

type HashicorpCloudVagrant20220930DeleteBoxResponse interface{}

HashicorpCloudVagrant20220930DeleteBoxResponse hashicorp cloud vagrant 20220930 delete box response

swagger:model hashicorp.cloud.vagrant_20220930.DeleteBoxResponse

type HashicorpCloudVagrant20220930DeleteProviderResponse

type HashicorpCloudVagrant20220930DeleteProviderResponse interface{}

HashicorpCloudVagrant20220930DeleteProviderResponse hashicorp cloud vagrant 20220930 delete provider response

swagger:model hashicorp.cloud.vagrant_20220930.DeleteProviderResponse

type HashicorpCloudVagrant20220930DeleteRegistryResponse

type HashicorpCloudVagrant20220930DeleteRegistryResponse interface{}

HashicorpCloudVagrant20220930DeleteRegistryResponse hashicorp cloud vagrant 20220930 delete registry response

swagger:model hashicorp.cloud.vagrant_20220930.DeleteRegistryResponse

type HashicorpCloudVagrant20220930DeleteVersionResponse

type HashicorpCloudVagrant20220930DeleteVersionResponse interface{}

HashicorpCloudVagrant20220930DeleteVersionResponse hashicorp cloud vagrant 20220930 delete version response

swagger:model hashicorp.cloud.vagrant_20220930.DeleteVersionResponse

type HashicorpCloudVagrant20220930DownloadProviderResponse

type HashicorpCloudVagrant20220930DownloadProviderResponse struct {

	// (Optional) checksum data to validate the download with. This field may
	// not be populated for Hosted Provider downloads.
	Checksum string `json:"checksum,omitempty"`

	// The algorithm type for the provided checksum.
	ChecksumType HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType `json:"checksum_type,omitempty"`

	// The URL to download the Provider data from.
	URL string `json:"url,omitempty"`
}

HashicorpCloudVagrant20220930DownloadProviderResponse hashicorp cloud vagrant 20220930 download provider response

swagger:model hashicorp.cloud.vagrant_20220930.DownloadProviderResponse

func (*HashicorpCloudVagrant20220930DownloadProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930DownloadProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930DownloadProviderResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 download provider response

type HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType

type HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType string

HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType ChecksumTypes describe supported checksum types.

swagger:model hashicorp.cloud.vagrant_20220930.DownloadProviderResponse.ChecksumType

const (

	// HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeNONE captures enum value "NONE"
	HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeNONE HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType = "NONE"

	// HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeMD5 captures enum value "MD5"
	HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeMD5 HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType = "MD5"

	// HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA1 captures enum value "SHA1"
	HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA1 HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType = "SHA1"

	// HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA256 captures enum value "SHA256"
	HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA256 HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType = "SHA256"

	// HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA384 captures enum value "SHA384"
	HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA384 HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType = "SHA384"

	// HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA512 captures enum value "SHA512"
	HashicorpCloudVagrant20220930DownloadProviderResponseChecksumTypeSHA512 HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType = "SHA512"
)

func (HashicorpCloudVagrant20220930DownloadProviderResponseChecksumType) Validate

Validate validates this hashicorp cloud vagrant 20220930 download provider response checksum type

type HashicorpCloudVagrant20220930ExternalProvider

type HashicorpCloudVagrant20220930ExternalProvider struct {

	// The checksum for the Provider at the external URL.
	Checksum string `json:"checksum,omitempty"`

	// The algorithm type for the provided checksum.
	ChecksumType HashicorpCloudVagrant20220930ExternalProviderChecksumType `json:"checksum_type,omitempty"`

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

	// The external URL for this Provider.
	ExternalURL string `json:"external_url,omitempty"`

	// The name of the Provider, should be unique within the version.
	ID string `json:"id,omitempty"`

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

HashicorpCloudVagrant20220930ExternalProvider ExternalProvider describes an External Provider. This kind of Provider is simply a stub to a Provider located outside of the HCP Vagrant Registry's own object storage.

swagger:model hashicorp.cloud.vagrant_20220930.ExternalProvider

func (*HashicorpCloudVagrant20220930ExternalProvider) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ExternalProvider) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ExternalProvider) Validate

Validate validates this hashicorp cloud vagrant 20220930 external provider

type HashicorpCloudVagrant20220930ExternalProviderChecksumType

type HashicorpCloudVagrant20220930ExternalProviderChecksumType string

HashicorpCloudVagrant20220930ExternalProviderChecksumType ChecksumTypes describe supported checksum types.

swagger:model hashicorp.cloud.vagrant_20220930.ExternalProvider.ChecksumType

const (

	// HashicorpCloudVagrant20220930ExternalProviderChecksumTypeNONE captures enum value "NONE"
	HashicorpCloudVagrant20220930ExternalProviderChecksumTypeNONE HashicorpCloudVagrant20220930ExternalProviderChecksumType = "NONE"

	// HashicorpCloudVagrant20220930ExternalProviderChecksumTypeMD5 captures enum value "MD5"
	HashicorpCloudVagrant20220930ExternalProviderChecksumTypeMD5 HashicorpCloudVagrant20220930ExternalProviderChecksumType = "MD5"

	// HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA1 captures enum value "SHA1"
	HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA1 HashicorpCloudVagrant20220930ExternalProviderChecksumType = "SHA1"

	// HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA256 captures enum value "SHA256"
	HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA256 HashicorpCloudVagrant20220930ExternalProviderChecksumType = "SHA256"

	// HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA384 captures enum value "SHA384"
	HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA384 HashicorpCloudVagrant20220930ExternalProviderChecksumType = "SHA384"

	// HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA512 captures enum value "SHA512"
	HashicorpCloudVagrant20220930ExternalProviderChecksumTypeSHA512 HashicorpCloudVagrant20220930ExternalProviderChecksumType = "SHA512"
)

func (HashicorpCloudVagrant20220930ExternalProviderChecksumType) Validate

Validate validates this hashicorp cloud vagrant 20220930 external provider checksum type

type HashicorpCloudVagrant20220930GetProviderResponse

type HashicorpCloudVagrant20220930GetProviderResponse struct {

	// external
	External *HashicorpCloudVagrant20220930ExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrant20220930HostedProvider `json:"hosted,omitempty"`
}

HashicorpCloudVagrant20220930GetProviderResponse hashicorp cloud vagrant 20220930 get provider response

swagger:model hashicorp.cloud.vagrant_20220930.GetProviderResponse

func (*HashicorpCloudVagrant20220930GetProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930GetProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930GetProviderResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 get provider response

type HashicorpCloudVagrant20220930HostedProvider

type HashicorpCloudVagrant20220930HostedProvider struct {

	// The checksum for the Provider at the external URL.
	Checksum string `json:"checksum,omitempty"`

	// The algorithm type for the provided checksum.
	ChecksumType HashicorpCloudVagrant20220930HostedProviderChecksumType `json:"checksum_type,omitempty"`

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

	// The name of the Provider, should be unique within the version.
	ID string `json:"id,omitempty"`

	// The upload state of the Provider.
	State HashicorpCloudVagrant20220930HostedProviderState `json:"state,omitempty"`

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

HashicorpCloudVagrant20220930HostedProvider hashicorp cloud vagrant 20220930 hosted provider

swagger:model hashicorp.cloud.vagrant_20220930.HostedProvider

func (*HashicorpCloudVagrant20220930HostedProvider) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930HostedProvider) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930HostedProvider) Validate

Validate validates this hashicorp cloud vagrant 20220930 hosted provider

type HashicorpCloudVagrant20220930HostedProviderChecksumType

type HashicorpCloudVagrant20220930HostedProviderChecksumType string

HashicorpCloudVagrant20220930HostedProviderChecksumType ChecksumTypes describe supported checksum types.

swagger:model hashicorp.cloud.vagrant_20220930.HostedProvider.ChecksumType

const (

	// HashicorpCloudVagrant20220930HostedProviderChecksumTypeNONE captures enum value "NONE"
	HashicorpCloudVagrant20220930HostedProviderChecksumTypeNONE HashicorpCloudVagrant20220930HostedProviderChecksumType = "NONE"

	// HashicorpCloudVagrant20220930HostedProviderChecksumTypeMD5 captures enum value "MD5"
	HashicorpCloudVagrant20220930HostedProviderChecksumTypeMD5 HashicorpCloudVagrant20220930HostedProviderChecksumType = "MD5"

	// HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA1 captures enum value "SHA1"
	HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA1 HashicorpCloudVagrant20220930HostedProviderChecksumType = "SHA1"

	// HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA256 captures enum value "SHA256"
	HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA256 HashicorpCloudVagrant20220930HostedProviderChecksumType = "SHA256"

	// HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA384 captures enum value "SHA384"
	HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA384 HashicorpCloudVagrant20220930HostedProviderChecksumType = "SHA384"

	// HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA512 captures enum value "SHA512"
	HashicorpCloudVagrant20220930HostedProviderChecksumTypeSHA512 HashicorpCloudVagrant20220930HostedProviderChecksumType = "SHA512"
)

func (HashicorpCloudVagrant20220930HostedProviderChecksumType) Validate

Validate validates this hashicorp cloud vagrant 20220930 hosted provider checksum type

type HashicorpCloudVagrant20220930HostedProviderState

type HashicorpCloudVagrant20220930HostedProviderState string

HashicorpCloudVagrant20220930HostedProviderState State is an enumeration of possible HostedProvider states.

swagger:model hashicorp.cloud.vagrant_20220930.HostedProvider.State

const (

	// HashicorpCloudVagrant20220930HostedProviderStatePENDING captures enum value "PENDING"
	HashicorpCloudVagrant20220930HostedProviderStatePENDING HashicorpCloudVagrant20220930HostedProviderState = "PENDING"

	// HashicorpCloudVagrant20220930HostedProviderStateUPLOADING captures enum value "UPLOADING"
	HashicorpCloudVagrant20220930HostedProviderStateUPLOADING HashicorpCloudVagrant20220930HostedProviderState = "UPLOADING"

	// HashicorpCloudVagrant20220930HostedProviderStateCOMPLETE captures enum value "COMPLETE"
	HashicorpCloudVagrant20220930HostedProviderStateCOMPLETE HashicorpCloudVagrant20220930HostedProviderState = "COMPLETE"

	// HashicorpCloudVagrant20220930HostedProviderStateFAILED captures enum value "FAILED"
	HashicorpCloudVagrant20220930HostedProviderStateFAILED HashicorpCloudVagrant20220930HostedProviderState = "FAILED"
)

func (HashicorpCloudVagrant20220930HostedProviderState) Validate

Validate validates this hashicorp cloud vagrant 20220930 hosted provider state

type HashicorpCloudVagrant20220930ListBoxesResponse

type HashicorpCloudVagrant20220930ListBoxesResponse struct {

	// The returned Box records for this page.
	Boxes []*HashicorpCloudVagrant20220930Box `json:"boxes"`

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

HashicorpCloudVagrant20220930ListBoxesResponse hashicorp cloud vagrant 20220930 list boxes response

swagger:model hashicorp.cloud.vagrant_20220930.ListBoxesResponse

func (*HashicorpCloudVagrant20220930ListBoxesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListBoxesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListBoxesResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 list boxes response

type HashicorpCloudVagrant20220930ListProvidersResponse

type HashicorpCloudVagrant20220930ListProvidersResponse struct {

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

	// The returned Providers. Note that the message here will be either one of
	// HostedProvider or ExternalProvider.
	Providers []*cloud.GoogleProtobufAny `json:"providers"`
}

HashicorpCloudVagrant20220930ListProvidersResponse hashicorp cloud vagrant 20220930 list providers response

swagger:model hashicorp.cloud.vagrant_20220930.ListProvidersResponse

func (*HashicorpCloudVagrant20220930ListProvidersResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListProvidersResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListProvidersResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 list providers response

type HashicorpCloudVagrant20220930ListRegistriesResponse

type HashicorpCloudVagrant20220930ListRegistriesResponse struct {

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

	// The returned Registry records for this page.
	Registries []*HashicorpCloudVagrant20220930Registry `json:"registries"`
}

HashicorpCloudVagrant20220930ListRegistriesResponse hashicorp cloud vagrant 20220930 list registries response

swagger:model hashicorp.cloud.vagrant_20220930.ListRegistriesResponse

func (*HashicorpCloudVagrant20220930ListRegistriesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListRegistriesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListRegistriesResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 list registries response

type HashicorpCloudVagrant20220930ListVersionsResponse

type HashicorpCloudVagrant20220930ListVersionsResponse struct {

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

	// The returned Box records for this page.
	Versions []*HashicorpCloudVagrant20220930Version `json:"versions"`
}

HashicorpCloudVagrant20220930ListVersionsResponse hashicorp cloud vagrant 20220930 list versions response

swagger:model hashicorp.cloud.vagrant_20220930.ListVersionsResponse

func (*HashicorpCloudVagrant20220930ListVersionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListVersionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ListVersionsResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 list versions response

type HashicorpCloudVagrant20220930ReadBoxResponse

type HashicorpCloudVagrant20220930ReadBoxResponse struct {

	// The requested Box.
	Box *HashicorpCloudVagrant20220930Box `json:"box,omitempty"`
}

HashicorpCloudVagrant20220930ReadBoxResponse hashicorp cloud vagrant 20220930 read box response

swagger:model hashicorp.cloud.vagrant_20220930.ReadBoxResponse

func (*HashicorpCloudVagrant20220930ReadBoxResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReadBoxResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReadBoxResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 read box response

type HashicorpCloudVagrant20220930ReadRegistryResponse

type HashicorpCloudVagrant20220930ReadRegistryResponse struct {

	// The returned Registry.
	Registry *HashicorpCloudVagrant20220930Registry `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930ReadRegistryResponse hashicorp cloud vagrant 20220930 read registry response

swagger:model hashicorp.cloud.vagrant_20220930.ReadRegistryResponse

func (*HashicorpCloudVagrant20220930ReadRegistryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReadRegistryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReadRegistryResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 read registry response

type HashicorpCloudVagrant20220930ReadVersionResponse

type HashicorpCloudVagrant20220930ReadVersionResponse struct {

	// The returned Version.
	Version *HashicorpCloudVagrant20220930Version `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930ReadVersionResponse hashicorp cloud vagrant 20220930 read version response

swagger:model hashicorp.cloud.vagrant_20220930.ReadVersionResponse

func (*HashicorpCloudVagrant20220930ReadVersionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReadVersionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReadVersionResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 read version response

type HashicorpCloudVagrant20220930Registry

type HashicorpCloudVagrant20220930Registry struct {

	// Whether or not the Registry is currently activated.
	Activated bool `json:"activated,omitempty"`

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

	// The name of the Registry. This is a user-settable, globally-unique name,
	// and forms the first segment of a box, ie: the "hashicorp" in
	// "hashicorp/vagrant". No two registries can have the same name, regardless
	// of the location (org/project) they are in.
	ID string `json:"id,omitempty"`

	// The Location that the Registry resides in.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

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

HashicorpCloudVagrant20220930Registry hashicorp cloud vagrant 20220930 registry

swagger:model hashicorp.cloud.vagrant_20220930.Registry

func (*HashicorpCloudVagrant20220930Registry) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930Registry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930Registry) Validate

Validate validates this hashicorp cloud vagrant 20220930 registry

type HashicorpCloudVagrant20220930ReleaseVersionRequest

type HashicorpCloudVagrant20220930ReleaseVersionRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`

	// The name of the Version to release.
	Version string `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930ReleaseVersionRequest hashicorp cloud vagrant 20220930 release version request

swagger:model hashicorp.cloud.vagrant_20220930.ReleaseVersionRequest

func (*HashicorpCloudVagrant20220930ReleaseVersionRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReleaseVersionRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930ReleaseVersionRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 release version request

type HashicorpCloudVagrant20220930ReleaseVersionResponse

type HashicorpCloudVagrant20220930ReleaseVersionResponse interface{}

HashicorpCloudVagrant20220930ReleaseVersionResponse hashicorp cloud vagrant 20220930 release version response

swagger:model hashicorp.cloud.vagrant_20220930.ReleaseVersionResponse

type HashicorpCloudVagrant20220930RevokeVersionRequest

type HashicorpCloudVagrant20220930RevokeVersionRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`

	// The name of the Version to revoke.
	Version string `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930RevokeVersionRequest hashicorp cloud vagrant 20220930 revoke version request

swagger:model hashicorp.cloud.vagrant_20220930.RevokeVersionRequest

func (*HashicorpCloudVagrant20220930RevokeVersionRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930RevokeVersionRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930RevokeVersionRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 revoke version request

type HashicorpCloudVagrant20220930RevokeVersionResponse

type HashicorpCloudVagrant20220930RevokeVersionResponse interface{}

HashicorpCloudVagrant20220930RevokeVersionResponse hashicorp cloud vagrant 20220930 revoke version response

swagger:model hashicorp.cloud.vagrant_20220930.RevokeVersionResponse

type HashicorpCloudVagrant20220930UpdateBoxRequest

type HashicorpCloudVagrant20220930UpdateBoxRequest struct {

	// The name segment of the Box to update. As an example, this field would
	// represent the "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// Details of the Box to update. Note that some fields are ignored
	// on input and should not be set.
	Data *HashicorpCloudVagrant20220930Box `json:"data,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`
}

HashicorpCloudVagrant20220930UpdateBoxRequest hashicorp cloud vagrant 20220930 update box request

swagger:model hashicorp.cloud.vagrant_20220930.UpdateBoxRequest

func (*HashicorpCloudVagrant20220930UpdateBoxRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateBoxRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateBoxRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 update box request

type HashicorpCloudVagrant20220930UpdateBoxResponse

type HashicorpCloudVagrant20220930UpdateBoxResponse struct {

	// The updated Box.
	Box *HashicorpCloudVagrant20220930Box `json:"box,omitempty"`
}

HashicorpCloudVagrant20220930UpdateBoxResponse hashicorp cloud vagrant 20220930 update box response

swagger:model hashicorp.cloud.vagrant_20220930.UpdateBoxResponse

func (*HashicorpCloudVagrant20220930UpdateBoxResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateBoxResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateBoxResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 update box response

type HashicorpCloudVagrant20220930UpdateProviderRequest

type HashicorpCloudVagrant20220930UpdateProviderRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// external
	External *HashicorpCloudVagrant20220930ExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrant20220930HostedProvider `json:"hosted,omitempty"`

	// The name of the Provider.
	Provider string `json:"provider,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`

	// The name of the Version for the Provider.
	Version string `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930UpdateProviderRequest hashicorp cloud vagrant 20220930 update provider request

swagger:model hashicorp.cloud.vagrant_20220930.UpdateProviderRequest

func (*HashicorpCloudVagrant20220930UpdateProviderRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateProviderRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateProviderRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 update provider request

type HashicorpCloudVagrant20220930UpdateProviderResponse

type HashicorpCloudVagrant20220930UpdateProviderResponse struct {

	// external
	External *HashicorpCloudVagrant20220930ExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrant20220930HostedProvider `json:"hosted,omitempty"`
}

HashicorpCloudVagrant20220930UpdateProviderResponse hashicorp cloud vagrant 20220930 update provider response

swagger:model hashicorp.cloud.vagrant_20220930.UpdateProviderResponse

func (*HashicorpCloudVagrant20220930UpdateProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UpdateProviderResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 update provider response

type HashicorpCloudVagrant20220930UploadProviderRequest

type HashicorpCloudVagrant20220930UploadProviderRequest struct {

	// The name segment of the Box. As an example, this field would represent the
	// "vagrant" in "hashicorp/vagrant".
	Box string `json:"box,omitempty"`

	// The name of the Provider.
	Provider string `json:"provider,omitempty"`

	// The Registry segment of the Box. As an example, this field would represent
	// the "hashicorp" in "hashicorp/vagrant".
	Registry string `json:"registry,omitempty"`

	// The name of the Version for the Provider.
	Version string `json:"version,omitempty"`
}

HashicorpCloudVagrant20220930UploadProviderRequest hashicorp cloud vagrant 20220930 upload provider request

swagger:model hashicorp.cloud.vagrant_20220930.UploadProviderRequest

func (*HashicorpCloudVagrant20220930UploadProviderRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UploadProviderRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UploadProviderRequest) Validate

Validate validates this hashicorp cloud vagrant 20220930 upload provider request

type HashicorpCloudVagrant20220930UploadProviderResponse

type HashicorpCloudVagrant20220930UploadProviderResponse struct {

	// An HMAC used to validate completion requests for this upload. This should
	// be sent to CompleteUpload when this request is finished.
	Hmac string `json:"hmac,omitempty"`

	// A pre-signed URL to upload the Provider to.
	URL string `json:"url,omitempty"`
}

HashicorpCloudVagrant20220930UploadProviderResponse hashicorp cloud vagrant 20220930 upload provider response

swagger:model hashicorp.cloud.vagrant_20220930.UploadProviderResponse

func (*HashicorpCloudVagrant20220930UploadProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UploadProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930UploadProviderResponse) Validate

Validate validates this hashicorp cloud vagrant 20220930 upload provider response

type HashicorpCloudVagrant20220930Version

type HashicorpCloudVagrant20220930Version struct {

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

	// The version string, ie: v0.0.1 or v2006010201, etc. Must be unique within
	// the Box.
	ID string `json:"id,omitempty"`

	// The release status of the Version.
	State HashicorpCloudVagrant20220930VersionState `json:"state,omitempty"`

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

HashicorpCloudVagrant20220930Version hashicorp cloud vagrant 20220930 version

swagger:model hashicorp.cloud.vagrant_20220930.Version

func (*HashicorpCloudVagrant20220930Version) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930Version) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrant20220930Version) Validate

Validate validates this hashicorp cloud vagrant 20220930 version

type HashicorpCloudVagrant20220930VersionState

type HashicorpCloudVagrant20220930VersionState string

HashicorpCloudVagrant20220930VersionState State is an enumeration of possible Version states.

swagger:model hashicorp.cloud.vagrant_20220930.Version.State

const (

	// HashicorpCloudVagrant20220930VersionStateUNRELEASED captures enum value "UNRELEASED"
	HashicorpCloudVagrant20220930VersionStateUNRELEASED HashicorpCloudVagrant20220930VersionState = "UNRELEASED"

	// HashicorpCloudVagrant20220930VersionStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudVagrant20220930VersionStateACTIVE HashicorpCloudVagrant20220930VersionState = "ACTIVE"

	// HashicorpCloudVagrant20220930VersionStateREVOKED captures enum value "REVOKED"
	HashicorpCloudVagrant20220930VersionStateREVOKED HashicorpCloudVagrant20220930VersionState = "REVOKED"
)

func (HashicorpCloudVagrant20220930VersionState) Validate

Validate validates this hashicorp cloud vagrant 20220930 version state

Source Files

Jump to

Keyboard shortcuts

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