models

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 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 HashicorpCloudConsul20200826ACLToken

type HashicorpCloudConsul20200826ACLToken struct {

	// accessor_id is the Consul Accessor ID for this ACL token.
	AccessorID string `json:"accessor_id,omitempty"`

	// secret_id is the Consul Secret ID for this ACL Token, it is sensitive.
	SecretID string `json:"secret_id,omitempty"`
}

HashicorpCloudConsul20200826ACLToken ACLToken is represents a single ACL token for a cluster.

swagger:model hashicorp.cloud.consul_20200826.ACLToken

func (*HashicorpCloudConsul20200826ACLToken) ContextValidate added in v0.23.0

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

ContextValidate validates this hashicorp cloud consul 20200826 ACL token based on context it is used

func (*HashicorpCloudConsul20200826ACLToken) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ACLToken) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ACLToken) Validate

Validate validates this hashicorp cloud consul 20200826 ACL token

type HashicorpCloudConsul20200826CapacityConfig

type HashicorpCloudConsul20200826CapacityConfig struct {

	// num_servers is the number of nodes this Consul cluster should have.
	NumServers int32 `json:"num_servers,omitempty"`
}

HashicorpCloudConsul20200826CapacityConfig CapacityConfig configures capacity settings like number of nodes and vm sizes.

swagger:model hashicorp.cloud.consul_20200826.CapacityConfig

func (*HashicorpCloudConsul20200826CapacityConfig) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 capacity config based on context it is used

func (*HashicorpCloudConsul20200826CapacityConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CapacityConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CapacityConfig) Validate

Validate validates this hashicorp cloud consul 20200826 capacity config

type HashicorpCloudConsul20200826Cluster

