models

package
v0.87.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudVagrantActivateRegistryRequest added in v0.23.0

type HashicorpCloudVagrantActivateRegistryRequest struct {

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

HashicorpCloudVagrantActivateRegistryRequest hashicorp cloud vagrant activate registry request

swagger:model hashicorp.cloud.vagrant.ActivateRegistryRequest

func (*HashicorpCloudVagrantActivateRegistryRequest) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant activate registry request based on context it is used

func (*HashicorpCloudVagrantActivateRegistryRequest) MarshalBinary added in v0.23.0

MarshalBinary interface implementation

func (*HashicorpCloudVagrantActivateRegistryRequest) UnmarshalBinary added in v0.23.0

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantActivateRegistryRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant activate registry request

type HashicorpCloudVagrantActivateRegistryResponse added in v0.23.0

type HashicorpCloudVagrantActivateRegistryResponse interface{}

HashicorpCloudVagrantActivateRegistryResponse hashicorp cloud vagrant activate registry response

swagger:model hashicorp.cloud.vagrant.ActivateRegistryResponse

type HashicorpCloudVagrantBox added in v0.23.0

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

HashicorpCloudVagrantBox hashicorp cloud vagrant box

swagger:model hashicorp.cloud.vagrant.Box

func (*HashicorpCloudVagrantBox) ContextValidate added in v0.23.0

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

ContextValidate validates this hashicorp cloud vagrant box based on context it is used

func (*HashicorpCloudVagrantBox) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantBox) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantBox) Validate added in v0.23.0

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

Validate validates this hashicorp cloud vagrant box

type HashicorpCloudVagrantCompleteUploadRequest added in v0.23.0

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

HashicorpCloudVagrantCompleteUploadRequest hashicorp cloud vagrant complete upload request

swagger:model hashicorp.cloud.vagrant.CompleteUploadRequest

func (*HashicorpCloudVagrantCompleteUploadRequest) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant complete upload request based on context it is used

