models

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MPL-2.0 Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse

type HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse struct {

	// bootstrap
	Bootstrap *HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap `json:"bootstrap,omitempty"`

	// cluster
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse hashicorp cloud global network manager 20220215 agent bootstrap response

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentBootstrapResponse

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 agent bootstrap response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentBootstrapResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 agent bootstrap response

type HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest

type HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest struct {

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

	// location is the project and organization of the cluster with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest hashicorp cloud global network manager 20220215 agent discover request

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentDiscoverRequest

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 agent discover request based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverRequest) Validate

Validate validates this hashicorp cloud global network manager 20220215 agent discover request

type HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse

type HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse struct {

	// Server is the configuration and TLS status of each consul server in a cluster
	Servers []*HashicorpCloudGlobalNetworkManager20220215Server `json:"servers"`
}

HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse hashicorp cloud global network manager 20220215 agent discover response

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentDiscoverResponse

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 agent discover response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentDiscoverResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 agent discover response

type HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest

type HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest struct {

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

	// location is the project and organization of the cluster with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// server_state is the internal consul node information
	ServerState *HashicorpCloudGlobalNetworkManager20220215ServerState `json:"server_state,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest hashicorp cloud global network manager 20220215 agent push server state request

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentPushServerStateRequest

func (*HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 agent push server state request based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateRequest) Validate

Validate validates this hashicorp cloud global network manager 20220215 agent push server state request

type HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse

type HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse interface{}

HashicorpCloudGlobalNetworkManager20220215AgentPushServerStateResponse hashicorp cloud global network manager 20220215 agent push server state response

swagger:model hashicorp.cloud.global_network_manager_20220215.AgentPushServerStateResponse

type HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo

type HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo struct {

	// failure tolerance
	FailureTolerance int32 `json:"failure_tolerance,omitempty"`

	// healthy
	Healthy bool `json:"healthy,omitempty"`

	// min quorum
	MinQuorum int32 `json:"min_quorum,omitempty"`

	// num servers
	NumServers int32 `json:"num_servers,omitempty"`

	// num voters
	NumVoters int32 `json:"num_voters,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo hashicorp cloud global network manager 20220215 auto pilot info

swagger:model hashicorp.cloud.global_network_manager_20220215.AutoPilotInfo

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 auto pilot info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo) Validate

Validate validates this hashicorp cloud global network manager 20220215 auto pilot info

type HashicorpCloudGlobalNetworkManager20220215Cluster

type HashicorpCloudGlobalNetworkManager20220215Cluster struct {

	// active_server_count is the number of servers that have checked in and are reported as running
	ActiveServerCount int32 `json:"active_server_count,omitempty"`

	// bootstrap expect
	BootstrapExpect int32 `json:"bootstrap_expect,omitempty"`

	// consul version of the cluster
	ConsulVersion string `json:"consul_version,omitempty"`

	// whether this Consul cluster is managed by HCP
	HcpManaged bool `json:"hcp_managed,omitempty"`

	// id
	ID string `json:"id,omitempty"`

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

	// resource_id is the unique identifier for the cluster
	ResourceID string `json:"resource_id,omitempty"`

	// resource_link_url is the location.Link encoded as a url including the organization, project, type and ID
	ResourceLinkURL string `json:"resource_link_url,omitempty"`

	// source of the cluster
	Source *HashicorpCloudGlobalNetworkManager20220215ClusterSource `json:"source,omitempty"`

	// current state of the cluster
	State *HashicorpCloudGlobalNetworkManager20220215ClusterState `json:"state,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215Cluster hashicorp cloud global network manager 20220215 cluster

swagger:model hashicorp.cloud.global_network_manager_20220215.Cluster

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 cluster based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Cluster) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster

type HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap

type HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap struct {

	// bootstrap_expect is the number of consul servers that is expected to join a quorum
	BootstrapExpect int32 `json:"bootstrap_expect,omitempty"`

	// consul_config is the embedded consul configuration.
	ConsulConfig string `json:"consul_config,omitempty"`

	// gossip_key is the consul gossip key for bootstrapping the configuration. Should we move this into a Secrets message?
	GossipKey string `json:"gossip_key,omitempty"`

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

	// server_tls is the public key, private key and certificate_authorities for bootstrapping consul RPC TLS.
	ServerTLS *HashicorpCloudGlobalNetworkManager20220215ServerTLS `json:"server_tls,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap hashicorp cloud global network manager 20220215 cluster bootstrap

swagger:model hashicorp.cloud.global_network_manager_20220215.ClusterBootstrap

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 cluster bootstrap based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ClusterBootstrap) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster bootstrap

type HashicorpCloudGlobalNetworkManager20220215ClusterSource

type HashicorpCloudGlobalNetworkManager20220215ClusterSource string

HashicorpCloudGlobalNetworkManager20220215ClusterSource hashicorp cloud global network manager 20220215 cluster source

swagger:model hashicorp.cloud.global_network_manager_20220215.Cluster.Source

const (

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEUNSPECIFIED captures enum value "SOURCE_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEKUBERNETES captures enum value "SOURCE_KUBERNETES"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEKUBERNETES HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_KUBERNETES"

	// HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEHCP captures enum value "SOURCE_HCP"
	HashicorpCloudGlobalNetworkManager20220215ClusterSourceSOURCEHCP HashicorpCloudGlobalNetworkManager20220215ClusterSource = "SOURCE_HCP"
)

func (HashicorpCloudGlobalNetworkManager20220215ClusterSource) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 cluster source based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ClusterSource) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ClusterSource.