type HashicorpCloudConsul20200826Cluster struct {

	// config holds the configuration of the cluster.
	Config *HashicorpCloudConsul20200826ClusterConfig `json:"config,omitempty"`

	// consul_version is the current Consul version the server nodes are running.
	ConsulVersion string `json:"consul_version,omitempty"`

	// created_at is the timestamp of when the cluster was first created.
	// Output only.
	// Read Only: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// dns_names holds the cluster's public and private DNS names.
	// Output only.
	// Read Only: true
	DNSNames *HashicorpCloudConsul20200826ClusterDNSNames `json:"dns_names,omitempty"`

	// id is ID of the Consul cluster.
	ID string `json:"id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// state is the current state of the cluster.
	// Output only.
	// Read Only: true
	State *HashicorpCloudConsul20200826ClusterState `json:"state,omitempty"`
}

HashicorpCloudConsul20200826Cluster Cluster represents a single Consul cluster.

swagger:model hashicorp.cloud.consul_20200826.Cluster

func (*HashicorpCloudConsul20200826Cluster) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud consul 20200826 cluster based on the context it is used

func (*HashicorpCloudConsul20200826Cluster) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826Cluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826Cluster) Validate

Validate validates this hashicorp cloud consul 20200826 cluster

type HashicorpCloudConsul20200826ClusterConfig

type HashicorpCloudConsul20200826ClusterConfig struct {

	// capacity_config contains the configuration for the cluster size settings.
	CapacityConfig *HashicorpCloudConsul20200826CapacityConfig `json:"capacity_config,omitempty"`

	// consul_config allows altering certain fields relating to the Consul
	// cluster’s configuration.
	ConsulConfig *HashicorpCloudConsul20200826ConsulConfig `json:"consul_config,omitempty"`

	// maintenance_config contains the configuration for maintenance events such as
	// auto upgrades.
	MaintenanceConfig HashicorpCloudConsul20200826MaintenanceConfig `json:"maintenance_config,omitempty"`

	// NetworkConfig contains the network to launch the Consul cluster into.
	NetworkConfig *HashicorpCloudConsul20200826NetworkConfig `json:"network_config,omitempty"`

	// snapshot_config contains the configuration for how often to snapshot and
	// how many to maintain.
	SnapshotConfig HashicorpCloudConsul20200826SnapshotConfig `json:"snapshot_config,omitempty"`
}

HashicorpCloudConsul20200826ClusterConfig ClusterConfig holds the configuration for a Consul cluster.

swagger:model hashicorp.cloud.consul_20200826.ClusterConfig

func (*HashicorpCloudConsul20200826ClusterConfig) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 cluster config based on the context it is used

func (*HashicorpCloudConsul20200826ClusterConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ClusterConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ClusterConfig) Validate

Validate validates this hashicorp cloud consul 20200826 cluster config

type HashicorpCloudConsul20200826ClusterDNSNames

type HashicorpCloudConsul20200826ClusterDNSNames struct {

	// private is the DNS name pointing to the cluster's private IP addresses.
	Private string `json:"private,omitempty"`

	// public is the DNS name pointing to the cluster's public IP addresses.
	Public string `json:"public,omitempty"`
}

HashicorpCloudConsul20200826ClusterDNSNames DNSNames holds all of the cluster's DNS names.

swagger:model hashicorp.cloud.consul_20200826.Cluster.DNSNames

func (*HashicorpCloudConsul20200826ClusterDNSNames) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 cluster DNS names based on context it is used

func (*HashicorpCloudConsul20200826ClusterDNSNames) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ClusterDNSNames) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ClusterDNSNames) Validate

Validate validates this hashicorp cloud consul 20200826 cluster DNS names

type HashicorpCloudConsul20200826ClusterState

type HashicorpCloudConsul20200826ClusterState string

HashicorpCloudConsul20200826ClusterState State is the state of the Consul cluster. Note that this state represents the abstract Consul cluster itself, not necessarily whether Consul cluster is currently available or not.

  • UNSET: UNSET is a sentinel zero value so that an uninitialized value can be

detected.

  • PENDING: PENDING is the state the cluster is in while it is waiting to be created.
  • CREATING: CREATING is the state the cluster is in while it is being provisioned for

the first time.

  • RUNNING: RUNNING is the steady state while the cluster is running.
  • FAILED: FAILED is a failure state in which the cluster is unavailable and may

required an operator restore action to recover.

  • UPDATING: UPDATING is the state the cluster is in while undergoing a version

update.

  • RESTORING: RESTORING is the state the cluster is in while restoring from a snapshot.
  • DELETING: DELETING is the state the cluster is in while it is being de-provisioned.
  • DELETED: DELETED is the state the cluster is in when it has been de-provisioned. At

this point, the cluster is eligible for garbage collection.

swagger:model hashicorp.cloud.consul_20200826.Cluster.State

const (

	// HashicorpCloudConsul20200826ClusterStateUNSET captures enum value "UNSET"
	HashicorpCloudConsul20200826ClusterStateUNSET HashicorpCloudConsul20200826ClusterState = "UNSET"

	// HashicorpCloudConsul20200826ClusterStatePENDING captures enum value "PENDING"
	HashicorpCloudConsul20200826ClusterStatePENDING HashicorpCloudConsul20200826ClusterState = "PENDING"

	// HashicorpCloudConsul20200826ClusterStateCREATING captures enum value "CREATING"
	HashicorpCloudConsul20200826ClusterStateCREATING HashicorpCloudConsul20200826ClusterState = "CREATING"

	// HashicorpCloudConsul20200826ClusterStateRUNNING captures enum value "RUNNING"
	HashicorpCloudConsul20200826ClusterStateRUNNING HashicorpCloudConsul20200826ClusterState = "RUNNING"

	// HashicorpCloudConsul20200826ClusterStateFAILED captures enum value "FAILED"
	HashicorpCloudConsul20200826ClusterStateFAILED HashicorpCloudConsul20200826ClusterState = "FAILED"

	// HashicorpCloudConsul20200826ClusterStateUPDATING captures enum value "UPDATING"
	HashicorpCloudConsul20200826ClusterStateUPDATING HashicorpCloudConsul20200826ClusterState = "UPDATING"

	// HashicorpCloudConsul20200826ClusterStateRESTORING captures enum value "RESTORING"
	HashicorpCloudConsul20200826ClusterStateRESTORING HashicorpCloudConsul20200826ClusterState = "RESTORING"

	// HashicorpCloudConsul20200826ClusterStateDELETING captures enum value "DELETING"
	HashicorpCloudConsul20200826ClusterStateDELETING HashicorpCloudConsul20200826ClusterState = "DELETING"

	// HashicorpCloudConsul20200826ClusterStateDELETED captures enum value "DELETED"
	HashicorpCloudConsul20200826ClusterStateDELETED HashicorpCloudConsul20200826ClusterState = "DELETED"
)

func NewHashicorpCloudConsul20200826ClusterState added in v0.23.0

func NewHashicorpCloudConsul20200826ClusterState(value HashicorpCloudConsul20200826ClusterState) *HashicorpCloudConsul20200826ClusterState

func (HashicorpCloudConsul20200826ClusterState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 cluster state based on context it is used

func (HashicorpCloudConsul20200826ClusterState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudConsul20200826ClusterState.

func (HashicorpCloudConsul20200826ClusterState) Validate

Validate validates this hashicorp cloud consul 20200826 cluster state

type HashicorpCloudConsul20200826ConsulConfig

type HashicorpCloudConsul20200826ConsulConfig struct {

	// connect_enabled toggles Consul Connect on the Consul servers.
	ConnectEnabled bool `json:"connect_enabled,omitempty"`

	// datacenter sets the datacenter the Consul servers will be running in. If
	// not set, a default value will be used.
	//
	// https://www.consul.io/docs/agent/options.html#datacenter
	Datacenter string `json:"datacenter,omitempty"`

	// primary contains a link to the primary consul cluster in a federation.
	Primary *cloud.HashicorpCloudLocationLink `json:"primary,omitempty"`
}

HashicorpCloudConsul20200826ConsulConfig ConsulConfig exposes user settable configurations for a Consul cluster.

swagger:model hashicorp.cloud.consul_20200826.ConsulConfig

func (*HashicorpCloudConsul20200826ConsulConfig) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 consul config based on the context it is used

func (*HashicorpCloudConsul20200826ConsulConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ConsulConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ConsulConfig) Validate

Validate validates this hashicorp cloud consul 20200826 consul config

type HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest

type HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest struct {

	// id is the ID of the cluster to create a token on.
	ID string `json:"id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest CreateCustomerMasterACLTokenRequest is used to create a master token on a specific cluster.

swagger:model hashicorp.cloud.consul_20200826.CreateCustomerMasterACLTokenRequest

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 create customer master ACL token request based on the context it is used

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenRequest) Validate