func (*HashicorpCloudVagrantCompleteUploadRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCompleteUploadRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCompleteUploadRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant complete upload request

type HashicorpCloudVagrantCompleteUploadResponse added in v0.23.0

type HashicorpCloudVagrantCompleteUploadResponse interface{}

HashicorpCloudVagrantCompleteUploadResponse hashicorp cloud vagrant complete upload response

swagger:model hashicorp.cloud.vagrant.CompleteUploadResponse

type HashicorpCloudVagrantCreateBoxRequest added in v0.23.0

type HashicorpCloudVagrantCreateBoxRequest struct {

	// Details of the Box to create. Note that some fields are ignored
	// on input and should not be set.
	Data *HashicorpCloudVagrantBox `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"`
}

HashicorpCloudVagrantCreateBoxRequest hashicorp cloud vagrant create box request

swagger:model hashicorp.cloud.vagrant.CreateBoxRequest

func (*HashicorpCloudVagrantCreateBoxRequest) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud vagrant create box request based on the context it is used

func (*HashicorpCloudVagrantCreateBoxRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateBoxRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateBoxRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create box request

type HashicorpCloudVagrantCreateBoxResponse added in v0.23.0

type HashicorpCloudVagrantCreateBoxResponse struct {

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

HashicorpCloudVagrantCreateBoxResponse hashicorp cloud vagrant create box response

swagger:model hashicorp.cloud.vagrant.CreateBoxResponse

func (*HashicorpCloudVagrantCreateBoxResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant create box response based on the context it is used

func (*HashicorpCloudVagrantCreateBoxResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateBoxResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateBoxResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create box response

type HashicorpCloudVagrantCreateProviderRequest added in v0.23.0

type HashicorpCloudVagrantCreateProviderRequest 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 *HashicorpCloudVagrantExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrantHostedProvider `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"`
}

HashicorpCloudVagrantCreateProviderRequest hashicorp cloud vagrant create provider request

swagger:model hashicorp.cloud.vagrant.CreateProviderRequest

func (*HashicorpCloudVagrantCreateProviderRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant create provider request based on the context it is used

func (*HashicorpCloudVagrantCreateProviderRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateProviderRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateProviderRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create provider request

type HashicorpCloudVagrantCreateProviderResponse added in v0.23.0

type HashicorpCloudVagrantCreateProviderResponse struct {

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

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

HashicorpCloudVagrantCreateProviderResponse hashicorp cloud vagrant create provider response

swagger:model hashicorp.cloud.vagrant.CreateProviderResponse

func (*HashicorpCloudVagrantCreateProviderResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant create provider response based on the context it is used

func (*HashicorpCloudVagrantCreateProviderResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateProviderResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateProviderResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create provider response

type HashicorpCloudVagrantCreateRegistryRequest added in v0.23.0

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

HashicorpCloudVagrantCreateRegistryRequest hashicorp cloud vagrant create registry request

swagger:model hashicorp.cloud.vagrant.CreateRegistryRequest

func (*HashicorpCloudVagrantCreateRegistryRequest) ContextValidate added in v0.23.0

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

func (*HashicorpCloudVagrantCreateRegistryRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateRegistryRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateRegistryRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create registry request

type HashicorpCloudVagrantCreateRegistryResponse added in v0.23.0

type HashicorpCloudVagrantCreateRegistryResponse struct {

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

HashicorpCloudVagrantCreateRegistryResponse hashicorp cloud vagrant create registry response

swagger:model hashicorp.cloud.vagrant.CreateRegistryResponse

func (*HashicorpCloudVagrantCreateRegistryResponse) ContextValidate added in v0.23.0

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

func (*HashicorpCloudVagrantCreateRegistryResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateRegistryResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateRegistryResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create registry response

type HashicorpCloudVagrantCreateVersionRequest added in v0.23.0

type HashicorpCloudVagrantCreateVersionRequest 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 *HashicorpCloudVagrantVersion `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"`
}

HashicorpCloudVagrantCreateVersionRequest hashicorp cloud vagrant create version request

swagger:model hashicorp.cloud.vagrant.CreateVersionRequest

func (*HashicorpCloudVagrantCreateVersionRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant create version request based on the context it is used

func (*HashicorpCloudVagrantCreateVersionRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateVersionRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateVersionRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create version request

type HashicorpCloudVagrantCreateVersionResponse added in v0.23.0

type HashicorpCloudVagrantCreateVersionResponse struct {

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

HashicorpCloudVagrantCreateVersionResponse hashicorp cloud vagrant create version response

swagger:model hashicorp.cloud.vagrant.CreateVersionResponse

func (*HashicorpCloudVagrantCreateVersionResponse) ContextValidate added in v0.23.0

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

func (*HashicorpCloudVagrantCreateVersionResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateVersionResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantCreateVersionResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant create version response

type HashicorpCloudVagrantDeactivateRegistryRequest added in v0.23.0

type HashicorpCloudVagrantDeactivateRegistryRequest struct {

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

HashicorpCloudVagrantDeactivateRegistryRequest hashicorp cloud vagrant deactivate registry request

swagger:model hashicorp.cloud.vagrant.DeactivateRegistryRequest

func (*HashicorpCloudVagrantDeactivateRegistryRequest) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant deactivate registry request based on context it is used

func (*HashicorpCloudVagrantDeactivateRegistryRequest) MarshalBinary added in v0.23.0

MarshalBinary interface implementation

func (*HashicorpCloudVagrantDeactivateRegistryRequest) UnmarshalBinary added in v0.23.0

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantDeactivateRegistryRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant deactivate registry request

type HashicorpCloudVagrantDeactivateRegistryResponse added in v0.23.0

type HashicorpCloudVagrantDeactivateRegistryResponse interface{}

HashicorpCloudVagrantDeactivateRegistryResponse hashicorp cloud vagrant deactivate registry response

swagger:model hashicorp.cloud.vagrant.DeactivateRegistryResponse

type HashicorpCloudVagrantDeleteBoxResponse added in v0.23.0

type HashicorpCloudVagrantDeleteBoxResponse interface{}

HashicorpCloudVagrantDeleteBoxResponse hashicorp cloud vagrant delete box response

swagger:model hashicorp.cloud.vagrant.DeleteBoxResponse

type HashicorpCloudVagrantDeleteProviderResponse added in v0.23.0

type HashicorpCloudVagrantDeleteProviderResponse interface{}

HashicorpCloudVagrantDeleteProviderResponse hashicorp cloud vagrant delete provider response

swagger:model hashicorp.cloud.vagrant.DeleteProviderResponse

type HashicorpCloudVagrantDeleteRegistryResponse added in v0.23.0

type HashicorpCloudVagrantDeleteRegistryResponse interface{}

HashicorpCloudVagrantDeleteRegistryResponse hashicorp cloud vagrant delete registry response

swagger:model hashicorp.cloud.vagrant.DeleteRegistryResponse

type HashicorpCloudVagrantDeleteVersionResponse added in v0.23.0

type HashicorpCloudVagrantDeleteVersionResponse interface{}

HashicorpCloudVagrantDeleteVersionResponse hashicorp cloud vagrant delete version response

swagger:model hashicorp.cloud.vagrant.DeleteVersionResponse

type HashicorpCloudVagrantDownloadProviderResponse added in v0.23.0

type HashicorpCloudVagrantDownloadProviderResponse 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 *HashicorpCloudVagrantDownloadProviderResponseChecksumType `json:"checksum_type,omitempty"`

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

HashicorpCloudVagrantDownloadProviderResponse hashicorp cloud vagrant download provider response

swagger:model hashicorp.cloud.vagrant.DownloadProviderResponse

func (*HashicorpCloudVagrantDownloadProviderResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant download provider response based on the context it is used

func (*HashicorpCloudVagrantDownloadProviderResponse) MarshalBinary added in v0.23.0

MarshalBinary interface implementation

func (*HashicorpCloudVagrantDownloadProviderResponse) UnmarshalBinary added in v0.23.0

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantDownloadProviderResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant download provider response

type HashicorpCloudVagrantDownloadProviderResponseChecksumType added in v0.23.0

type HashicorpCloudVagrantDownloadProviderResponseChecksumType string

HashicorpCloudVagrantDownloadProviderResponseChecksumType ChecksumTypes describe supported checksum types.

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

const (

	// HashicorpCloudVagrantDownloadProviderResponseChecksumTypeNONE captures enum value "NONE"
	HashicorpCloudVagrantDownloadProviderResponseChecksumTypeNONE HashicorpCloudVagrantDownloadProviderResponseChecksumType = "NONE"

	// HashicorpCloudVagrantDownloadProviderResponseChecksumTypeMD5 captures enum value "MD5"
	HashicorpCloudVagrantDownloadProviderResponseChecksumTypeMD5 HashicorpCloudVagrantDownloadProviderResponseChecksumType = "MD5"

	// HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA1 captures enum value "SHA1"
	HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA1 HashicorpCloudVagrantDownloadProviderResponseChecksumType = "SHA1"

	// HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA256 captures enum value "SHA256"
	HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA256 HashicorpCloudVagrantDownloadProviderResponseChecksumType = "SHA256"

	// HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA384 captures enum value "SHA384"
	HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA384 HashicorpCloudVagrantDownloadProviderResponseChecksumType = "SHA384"

	// HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA512 captures enum value "SHA512"
	HashicorpCloudVagrantDownloadProviderResponseChecksumTypeSHA512 HashicorpCloudVagrantDownloadProviderResponseChecksumType = "SHA512"
)

func (HashicorpCloudVagrantDownloadProviderResponseChecksumType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant download provider response checksum type based on context it is used

func (HashicorpCloudVagrantDownloadProviderResponseChecksumType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVagrantDownloadProviderResponseChecksumType.

func (HashicorpCloudVagrantDownloadProviderResponseChecksumType) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant download provider response checksum type

type HashicorpCloudVagrantExternalProvider added in v0.23.0

type HashicorpCloudVagrantExternalProvider struct {

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

	// The algorithm type for the provided checksum.
	ChecksumType *HashicorpCloudVagrantExternalProviderChecksumType `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"`
}

HashicorpCloudVagrantExternalProvider 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.ExternalProvider

func (*HashicorpCloudVagrantExternalProvider) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud vagrant external provider based on the context it is used

func (*HashicorpCloudVagrantExternalProvider) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantExternalProvider) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantExternalProvider) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant external provider

type HashicorpCloudVagrantExternalProviderChecksumType added in v0.23.0

type HashicorpCloudVagrantExternalProviderChecksumType string

HashicorpCloudVagrantExternalProviderChecksumType ChecksumTypes describe supported checksum types.

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

const (

	// HashicorpCloudVagrantExternalProviderChecksumTypeNONE captures enum value "NONE"
	HashicorpCloudVagrantExternalProviderChecksumTypeNONE HashicorpCloudVagrantExternalProviderChecksumType = "NONE"

	// HashicorpCloudVagrantExternalProviderChecksumTypeMD5 captures enum value "MD5"
	HashicorpCloudVagrantExternalProviderChecksumTypeMD5 HashicorpCloudVagrantExternalProviderChecksumType = "MD5"

	// HashicorpCloudVagrantExternalProviderChecksumTypeSHA1 captures enum value "SHA1"
	HashicorpCloudVagrantExternalProviderChecksumTypeSHA1 HashicorpCloudVagrantExternalProviderChecksumType = "SHA1"

	// HashicorpCloudVagrantExternalProviderChecksumTypeSHA256 captures enum value "SHA256"
	HashicorpCloudVagrantExternalProviderChecksumTypeSHA256 HashicorpCloudVagrantExternalProviderChecksumType = "SHA256"

	// HashicorpCloudVagrantExternalProviderChecksumTypeSHA384 captures enum value "SHA384"
	HashicorpCloudVagrantExternalProviderChecksumTypeSHA384 HashicorpCloudVagrantExternalProviderChecksumType = "SHA384"

	// HashicorpCloudVagrantExternalProviderChecksumTypeSHA512 captures enum value "SHA512"
	HashicorpCloudVagrantExternalProviderChecksumTypeSHA512 HashicorpCloudVagrantExternalProviderChecksumType = "SHA512"
)

func (HashicorpCloudVagrantExternalProviderChecksumType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant external provider checksum type based on context it is used

func (HashicorpCloudVagrantExternalProviderChecksumType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVagrantExternalProviderChecksumType.

func (HashicorpCloudVagrantExternalProviderChecksumType) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant external provider checksum type

type HashicorpCloudVagrantGetProviderResponse added in v0.23.0

type HashicorpCloudVagrantGetProviderResponse struct {

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

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

HashicorpCloudVagrantGetProviderResponse hashicorp cloud vagrant get provider response

swagger:model hashicorp.cloud.vagrant.GetProviderResponse

func (*HashicorpCloudVagrantGetProviderResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant get provider response based on the context it is used

func (*HashicorpCloudVagrantGetProviderResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantGetProviderResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantGetProviderResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant get provider response

type HashicorpCloudVagrantHostedProvider added in v0.23.0

type HashicorpCloudVagrantHostedProvider struct {

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

	// The algorithm type for the provided checksum.
	ChecksumType *HashicorpCloudVagrantHostedProviderChecksumType `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 *HashicorpCloudVagrantHostedProviderState `json:"state,omitempty"`

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

HashicorpCloudVagrantHostedProvider hashicorp cloud vagrant hosted provider

swagger:model hashicorp.cloud.vagrant.HostedProvider

func (*HashicorpCloudVagrantHostedProvider) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud vagrant hosted provider based on the context it is used

func (*HashicorpCloudVagrantHostedProvider) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantHostedProvider) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantHostedProvider) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant hosted provider

type HashicorpCloudVagrantHostedProviderChecksumType added in v0.23.0

type HashicorpCloudVagrantHostedProviderChecksumType string

HashicorpCloudVagrantHostedProviderChecksumType ChecksumTypes describe supported checksum types.

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

const (

	// HashicorpCloudVagrantHostedProviderChecksumTypeNONE captures enum value "NONE"
	HashicorpCloudVagrantHostedProviderChecksumTypeNONE HashicorpCloudVagrantHostedProviderChecksumType = "NONE"

	// HashicorpCloudVagrantHostedProviderChecksumTypeMD5 captures enum value "MD5"
	HashicorpCloudVagrantHostedProviderChecksumTypeMD5 HashicorpCloudVagrantHostedProviderChecksumType = "MD5"

	// HashicorpCloudVagrantHostedProviderChecksumTypeSHA1 captures enum value "SHA1"
	HashicorpCloudVagrantHostedProviderChecksumTypeSHA1 HashicorpCloudVagrantHostedProviderChecksumType = "SHA1"

	// HashicorpCloudVagrantHostedProviderChecksumTypeSHA256 captures enum value "SHA256"
	HashicorpCloudVagrantHostedProviderChecksumTypeSHA256 HashicorpCloudVagrantHostedProviderChecksumType = "SHA256"

	// HashicorpCloudVagrantHostedProviderChecksumTypeSHA384 captures enum value "SHA384"
	HashicorpCloudVagrantHostedProviderChecksumTypeSHA384 HashicorpCloudVagrantHostedProviderChecksumType = "SHA384"

	// HashicorpCloudVagrantHostedProviderChecksumTypeSHA512 captures enum value "SHA512"
	HashicorpCloudVagrantHostedProviderChecksumTypeSHA512 HashicorpCloudVagrantHostedProviderChecksumType = "SHA512"
)

func (HashicorpCloudVagrantHostedProviderChecksumType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant hosted provider checksum type based on context it is used

func (HashicorpCloudVagrantHostedProviderChecksumType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVagrantHostedProviderChecksumType.

func (HashicorpCloudVagrantHostedProviderChecksumType) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant hosted provider checksum type

type HashicorpCloudVagrantHostedProviderState added in v0.23.0

type HashicorpCloudVagrantHostedProviderState string

HashicorpCloudVagrantHostedProviderState State is an enumeration of possible HostedProvider states.

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

const (

	// HashicorpCloudVagrantHostedProviderStatePENDING captures enum value "PENDING"
	HashicorpCloudVagrantHostedProviderStatePENDING HashicorpCloudVagrantHostedProviderState = "PENDING"

	// HashicorpCloudVagrantHostedProviderStateUPLOADING captures enum value "UPLOADING"
	HashicorpCloudVagrantHostedProviderStateUPLOADING HashicorpCloudVagrantHostedProviderState = "UPLOADING"

	// HashicorpCloudVagrantHostedProviderStateCOMPLETE captures enum value "COMPLETE"
	HashicorpCloudVagrantHostedProviderStateCOMPLETE HashicorpCloudVagrantHostedProviderState = "COMPLETE"

	// HashicorpCloudVagrantHostedProviderStateFAILED captures enum value "FAILED"
	HashicorpCloudVagrantHostedProviderStateFAILED HashicorpCloudVagrantHostedProviderState = "FAILED"
)

func NewHashicorpCloudVagrantHostedProviderState added in v0.23.0

func NewHashicorpCloudVagrantHostedProviderState(value HashicorpCloudVagrantHostedProviderState) *HashicorpCloudVagrantHostedProviderState

func (HashicorpCloudVagrantHostedProviderState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant hosted provider state based on context it is used

func (HashicorpCloudVagrantHostedProviderState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVagrantHostedProviderState.

func (HashicorpCloudVagrantHostedProviderState) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant hosted provider state

type HashicorpCloudVagrantListBoxesResponse added in v0.23.0

type HashicorpCloudVagrantListBoxesResponse struct {

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

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

HashicorpCloudVagrantListBoxesResponse hashicorp cloud vagrant list boxes response

swagger:model hashicorp.cloud.vagrant.ListBoxesResponse

func (*HashicorpCloudVagrantListBoxesResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant list boxes response based on the context it is used

func (*HashicorpCloudVagrantListBoxesResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantListBoxesResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantListBoxesResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant list boxes response

type HashicorpCloudVagrantListProvidersResponse added in v0.23.0

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

HashicorpCloudVagrantListProvidersResponse hashicorp cloud vagrant list providers response

swagger:model hashicorp.cloud.vagrant.ListProvidersResponse

func (*HashicorpCloudVagrantListProvidersResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant list providers response based on the context it is used

func (*HashicorpCloudVagrantListProvidersResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantListProvidersResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantListProvidersResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant list providers response

type HashicorpCloudVagrantListRegistriesResponse added in v0.23.0

type HashicorpCloudVagrantListRegistriesResponse struct {

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

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

HashicorpCloudVagrantListRegistriesResponse hashicorp cloud vagrant list registries response

swagger:model hashicorp.cloud.vagrant.ListRegistriesResponse

func (*HashicorpCloudVagrantListRegistriesResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant list registries response based on the context it is used

func (*HashicorpCloudVagrantListRegistriesResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantListRegistriesResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantListRegistriesResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant list registries response

type HashicorpCloudVagrantListVersionsResponse added in v0.23.0

type HashicorpCloudVagrantListVersionsResponse struct {

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

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

HashicorpCloudVagrantListVersionsResponse hashicorp cloud vagrant list versions response

swagger:model hashicorp.cloud.vagrant.ListVersionsResponse

func (*HashicorpCloudVagrantListVersionsResponse) ContextValidate added in v0.23.0

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

func (*HashicorpCloudVagrantListVersionsResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantListVersionsResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantListVersionsResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant list versions response

type HashicorpCloudVagrantReadBoxResponse added in v0.23.0

type HashicorpCloudVagrantReadBoxResponse struct {

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

HashicorpCloudVagrantReadBoxResponse hashicorp cloud vagrant read box response

swagger:model hashicorp.cloud.vagrant.ReadBoxResponse

func (*HashicorpCloudVagrantReadBoxResponse) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud vagrant read box response based on the context it is used

func (*HashicorpCloudVagrantReadBoxResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantReadBoxResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantReadBoxResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant read box response

type HashicorpCloudVagrantReadRegistryResponse added in v0.23.0

type HashicorpCloudVagrantReadRegistryResponse struct {

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

HashicorpCloudVagrantReadRegistryResponse hashicorp cloud vagrant read registry response

swagger:model hashicorp.cloud.vagrant.ReadRegistryResponse

func (*HashicorpCloudVagrantReadRegistryResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant read registry response based on the context it is used

func (*HashicorpCloudVagrantReadRegistryResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantReadRegistryResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantReadRegistryResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant read registry response

type HashicorpCloudVagrantReadVersionResponse added in v0.23.0

type HashicorpCloudVagrantReadVersionResponse struct {

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

HashicorpCloudVagrantReadVersionResponse hashicorp cloud vagrant read version response

swagger:model hashicorp.cloud.vagrant.ReadVersionResponse

func (*HashicorpCloudVagrantReadVersionResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant read version response based on the context it is used

func (*HashicorpCloudVagrantReadVersionResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantReadVersionResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantReadVersionResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant read version response

type HashicorpCloudVagrantRegistry added in v0.23.0

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

HashicorpCloudVagrantRegistry hashicorp cloud vagrant registry

swagger:model hashicorp.cloud.vagrant.Registry

func (*HashicorpCloudVagrantRegistry) ContextValidate added in v0.23.0

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

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

func (*HashicorpCloudVagrantRegistry) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantRegistry) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantRegistry) Validate added in v0.23.0

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

Validate validates this hashicorp cloud vagrant registry

type HashicorpCloudVagrantReleaseVersionRequest added in v0.23.0

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

HashicorpCloudVagrantReleaseVersionRequest hashicorp cloud vagrant release version request

swagger:model hashicorp.cloud.vagrant.ReleaseVersionRequest

func (*HashicorpCloudVagrantReleaseVersionRequest) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant release version request based on context it is used

func (*HashicorpCloudVagrantReleaseVersionRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantReleaseVersionRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantReleaseVersionRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant release version request

type HashicorpCloudVagrantReleaseVersionResponse added in v0.23.0

type HashicorpCloudVagrantReleaseVersionResponse interface{}

HashicorpCloudVagrantReleaseVersionResponse hashicorp cloud vagrant release version response

swagger:model hashicorp.cloud.vagrant.ReleaseVersionResponse

type HashicorpCloudVagrantRevokeVersionRequest added in v0.23.0

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

HashicorpCloudVagrantRevokeVersionRequest hashicorp cloud vagrant revoke version request

swagger:model hashicorp.cloud.vagrant.RevokeVersionRequest

func (*HashicorpCloudVagrantRevokeVersionRequest) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant revoke version request based on context it is used

func (*HashicorpCloudVagrantRevokeVersionRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantRevokeVersionRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantRevokeVersionRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant revoke version request

type HashicorpCloudVagrantRevokeVersionResponse added in v0.23.0

type HashicorpCloudVagrantRevokeVersionResponse interface{}

HashicorpCloudVagrantRevokeVersionResponse hashicorp cloud vagrant revoke version response

swagger:model hashicorp.cloud.vagrant.RevokeVersionResponse

type HashicorpCloudVagrantUpdateBoxRequest added in v0.23.0

type HashicorpCloudVagrantUpdateBoxRequest 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 *HashicorpCloudVagrantBox `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"`
}

HashicorpCloudVagrantUpdateBoxRequest hashicorp cloud vagrant update box request

swagger:model hashicorp.cloud.vagrant.UpdateBoxRequest

func (*HashicorpCloudVagrantUpdateBoxRequest) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud vagrant update box request based on the context it is used

func (*HashicorpCloudVagrantUpdateBoxRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateBoxRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateBoxRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant update box request

type HashicorpCloudVagrantUpdateBoxResponse added in v0.23.0

type HashicorpCloudVagrantUpdateBoxResponse struct {

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

HashicorpCloudVagrantUpdateBoxResponse hashicorp cloud vagrant update box response

swagger:model hashicorp.cloud.vagrant.UpdateBoxResponse

func (*HashicorpCloudVagrantUpdateBoxResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant update box response based on the context it is used

func (*HashicorpCloudVagrantUpdateBoxResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateBoxResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateBoxResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant update box response

type HashicorpCloudVagrantUpdateProviderRequest added in v0.23.0

type HashicorpCloudVagrantUpdateProviderRequest 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 *HashicorpCloudVagrantExternalProvider `json:"external,omitempty"`

	// hosted
	Hosted *HashicorpCloudVagrantHostedProvider `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"`
}

HashicorpCloudVagrantUpdateProviderRequest hashicorp cloud vagrant update provider request

swagger:model hashicorp.cloud.vagrant.UpdateProviderRequest

func (*HashicorpCloudVagrantUpdateProviderRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant update provider request based on the context it is used

func (*HashicorpCloudVagrantUpdateProviderRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateProviderRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateProviderRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant update provider request

type HashicorpCloudVagrantUpdateProviderResponse added in v0.23.0

type HashicorpCloudVagrantUpdateProviderResponse struct {

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

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

HashicorpCloudVagrantUpdateProviderResponse hashicorp cloud vagrant update provider response

swagger:model hashicorp.cloud.vagrant.UpdateProviderResponse

func (*HashicorpCloudVagrantUpdateProviderResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vagrant update provider response based on the context it is used

func (*HashicorpCloudVagrantUpdateProviderResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateProviderResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantUpdateProviderResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant update provider response

type HashicorpCloudVagrantUploadProviderRequest added in v0.23.0

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

HashicorpCloudVagrantUploadProviderRequest hashicorp cloud vagrant upload provider request

swagger:model hashicorp.cloud.vagrant.UploadProviderRequest

func (*HashicorpCloudVagrantUploadProviderRequest) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant upload provider request based on context it is used

func (*HashicorpCloudVagrantUploadProviderRequest) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantUploadProviderRequest) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantUploadProviderRequest) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant upload provider request

type HashicorpCloudVagrantUploadProviderResponse added in v0.23.0

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

HashicorpCloudVagrantUploadProviderResponse hashicorp cloud vagrant upload provider response

swagger:model hashicorp.cloud.vagrant.UploadProviderResponse

func (*HashicorpCloudVagrantUploadProviderResponse) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vagrant upload provider response based on context it is used

func (*HashicorpCloudVagrantUploadProviderResponse) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantUploadProviderResponse) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantUploadProviderResponse) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant upload provider response

type HashicorpCloudVagrantVersion added in v0.23.0

type HashicorpCloudVagrantVersion 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 *HashicorpCloudVagrantVersionState `json:"state,omitempty"`

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

HashicorpCloudVagrantVersion hashicorp cloud vagrant version

swagger:model hashicorp.cloud.vagrant.Version

func (*HashicorpCloudVagrantVersion) ContextValidate added in v0.23.0

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

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

func (*HashicorpCloudVagrantVersion) MarshalBinary added in v0.23.0

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

MarshalBinary interface implementation

func (*HashicorpCloudVagrantVersion) UnmarshalBinary added in v0.23.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVagrantVersion) Validate added in v0.23.0

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

Validate validates this hashicorp cloud vagrant version

type HashicorpCloudVagrantVersionState added in v0.23.0

type HashicorpCloudVagrantVersionState string

HashicorpCloudVagrantVersionState State is an enumeration of possible Version states.

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

const (

	// HashicorpCloudVagrantVersionStateUNRELEASED captures enum value "UNRELEASED"
	HashicorpCloudVagrantVersionStateUNRELEASED HashicorpCloudVagrantVersionState = "UNRELEASED"

	// HashicorpCloudVagrantVersionStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudVagrantVersionStateACTIVE HashicorpCloudVagrantVersionState = "ACTIVE"

	// HashicorpCloudVagrantVersionStateREVOKED captures enum value "REVOKED"
	HashicorpCloudVagrantVersionStateREVOKED HashicorpCloudVagrantVersionState = "REVOKED"
)

func NewHashicorpCloudVagrantVersionState added in v0.23.0

func NewHashicorpCloudVagrantVersionState(value HashicorpCloudVagrantVersionState) *HashicorpCloudVagrantVersionState

func (HashicorpCloudVagrantVersionState) ContextValidate added in v0.23.0

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

ContextValidate validates this hashicorp cloud vagrant version state based on context it is used

func (HashicorpCloudVagrantVersionState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVagrantVersionState.

func (HashicorpCloudVagrantVersionState) Validate added in v0.23.0

Validate validates this hashicorp cloud vagrant version state

Source Files

Jump to

Keyboard shortcuts

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