Documentation ¶
Index ¶
- type HashicorpCloudConsulCloudManager20231010CidrRange
- func (m *HashicorpCloudConsulCloudManager20231010CidrRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010CidrRange) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010CidrRange) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010CidrRange) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010Cluster
- func (m *HashicorpCloudConsulCloudManager20231010Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010Cluster) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010Cluster) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010Cluster) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ClusterConfig
- func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ClusterConfigSize
- func (m HashicorpCloudConsulCloudManager20231010ClusterConfigSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudConsulCloudManager20231010ClusterConfigSize) Pointer() *HashicorpCloudConsulCloudManager20231010ClusterConfigSize
- func (m HashicorpCloudConsulCloudManager20231010ClusterConfigSize) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ClusterConfigTier
- func (m HashicorpCloudConsulCloudManager20231010ClusterConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m HashicorpCloudConsulCloudManager20231010ClusterConfigTier) Pointer() *HashicorpCloudConsulCloudManager20231010ClusterConfigTier
- func (m HashicorpCloudConsulCloudManager20231010ClusterConfigTier) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ClusterDetail
- func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ClusterSummary
- func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ConsulConfig
- func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010DNSNames
- func (m *HashicorpCloudConsulCloudManager20231010DNSNames) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010DNSNames) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010DNSNames) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010DNSNames) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010GetClusterResponse
- func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010GetNodeResponse
- func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse
- func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ListClustersResponse
- func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010ListNodesResponse
- func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010Meta
- func (m *HashicorpCloudConsulCloudManager20231010Meta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010Meta) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010Meta) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010Meta) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010NetworkConfig
- func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010Node
- func (m *HashicorpCloudConsulCloudManager20231010Node) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010Node) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010Node) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010Node) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010NodeDetails
- func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010NodeServiceData
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010NodeServiceDetails
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) Validate(formats strfmt.Registry) error
- type HashicorpCloudConsulCloudManager20231010Region
- func (m *HashicorpCloudConsulCloudManager20231010Region) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudConsulCloudManager20231010Region) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudConsulCloudManager20231010Region) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudConsulCloudManager20231010Region) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215GetServiceResponse
- func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse
- func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215ListServicesResponse
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215Service
- func (m *HashicorpCloudGlobalNetworkManager20220215Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215Service) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215Service) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215Service) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215ServiceInstance
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) Validate(formats strfmt.Registry) error
- type HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) MarshalBinary() ([]byte, error)
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) UnmarshalBinary(b []byte) error
- func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashicorpCloudConsulCloudManager20231010CidrRange ¶
type HashicorpCloudConsulCloudManager20231010CidrRange struct { // The IPv4 address range, including prefix in CIDR notation. For example, 172.25.16.0/24 Address string `json:"address,omitempty"` // An optional description of the IP address range. Description string `json:"description,omitempty"` }
HashicorpCloudConsulCloudManager20231010CidrRange CidrRange specifies an IP address and prefix in CIDR format.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.CidrRange
func (*HashicorpCloudConsulCloudManager20231010CidrRange) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010CidrRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cidr range based on context it is used
func (*HashicorpCloudConsulCloudManager20231010CidrRange) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010CidrRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010CidrRange) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010CidrRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010Cluster ¶
type HashicorpCloudConsulCloudManager20231010Cluster struct { // Configuration for the cluster. Returned only for HashiCorp-managed clusters on HCP. Config *HashicorpCloudConsulCloudManager20231010ClusterConfig `json:"config,omitempty"` // Consul version of the cluster ConsulVersion string `json:"consul_version,omitempty"` // Metadata of the cluster Meta *HashicorpCloudConsulCloudManager20231010Meta `json:"meta,omitempty"` // Name of the cluster. Name string `json:"name,omitempty"` // Resource id of the parent ParentResourceID string `json:"parent_resource_id,omitempty"` // Resource name of the parent ParentResourceName string `json:"parent_resource_name,omitempty"` // Region where the cluster is deployed Region *HashicorpCloudConsulCloudManager20231010Region `json:"region,omitempty"` // Resource ID of the cluster ResourceID string `json:"resource_id,omitempty"` // Resource name of the cluster ResourceName string `json:"resource_name,omitempty"` // Current state of the cluster. State string `json:"state,omitempty"` // Type of the cluster. Type string `json:"type,omitempty"` }
HashicorpCloudConsulCloudManager20231010Cluster hashicorp cloud consul cloud manager 20231010 cluster
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Cluster
func (*HashicorpCloudConsulCloudManager20231010Cluster) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 cluster based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010Cluster) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Cluster) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010Cluster) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Cluster) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010ClusterConfig ¶
type HashicorpCloudConsulCloudManager20231010ClusterConfig struct { // consul config ConsulConfig *HashicorpCloudConsulCloudManager20231010ConsulConfig `json:"consul_config,omitempty"` // Public and Private DNS names for the cluster DNSNames *HashicorpCloudConsulCloudManager20231010DNSNames `json:"dns_names,omitempty"` // NetworkConfig contains the network to deploy the Consul cluster into. NetworkConfig *HashicorpCloudConsulCloudManager20231010NetworkConfig `json:"network_config,omitempty"` // size Size *HashicorpCloudConsulCloudManager20231010ClusterConfigSize `json:"size,omitempty"` // The type of tier this Consul cluster is provisioned as. Tier *HashicorpCloudConsulCloudManager20231010ClusterConfigTier `json:"tier,omitempty"` }
HashicorpCloudConsulCloudManager20231010ClusterConfig ClusterConfig holds the configuration for a Consul cluster.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterConfig
func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 cluster config based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010ClusterConfig) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010ClusterConfigSize ¶
type HashicorpCloudConsulCloudManager20231010ClusterConfigSize string
HashicorpCloudConsulCloudManager20231010ClusterConfigSize Size corresponds to the size of the VM that a cluster is provisioned with. These sizes are represented as "t-shirt" sizes, with each corresponding to a specific instance type depending on the cloud provider.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterConfig.Size
const ( // HashicorpCloudConsulCloudManager20231010ClusterConfigSizeUNSET captures enum value "UNSET" HashicorpCloudConsulCloudManager20231010ClusterConfigSizeUNSET HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "UNSET" // HashicorpCloudConsulCloudManager20231010ClusterConfigSizeXSMALL captures enum value "X_SMALL" HashicorpCloudConsulCloudManager20231010ClusterConfigSizeXSMALL HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "X_SMALL" // HashicorpCloudConsulCloudManager20231010ClusterConfigSizeSMALL captures enum value "SMALL" HashicorpCloudConsulCloudManager20231010ClusterConfigSizeSMALL HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "SMALL" // HashicorpCloudConsulCloudManager20231010ClusterConfigSizeMEDIUM captures enum value "MEDIUM" HashicorpCloudConsulCloudManager20231010ClusterConfigSizeMEDIUM HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "MEDIUM" // HashicorpCloudConsulCloudManager20231010ClusterConfigSizeLARGE captures enum value "LARGE" HashicorpCloudConsulCloudManager20231010ClusterConfigSizeLARGE HashicorpCloudConsulCloudManager20231010ClusterConfigSize = "LARGE" )
func NewHashicorpCloudConsulCloudManager20231010ClusterConfigSize ¶
func NewHashicorpCloudConsulCloudManager20231010ClusterConfigSize(value HashicorpCloudConsulCloudManager20231010ClusterConfigSize) *HashicorpCloudConsulCloudManager20231010ClusterConfigSize
func (HashicorpCloudConsulCloudManager20231010ClusterConfigSize) ContextValidate ¶
func (m HashicorpCloudConsulCloudManager20231010ClusterConfigSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cluster config size based on context it is used
func (HashicorpCloudConsulCloudManager20231010ClusterConfigSize) Pointer ¶
func (m HashicorpCloudConsulCloudManager20231010ClusterConfigSize) Pointer() *HashicorpCloudConsulCloudManager20231010ClusterConfigSize
Pointer returns a pointer to a freshly-allocated HashicorpCloudConsulCloudManager20231010ClusterConfigSize.
type HashicorpCloudConsulCloudManager20231010ClusterConfigTier ¶
type HashicorpCloudConsulCloudManager20231010ClusterConfigTier string
HashicorpCloudConsulCloudManager20231010ClusterConfigTier Tier represents the different groupings of features and cluster settings and determines the base billing product associated with a cluster resource.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterConfig.Tier
const ( // HashicorpCloudConsulCloudManager20231010ClusterConfigTierDEVELOPMENT captures enum value "DEVELOPMENT" HashicorpCloudConsulCloudManager20231010ClusterConfigTierDEVELOPMENT HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "DEVELOPMENT" // HashicorpCloudConsulCloudManager20231010ClusterConfigTierSTANDARD captures enum value "STANDARD" HashicorpCloudConsulCloudManager20231010ClusterConfigTierSTANDARD HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "STANDARD" // HashicorpCloudConsulCloudManager20231010ClusterConfigTierPLUS captures enum value "PLUS" HashicorpCloudConsulCloudManager20231010ClusterConfigTierPLUS HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "PLUS" // HashicorpCloudConsulCloudManager20231010ClusterConfigTierPREMIUM captures enum value "PREMIUM" HashicorpCloudConsulCloudManager20231010ClusterConfigTierPREMIUM HashicorpCloudConsulCloudManager20231010ClusterConfigTier = "PREMIUM" )
func NewHashicorpCloudConsulCloudManager20231010ClusterConfigTier ¶
func NewHashicorpCloudConsulCloudManager20231010ClusterConfigTier(value HashicorpCloudConsulCloudManager20231010ClusterConfigTier) *HashicorpCloudConsulCloudManager20231010ClusterConfigTier
func (HashicorpCloudConsulCloudManager20231010ClusterConfigTier) ContextValidate ¶
func (m HashicorpCloudConsulCloudManager20231010ClusterConfigTier) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cluster config tier based on context it is used
func (HashicorpCloudConsulCloudManager20231010ClusterConfigTier) Pointer ¶
func (m HashicorpCloudConsulCloudManager20231010ClusterConfigTier) Pointer() *HashicorpCloudConsulCloudManager20231010ClusterConfigTier
Pointer returns a pointer to a freshly-allocated HashicorpCloudConsulCloudManager20231010ClusterConfigTier.
type HashicorpCloudConsulCloudManager20231010ClusterDetail ¶
type HashicorpCloudConsulCloudManager20231010ClusterDetail struct { // Configuration for the cluster. Returned only for HashiCorp-managed clusters on HCP. Config *HashicorpCloudConsulCloudManager20231010ClusterConfig `json:"config,omitempty"` // Consul version of the cluster ConsulVersion string `json:"consul_version,omitempty"` // Metadata of the cluster Meta *HashicorpCloudConsulCloudManager20231010Meta `json:"meta,omitempty"` // Name of the cluster. Name string `json:"name,omitempty"` // resource id of the parent ParentResourceID string `json:"parent_resource_id,omitempty"` // resource name of the parent ParentResourceName string `json:"parent_resource_name,omitempty"` // Region where the cluster is deployed Region *HashicorpCloudConsulCloudManager20231010Region `json:"region,omitempty"` // Resource ID of the cluster. ResourceID string `json:"resource_id,omitempty"` // Resource name of the cluster. ResourceName string `json:"resource_name,omitempty"` // Current state of the cluster. State string `json:"state,omitempty"` // Summary of the cluster Summary *HashicorpCloudConsulCloudManager20231010ClusterSummary `json:"summary,omitempty"` // Type of the cluster. Type string `json:"type,omitempty"` }
HashicorpCloudConsulCloudManager20231010ClusterDetail hashicorp cloud consul cloud manager 20231010 cluster detail
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterDetail
func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 cluster detail based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010ClusterDetail) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010ClusterSummary ¶
type HashicorpCloudConsulCloudManager20231010ClusterSummary struct { // client count ClientCount int32 `json:"client_count,omitempty"` // node count NodeCount int32 `json:"node_count,omitempty"` // server count ServerCount int32 `json:"server_count,omitempty"` // service count ServiceCount int32 `json:"service_count,omitempty"` // service critical ServiceCritical int32 `json:"service_critical,omitempty"` // service passing ServicePassing int32 `json:"service_passing,omitempty"` // service warning ServiceWarning int32 `json:"service_warning,omitempty"` }
HashicorpCloudConsulCloudManager20231010ClusterSummary hashicorp cloud consul cloud manager 20231010 cluster summary
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ClusterSummary
func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 cluster summary based on context it is used
func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010ClusterSummary) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ClusterSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010ConsulConfig ¶
type HashicorpCloudConsulCloudManager20231010ConsulConfig struct { // `acl_enabled` stores if ACLs are enabled for this cluster or not. ACLEnabled bool `json:"acl_enabled,omitempty"` // `connect_enabled` flag denotes that the service mesh is enabled on the Consul servers. ConnectEnabled bool `json:"connect_enabled,omitempty"` // `datacenter` is the name of datacenter the Consul servers run in. If // not set, a default value of `dc1` is used. // // https://developer.hashicorp.com/consul/docs/agent/config/config-files#datacenter Datacenter string `json:"datacenter,omitempty"` }
HashicorpCloudConsulCloudManager20231010ConsulConfig `ConsulConfig` exposes user settable configurations for a Consul cluster.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ConsulConfig
func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 consul config based on context it is used
func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010ConsulConfig) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ConsulConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010DNSNames ¶
type HashicorpCloudConsulCloudManager20231010DNSNames 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"` }
HashicorpCloudConsulCloudManager20231010DNSNames DNSNames holds all of the cluster's DNS names.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.DNSNames
func (*HashicorpCloudConsulCloudManager20231010DNSNames) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010DNSNames) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 DNS names based on context it is used
func (*HashicorpCloudConsulCloudManager20231010DNSNames) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010DNSNames) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010DNSNames) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010DNSNames) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010GetClusterResponse ¶
type HashicorpCloudConsulCloudManager20231010GetClusterResponse struct { // data Data *HashicorpCloudConsulCloudManager20231010ClusterDetail `json:"data,omitempty"` }
HashicorpCloudConsulCloudManager20231010GetClusterResponse hashicorp cloud consul cloud manager 20231010 get cluster response
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.GetClusterResponse
func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 get cluster response based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010GetClusterResponse) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010GetClusterResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010GetNodeResponse ¶
type HashicorpCloudConsulCloudManager20231010GetNodeResponse struct { // Contains detailed information about the node Data *HashicorpCloudConsulCloudManager20231010NodeDetails `json:"data,omitempty"` }
HashicorpCloudConsulCloudManager20231010GetNodeResponse hashicorp cloud consul cloud manager 20231010 get node response
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.GetNodeResponse
func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 get node response based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010GetNodeResponse) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010GetNodeResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse ¶
type HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse struct { // data Data *HashicorpCloudGlobalNetworkManager20220215ServiceInstance `json:"data,omitempty"` }
HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse hashicorp cloud consul cloud manager 20231010 get service instance response
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.GetServiceInstanceResponse
func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 get service instance response based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) Validate ¶
func (m *HashicorpCloudConsulCloudManager20231010GetServiceInstanceResponse) Validate(formats strfmt.Registry) error
Validate validates this hashicorp cloud consul cloud manager 20231010 get service instance response
type HashicorpCloudConsulCloudManager20231010ListClustersResponse ¶
type HashicorpCloudConsulCloudManager20231010ListClustersResponse struct { // data Data []*HashicorpCloudConsulCloudManager20231010Cluster `json:"data"` // pagination Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudConsulCloudManager20231010ListClustersResponse hashicorp cloud consul cloud manager 20231010 list clusters response
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ListClustersResponse
func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 list clusters response based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010ListClustersResponse) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ListClustersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010ListNodesResponse ¶
type HashicorpCloudConsulCloudManager20231010ListNodesResponse struct { // list of nodes of a cluster Data []*HashicorpCloudConsulCloudManager20231010Node `json:"data"` // pagination information for the requesting next or previous page Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudConsulCloudManager20231010ListNodesResponse hashicorp cloud consul cloud manager 20231010 list nodes response
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.ListNodesResponse
func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 list nodes response based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010ListNodesResponse) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010ListNodesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010Meta ¶
type HashicorpCloudConsulCloudManager20231010Meta struct { // `created_at` is the timestamp when the cluster was first created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // `updated_at` is the timestamp when the cluster was last updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
HashicorpCloudConsulCloudManager20231010Meta hashicorp cloud consul cloud manager 20231010 meta
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Meta
func (*HashicorpCloudConsulCloudManager20231010Meta) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010Meta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 meta based on context it is used
func (*HashicorpCloudConsulCloudManager20231010Meta) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Meta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010Meta) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Meta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010NetworkConfig ¶
type HashicorpCloudConsulCloudManager20231010NetworkConfig struct { // A list of IP addresses used to restrict access to a cluster. IPAllowlist []*HashicorpCloudConsulCloudManager20231010CidrRange `json:"ip_allowlist"` // `private` indicates if this cluster's instances should be configured in a // non-externally accessible way. Private bool `json:"private,omitempty"` // This parameter is the network resource's `id`. ResourceID string `json:"resource_id,omitempty"` // This parameter is the network resource's `name`. ResourceName string `json:"resource_name,omitempty"` }
HashicorpCloudConsulCloudManager20231010NetworkConfig NetworkConfig configures the network of the Consul cluster.
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NetworkConfig
func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 network config based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010NetworkConfig) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NetworkConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010Node ¶
type HashicorpCloudConsulCloudManager20231010Node struct { // IP address of the node Address string `json:"address,omitempty"` // Name of the cluster to which the node belongs ClusterName string `json:"cluster_name,omitempty"` // ID of the node ID string `json:"id,omitempty"` // Mame of the node Name string `json:"name,omitempty"` // `resource_id` of the cluster to which the node belongs ParentResourceID string `json:"parent_resource_id,omitempty"` // Resource name of the cluster to which the node belongs ParentResourceName string `json:"parent_resource_name,omitempty"` // Partition of the node Partition string `json:"partition,omitempty"` // Tagged address of the node TaggedAddresses map[string]string `json:"tagged_addresses,omitempty"` }
HashicorpCloudConsulCloudManager20231010Node hashicorp cloud consul cloud manager 20231010 node
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Node
func (*HashicorpCloudConsulCloudManager20231010Node) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010Node) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 node based on context it is used
func (*HashicorpCloudConsulCloudManager20231010Node) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Node) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010Node) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Node) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010NodeDetails ¶
type HashicorpCloudConsulCloudManager20231010NodeDetails struct { // address of the node Address string `json:"address,omitempty"` // name of the cluster the node is part of ClusterName string `json:"cluster_name,omitempty"` // id of the node ID string `json:"id,omitempty"` // name of the node Name string `json:"name,omitempty"` // resource_id of the cluster to which the node belongs ParentResourceID string `json:"parent_resource_id,omitempty"` // resource_name of the cluster to which the node belongs ParentResourceName string `json:"parent_resource_name,omitempty"` // name of the partition the node belongs to Partition string `json:"partition,omitempty"` // service data of all the services running in the node ServiceData *HashicorpCloudConsulCloudManager20231010NodeServiceData `json:"service_data,omitempty"` // tagged addresses of the node TaggedAddresses map[string]string `json:"tagged_addresses,omitempty"` }
HashicorpCloudConsulCloudManager20231010NodeDetails hashicorp cloud consul cloud manager 20231010 node details
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NodeDetails
func (*HashicorpCloudConsulCloudManager20231010NodeDetails) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 node details based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010NodeDetails) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010NodeDetails) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010NodeServiceData ¶
type HashicorpCloudConsulCloudManager20231010NodeServiceData struct { // details of all service running on a node Details []*HashicorpCloudConsulCloudManager20231010NodeServiceDetails `json:"details"` // cumulative namespaces of all the services of the node Namespaces []string `json:"namespaces"` // cumulative tags of all services running on the node Tags []string `json:"tags"` }
HashicorpCloudConsulCloudManager20231010NodeServiceData hashicorp cloud consul cloud manager 20231010 node service data
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NodeServiceData
func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud consul cloud manager 20231010 node service data based on the context it is used
func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010NodeServiceData) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeServiceData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010NodeServiceDetails ¶
type HashicorpCloudConsulCloudManager20231010NodeServiceDetails struct { // instance count of the service InstanceCount int32 `json:"instance_count,omitempty"` // instance_ids of the service InstanceIds []string `json:"instance_ids"` // `kind` of service Kind string `json:"kind,omitempty"` // `namespace` of the service Namespace string `json:"namespace,omitempty"` // different ports of node occupied by the service Ports []int32 `json:"ports"` // service name of the running service ServiceName string `json:"service_name,omitempty"` }
HashicorpCloudConsulCloudManager20231010NodeServiceDetails hashicorp cloud consul cloud manager 20231010 node service details
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.NodeServiceDetails
func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 node service details based on context it is used
func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010NodeServiceDetails) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010NodeServiceDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudConsulCloudManager20231010Region ¶
type HashicorpCloudConsulCloudManager20231010Region struct { // provider Provider string `json:"provider,omitempty"` // region Region string `json:"region,omitempty"` }
HashicorpCloudConsulCloudManager20231010Region hashicorp cloud consul cloud manager 20231010 region
swagger:model hashicorp.cloud.consul_cloud_manager_20231010.Region
func (*HashicorpCloudConsulCloudManager20231010Region) ContextValidate ¶
func (m *HashicorpCloudConsulCloudManager20231010Region) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud consul cloud manager 20231010 region based on context it is used
func (*HashicorpCloudConsulCloudManager20231010Region) MarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Region) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudConsulCloudManager20231010Region) UnmarshalBinary ¶
func (m *HashicorpCloudConsulCloudManager20231010Region) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudGlobalNetworkManager20220215GetServiceResponse ¶
type HashicorpCloudGlobalNetworkManager20220215GetServiceResponse struct { // data Data *HashicorpCloudGlobalNetworkManager20220215Service `json:"data,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215GetServiceResponse hashicorp cloud global network manager 20220215 get service response
swagger:model hashicorp.cloud.global_network_manager_20220215.GetServiceResponse
func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud global network manager 20220215 get service response based on the context it is used
func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215GetServiceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse ¶
type HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse struct { // data Data []*HashicorpCloudGlobalNetworkManager20220215Service `json:"data"` // Pagination response containing the page tokens for future requests Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse hashicorp cloud global network manager 20220215 list cluster services response
swagger:model hashicorp.cloud.global_network_manager_20220215.ListClusterServicesResponse
func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud global network manager 20220215 list cluster services response based on the context it is used
func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) Validate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListClusterServicesResponse) Validate(formats strfmt.Registry) error
Validate validates this hashicorp cloud global network manager 20220215 list cluster services response
type HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse ¶
type HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse struct { // data Data []*HashicorpCloudGlobalNetworkManager20220215ServiceInstance `json:"data"` // Pagination response containing the page tokens for future requests Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse hashicorp cloud global network manager 20220215 list service instances response
swagger:model hashicorp.cloud.global_network_manager_20220215.ListServiceInstancesResponse
func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud global network manager 20220215 list service instances response based on the context it is used
func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) Validate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServiceInstancesResponse) Validate(formats strfmt.Registry) error
Validate validates this hashicorp cloud global network manager 20220215 list service instances response
type HashicorpCloudGlobalNetworkManager20220215ListServicesResponse ¶
type HashicorpCloudGlobalNetworkManager20220215ListServicesResponse struct { // data Data []*HashicorpCloudGlobalNetworkManager20220215Service `json:"data"` // Pagination response containing the page tokens for future requests Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215ListServicesResponse hashicorp cloud global network manager 20220215 list services response
swagger:model hashicorp.cloud.global_network_manager_20220215.ListServicesResponse
func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud global network manager 20220215 list services response based on the context it is used
func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ListServicesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudGlobalNetworkManager20220215Service ¶
type HashicorpCloudGlobalNetworkManager20220215Service struct { // checks critical ChecksCritical int32 `json:"checks_critical,omitempty"` // checks passing ChecksPassing int32 `json:"checks_passing,omitempty"` // checks warning ChecksWarning int32 `json:"checks_warning,omitempty"` // The unique identifier of the Consul cluster the service is registered with ClusterID string `json:"cluster_id,omitempty"` // V2 resource id for parent cluster ClusterResourceID string `json:"cluster_resource_id,omitempty"` // V2 resource name for parent cluster ClusterResourceName string `json:"cluster_resource_name,omitempty"` // True if the service is “connect native”, meaning that it does not use an Envoy proxy. ConnectNative bool `json:"connect_native,omitempty"` // True if the service is connected to a gateway. ConnectedWithGateway bool `json:"connected_with_gateway,omitempty"` // True if the service is connected to an Envoy mesh proxy. ConnectedWithProxy bool `json:"connected_with_proxy,omitempty"` // Union of all the external sources on the service instances. ExternalSources []string `json:"external_sources"` // Only applies for `gateway` type services GatewayConfig *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig `json:"gateway_config,omitempty"` // instance count InstanceCount int32 `json:"instance_count,omitempty"` // `Kind` of service // Possible values: "", "typical", "connect-proxy", "mesh-gateway", "terminating-gateway", "ingress-gateway" // "destination", "api-gateway" Kind string `json:"kind,omitempty"` // Represents how external service requests are handled with regards to mutual TLS protocol // Possible values: "", "strict", "permissive" MtlsMode string `json:"mtls_mode,omitempty"` // Name of the service. Name string `json:"name,omitempty"` // Namespace where the service is deployed. Namespace string `json:"namespace,omitempty"` // Partition where the service is deployed. Partition string `json:"partition,omitempty"` // A name defined at the admin partition level to help determine if two services are the same. SamenessGroup *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup `json:"sameness_group,omitempty"` // Each instance of a service can have its own tags. At the service level, returns a set of all tags of all service instances. Tags []string `json:"tags"` // Determines whether service traffic is forced to pass through the sidecar proxy. TransparentProxy bool `json:"transparent_proxy,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215Service hashicorp cloud global network manager 20220215 service
swagger:model hashicorp.cloud.global_network_manager_20220215.Service
func (*HashicorpCloudGlobalNetworkManager20220215Service) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215Service) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this hashicorp cloud global network manager 20220215 service based on the context it is used
func (*HashicorpCloudGlobalNetworkManager20220215Service) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215Service) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215Service) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215Service) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig ¶
type HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig struct { // associated service count AssociatedServiceCount int32 `json:"associated_service_count,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig hashicorp cloud global network manager 20220215 service gateway config
swagger:model hashicorp.cloud.global_network_manager_20220215.Service.GatewayConfig
func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud global network manager 20220215 service gateway config based on context it is used
func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceGatewayConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudGlobalNetworkManager20220215ServiceInstance ¶
type HashicorpCloudGlobalNetworkManager20220215ServiceInstance struct { // Service-specific IP address or hostname. If no value is specified, the IP address of the agent node is used by default. Address string `json:"address,omitempty"` // The unique identifier of the Consul cluster the service is registered with ClusterID string `json:"cluster_id,omitempty"` // V2 resource id for parent cluster ClusterResourceID string `json:"cluster_resource_id,omitempty"` // V2 resource name for parent cluster ClusterResourceName string `json:"cluster_resource_name,omitempty"` // True if the service is connected to an Envoy mesh proxy. ConnectedWithProxy bool `json:"connected_with_proxy,omitempty"` // external source ExternalSource string `json:"external_source,omitempty"` // Service instance ID ID string `json:"id,omitempty"` // `Kind` of service Kind string `json:"kind,omitempty"` // meta Meta map[string]string `json:"meta,omitempty"` // Service name Name string `json:"name,omitempty"` // Namespace where the service is deployed. Namespace string `json:"namespace,omitempty"` // Consul node the service is registered on Node string `json:"node,omitempty"` // node checks critical NodeChecksCritical int32 `json:"node_checks_critical,omitempty"` // node checks passing NodeChecksPassing int32 `json:"node_checks_passing,omitempty"` // node checks warning NodeChecksWarning int32 `json:"node_checks_warning,omitempty"` // Partition where the service is deployed. Partition string `json:"partition,omitempty"` // Port number of the service Port int32 `json:"port,omitempty"` // proxy checks critical ProxyChecksCritical int32 `json:"proxy_checks_critical,omitempty"` // proxy checks passing ProxyChecksPassing int32 `json:"proxy_checks_passing,omitempty"` // proxy checks warning ProxyChecksWarning int32 `json:"proxy_checks_warning,omitempty"` // service checks critical ServiceChecksCritical int32 `json:"service_checks_critical,omitempty"` // service checks passing ServiceChecksPassing int32 `json:"service_checks_passing,omitempty"` // service checks warning ServiceChecksWarning int32 `json:"service_checks_warning,omitempty"` // Represents overall service instance health status as determined by the highest elevated health check // This can be any of "passing", "warning", "critical", "none" Status string `json:"status,omitempty"` // tags Tags []string `json:"tags"` }
HashicorpCloudGlobalNetworkManager20220215ServiceInstance hashicorp cloud global network manager 20220215 service instance
swagger:model hashicorp.cloud.global_network_manager_20220215.ServiceInstance
func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud global network manager 20220215 service instance based on context it is used
func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ServiceInstance) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup ¶
type HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup struct { // name Name string `json:"name,omitempty"` }
HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup hashicorp cloud global network manager 20220215 service sameness group
swagger:model hashicorp.cloud.global_network_manager_20220215.Service.SamenessGroup
func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) ContextValidate ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hashicorp cloud global network manager 20220215 service sameness group based on context it is used
func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) MarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) UnmarshalBinary ¶
func (m *HashicorpCloudGlobalNetworkManager20220215ServiceSamenessGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- hashicorp_cloud_consul_cloud_manager20231010_cidr_range.go
- hashicorp_cloud_consul_cloud_manager20231010_cluster.go
- hashicorp_cloud_consul_cloud_manager20231010_cluster_config.go
- hashicorp_cloud_consul_cloud_manager20231010_cluster_config_size.go
- hashicorp_cloud_consul_cloud_manager20231010_cluster_config_tier.go
- hashicorp_cloud_consul_cloud_manager20231010_cluster_detail.go
- hashicorp_cloud_consul_cloud_manager20231010_cluster_summary.go
- hashicorp_cloud_consul_cloud_manager20231010_consul_config.go
- hashicorp_cloud_consul_cloud_manager20231010_dns_names.go
- hashicorp_cloud_consul_cloud_manager20231010_get_cluster_response.go
- hashicorp_cloud_consul_cloud_manager20231010_get_node_response.go
- hashicorp_cloud_consul_cloud_manager20231010_get_service_instance_response.go
- hashicorp_cloud_consul_cloud_manager20231010_list_clusters_response.go
- hashicorp_cloud_consul_cloud_manager20231010_list_nodes_response.go
- hashicorp_cloud_consul_cloud_manager20231010_meta.go
- hashicorp_cloud_consul_cloud_manager20231010_network_config.go
- hashicorp_cloud_consul_cloud_manager20231010_node.go
- hashicorp_cloud_consul_cloud_manager20231010_node_details.go
- hashicorp_cloud_consul_cloud_manager20231010_node_service_data.go
- hashicorp_cloud_consul_cloud_manager20231010_node_service_details.go
- hashicorp_cloud_consul_cloud_manager20231010_region.go
- hashicorp_cloud_global_network_manager20220215_get_service_response.go
- hashicorp_cloud_global_network_manager20220215_list_cluster_services_response.go
- hashicorp_cloud_global_network_manager20220215_list_service_instances_response.go
- hashicorp_cloud_global_network_manager20220215_list_services_response.go
- hashicorp_cloud_global_network_manager20220215_service.go
- hashicorp_cloud_global_network_manager20220215_service_gateway_config.go
- hashicorp_cloud_global_network_manager20220215_service_instance.go
- hashicorp_cloud_global_network_manager20220215_service_sameness_group.go