Validate validates this hashicorp cloud consul 20200826 create customer master ACL token request

type HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse

type HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse struct {

	// acl_token is the newly created master token.
	ACLToken *HashicorpCloudConsul20200826ACLToken `json:"acl_token,omitempty"`
}

HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse CreateCustomerMasterACLTokenResponse contains the newly created customer master ACL token.

swagger:model hashicorp.cloud.consul_20200826.CreateCustomerMasterACLTokenResponse

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 create customer master ACL token response based on the context it is used

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateCustomerMasterACLTokenResponse) Validate

Validate validates this hashicorp cloud consul 20200826 create customer master ACL token response

type HashicorpCloudConsul20200826CreateRequest

type HashicorpCloudConsul20200826CreateRequest struct {

	// Cluster is the Consul Cluster to create.
	Cluster *HashicorpCloudConsul20200826Cluster `json:"cluster,omitempty"`
}

HashicorpCloudConsul20200826CreateRequest hashicorp cloud consul 20200826 create request

swagger:model hashicorp.cloud.consul_20200826.CreateRequest

func (*HashicorpCloudConsul20200826CreateRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 create request based on the context it is used

func (*HashicorpCloudConsul20200826CreateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateRequest) Validate

Validate validates this hashicorp cloud consul 20200826 create request

type HashicorpCloudConsul20200826CreateResponse

type HashicorpCloudConsul20200826CreateResponse struct {

	// cluster is the newly created Consul cluster.
	Cluster *HashicorpCloudConsul20200826Cluster `json:"cluster,omitempty"`

	// operation tracks the asynchronous creation of the Consul cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudConsul20200826CreateResponse hashicorp cloud consul 20200826 create response

swagger:model hashicorp.cloud.consul_20200826.CreateResponse

func (*HashicorpCloudConsul20200826CreateResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 create response based on the context it is used

func (*HashicorpCloudConsul20200826CreateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateResponse) Validate

Validate validates this hashicorp cloud consul 20200826 create response

type HashicorpCloudConsul20200826CreateSnapshotRequest

type HashicorpCloudConsul20200826CreateSnapshotRequest struct {

	// name identifies the name of the snapshot.
	Name string `json:"name,omitempty"`

	// resource identifies what resource to take a snapshot from.
	Resource *cloud.HashicorpCloudLocationLink `json:"resource,omitempty"`
}

HashicorpCloudConsul20200826CreateSnapshotRequest CreateSnapshotRequest is a request to create a new snapshot.

swagger:model hashicorp.cloud.consul_20200826.CreateSnapshotRequest

func (*HashicorpCloudConsul20200826CreateSnapshotRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 create snapshot request based on the context it is used

func (*HashicorpCloudConsul20200826CreateSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateSnapshotRequest) Validate

Validate validates this hashicorp cloud consul 20200826 create snapshot request

type HashicorpCloudConsul20200826CreateSnapshotResponse

type HashicorpCloudConsul20200826CreateSnapshotResponse struct {

	// operation represents the newly created snapshot.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// snapshot_id is the identifer of the newly created snapshot.
	SnapshotID string `json:"snapshot_id,omitempty"`
}

HashicorpCloudConsul20200826CreateSnapshotResponse CreateSnapshotResponse is a response from creating a snapshot.

swagger:model hashicorp.cloud.consul_20200826.CreateSnapshotResponse

func (*HashicorpCloudConsul20200826CreateSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 create snapshot response based on the context it is used

func (*HashicorpCloudConsul20200826CreateSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826CreateSnapshotResponse) Validate

Validate validates this hashicorp cloud consul 20200826 create snapshot response

type HashicorpCloudConsul20200826DeleteResponse

type HashicorpCloudConsul20200826DeleteResponse struct {

	// operation is the operation used to track the deletion of the Consul
	// cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudConsul20200826DeleteResponse hashicorp cloud consul 20200826 delete response

swagger:model hashicorp.cloud.consul_20200826.DeleteResponse

func (*HashicorpCloudConsul20200826DeleteResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 delete response based on the context it is used

func (*HashicorpCloudConsul20200826DeleteResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826DeleteResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826DeleteResponse) Validate

Validate validates this hashicorp cloud consul 20200826 delete response

type HashicorpCloudConsul20200826DeleteSnapshotResponse

type HashicorpCloudConsul20200826DeleteSnapshotResponse struct {

	// operation represents the deletion of the requested snapshot.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudConsul20200826DeleteSnapshotResponse DeleteSnapshotResponse is a response to deleting a snapshot.

swagger:model hashicorp.cloud.consul_20200826.DeleteSnapshotResponse

func (*HashicorpCloudConsul20200826DeleteSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 delete snapshot response based on the context it is used

func (*HashicorpCloudConsul20200826DeleteSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826DeleteSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826DeleteSnapshotResponse) Validate

Validate validates this hashicorp cloud consul 20200826 delete snapshot response

type HashicorpCloudConsul20200826GetClientConfigResponse

type HashicorpCloudConsul20200826GetClientConfigResponse struct {

	// ca_file is the body of an intermediate certificate authority file.
	// Format: byte
	CaFile strfmt.Base64 `json:"ca_file,omitempty"`

	// consul_config_file is the body of JSON config file.
	// Format: byte
	ConsulConfigFile strfmt.Base64 `json:"consul_config_file,omitempty"`

	// file_bundle_zip is the contents of a zip archive containing the other
	// two files, if the request specified it.
	// Format: byte
	FileBundleZip strfmt.Base64 `json:"file_bundle_zip,omitempty"`
}

HashicorpCloudConsul20200826GetClientConfigResponse GetClientConfigResponse the client config files for a Consul agent.

swagger:model hashicorp.cloud.consul_20200826.GetClientConfigResponse

func (*HashicorpCloudConsul20200826GetClientConfigResponse) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 get client config response based on context it is used

func (*HashicorpCloudConsul20200826GetClientConfigResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826GetClientConfigResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826GetClientConfigResponse) Validate

Validate validates this hashicorp cloud consul 20200826 get client config response

type HashicorpCloudConsul20200826GetResponse

type HashicorpCloudConsul20200826GetResponse struct {

	// cluster is the retrieved Consul cluster.
	Cluster *HashicorpCloudConsul20200826Cluster `json:"cluster,omitempty"`
}

HashicorpCloudConsul20200826GetResponse hashicorp cloud consul 20200826 get response

swagger:model hashicorp.cloud.consul_20200826.GetResponse

func (*HashicorpCloudConsul20200826GetResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 get response based on the context it is used

func (*HashicorpCloudConsul20200826GetResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826GetResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826GetResponse) Validate

Validate validates this hashicorp cloud consul 20200826 get response

type HashicorpCloudConsul20200826GetSnapshotResponse

type HashicorpCloudConsul20200826GetSnapshotResponse struct {

	// snapshot is the requested snapshot.
	Snapshot *HashicorpCloudConsul20200826Snapshot `json:"snapshot,omitempty"`
}

HashicorpCloudConsul20200826GetSnapshotResponse GetSnapshotResponse is a response for retrieving a snapshot's information.

swagger:model hashicorp.cloud.consul_20200826.GetSnapshotResponse

func (*HashicorpCloudConsul20200826GetSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 get snapshot response based on the context it is used

func (*HashicorpCloudConsul20200826GetSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826GetSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826GetSnapshotResponse) Validate

Validate validates this hashicorp cloud consul 20200826 get snapshot response

type HashicorpCloudConsul20200826ListResponse

type HashicorpCloudConsul20200826ListResponse struct {

	// clusters are the retrieved Consul clusters.
	Clusters []*HashicorpCloudConsul20200826Cluster `json:"clusters"`

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

HashicorpCloudConsul20200826ListResponse hashicorp cloud consul 20200826 list response

swagger:model hashicorp.cloud.consul_20200826.ListResponse

func (*HashicorpCloudConsul20200826ListResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 list response based on the context it is used

func (*HashicorpCloudConsul20200826ListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListResponse) Validate

Validate validates this hashicorp cloud consul 20200826 list response

type HashicorpCloudConsul20200826ListSnapshotsResponse

type HashicorpCloudConsul20200826ListSnapshotsResponse struct {

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

	// snapshots is a list of available snapshots.
	Snapshots []*HashicorpCloudConsul20200826Snapshot `json:"snapshots"`
}

HashicorpCloudConsul20200826ListSnapshotsResponse ListSnapshotsResponse is a response from listing snapshots.

swagger:model hashicorp.cloud.consul_20200826.ListSnapshotsResponse

func (*HashicorpCloudConsul20200826ListSnapshotsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 list snapshots response based on the context it is used

func (*HashicorpCloudConsul20200826ListSnapshotsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListSnapshotsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListSnapshotsResponse) Validate

Validate validates this hashicorp cloud consul 20200826 list snapshots response

type HashicorpCloudConsul20200826ListUpgradeVersionsResponse

type HashicorpCloudConsul20200826ListUpgradeVersionsResponse struct {

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

HashicorpCloudConsul20200826ListUpgradeVersionsResponse hashicorp cloud consul 20200826 list upgrade versions response

swagger:model hashicorp.cloud.consul_20200826.ListUpgradeVersionsResponse

func (*HashicorpCloudConsul20200826ListUpgradeVersionsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 list upgrade versions response based on the context it is used

func (*HashicorpCloudConsul20200826ListUpgradeVersionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListUpgradeVersionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListUpgradeVersionsResponse) Validate

Validate validates this hashicorp cloud consul 20200826 list upgrade versions response

type HashicorpCloudConsul20200826ListVersionsResponse

type HashicorpCloudConsul20200826ListVersionsResponse struct {

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

HashicorpCloudConsul20200826ListVersionsResponse hashicorp cloud consul 20200826 list versions response

swagger:model hashicorp.cloud.consul_20200826.ListVersionsResponse

func (*HashicorpCloudConsul20200826ListVersionsResponse) ContextValidate added in v0.23.0

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

func (*HashicorpCloudConsul20200826ListVersionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListVersionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826ListVersionsResponse) Validate

Validate validates this hashicorp cloud consul 20200826 list versions response

type HashicorpCloudConsul20200826MaintenanceConfig

type HashicorpCloudConsul20200826MaintenanceConfig interface{}

HashicorpCloudConsul20200826MaintenanceConfig MaintenanceConfig configures when maintenance events should be taken on the Consul cluster.

swagger:model hashicorp.cloud.consul_20200826.MaintenanceConfig

type HashicorpCloudConsul20200826NetworkConfig

type HashicorpCloudConsul20200826NetworkConfig struct {

	// network is the link of the HVN to launch the Consul cluster in.
	// The network cannot be updated once the cluster is created.
	Network *cloud.HashicorpCloudLocationLink `json:"network,omitempty"`

	// private indicates if this cluster's instances should be configured in a
	// non-externally accessible way.
	Private bool `json:"private,omitempty"`
}

HashicorpCloudConsul20200826NetworkConfig NetworkConfig configures the network of the Consul cluster.

swagger:model hashicorp.cloud.consul_20200826.NetworkConfig

func (*HashicorpCloudConsul20200826NetworkConfig) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 network config based on the context it is used

func (*HashicorpCloudConsul20200826NetworkConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826NetworkConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826NetworkConfig) Validate

Validate validates this hashicorp cloud consul 20200826 network config

type HashicorpCloudConsul20200826RestoreSnapshotRequest

type HashicorpCloudConsul20200826RestoreSnapshotRequest struct {

	// cluster_id represents the cluster to restore to.
	ClusterID string `json:"cluster_id,omitempty"`

	// location specifies the location to the cluster is in.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// snapshot represents the snapshot to restore.
	Snapshot *cloud.HashicorpCloudLocationLink `json:"snapshot,omitempty"`

	// take_snapshot determines if a snapshot should be taken before performing a restore.
	TakeSnapshot bool `json:"take_snapshot,omitempty"`
}

HashicorpCloudConsul20200826RestoreSnapshotRequest RestoreSnapshotRequest is a request to restore a snapshot to a cluster.

swagger:model hashicorp.cloud.consul_20200826.RestoreSnapshotRequest

func (*HashicorpCloudConsul20200826RestoreSnapshotRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 restore snapshot request based on the context it is used

func (*HashicorpCloudConsul20200826RestoreSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826RestoreSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826RestoreSnapshotRequest) Validate

Validate validates this hashicorp cloud consul 20200826 restore snapshot request

type HashicorpCloudConsul20200826RestoreSnapshotResponse

type HashicorpCloudConsul20200826RestoreSnapshotResponse struct {

	// operation represents the restore operation acting on the specified cluster.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudConsul20200826RestoreSnapshotResponse RestoreSnapshotResponse is a response to restoring a snapshot.

swagger:model hashicorp.cloud.consul_20200826.RestoreSnapshotResponse

func (*HashicorpCloudConsul20200826RestoreSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 restore snapshot response based on the context it is used

func (*HashicorpCloudConsul20200826RestoreSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826RestoreSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826RestoreSnapshotResponse) Validate

Validate validates this hashicorp cloud consul 20200826 restore snapshot response

type HashicorpCloudConsul20200826Snapshot

type HashicorpCloudConsul20200826Snapshot struct {

	// created_at is the time that this snapshot was requested.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// finished_at is the time that this snapshot was finished.
	// Format: date-time
	FinishedAt strfmt.DateTime `json:"finished_at,omitempty"`

	// id is the snapshot’s ID.
	ID string `json:"id,omitempty"`

	// location is the snapshot’s location.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// meta is the snapshot metadata.
	Meta *HashicorpCloudConsul20200826SnapshotSnapshotMeta `json:"meta,omitempty"`

	// name is the name of the snapshot.
	Name string `json:"name,omitempty"`

	// resource is the resource the snapshot was taken from.
	Resource *cloud.HashicorpCloudLocationLink `json:"resource,omitempty"`

	// running_operation_id is the ID of an operation performing work related to the current state of the snapshot.
	RunningOperationID string `json:"running_operation_id,omitempty"`

	// self_link is a link referring to this snapshot.
	SelfLink *cloud.HashicorpCloudLocationLink `json:"self_link,omitempty"`

	// state represents the current status for this snapshot.
	State *HashicorpCloudConsul20200826SnapshotSnapshotState `json:"state,omitempty"`

	// type represents the type of this snapshot.
	Type *HashicorpCloudConsul20200826SnapshotSnapshotType `json:"type,omitempty"`
}

HashicorpCloudConsul20200826Snapshot Snapshot is our representation needed to back-up a cluster.

swagger:model hashicorp.cloud.consul_20200826.Snapshot

func (*HashicorpCloudConsul20200826Snapshot) ContextValidate added in v0.23.0

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

ContextValidate validate this hashicorp cloud consul 20200826 snapshot based on the context it is used

func (*HashicorpCloudConsul20200826Snapshot) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826Snapshot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826Snapshot) Validate

Validate validates this hashicorp cloud consul 20200826 snapshot

type HashicorpCloudConsul20200826SnapshotConfig

type HashicorpCloudConsul20200826SnapshotConfig interface{}

HashicorpCloudConsul20200826SnapshotConfig SnapshotConfig configures how often cluster snapshot should be taken and how long they should be retained.

swagger:model hashicorp.cloud.consul_20200826.SnapshotConfig

type HashicorpCloudConsul20200826SnapshotSnapshotMeta

type HashicorpCloudConsul20200826SnapshotSnapshotMeta struct {

	// additional_meta contains additional metadata of the snapshot.
	AdditionalMeta map[string]string `json:"additional_meta,omitempty"`

	// product_version is the version of the product of the cluster at creation.
	ProductVersion string `json:"product_version,omitempty"`

	// restored_at notes the time that this snapshot was restored.
	// Format: date-time
	RestoredAt strfmt.DateTime `json:"restored_at,omitempty"`

	// size is the size of the snapshot in bytes.
	Size string `json:"size,omitempty"`
}

HashicorpCloudConsul20200826SnapshotSnapshotMeta hashicorp cloud consul 20200826 snapshot snapshot meta

swagger:model hashicorp.cloud.consul_20200826.Snapshot.SnapshotMeta

func (*HashicorpCloudConsul20200826SnapshotSnapshotMeta) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 snapshot snapshot meta based on context it is used

func (*HashicorpCloudConsul20200826SnapshotSnapshotMeta) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826SnapshotSnapshotMeta) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826SnapshotSnapshotMeta) Validate

Validate validates this hashicorp cloud consul 20200826 snapshot snapshot meta

type HashicorpCloudConsul20200826SnapshotSnapshotState

type HashicorpCloudConsul20200826SnapshotSnapshotState string

HashicorpCloudConsul20200826SnapshotSnapshotState SnapshotState represents the different states a snapshot can be in.

  • QUEUED: QUEUED is used for snapshots that haven’t started and are waiting for a cluster operation to finish before starting.
  • CREATING: CREATING is used for snapshots that are creating.
  • CREATING_FAILED: CREATING_FAILED is used for snapshots that failed creating.
  • READY: READY is used for snapshots that are ready to be restored.
  • DELETING: DELETING is used for snapshots that are deleting.
  • DELETING_FAILED: DELETING_FAILED is used for snapshots that failed deleting.
  • RESTORING: RESTORING is used for snapshots that are being restored.

Progress can be tracked using cluster operations.

swagger:model hashicorp.cloud.consul_20200826.Snapshot.SnapshotState

const (

	// HashicorpCloudConsul20200826SnapshotSnapshotStateSTATEUNSET captures enum value "STATE_UNSET"
	HashicorpCloudConsul20200826SnapshotSnapshotStateSTATEUNSET HashicorpCloudConsul20200826SnapshotSnapshotState = "STATE_UNSET"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateQUEUED captures enum value "QUEUED"
	HashicorpCloudConsul20200826SnapshotSnapshotStateQUEUED HashicorpCloudConsul20200826SnapshotSnapshotState = "QUEUED"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateCREATING captures enum value "CREATING"
	HashicorpCloudConsul20200826SnapshotSnapshotStateCREATING HashicorpCloudConsul20200826SnapshotSnapshotState = "CREATING"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateCREATINGFAILED captures enum value "CREATING_FAILED"
	HashicorpCloudConsul20200826SnapshotSnapshotStateCREATINGFAILED HashicorpCloudConsul20200826SnapshotSnapshotState = "CREATING_FAILED"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateREADY captures enum value "READY"
	HashicorpCloudConsul20200826SnapshotSnapshotStateREADY HashicorpCloudConsul20200826SnapshotSnapshotState = "READY"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateDELETING captures enum value "DELETING"
	HashicorpCloudConsul20200826SnapshotSnapshotStateDELETING HashicorpCloudConsul20200826SnapshotSnapshotState = "DELETING"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateDELETINGFAILED captures enum value "DELETING_FAILED"
	HashicorpCloudConsul20200826SnapshotSnapshotStateDELETINGFAILED HashicorpCloudConsul20200826SnapshotSnapshotState = "DELETING_FAILED"

	// HashicorpCloudConsul20200826SnapshotSnapshotStateRESTORING captures enum value "RESTORING"
	HashicorpCloudConsul20200826SnapshotSnapshotStateRESTORING HashicorpCloudConsul20200826SnapshotSnapshotState = "RESTORING"
)

func (HashicorpCloudConsul20200826SnapshotSnapshotState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 snapshot snapshot state based on context it is used

func (HashicorpCloudConsul20200826SnapshotSnapshotState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudConsul20200826SnapshotSnapshotState.

func (HashicorpCloudConsul20200826SnapshotSnapshotState) Validate

Validate validates this hashicorp cloud consul 20200826 snapshot snapshot state

type HashicorpCloudConsul20200826SnapshotSnapshotType

type HashicorpCloudConsul20200826SnapshotSnapshotType string

HashicorpCloudConsul20200826SnapshotSnapshotType SnapshotType represents the type of a snapshot.

  • AUTOMATIC: AUTOMATIC is used for snapshots generated automatically, like a snapshot before update.
  • MANUAL: MANUAL is used for snapshots that are initiated by a user's actions.
  • SCHEDULED: SCHEDULED is used for snapshots that are generated based on a schedule.

swagger:model hashicorp.cloud.consul_20200826.Snapshot.SnapshotType

const (

	// HashicorpCloudConsul20200826SnapshotSnapshotTypeTYPEUNSET captures enum value "TYPE_UNSET"
	HashicorpCloudConsul20200826SnapshotSnapshotTypeTYPEUNSET HashicorpCloudConsul20200826SnapshotSnapshotType = "TYPE_UNSET"

	// HashicorpCloudConsul20200826SnapshotSnapshotTypeAUTOMATIC captures enum value "AUTOMATIC"
	HashicorpCloudConsul20200826SnapshotSnapshotTypeAUTOMATIC HashicorpCloudConsul20200826SnapshotSnapshotType = "AUTOMATIC"

	// HashicorpCloudConsul20200826SnapshotSnapshotTypeMANUAL captures enum value "MANUAL"
	HashicorpCloudConsul20200826SnapshotSnapshotTypeMANUAL HashicorpCloudConsul20200826SnapshotSnapshotType = "MANUAL"

	// HashicorpCloudConsul20200826SnapshotSnapshotTypeSCHEDULED captures enum value "SCHEDULED"
	HashicorpCloudConsul20200826SnapshotSnapshotTypeSCHEDULED HashicorpCloudConsul20200826SnapshotSnapshotType = "SCHEDULED"
)

func (HashicorpCloudConsul20200826SnapshotSnapshotType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 snapshot snapshot type based on context it is used

func (HashicorpCloudConsul20200826SnapshotSnapshotType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudConsul20200826SnapshotSnapshotType.

func (HashicorpCloudConsul20200826SnapshotSnapshotType) Validate

Validate validates this hashicorp cloud consul 20200826 snapshot snapshot type

type HashicorpCloudConsul20200826UpdateResponse

type HashicorpCloudConsul20200826UpdateResponse struct {

	// operation is used to track the progress of the asynchronous update.
	// Depending on what was updated in the configuration the update may
	// require deploying new server nodes which may take some time to complete.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudConsul20200826UpdateResponse hashicorp cloud consul 20200826 update response

swagger:model hashicorp.cloud.consul_20200826.UpdateResponse

func (*HashicorpCloudConsul20200826UpdateResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 update response based on the context it is used

func (*HashicorpCloudConsul20200826UpdateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826UpdateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826UpdateResponse) Validate

Validate validates this hashicorp cloud consul 20200826 update response

type HashicorpCloudConsul20200826UpdateSnapshotResponse

type HashicorpCloudConsul20200826UpdateSnapshotResponse struct {

	// snapshot is the updated snapshot.
	Snapshot *HashicorpCloudConsul20200826Snapshot `json:"snapshot,omitempty"`
}

HashicorpCloudConsul20200826UpdateSnapshotResponse UpdateSnapshotResponse is a response to updating a snapshot.

swagger:model hashicorp.cloud.consul_20200826.UpdateSnapshotResponse

func (*HashicorpCloudConsul20200826UpdateSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud consul 20200826 update snapshot response based on the context it is used

func (*HashicorpCloudConsul20200826UpdateSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826UpdateSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826UpdateSnapshotResponse) Validate

Validate validates this hashicorp cloud consul 20200826 update snapshot response

type HashicorpCloudConsul20200826Version

type HashicorpCloudConsul20200826Version struct {

	// status defines the version availability.
	Status *HashicorpCloudConsul20200826VersionStatus `json:"status,omitempty"`

	// version is the string representation of the Consul version.
	Version string `json:"version,omitempty"`
}

HashicorpCloudConsul20200826Version hashicorp cloud consul 20200826 version

swagger:model hashicorp.cloud.consul_20200826.Version

func (*HashicorpCloudConsul20200826Version) ContextValidate added in v0.23.0

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

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

func (*HashicorpCloudConsul20200826Version) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudConsul20200826Version) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudConsul20200826Version) Validate

Validate validates this hashicorp cloud consul 20200826 version

type HashicorpCloudConsul20200826VersionStatus

type HashicorpCloudConsul20200826VersionStatus string

HashicorpCloudConsul20200826VersionStatus - AVAILABLE: AVAILABLE represents a version that is generally available but no longer the preferred/recommended version.

  • RECOMMENDED: RECOMMENDED represents a version that is generally available

and recommended by HashiCorp.

  • PREVIEW: PREVIEW represents a version that is not generally available.

swagger:model hashicorp.cloud.consul_20200826.Version.Status

const (

	// HashicorpCloudConsul20200826VersionStatusAVAILABLE captures enum value "AVAILABLE"
	HashicorpCloudConsul20200826VersionStatusAVAILABLE HashicorpCloudConsul20200826VersionStatus = "AVAILABLE"

	// HashicorpCloudConsul20200826VersionStatusRECOMMENDED captures enum value "RECOMMENDED"
	HashicorpCloudConsul20200826VersionStatusRECOMMENDED HashicorpCloudConsul20200826VersionStatus = "RECOMMENDED"

	// HashicorpCloudConsul20200826VersionStatusPREVIEW captures enum value "PREVIEW"
	HashicorpCloudConsul20200826VersionStatusPREVIEW HashicorpCloudConsul20200826VersionStatus = "PREVIEW"
)

func (HashicorpCloudConsul20200826VersionStatus) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud consul 20200826 version status based on context it is used

func (HashicorpCloudConsul20200826VersionStatus) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudConsul20200826VersionStatus.

func (HashicorpCloudConsul20200826VersionStatus) Validate

Validate validates this hashicorp cloud consul 20200826 version status

Source Files

Jump to

Keyboard shortcuts

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