func (HashicorpCloudGlobalNetworkManager20220215ClusterSource) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster source

type HashicorpCloudGlobalNetworkManager20220215ClusterState

type HashicorpCloudGlobalNetworkManager20220215ClusterState string

HashicorpCloudGlobalNetworkManager20220215ClusterState hashicorp cloud global network manager 20220215 cluster state

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

const (

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUNSPECIFIED captures enum value "STATE_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEPENDING captures enum value "STATE_PENDING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEPENDING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_PENDING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATECREATING captures enum value "STATE_CREATING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATECREATING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_CREATING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERUNNING captures enum value "STATE_RUNNING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERUNNING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_RUNNING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEFAILED captures enum value "STATE_FAILED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEFAILED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_FAILED"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUPDATING captures enum value "STATE_UPDATING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEUPDATING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_UPDATING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERESTORING captures enum value "STATE_RESTORING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATERESTORING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_RESTORING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETING captures enum value "STATE_DELETING"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETING HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_DELETING"

	// HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETED captures enum value "STATE_DELETED"
	HashicorpCloudGlobalNetworkManager20220215ClusterStateSTATEDELETED HashicorpCloudGlobalNetworkManager20220215ClusterState = "STATE_DELETED"
)

func (HashicorpCloudGlobalNetworkManager20220215ClusterState) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 cluster state based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ClusterState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ClusterState.

func (HashicorpCloudGlobalNetworkManager20220215ClusterState) Validate

Validate validates this hashicorp cloud global network manager 20220215 cluster state

type HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest

type HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest struct {

	// id is the user settable GNM cluster name
	ID string `json:"id,omitempty"`

	// location is the location of the cluster with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest hashicorp cloud global network manager 20220215 create cluster request

swagger:model hashicorp.cloud.global_network_manager_20220215.CreateClusterRequest

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 create cluster request based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterRequest) Validate

Validate validates this hashicorp cloud global network manager 20220215 create cluster request

type HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse

type HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse struct {

	// client_id is the oauth client_id used to authenticate consul to global-network-manager. This _may_ move into a separate secrets RPC later on.
	ClientID string `json:"client_id,omitempty"`

	// client_secret is the oauth client_secret used to authenticate consul to global-network-manager. This _may_ move into a separate secrets RPC later on.
	ClientSecret string `json:"client_secret,omitempty"`

	// cluster is the viewable representation of the cluster.
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse hashicorp cloud global network manager 20220215 create cluster response

swagger:model hashicorp.cloud.global_network_manager_20220215.CreateClusterResponse

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 create cluster response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215CreateClusterResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 create cluster response

type HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse

type HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse struct {

	// cluster is the viewable representation of the cluster
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse hashicorp cloud global network manager 20220215 delete cluster response

swagger:model hashicorp.cloud.global_network_manager_20220215.DeleteClusterResponse

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 delete cluster response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215DeleteClusterResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 delete cluster response

type HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse

type HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse struct {

	// critical service instances
	CriticalServiceInstances int32 `json:"critical_service_instances,omitempty"`

	// location is the location of the services with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// passing service instances
	PassingServiceInstances int32 `json:"passing_service_instances,omitempty"`

	// total service instances
	TotalServiceInstances int32 `json:"total_service_instances,omitempty"`

	// total services
	TotalServices int32 `json:"total_services,omitempty"`

	// warning service instances
	WarningServiceInstances int32 `json:"warning_service_instances,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse hashicorp cloud global network manager 20220215 get aggregate service summary response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetAggregateServiceSummaryResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get aggregate service summary response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetAggregateServiceSummaryResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get aggregate service summary response

type HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse

type HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse struct {

	// ACL token required to make request to the consul API through HTTP Proxy
	ACLToken string `json:"acl_token,omitempty"`

	// URL to access the Consul API
	APIURL string `json:"api_url,omitempty"`

	// URL to the Consul UI
	UIURL string `json:"ui_url,omitempty"`

	// highest Consul server version
	Version string `json:"version,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse hashicorp cloud global network manager 20220215 get cluster API info response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterAPIInfoResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 get cluster API info response based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterAPIInfoResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get cluster API info response

type HashicorpCloudGlobalNetworkManager20220215GetClusterResponse

type HashicorpCloudGlobalNetworkManager20220215GetClusterResponse struct {

	// cluster is the viewable representation of the cluster.
	Cluster *HashicorpCloudGlobalNetworkManager20220215Cluster `json:"cluster,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterResponse hashicorp cloud global network manager 20220215 get cluster response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get cluster response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get cluster response

type HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse

type HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse struct {

	// oauth client_id for the consul cluster service principal
	ClientID string `json:"client_id,omitempty"`

	// oauth client_secret for the consul cluster service principal
	ClientSecret string `json:"client_secret,omitempty"`

	// HCP resource link
	ResourceLinkURL string `json:"resource_link_url,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse hashicorp cloud global network manager 20220215 get cluster secrets response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetClusterSecretsResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 get cluster secrets response based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetClusterSecretsResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get cluster secrets response

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter struct {

	// cluster matches summaries on the cluster name
	Cluster []string `json:"cluster"`

	// name_prefix matches summaries on the prefix of the service's name
	NamePrefix string `json:"name_prefix,omitempty"`

	// namespace matches summaries on the namespace name
	Namespace []string `json:"namespace"`

	// partition matches summaries on the partition name
	Partition []string `json:"partition"`
}

HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter hashicorp cloud global network manager 20220215 get service summaries request filter

swagger:model hashicorp.cloud.global_network_manager_20220215.GetServiceSummariesRequest.Filter

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 get service summaries request filter based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesRequestFilter) Validate

Validate validates this hashicorp cloud global network manager 20220215 get service summaries request filter

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse

type HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse struct {

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

	// services
	Services []*HashicorpCloudGlobalNetworkManager20220215ServiceSummary `json:"services"`
}

HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse hashicorp cloud global network manager 20220215 get service summaries response

swagger:model hashicorp.cloud.global_network_manager_20220215.GetServiceSummariesResponse

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 get service summaries response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215GetServiceSummariesResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 get service summaries response

type HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse

type HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse struct {

	// id is the user settable GNM cluster name
	ID string `json:"id,omitempty"`

	// location is the location of the cluster with an optional provider and region
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Server is the configuration and TLS status of each consul server in a cluster
	Server []*HashicorpCloudGlobalNetworkManager20220215Server `json:"server"`
}

HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse hashicorp cloud global network manager 20220215 list cluster servers response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClusterServersResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 list cluster servers response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServersResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 list cluster servers response

type HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType

type HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType string

HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType Type limits responses to the specified cluster type

- TYPE_UNSPECIFIED: unspecified type to filter on. If this is seen, default to self-managed clusters

  • TYPE_ALL: all cluster types
  • TYPE_SELF: self-managed clusters
  • TYPE_HCP: HCP-managed clusters

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersRequest.Type

const (

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEUNSPECIFIED captures enum value "TYPE_UNSPECIFIED"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEUNSPECIFIED HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_UNSPECIFIED"

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEALL captures enum value "TYPE_ALL"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEALL HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_ALL"

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPESELF captures enum value "TYPE_SELF"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPESELF HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_SELF"

	// HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEHCP captures enum value "TYPE_HCP"
	HashicorpCloudGlobalNetworkManager20220215ListClustersRequestTypeTYPEHCP HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType = "TYPE_HCP"
)

func (HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 list clusters request type based on context it is used

func (HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType.

func (HashicorpCloudGlobalNetworkManager20220215ListClustersRequestType) Validate

Validate validates this hashicorp cloud global network manager 20220215 list clusters request type

type HashicorpCloudGlobalNetworkManager20220215ListClustersResponse

type HashicorpCloudGlobalNetworkManager20220215ListClustersResponse struct {

	// clusters
	Clusters []*HashicorpCloudGlobalNetworkManager20220215Cluster `json:"clusters"`
}

HashicorpCloudGlobalNetworkManager20220215ListClustersResponse hashicorp cloud global network manager 20220215 list clusters response

swagger:model hashicorp.cloud.global_network_manager_20220215.ListClustersResponse

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 list clusters response based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ListClustersResponse) Validate

Validate validates this hashicorp cloud global network manager 20220215 list clusters response

type HashicorpCloudGlobalNetworkManager20220215RaftInfo

type HashicorpCloudGlobalNetworkManager20220215RaftInfo struct {

	// applied index
	AppliedIndex string `json:"applied_index,omitempty"`

	// is leader
	IsLeader bool `json:"is_leader,omitempty"`

	// known leader
	KnownLeader bool `json:"known_leader,omitempty"`

	// time since last contact
	TimeSinceLastContact string `json:"time_since_last_contact,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215RaftInfo hashicorp cloud global network manager 20220215 raft info

swagger:model hashicorp.cloud.global_network_manager_20220215.RaftInfo

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 raft info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215RaftInfo) Validate

Validate validates this hashicorp cloud global network manager 20220215 raft info

type HashicorpCloudGlobalNetworkManager20220215Server

type HashicorpCloudGlobalNetworkManager20220215Server struct {

	// gossip_port is the Consul serf port
	GossipPort int32 `json:"gossip_port,omitempty"`

	// id is the consul server ID
	ID string `json:"id,omitempty"`

	// lan_address is the local network address of the consul server
	LanAddress string `json:"lan_address,omitempty"`

	// min_quorum is the minimum number of consul servers needed for a quorum
	MinQuorum int32 `json:"min_quorum,omitempty"`

	// name is the consul server name
	Name string `json:"name,omitempty"`

	// rpc_port is the Consul RPC port
	RPCPort int32 `json:"rpc_port,omitempty"`

	// scada_status is the scada provider client's current status
	ScadaStatus string `json:"scada_status,omitempty"`

	// tls_enabled is true if consul RPCs are encrypted
	TLSEnabled bool `json:"tls_enabled,omitempty"`

	// tls_expiry is the date and time that Consul's TLS certificate expires
	// Format: date-time
	TLSExpiry strfmt.DateTime `json:"tls_expiry,omitempty"`

	// version is the consul version
	Version string `json:"version,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215Server hashicorp cloud global network manager 20220215 server

swagger:model hashicorp.cloud.global_network_manager_20220215.Server

func (*HashicorpCloudGlobalNetworkManager20220215Server) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 server based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215Server) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Server) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215Server) Validate

Validate validates this hashicorp cloud global network manager 20220215 server

type HashicorpCloudGlobalNetworkManager20220215ServerState

type HashicorpCloudGlobalNetworkManager20220215ServerState struct {

	// autopilot
	Autopilot *HashicorpCloudGlobalNetworkManager20220215AutoPilotInfo `json:"autopilot,omitempty"`

	// gossip port
	GossipPort int32 `json:"gossip_port,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// lan address
	LanAddress string `json:"lan_address,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// raft
	Raft *HashicorpCloudGlobalNetworkManager20220215RaftInfo `json:"raft,omitempty"`

	// rpc port
	RPCPort int32 `json:"rpc_port,omitempty"`

	// scada status
	ScadaStatus string `json:"scada_status,omitempty"`

	// tls
	TLS *HashicorpCloudGlobalNetworkManager20220215TLSInfo `json:"tls,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServerState hashicorp cloud global network manager 20220215 server state

swagger:model hashicorp.cloud.global_network_manager_20220215.ServerState

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 server state based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerState) Validate

Validate validates this hashicorp cloud global network manager 20220215 server state

type HashicorpCloudGlobalNetworkManager20220215ServerTLS

type HashicorpCloudGlobalNetworkManager20220215ServerTLS struct {

	// cert
	Cert string `json:"cert,omitempty"`

	// certificate authorities
	CertificateAuthorities []string `json:"certificate_authorities"`

	// private key
	PrivateKey string `json:"private_key,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServerTLS hashicorp cloud global network manager 20220215 server TLS

swagger:model hashicorp.cloud.global_network_manager_20220215.ServerTLS

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 server TLS based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServerTLS) Validate

Validate validates this hashicorp cloud global network manager 20220215 server TLS

type HashicorpCloudGlobalNetworkManager20220215ServiceSummary

type HashicorpCloudGlobalNetworkManager20220215ServiceSummary struct {

	// critical
	Critical int32 `json:"critical,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// passing
	Passing int32 `json:"passing,omitempty"`

	// summaries
	Summaries []*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry `json:"summaries"`

	// total service instances for the service after applying any requested filters
	Total int32 `json:"total,omitempty"`

	// warning
	Warning int32 `json:"warning,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceSummary ServiceSummary is an aggregate summary about the health of a service across one or more clusters

swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceSummary

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) ContextValidate

ContextValidate validate this hashicorp cloud global network manager 20220215 service summary based on the context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummary) Validate

Validate validates this hashicorp cloud global network manager 20220215 service summary

type HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry

type HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry struct {

	// cluster is the ID of the cluster the summary is from
	Cluster string `json:"cluster,omitempty"`

	// critical
	Critical int32 `json:"critical,omitempty"`

	// namespace of the service
	Namespace string `json:"namespace,omitempty"`

	// partition of the service
	Partition string `json:"partition,omitempty"`

	// passing
	Passing int32 `json:"passing,omitempty"`

	// total
	Total int32 `json:"total,omitempty"`

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

	// warning
	Warning int32 `json:"warning,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry hashicorp cloud global network manager 20220215 service summary entry

swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceSummary.Entry

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 service summary entry based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215ServiceSummaryEntry) Validate

Validate validates this hashicorp cloud global network manager 20220215 service summary entry

type HashicorpCloudGlobalNetworkManager20220215TLSInfo

type HashicorpCloudGlobalNetworkManager20220215TLSInfo struct {

	// cert expiry
	// Format: date-time
	CertExpiry strfmt.DateTime `json:"cert_expiry,omitempty"`

	// cert name
	CertName string `json:"cert_name,omitempty"`

	// cert serial
	CertSerial string `json:"cert_serial,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// verify incoming
	VerifyIncoming bool `json:"verify_incoming,omitempty"`

	// verify outgoing
	VerifyOutgoing bool `json:"verify_outgoing,omitempty"`

	// verify server hostname
	VerifyServerHostname bool `json:"verify_server_hostname,omitempty"`
}

HashicorpCloudGlobalNetworkManager20220215TLSInfo hashicorp cloud global network manager 20220215 TLS info

swagger:model hashicorp.cloud.global_network_manager_20220215.TLSInfo

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) ContextValidate

ContextValidate validates this hashicorp cloud global network manager 20220215 TLS info based on context it is used

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudGlobalNetworkManager20220215TLSInfo) Validate

Validate validates this hashicorp cloud global network manager 20220215 TLS info

Source Files

Jump to

Keyboard shortcuts

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