cluster

package
v0.0.0-...-a27efb4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

View Source
const (

	// CreateClusterBodyCloudProviderAWS captures enum value "AWS"
	CreateClusterBodyCloudProviderAWS string = "AWS"

	// CreateClusterBodyCloudProviderGCP captures enum value "GCP"
	CreateClusterBodyCloudProviderGCP string = "GCP"
)
View Source
const (

	// CreateClusterBodyClusterTypeDEDICATED captures enum value "DEDICATED"
	CreateClusterBodyClusterTypeDEDICATED string = "DEDICATED"

	// CreateClusterBodyClusterTypeDEVELOPER captures enum value "DEVELOPER"
	CreateClusterBodyClusterTypeDEVELOPER string = "DEVELOPER"
)
View Source
const (

	// CreatePrivateEndpointBodyCloudProviderAWS captures enum value "AWS"
	CreatePrivateEndpointBodyCloudProviderAWS string = "AWS"

	// CreatePrivateEndpointBodyCloudProviderGCP captures enum value "GCP"
	CreatePrivateEndpointBodyCloudProviderGCP string = "GCP"
)
View Source
const (

	// CreatePrivateEndpointBodyServiceStatusCREATING captures enum value "CREATING"
	CreatePrivateEndpointBodyServiceStatusCREATING string = "CREATING"

	// CreatePrivateEndpointBodyServiceStatusACTIVE captures enum value "ACTIVE"
	CreatePrivateEndpointBodyServiceStatusACTIVE string = "ACTIVE"

	// CreatePrivateEndpointBodyServiceStatusDELETING captures enum value "DELETING"
	CreatePrivateEndpointBodyServiceStatusDELETING string = "DELETING"
)
View Source
const (

	// CreatePrivateEndpointBodyStatusPENDING captures enum value "PENDING"
	CreatePrivateEndpointBodyStatusPENDING string = "PENDING"

	// CreatePrivateEndpointBodyStatusACTIVE captures enum value "ACTIVE"
	CreatePrivateEndpointBodyStatusACTIVE string = "ACTIVE"

	// CreatePrivateEndpointBodyStatusDELETING captures enum value "DELETING"
	CreatePrivateEndpointBodyStatusDELETING string = "DELETING"

	// CreatePrivateEndpointBodyStatusFAILED captures enum value "FAILED"
	CreatePrivateEndpointBodyStatusFAILED string = "FAILED"
)
View Source
const (

	// CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderAWS captures enum value "AWS"
	CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderAWS string = "AWS"

	// CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderGCP captures enum value "GCP"
	CreatePrivateEndpointOKBodyPrivateEndpointCloudProviderGCP string = "GCP"
)
View Source
const (

	// CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusCREATING captures enum value "CREATING"
	CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusCREATING string = "CREATING"

	// CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusACTIVE captures enum value "ACTIVE"
	CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusACTIVE string = "ACTIVE"

	// CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusDELETING captures enum value "DELETING"
	CreatePrivateEndpointOKBodyPrivateEndpointServiceStatusDELETING string = "DELETING"
)
View Source
const (

	// CreatePrivateEndpointOKBodyPrivateEndpointStatusPENDING captures enum value "PENDING"
	CreatePrivateEndpointOKBodyPrivateEndpointStatusPENDING string = "PENDING"

	// CreatePrivateEndpointOKBodyPrivateEndpointStatusACTIVE captures enum value "ACTIVE"
	CreatePrivateEndpointOKBodyPrivateEndpointStatusACTIVE string = "ACTIVE"

	// CreatePrivateEndpointOKBodyPrivateEndpointStatusDELETING captures enum value "DELETING"
	CreatePrivateEndpointOKBodyPrivateEndpointStatusDELETING string = "DELETING"

	// CreatePrivateEndpointOKBodyPrivateEndpointStatusFAILED captures enum value "FAILED"
	CreatePrivateEndpointOKBodyPrivateEndpointStatusFAILED string = "FAILED"
)
View Source
const (

	// CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS captures enum value "AWS"
	CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS string = "AWS"

	// CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP captures enum value "GCP"
	CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP string = "GCP"
)
View Source
const (

	// CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING captures enum value "CREATING"
	CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING string = "CREATING"

	// CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE captures enum value "ACTIVE"
	CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE string = "ACTIVE"

	// CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING captures enum value "DELETING"
	CreatePrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING string = "DELETING"
)
View Source
const (

	// GetClusterOKBodyCloudProviderAWS captures enum value "AWS"
	GetClusterOKBodyCloudProviderAWS string = "AWS"

	// GetClusterOKBodyCloudProviderGCP captures enum value "GCP"
	GetClusterOKBodyCloudProviderGCP string = "GCP"
)
View Source
const (

	// GetClusterOKBodyClusterTypeDEDICATED captures enum value "DEDICATED"
	GetClusterOKBodyClusterTypeDEDICATED string = "DEDICATED"

	// GetClusterOKBodyClusterTypeDEVELOPER captures enum value "DEVELOPER"
	GetClusterOKBodyClusterTypeDEVELOPER string = "DEVELOPER"
)
View Source
const (

	// GetClusterOKBodyStatusClusterStatusAVAILABLE captures enum value "AVAILABLE"
	GetClusterOKBodyStatusClusterStatusAVAILABLE string = "AVAILABLE"

	// GetClusterOKBodyStatusClusterStatusCREATING captures enum value "CREATING"
	GetClusterOKBodyStatusClusterStatusCREATING string = "CREATING"

	// GetClusterOKBodyStatusClusterStatusMODIFYING captures enum value "MODIFYING"
	GetClusterOKBodyStatusClusterStatusMODIFYING string = "MODIFYING"

	// GetClusterOKBodyStatusClusterStatusPAUSED captures enum value "PAUSED"
	GetClusterOKBodyStatusClusterStatusPAUSED string = "PAUSED"

	// GetClusterOKBodyStatusClusterStatusRESUMING captures enum value "RESUMING"
	GetClusterOKBodyStatusClusterStatusRESUMING string = "RESUMING"

	// GetClusterOKBodyStatusClusterStatusUNAVAILABLE captures enum value "UNAVAILABLE"
	GetClusterOKBodyStatusClusterStatusUNAVAILABLE string = "UNAVAILABLE"

	// GetClusterOKBodyStatusClusterStatusIMPORTING captures enum value "IMPORTING"
	GetClusterOKBodyStatusClusterStatusIMPORTING string = "IMPORTING"

	// GetClusterOKBodyStatusClusterStatusMAINTAINING captures enum value "MAINTAINING"
	GetClusterOKBodyStatusClusterStatusMAINTAINING string = "MAINTAINING"

	// GetClusterOKBodyStatusClusterStatusPAUSING captures enum value "PAUSING"
	GetClusterOKBodyStatusClusterStatusPAUSING string = "PAUSING"
)
View Source
const (

	// GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE"
	GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE"

	// GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE"
	GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE"

	// GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING"
	GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING"

	// GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING"
	GetClusterOKBodyStatusNodeMapTidbItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING"
)
View Source
const (

	// GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE"
	GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE"

	// GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE"
	GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE"

	// GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING"
	GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING"

	// GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING"
	GetClusterOKBodyStatusNodeMapTiflashItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING"
)
View Source
const (

	// GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE"
	GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE"

	// GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE"
	GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE"

	// GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING"
	GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING"

	// GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING"
	GetClusterOKBodyStatusNodeMapTikvItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING"
)
View Source
const (

	// GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS captures enum value "AWS"
	GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderAWS string = "AWS"

	// GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP captures enum value "GCP"
	GetPrivateEndpointServiceOKBodyPrivateEndpointServiceCloudProviderGCP string = "GCP"
)
View Source
const (

	// GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING captures enum value "CREATING"
	GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusCREATING string = "CREATING"

	// GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE captures enum value "ACTIVE"
	GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusACTIVE string = "ACTIVE"

	// GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING captures enum value "DELETING"
	GetPrivateEndpointServiceOKBodyPrivateEndpointServiceStatusDELETING string = "DELETING"
)
View Source
const (

	// ListClustersOfProjectOKBodyItemsItems0CloudProviderAWS captures enum value "AWS"
	ListClustersOfProjectOKBodyItemsItems0CloudProviderAWS string = "AWS"

	// ListClustersOfProjectOKBodyItemsItems0CloudProviderGCP captures enum value "GCP"
	ListClustersOfProjectOKBodyItemsItems0CloudProviderGCP string = "GCP"
)
View Source
const (

	// ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEDICATED captures enum value "DEDICATED"
	ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEDICATED string = "DEDICATED"

	// ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEVELOPER captures enum value "DEVELOPER"
	ListClustersOfProjectOKBodyItemsItems0ClusterTypeDEVELOPER string = "DEVELOPER"
)
View Source
const (

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusAVAILABLE captures enum value "AVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusAVAILABLE string = "AVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusCREATING captures enum value "CREATING"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusCREATING string = "CREATING"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMODIFYING captures enum value "MODIFYING"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMODIFYING string = "MODIFYING"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSED captures enum value "PAUSED"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSED string = "PAUSED"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusRESUMING captures enum value "RESUMING"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusRESUMING string = "RESUMING"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusUNAVAILABLE captures enum value "UNAVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusUNAVAILABLE string = "UNAVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusIMPORTING captures enum value "IMPORTING"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusIMPORTING string = "IMPORTING"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMAINTAINING captures enum value "MAINTAINING"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusMAINTAINING string = "MAINTAINING"

	// ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSING captures enum value "PAUSING"
	ListClustersOfProjectOKBodyItemsItems0StatusClusterStatusPAUSING string = "PAUSING"
)
View Source
const (

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING"
)
View Source
const (

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING"
)
View Source
const (

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE captures enum value "NODE_STATUS_AVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSAVAILABLE string = "NODE_STATUS_AVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE captures enum value "NODE_STATUS_UNAVAILABLE"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSUNAVAILABLE string = "NODE_STATUS_UNAVAILABLE"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSCREATING captures enum value "NODE_STATUS_CREATING"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSCREATING string = "NODE_STATUS_CREATING"

	// ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSDELETING captures enum value "NODE_STATUS_DELETING"
	ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0StatusNODESTATUSDELETING string = "NODE_STATUS_DELETING"
)
View Source
const (

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderAWS captures enum value "AWS"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderAWS string = "AWS"

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderGCP captures enum value "GCP"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0CloudProviderGCP string = "GCP"
)
View Source
const (

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusCREATING captures enum value "CREATING"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusCREATING string = "CREATING"

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusACTIVE captures enum value "ACTIVE"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusACTIVE string = "ACTIVE"

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusDELETING captures enum value "DELETING"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0ServiceStatusDELETING string = "DELETING"
)
View Source
const (

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusPENDING captures enum value "PENDING"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusPENDING string = "PENDING"

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusACTIVE captures enum value "ACTIVE"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusACTIVE string = "ACTIVE"

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusDELETING captures enum value "DELETING"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusDELETING string = "DELETING"

	// ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusFAILED captures enum value "FAILED"
	ListPrivateEndpointsOfProjectOKBodyEndpointsItems0StatusFAILED string = "FAILED"
)
View Source
const (

	// ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderAWS captures enum value "AWS"
	ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderAWS string = "AWS"

	// ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderGCP captures enum value "GCP"
	ListPrivateEndpointsOKBodyEndpointsItems0CloudProviderGCP string = "GCP"
)
View Source
const (

	// ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusCREATING captures enum value "CREATING"
	ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusCREATING string = "CREATING"

	// ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusACTIVE captures enum value "ACTIVE"
	ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusACTIVE string = "ACTIVE"

	// ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusDELETING captures enum value "DELETING"
	ListPrivateEndpointsOKBodyEndpointsItems0ServiceStatusDELETING string = "DELETING"
)
View Source
const (

	// ListPrivateEndpointsOKBodyEndpointsItems0StatusPENDING captures enum value "PENDING"
	ListPrivateEndpointsOKBodyEndpointsItems0StatusPENDING string = "PENDING"

	// ListPrivateEndpointsOKBodyEndpointsItems0StatusACTIVE captures enum value "ACTIVE"
	ListPrivateEndpointsOKBodyEndpointsItems0StatusACTIVE string = "ACTIVE"

	// ListPrivateEndpointsOKBodyEndpointsItems0StatusDELETING captures enum value "DELETING"
	ListPrivateEndpointsOKBodyEndpointsItems0StatusDELETING string = "DELETING"

	// ListPrivateEndpointsOKBodyEndpointsItems0StatusFAILED captures enum value "FAILED"
	ListPrivateEndpointsOKBodyEndpointsItems0StatusFAILED string = "FAILED"
)
View Source
const (

	// ListProviderRegionsOKBodyItemsItems0CloudProviderAWS captures enum value "AWS"
	ListProviderRegionsOKBodyItemsItems0CloudProviderAWS string = "AWS"

	// ListProviderRegionsOKBodyItemsItems0CloudProviderGCP captures enum value "GCP"
	ListProviderRegionsOKBodyItemsItems0CloudProviderGCP string = "GCP"
)
View Source
const (

	// ListProviderRegionsOKBodyItemsItems0ClusterTypeDEDICATED captures enum value "DEDICATED"
	ListProviderRegionsOKBodyItemsItems0ClusterTypeDEDICATED string = "DEDICATED"

	// ListProviderRegionsOKBodyItemsItems0ClusterTypeDEVELOPER captures enum value "DEVELOPER"
	ListProviderRegionsOKBodyItemsItems0ClusterTypeDEVELOPER string = "DEVELOPER"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for cluster API

func (*Client) CreateAwsCmek

func (a *Client) CreateAwsCmek(params *CreateAwsCmekParams, opts ...ClientOption) (*CreateAwsCmekOK, error)
CreateAwsCmek configures a w s customer managed encryption keys for a project

Before using this API, make sure that the `aws_cmek_enabled` field is set to `true` when creating the project using the [Create a Project](#tag/Project/operation/CreateProject) endpoint. For more information, see [Encryption at Rest using CMEK](https://docs.pingcap.com/tidbcloud/tidb-cloud-encrypt-cmek).

Currently, this feature is only available upon request. If you need to try out this feature, contact [support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support).

func (*Client) CreateCluster

func (a *Client) CreateCluster(params *CreateClusterParams, opts ...ClientOption) (*CreateClusterOK, error)

CreateCluster creates a cluster

Before creating a TiDB Dedicated cluster, you must [set a Project CIDR](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections#prerequisite-set-a-project-cidr) on [TiDB Cloud console](https://tidbcloud.com/).

func (*Client) CreatePrivateEndpoint

func (a *Client) CreatePrivateEndpoint(params *CreatePrivateEndpointParams, opts ...ClientOption) (*CreatePrivateEndpointOK, error)
CreatePrivateEndpoint creates a private endpoint for a cluster

When creating a private endpoint, only the `endpoint_name` is required.

- For TiDB Dedicated clusters, you can create a private endpoint resource in TiDB Cloud after you create the [AWS PrivateLink](https://aws.amazon.com/privatelink/?privatelink-blogs.sort-by=item.additionalFields.createdDate&privatelink-blogs.sort-order=desc) or [Google Cloud Private Service Connect](https://cloud.google.com/vpc/docs/private-service-connect) endpoint depending on where your cluster is hosted. In this way, TiDB Cloud accepts connection requests from your endpoint. - For TiDB Serverless clusters, you cannot create or manage private endpoint via API.

func (*Client) CreatePrivateEndpointService

func (a *Client) CreatePrivateEndpointService(params *CreatePrivateEndpointServiceParams, opts ...ClientOption) (*CreatePrivateEndpointServiceOK, error)
CreatePrivateEndpointService creates a private endpoint service for a cluster

- For TiDB Dedicated clusters, you can create the [AWS PrivateLink](https://aws.amazon.com/privatelink/?privatelink-blogs.sort-by=item.additionalFields.createdDate&privatelink-blogs.sort-order=desc) or [Google Cloud Private Service Connect](https://cloud.google.com/vpc/docs/private-service-connect) service depending on where your cluster is hosted.

- For TiDB Serverless clusters, you cannot create or manage private endpoint service via API.

func (*Client) DeleteCluster

func (a *Client) DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)

DeleteCluster deletes a cluster

func (*Client) DeletePrivateEndpoint

func (a *Client) DeletePrivateEndpoint(params *DeletePrivateEndpointParams, opts ...ClientOption) (*DeletePrivateEndpointOK, error)
DeletePrivateEndpoint deletes a private endpoint for a cluster

- For TiDB Dedicated clusters, you can delete a private endpoint for a cluster.

- For TiDB Serverless clusters, you cannot create or manage private endpoint via API.

func (*Client) GetCluster

func (a *Client) GetCluster(params *GetClusterParams, opts ...ClientOption) (*GetClusterOK, error)

GetCluster gets a cluster by ID

func (*Client) GetPrivateEndpointService

func (a *Client) GetPrivateEndpointService(params *GetPrivateEndpointServiceParams, opts ...ClientOption) (*GetPrivateEndpointServiceOK, error)
GetPrivateEndpointService retrieves the private endpoint service information for a cluster

- For TiDB Dedicated clusters, you can retrieve the private endpoint service information for a cluster.

- For TiDB Serverless clusters, you cannot create or manage private endpoint service via API.

func (*Client) ListAwsCmek

func (a *Client) ListAwsCmek(params *ListAwsCmekParams, opts ...ClientOption) (*ListAwsCmekOK, error)
ListAwsCmek lists a w s customer managed encryption keys for a project

Customer-Managed Encryption Keys (CMEK) lets you protect your static data in a TiDB Dedicated cluster using a cryptographic key that is completely controlled by you. To create a project with CMEK enabled, use the [Create a project](#tag/Project/operation/CreateProject) endpoint and configure `aws_cmek_enabled` to `true`.

For more information, see [Encryption at Rest using CMEK](https://docs.pingcap.com/tidbcloud/tidb-cloud-encrypt-cmek).

func (*Client) ListClustersOfProject

func (a *Client) ListClustersOfProject(params *ListClustersOfProjectParams, opts ...ClientOption) (*ListClustersOfProjectOK, error)

ListClustersOfProject lists all clusters in a project

func (*Client) ListPrivateEndpoints

func (a *Client) ListPrivateEndpoints(params *ListPrivateEndpointsParams, opts ...ClientOption) (*ListPrivateEndpointsOK, error)

ListPrivateEndpoints lists all private endpoints for a cluster

func (*Client) ListPrivateEndpointsOfProject

func (a *Client) ListPrivateEndpointsOfProject(params *ListPrivateEndpointsOfProjectParams, opts ...ClientOption) (*ListPrivateEndpointsOfProjectOK, error)

ListPrivateEndpointsOfProject lists all private endpoints in a project

func (*Client) ListProviderRegions

func (a *Client) ListProviderRegions(params *ListProviderRegionsParams, opts ...ClientOption) (*ListProviderRegionsOK, error)

ListProviderRegions lists the cloud providers regions and available specifications

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCluster

func (a *Client) UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)

UpdateCluster modifies a ti d b dedicated cluster

With this endpoint, you can modify the components of a cluster using the `config.components` parameter, or pause or resume a cluster using the `config.paused` parameter.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateAwsCmek(params *CreateAwsCmekParams, opts ...ClientOption) (*CreateAwsCmekOK, error)

	CreateCluster(params *CreateClusterParams, opts ...ClientOption) (*CreateClusterOK, error)

	CreatePrivateEndpoint(params *CreatePrivateEndpointParams, opts ...ClientOption) (*CreatePrivateEndpointOK, error)

	CreatePrivateEndpointService(params *CreatePrivateEndpointServiceParams, opts ...ClientOption) (*CreatePrivateEndpointServiceOK, error)

	DeleteCluster(params *DeleteClusterParams, opts ...ClientOption) (*DeleteClusterOK, error)

	DeletePrivateEndpoint(params *DeletePrivateEndpointParams, opts ...ClientOption) (*DeletePrivateEndpointOK, error)

	GetCluster(params *GetClusterParams, opts ...ClientOption) (*GetClusterOK, error)

	GetPrivateEndpointService(params *GetPrivateEndpointServiceParams, opts ...ClientOption) (*GetPrivateEndpointServiceOK, error)

	ListAwsCmek(params *ListAwsCmekParams, opts ...ClientOption) (*ListAwsCmekOK, error)

	ListClustersOfProject(params *ListClustersOfProjectParams, opts ...ClientOption) (*ListClustersOfProjectOK, error)

	ListPrivateEndpoints(params *ListPrivateEndpointsParams, opts ...ClientOption) (*ListPrivateEndpointsOK, error)

	ListPrivateEndpointsOfProject(params *ListPrivateEndpointsOfProjectParams, opts ...ClientOption) (*ListPrivateEndpointsOfProjectOK, error)

	ListProviderRegions(params *ListProviderRegionsParams, opts ...ClientOption) (*ListProviderRegionsOK, error)

	UpdateCluster(params *UpdateClusterParams, opts ...ClientOption) (*UpdateClusterOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new cluster API client.

type CreateAwsCmekBadRequest

type CreateAwsCmekBadRequest struct {
	Payload *CreateAwsCmekBadRequestBody
}

CreateAwsCmekBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewCreateAwsCmekBadRequest

func NewCreateAwsCmekBadRequest() *CreateAwsCmekBadRequest

NewCreateAwsCmekBadRequest creates a CreateAwsCmekBadRequest with default headers values

func (*CreateAwsCmekBadRequest) Code

func (o *CreateAwsCmekBadRequest) Code() int

Code gets the status code for the create aws cmek bad request response

func (*CreateAwsCmekBadRequest) Error

func (o *CreateAwsCmekBadRequest) Error() string

func (*CreateAwsCmekBadRequest) GetPayload

func (*CreateAwsCmekBadRequest) IsClientError

func (o *CreateAwsCmekBadRequest) IsClientError() bool

IsClientError returns true when this create aws cmek bad request response has a 4xx status code

func (*CreateAwsCmekBadRequest) IsCode

func (o *CreateAwsCmekBadRequest) IsCode(code int) bool

IsCode returns true when this create aws cmek bad request response a status code equal to that given

func (*CreateAwsCmekBadRequest) IsRedirect

func (o *CreateAwsCmekBadRequest) IsRedirect() bool

IsRedirect returns true when this create aws cmek bad request response has a 3xx status code

func (*CreateAwsCmekBadRequest) IsServerError

func (o *CreateAwsCmekBadRequest) IsServerError() bool

IsServerError returns true when this create aws cmek bad request response has a 5xx status code

func (*CreateAwsCmekBadRequest) IsSuccess

func (o *CreateAwsCmekBadRequest) IsSuccess() bool

IsSuccess returns true when this create aws cmek bad request response has a 2xx status code

func (*CreateAwsCmekBadRequest) String

func (o *CreateAwsCmekBadRequest) String() string

type CreateAwsCmekBadRequestBody

type CreateAwsCmekBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateAwsCmekBadRequestBody create aws cmek bad request body swagger:model CreateAwsCmekBadRequestBody

func (*CreateAwsCmekBadRequestBody) ContextValidate

func (o *CreateAwsCmekBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek bad request body based on context it is used

func (*CreateAwsCmekBadRequestBody) MarshalBinary

func (o *CreateAwsCmekBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekBadRequestBody) UnmarshalBinary

func (o *CreateAwsCmekBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekBadRequestBody) Validate

func (o *CreateAwsCmekBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this create aws cmek bad request body

type CreateAwsCmekBody

type CreateAwsCmekBody struct {

	// The specification of the AWS CMEK. You can configure multiple AWS CMEKs.
	//
	// For a particular project, CMEK can only be configured for one AWS region. Once configured, you cannot create clusters in other regions in the same project.
	// Required: true
	Specs []*CreateAwsCmekParamsBodySpecsItems0 `json:"specs"`
}

CreateAwsCmekBody CreateAwsCmekReq // // CreateAwsCmekReq is the request for configuring AWS Customer-Managed Encryption Keys for a project. swagger:model CreateAwsCmekBody

func (*CreateAwsCmekBody) ContextValidate

func (o *CreateAwsCmekBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create aws cmek body based on the context it is used

func (*CreateAwsCmekBody) MarshalBinary

func (o *CreateAwsCmekBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekBody) UnmarshalBinary

func (o *CreateAwsCmekBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekBody) Validate

func (o *CreateAwsCmekBody) Validate(formats strfmt.Registry) error

Validate validates this create aws cmek body

type CreateAwsCmekDefault

type CreateAwsCmekDefault struct {
	Payload *CreateAwsCmekDefaultBody
	// contains filtered or unexported fields
}

CreateAwsCmekDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateAwsCmekDefault

func NewCreateAwsCmekDefault(code int) *CreateAwsCmekDefault

NewCreateAwsCmekDefault creates a CreateAwsCmekDefault with default headers values

func (*CreateAwsCmekDefault) Code

func (o *CreateAwsCmekDefault) Code() int

Code gets the status code for the create aws cmek default response

func (*CreateAwsCmekDefault) Error

func (o *CreateAwsCmekDefault) Error() string

func (*CreateAwsCmekDefault) GetPayload

func (*CreateAwsCmekDefault) IsClientError

func (o *CreateAwsCmekDefault) IsClientError() bool

IsClientError returns true when this create aws cmek default response has a 4xx status code

func (*CreateAwsCmekDefault) IsCode

func (o *CreateAwsCmekDefault) IsCode(code int) bool

IsCode returns true when this create aws cmek default response a status code equal to that given

func (*CreateAwsCmekDefault) IsRedirect

func (o *CreateAwsCmekDefault) IsRedirect() bool

IsRedirect returns true when this create aws cmek default response has a 3xx status code

func (*CreateAwsCmekDefault) IsServerError

func (o *CreateAwsCmekDefault) IsServerError() bool

IsServerError returns true when this create aws cmek default response has a 5xx status code

func (*CreateAwsCmekDefault) IsSuccess

func (o *CreateAwsCmekDefault) IsSuccess() bool

IsSuccess returns true when this create aws cmek default response has a 2xx status code

func (*CreateAwsCmekDefault) String

func (o *CreateAwsCmekDefault) String() string

type CreateAwsCmekDefaultBody

type CreateAwsCmekDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*CreateAwsCmekDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

CreateAwsCmekDefaultBody create aws cmek default body swagger:model CreateAwsCmekDefaultBody

func (*CreateAwsCmekDefaultBody) ContextValidate

func (o *CreateAwsCmekDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create aws cmek default body based on the context it is used

func (*CreateAwsCmekDefaultBody) MarshalBinary

func (o *CreateAwsCmekDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekDefaultBody) UnmarshalBinary

func (o *CreateAwsCmekDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekDefaultBody) Validate

func (o *CreateAwsCmekDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this create aws cmek default body

type CreateAwsCmekDefaultBodyDetailsItems0

type CreateAwsCmekDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

CreateAwsCmekDefaultBodyDetailsItems0 create aws cmek default body details items0 swagger:model CreateAwsCmekDefaultBodyDetailsItems0

func (*CreateAwsCmekDefaultBodyDetailsItems0) ContextValidate

func (o *CreateAwsCmekDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek default body details items0 based on context it is used

func (*CreateAwsCmekDefaultBodyDetailsItems0) MarshalBinary

func (o *CreateAwsCmekDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary

func (o *CreateAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekDefaultBodyDetailsItems0) Validate

Validate validates this create aws cmek default body details items0

type CreateAwsCmekForbidden

type CreateAwsCmekForbidden struct {
	Payload *CreateAwsCmekForbiddenBody
}

CreateAwsCmekForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewCreateAwsCmekForbidden

func NewCreateAwsCmekForbidden() *CreateAwsCmekForbidden

NewCreateAwsCmekForbidden creates a CreateAwsCmekForbidden with default headers values

func (*CreateAwsCmekForbidden) Code

func (o *CreateAwsCmekForbidden) Code() int

Code gets the status code for the create aws cmek forbidden response

func (*CreateAwsCmekForbidden) Error

func (o *CreateAwsCmekForbidden) Error() string

func (*CreateAwsCmekForbidden) GetPayload

func (*CreateAwsCmekForbidden) IsClientError

func (o *CreateAwsCmekForbidden) IsClientError() bool

IsClientError returns true when this create aws cmek forbidden response has a 4xx status code

func (*CreateAwsCmekForbidden) IsCode

func (o *CreateAwsCmekForbidden) IsCode(code int) bool

IsCode returns true when this create aws cmek forbidden response a status code equal to that given

func (*CreateAwsCmekForbidden) IsRedirect

func (o *CreateAwsCmekForbidden) IsRedirect() bool

IsRedirect returns true when this create aws cmek forbidden response has a 3xx status code

func (*CreateAwsCmekForbidden) IsServerError

func (o *CreateAwsCmekForbidden) IsServerError() bool

IsServerError returns true when this create aws cmek forbidden response has a 5xx status code

func (*CreateAwsCmekForbidden) IsSuccess

func (o *CreateAwsCmekForbidden) IsSuccess() bool

IsSuccess returns true when this create aws cmek forbidden response has a 2xx status code

func (*CreateAwsCmekForbidden) String

func (o *CreateAwsCmekForbidden) String() string

type CreateAwsCmekForbiddenBody

type CreateAwsCmekForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateAwsCmekForbiddenBody create aws cmek forbidden body swagger:model CreateAwsCmekForbiddenBody

func (*CreateAwsCmekForbiddenBody) ContextValidate

func (o *CreateAwsCmekForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek forbidden body based on context it is used

func (*CreateAwsCmekForbiddenBody) MarshalBinary

func (o *CreateAwsCmekForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekForbiddenBody) UnmarshalBinary

func (o *CreateAwsCmekForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekForbiddenBody) Validate

func (o *CreateAwsCmekForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this create aws cmek forbidden body

type CreateAwsCmekInternalServerError

type CreateAwsCmekInternalServerError struct {
	Payload *CreateAwsCmekInternalServerErrorBody
}

CreateAwsCmekInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewCreateAwsCmekInternalServerError

func NewCreateAwsCmekInternalServerError() *CreateAwsCmekInternalServerError

NewCreateAwsCmekInternalServerError creates a CreateAwsCmekInternalServerError with default headers values

func (*CreateAwsCmekInternalServerError) Code

Code gets the status code for the create aws cmek internal server error response

func (*CreateAwsCmekInternalServerError) Error

func (*CreateAwsCmekInternalServerError) GetPayload

func (*CreateAwsCmekInternalServerError) IsClientError

func (o *CreateAwsCmekInternalServerError) IsClientError() bool

IsClientError returns true when this create aws cmek internal server error response has a 4xx status code

func (*CreateAwsCmekInternalServerError) IsCode

func (o *CreateAwsCmekInternalServerError) IsCode(code int) bool

IsCode returns true when this create aws cmek internal server error response a status code equal to that given

func (*CreateAwsCmekInternalServerError) IsRedirect

func (o *CreateAwsCmekInternalServerError) IsRedirect() bool

IsRedirect returns true when this create aws cmek internal server error response has a 3xx status code

func (*CreateAwsCmekInternalServerError) IsServerError

func (o *CreateAwsCmekInternalServerError) IsServerError() bool

IsServerError returns true when this create aws cmek internal server error response has a 5xx status code

func (*CreateAwsCmekInternalServerError) IsSuccess

func (o *CreateAwsCmekInternalServerError) IsSuccess() bool

IsSuccess returns true when this create aws cmek internal server error response has a 2xx status code

func (*CreateAwsCmekInternalServerError) String

type CreateAwsCmekInternalServerErrorBody

type CreateAwsCmekInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateAwsCmekInternalServerErrorBody create aws cmek internal server error body swagger:model CreateAwsCmekInternalServerErrorBody

func (*CreateAwsCmekInternalServerErrorBody) ContextValidate

func (o *CreateAwsCmekInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek internal server error body based on context it is used

func (*CreateAwsCmekInternalServerErrorBody) MarshalBinary

func (o *CreateAwsCmekInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekInternalServerErrorBody) UnmarshalBinary

func (o *CreateAwsCmekInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekInternalServerErrorBody) Validate

Validate validates this create aws cmek internal server error body

type CreateAwsCmekNotFound

type CreateAwsCmekNotFound struct {
	Payload *CreateAwsCmekNotFoundBody
}

CreateAwsCmekNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewCreateAwsCmekNotFound

func NewCreateAwsCmekNotFound() *CreateAwsCmekNotFound

NewCreateAwsCmekNotFound creates a CreateAwsCmekNotFound with default headers values

func (*CreateAwsCmekNotFound) Code

func (o *CreateAwsCmekNotFound) Code() int

Code gets the status code for the create aws cmek not found response

func (*CreateAwsCmekNotFound) Error

func (o *CreateAwsCmekNotFound) Error() string

func (*CreateAwsCmekNotFound) GetPayload

func (*CreateAwsCmekNotFound) IsClientError

func (o *CreateAwsCmekNotFound) IsClientError() bool

IsClientError returns true when this create aws cmek not found response has a 4xx status code

func (*CreateAwsCmekNotFound) IsCode

func (o *CreateAwsCmekNotFound) IsCode(code int) bool

IsCode returns true when this create aws cmek not found response a status code equal to that given

func (*CreateAwsCmekNotFound) IsRedirect

func (o *CreateAwsCmekNotFound) IsRedirect() bool

IsRedirect returns true when this create aws cmek not found response has a 3xx status code

func (*CreateAwsCmekNotFound) IsServerError

func (o *CreateAwsCmekNotFound) IsServerError() bool

IsServerError returns true when this create aws cmek not found response has a 5xx status code

func (*CreateAwsCmekNotFound) IsSuccess

func (o *CreateAwsCmekNotFound) IsSuccess() bool

IsSuccess returns true when this create aws cmek not found response has a 2xx status code

func (*CreateAwsCmekNotFound) String

func (o *CreateAwsCmekNotFound) String() string

type CreateAwsCmekNotFoundBody

type CreateAwsCmekNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateAwsCmekNotFoundBody create aws cmek not found body swagger:model CreateAwsCmekNotFoundBody

func (*CreateAwsCmekNotFoundBody) ContextValidate

func (o *CreateAwsCmekNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek not found body based on context it is used

func (*CreateAwsCmekNotFoundBody) MarshalBinary

func (o *CreateAwsCmekNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekNotFoundBody) UnmarshalBinary

func (o *CreateAwsCmekNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekNotFoundBody) Validate

func (o *CreateAwsCmekNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this create aws cmek not found body

type CreateAwsCmekOK

type CreateAwsCmekOK struct {
	Payload interface{}
}

CreateAwsCmekOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateAwsCmekOK

func NewCreateAwsCmekOK() *CreateAwsCmekOK

NewCreateAwsCmekOK creates a CreateAwsCmekOK with default headers values

func (*CreateAwsCmekOK) Code

func (o *CreateAwsCmekOK) Code() int

Code gets the status code for the create aws cmek o k response

func (*CreateAwsCmekOK) Error

func (o *CreateAwsCmekOK) Error() string

func (*CreateAwsCmekOK) GetPayload

func (o *CreateAwsCmekOK) GetPayload() interface{}

func (*CreateAwsCmekOK) IsClientError

func (o *CreateAwsCmekOK) IsClientError() bool

IsClientError returns true when this create aws cmek o k response has a 4xx status code

func (*CreateAwsCmekOK) IsCode

func (o *CreateAwsCmekOK) IsCode(code int) bool

IsCode returns true when this create aws cmek o k response a status code equal to that given

func (*CreateAwsCmekOK) IsRedirect

func (o *CreateAwsCmekOK) IsRedirect() bool

IsRedirect returns true when this create aws cmek o k response has a 3xx status code

func (*CreateAwsCmekOK) IsServerError

func (o *CreateAwsCmekOK) IsServerError() bool

IsServerError returns true when this create aws cmek o k response has a 5xx status code

func (*CreateAwsCmekOK) IsSuccess

func (o *CreateAwsCmekOK) IsSuccess() bool

IsSuccess returns true when this create aws cmek o k response has a 2xx status code

func (*CreateAwsCmekOK) String

func (o *CreateAwsCmekOK) String() string

type CreateAwsCmekParams

type CreateAwsCmekParams struct {

	// Body.
	Body CreateAwsCmekBody

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAwsCmekParams contains all the parameters to send to the API endpoint

for the create aws cmek operation.

Typically these are written to a http.Request.

func NewCreateAwsCmekParams

func NewCreateAwsCmekParams() *CreateAwsCmekParams

NewCreateAwsCmekParams creates a new CreateAwsCmekParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateAwsCmekParamsWithContext

func NewCreateAwsCmekParamsWithContext(ctx context.Context) *CreateAwsCmekParams

NewCreateAwsCmekParamsWithContext creates a new CreateAwsCmekParams object with the ability to set a context for a request.

func NewCreateAwsCmekParamsWithHTTPClient

func NewCreateAwsCmekParamsWithHTTPClient(client *http.Client) *CreateAwsCmekParams

NewCreateAwsCmekParamsWithHTTPClient creates a new CreateAwsCmekParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAwsCmekParamsWithTimeout

func NewCreateAwsCmekParamsWithTimeout(timeout time.Duration) *CreateAwsCmekParams

NewCreateAwsCmekParamsWithTimeout creates a new CreateAwsCmekParams object with the ability to set a timeout on a request.

func (*CreateAwsCmekParams) SetBody

func (o *CreateAwsCmekParams) SetBody(body CreateAwsCmekBody)

SetBody adds the body to the create aws cmek params

func (*CreateAwsCmekParams) SetContext

func (o *CreateAwsCmekParams) SetContext(ctx context.Context)

SetContext adds the context to the create aws cmek params

func (*CreateAwsCmekParams) SetDefaults

func (o *CreateAwsCmekParams) SetDefaults()

SetDefaults hydrates default values in the create aws cmek params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAwsCmekParams) SetHTTPClient

func (o *CreateAwsCmekParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create aws cmek params

func (*CreateAwsCmekParams) SetProjectID

func (o *CreateAwsCmekParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the create aws cmek params

func (*CreateAwsCmekParams) SetTimeout

func (o *CreateAwsCmekParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create aws cmek params

func (*CreateAwsCmekParams) WithBody

WithBody adds the body to the create aws cmek params

func (*CreateAwsCmekParams) WithContext

WithContext adds the context to the create aws cmek params

func (*CreateAwsCmekParams) WithDefaults

func (o *CreateAwsCmekParams) WithDefaults() *CreateAwsCmekParams

WithDefaults hydrates default values in the create aws cmek params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAwsCmekParams) WithHTTPClient

func (o *CreateAwsCmekParams) WithHTTPClient(client *http.Client) *CreateAwsCmekParams

WithHTTPClient adds the HTTPClient to the create aws cmek params

func (*CreateAwsCmekParams) WithProjectID

func (o *CreateAwsCmekParams) WithProjectID(projectID string) *CreateAwsCmekParams

WithProjectID adds the projectID to the create aws cmek params

func (*CreateAwsCmekParams) WithTimeout

func (o *CreateAwsCmekParams) WithTimeout(timeout time.Duration) *CreateAwsCmekParams

WithTimeout adds the timeout to the create aws cmek params

func (*CreateAwsCmekParams) WriteToRequest

func (o *CreateAwsCmekParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAwsCmekParamsBodySpecsItems0

type CreateAwsCmekParamsBodySpecsItems0 struct {

	// The KMS ARN of the AWS CMEK.
	// Example: arn:aws:kms:example
	// Required: true
	KmsArn *string `json:"kms_arn"`

	// The region name of the AWS CMEK. The region value should match the cloud provider's region code.
	//
	// You can get the complete list of available regions from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// For the detailed information on each region, refer to the documentation of the [AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) cloud provider.
	// Example: us-west-2
	// Required: true
	Region *string `json:"region"`
}

CreateAwsCmekParamsBodySpecsItems0 AwsCmekSpec // // AwsCmekSpec is the specification of the AWS CMEK. swagger:model CreateAwsCmekParamsBodySpecsItems0

func (*CreateAwsCmekParamsBodySpecsItems0) ContextValidate

func (o *CreateAwsCmekParamsBodySpecsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek params body specs items0 based on context it is used

func (*CreateAwsCmekParamsBodySpecsItems0) MarshalBinary

func (o *CreateAwsCmekParamsBodySpecsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekParamsBodySpecsItems0) UnmarshalBinary

func (o *CreateAwsCmekParamsBodySpecsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekParamsBodySpecsItems0) Validate

Validate validates this create aws cmek params body specs items0

type CreateAwsCmekReader

type CreateAwsCmekReader struct {
	// contains filtered or unexported fields
}

CreateAwsCmekReader is a Reader for the CreateAwsCmek structure.

func (*CreateAwsCmekReader) ReadResponse

func (o *CreateAwsCmekReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateAwsCmekTooManyRequests

type CreateAwsCmekTooManyRequests struct {
	Payload *CreateAwsCmekTooManyRequestsBody
}

CreateAwsCmekTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewCreateAwsCmekTooManyRequests

func NewCreateAwsCmekTooManyRequests() *CreateAwsCmekTooManyRequests

NewCreateAwsCmekTooManyRequests creates a CreateAwsCmekTooManyRequests with default headers values

func (*CreateAwsCmekTooManyRequests) Code

Code gets the status code for the create aws cmek too many requests response

func (*CreateAwsCmekTooManyRequests) Error

func (*CreateAwsCmekTooManyRequests) GetPayload

func (*CreateAwsCmekTooManyRequests) IsClientError

func (o *CreateAwsCmekTooManyRequests) IsClientError() bool

IsClientError returns true when this create aws cmek too many requests response has a 4xx status code

func (*CreateAwsCmekTooManyRequests) IsCode

func (o *CreateAwsCmekTooManyRequests) IsCode(code int) bool

IsCode returns true when this create aws cmek too many requests response a status code equal to that given

func (*CreateAwsCmekTooManyRequests) IsRedirect

func (o *CreateAwsCmekTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create aws cmek too many requests response has a 3xx status code

func (*CreateAwsCmekTooManyRequests) IsServerError

func (o *CreateAwsCmekTooManyRequests) IsServerError() bool

IsServerError returns true when this create aws cmek too many requests response has a 5xx status code

func (*CreateAwsCmekTooManyRequests) IsSuccess

func (o *CreateAwsCmekTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create aws cmek too many requests response has a 2xx status code

func (*CreateAwsCmekTooManyRequests) String

type CreateAwsCmekTooManyRequestsBody

type CreateAwsCmekTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateAwsCmekTooManyRequestsBody create aws cmek too many requests body swagger:model CreateAwsCmekTooManyRequestsBody

func (*CreateAwsCmekTooManyRequestsBody) ContextValidate

func (o *CreateAwsCmekTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create aws cmek too many requests body based on context it is used

func (*CreateAwsCmekTooManyRequestsBody) MarshalBinary

func (o *CreateAwsCmekTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAwsCmekTooManyRequestsBody) UnmarshalBinary

func (o *CreateAwsCmekTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAwsCmekTooManyRequestsBody) Validate

Validate validates this create aws cmek too many requests body

type CreateAwsCmekUnauthorized

type CreateAwsCmekUnauthorized struct {
	Payload interface{}
}

CreateAwsCmekUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewCreateAwsCmekUnauthorized

func NewCreateAwsCmekUnauthorized() *CreateAwsCmekUnauthorized

NewCreateAwsCmekUnauthorized creates a CreateAwsCmekUnauthorized with default headers values

func (*CreateAwsCmekUnauthorized) Code

func (o *CreateAwsCmekUnauthorized) Code() int

Code gets the status code for the create aws cmek unauthorized response

func (*CreateAwsCmekUnauthorized) Error

func (o *CreateAwsCmekUnauthorized) Error() string

func (*CreateAwsCmekUnauthorized) GetPayload

func (o *CreateAwsCmekUnauthorized) GetPayload() interface{}

func (*CreateAwsCmekUnauthorized) IsClientError

func (o *CreateAwsCmekUnauthorized) IsClientError() bool

IsClientError returns true when this create aws cmek unauthorized response has a 4xx status code

func (*CreateAwsCmekUnauthorized) IsCode

func (o *CreateAwsCmekUnauthorized) IsCode(code int) bool

IsCode returns true when this create aws cmek unauthorized response a status code equal to that given

func (*CreateAwsCmekUnauthorized) IsRedirect

func (o *CreateAwsCmekUnauthorized) IsRedirect() bool

IsRedirect returns true when this create aws cmek unauthorized response has a 3xx status code

func (*CreateAwsCmekUnauthorized) IsServerError

func (o *CreateAwsCmekUnauthorized) IsServerError() bool

IsServerError returns true when this create aws cmek unauthorized response has a 5xx status code

func (*CreateAwsCmekUnauthorized) IsSuccess

func (o *CreateAwsCmekUnauthorized) IsSuccess() bool

IsSuccess returns true when this create aws cmek unauthorized response has a 2xx status code

func (*CreateAwsCmekUnauthorized) String

func (o *CreateAwsCmekUnauthorized) String() string

type CreateClusterBadRequest

type CreateClusterBadRequest struct {
	Payload *CreateClusterBadRequestBody
}

CreateClusterBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewCreateClusterBadRequest

func NewCreateClusterBadRequest() *CreateClusterBadRequest

NewCreateClusterBadRequest creates a CreateClusterBadRequest with default headers values

func (*CreateClusterBadRequest) Code

func (o *CreateClusterBadRequest) Code() int

Code gets the status code for the create cluster bad request response

func (*CreateClusterBadRequest) Error

func (o *CreateClusterBadRequest) Error() string

func (*CreateClusterBadRequest) GetPayload

func (*CreateClusterBadRequest) IsClientError

func (o *CreateClusterBadRequest) IsClientError() bool

IsClientError returns true when this create cluster bad request response has a 4xx status code

func (*CreateClusterBadRequest) IsCode

func (o *CreateClusterBadRequest) IsCode(code int) bool

IsCode returns true when this create cluster bad request response a status code equal to that given

func (*CreateClusterBadRequest) IsRedirect

func (o *CreateClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this create cluster bad request response has a 3xx status code

func (*CreateClusterBadRequest) IsServerError

func (o *CreateClusterBadRequest) IsServerError() bool

IsServerError returns true when this create cluster bad request response has a 5xx status code

func (*CreateClusterBadRequest) IsSuccess

func (o *CreateClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this create cluster bad request response has a 2xx status code

func (*CreateClusterBadRequest) String

func (o *CreateClusterBadRequest) String() string

type CreateClusterBadRequestBody

type CreateClusterBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateClusterBadRequestBody create cluster bad request body swagger:model CreateClusterBadRequestBody

func (*CreateClusterBadRequestBody) ContextValidate

func (o *CreateClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster bad request body based on context it is used

func (*CreateClusterBadRequestBody) MarshalBinary

func (o *CreateClusterBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterBadRequestBody) UnmarshalBinary

func (o *CreateClusterBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterBadRequestBody) Validate

func (o *CreateClusterBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster bad request body

type CreateClusterBody

type CreateClusterBody struct {

	// The cloud provider on which your TiDB cluster is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Required: true
	// Enum: [AWS GCP]
	CloudProvider *string `json:"cloud_provider"`

	// The cluster type.
	// - `"DEVELOPER"`: create a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster
	// - `"DEDICATED"`: create a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster. Before creating a TiDB Dedicated cluster, you must [set a Project CIDR](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections#prerequisite-set-a-project-cidr) on [TiDB Cloud console](https://tidbcloud.com/).
	// Example: DEDICATED
	// Required: true
	// Enum: [DEDICATED DEVELOPER]
	ClusterType *string `json:"cluster_type"`

	// config
	// Required: true
	Config *CreateClusterParamsBodyConfig `json:"config"`

	// The name of the cluster. The name must be 4-64 characters that can only include numbers, letters, and hyphens, and the first and last character must be a letter or number.
	// Example: Cluster0
	// Required: true
	// Pattern: ^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$
	Name *string `json:"name"`

	// The region value should match the cloud provider's region code.
	// You can get the complete list of available regions from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// For the detailed information on each region, refer to the documentation of the corresponding cloud provider ([AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) | [GCP](https://cloud.google.com/about/locations#americas)).
	//
	// For example, if you want to deploy the cluster in the Oregon region for AWS, set the value to `"us-west-2"`.
	// Example: us-west-2
	// Required: true
	Region *string `json:"region"`
}

CreateClusterBody CreateClusterReq // // CreateClusterReq is the request for creating cluster. swagger:model CreateClusterBody

func (*CreateClusterBody) ContextValidate

func (o *CreateClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cluster body based on the context it is used

func (*CreateClusterBody) MarshalBinary

func (o *CreateClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterBody) UnmarshalBinary

func (o *CreateClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterBody) Validate

func (o *CreateClusterBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster body

type CreateClusterDefault

type CreateClusterDefault struct {
	Payload *CreateClusterDefaultBody
	// contains filtered or unexported fields
}

CreateClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateClusterDefault

func NewCreateClusterDefault(code int) *CreateClusterDefault

NewCreateClusterDefault creates a CreateClusterDefault with default headers values

func (*CreateClusterDefault) Code

func (o *CreateClusterDefault) Code() int

Code gets the status code for the create cluster default response

func (*CreateClusterDefault) Error

func (o *CreateClusterDefault) Error() string

func (*CreateClusterDefault) GetPayload

func (*CreateClusterDefault) IsClientError

func (o *CreateClusterDefault) IsClientError() bool

IsClientError returns true when this create cluster default response has a 4xx status code

func (*CreateClusterDefault) IsCode

func (o *CreateClusterDefault) IsCode(code int) bool

IsCode returns true when this create cluster default response a status code equal to that given

func (*CreateClusterDefault) IsRedirect

func (o *CreateClusterDefault) IsRedirect() bool

IsRedirect returns true when this create cluster default response has a 3xx status code

func (*CreateClusterDefault) IsServerError

func (o *CreateClusterDefault) IsServerError() bool

IsServerError returns true when this create cluster default response has a 5xx status code

func (*CreateClusterDefault) IsSuccess

func (o *CreateClusterDefault) IsSuccess() bool

IsSuccess returns true when this create cluster default response has a 2xx status code

func (*CreateClusterDefault) String

func (o *CreateClusterDefault) String() string

type CreateClusterDefaultBody

type CreateClusterDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*CreateClusterDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

CreateClusterDefaultBody create cluster default body swagger:model CreateClusterDefaultBody

func (*CreateClusterDefaultBody) ContextValidate

func (o *CreateClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cluster default body based on the context it is used

func (*CreateClusterDefaultBody) MarshalBinary

func (o *CreateClusterDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterDefaultBody) UnmarshalBinary

func (o *CreateClusterDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterDefaultBody) Validate

func (o *CreateClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster default body

type CreateClusterDefaultBodyDetailsItems0

type CreateClusterDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

CreateClusterDefaultBodyDetailsItems0 create cluster default body details items0 swagger:model CreateClusterDefaultBodyDetailsItems0

func (*CreateClusterDefaultBodyDetailsItems0) ContextValidate

func (o *CreateClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster default body details items0 based on context it is used

func (*CreateClusterDefaultBodyDetailsItems0) MarshalBinary

func (o *CreateClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterDefaultBodyDetailsItems0) UnmarshalBinary

func (o *CreateClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterDefaultBodyDetailsItems0) Validate

Validate validates this create cluster default body details items0

type CreateClusterForbidden

type CreateClusterForbidden struct {
	Payload *CreateClusterForbiddenBody
}

CreateClusterForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewCreateClusterForbidden

func NewCreateClusterForbidden() *CreateClusterForbidden

NewCreateClusterForbidden creates a CreateClusterForbidden with default headers values

func (*CreateClusterForbidden) Code

func (o *CreateClusterForbidden) Code() int

Code gets the status code for the create cluster forbidden response

func (*CreateClusterForbidden) Error

func (o *CreateClusterForbidden) Error() string

func (*CreateClusterForbidden) GetPayload

func (*CreateClusterForbidden) IsClientError

func (o *CreateClusterForbidden) IsClientError() bool

IsClientError returns true when this create cluster forbidden response has a 4xx status code

func (*CreateClusterForbidden) IsCode

func (o *CreateClusterForbidden) IsCode(code int) bool

IsCode returns true when this create cluster forbidden response a status code equal to that given

func (*CreateClusterForbidden) IsRedirect

func (o *CreateClusterForbidden) IsRedirect() bool

IsRedirect returns true when this create cluster forbidden response has a 3xx status code

func (*CreateClusterForbidden) IsServerError

func (o *CreateClusterForbidden) IsServerError() bool

IsServerError returns true when this create cluster forbidden response has a 5xx status code

func (*CreateClusterForbidden) IsSuccess

func (o *CreateClusterForbidden) IsSuccess() bool

IsSuccess returns true when this create cluster forbidden response has a 2xx status code

func (*CreateClusterForbidden) String

func (o *CreateClusterForbidden) String() string

type CreateClusterForbiddenBody

type CreateClusterForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateClusterForbiddenBody create cluster forbidden body swagger:model CreateClusterForbiddenBody

func (*CreateClusterForbiddenBody) ContextValidate

func (o *CreateClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster forbidden body based on context it is used

func (*CreateClusterForbiddenBody) MarshalBinary

func (o *CreateClusterForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterForbiddenBody) UnmarshalBinary

func (o *CreateClusterForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterForbiddenBody) Validate

func (o *CreateClusterForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster forbidden body

type CreateClusterInternalServerError

type CreateClusterInternalServerError struct {
	Payload *CreateClusterInternalServerErrorBody
}

CreateClusterInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewCreateClusterInternalServerError

func NewCreateClusterInternalServerError() *CreateClusterInternalServerError

NewCreateClusterInternalServerError creates a CreateClusterInternalServerError with default headers values

func (*CreateClusterInternalServerError) Code

Code gets the status code for the create cluster internal server error response

func (*CreateClusterInternalServerError) Error

func (*CreateClusterInternalServerError) GetPayload

func (*CreateClusterInternalServerError) IsClientError

func (o *CreateClusterInternalServerError) IsClientError() bool

IsClientError returns true when this create cluster internal server error response has a 4xx status code

func (*CreateClusterInternalServerError) IsCode

func (o *CreateClusterInternalServerError) IsCode(code int) bool

IsCode returns true when this create cluster internal server error response a status code equal to that given

func (*CreateClusterInternalServerError) IsRedirect

func (o *CreateClusterInternalServerError) IsRedirect() bool

IsRedirect returns true when this create cluster internal server error response has a 3xx status code

func (*CreateClusterInternalServerError) IsServerError

func (o *CreateClusterInternalServerError) IsServerError() bool

IsServerError returns true when this create cluster internal server error response has a 5xx status code

func (*CreateClusterInternalServerError) IsSuccess

func (o *CreateClusterInternalServerError) IsSuccess() bool

IsSuccess returns true when this create cluster internal server error response has a 2xx status code

func (*CreateClusterInternalServerError) String

type CreateClusterInternalServerErrorBody

type CreateClusterInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateClusterInternalServerErrorBody create cluster internal server error body swagger:model CreateClusterInternalServerErrorBody

func (*CreateClusterInternalServerErrorBody) ContextValidate

func (o *CreateClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster internal server error body based on context it is used

func (*CreateClusterInternalServerErrorBody) MarshalBinary

func (o *CreateClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterInternalServerErrorBody) UnmarshalBinary

func (o *CreateClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterInternalServerErrorBody) Validate

Validate validates this create cluster internal server error body

type CreateClusterNotFound

type CreateClusterNotFound struct {
	Payload *CreateClusterNotFoundBody
}

CreateClusterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewCreateClusterNotFound

func NewCreateClusterNotFound() *CreateClusterNotFound

NewCreateClusterNotFound creates a CreateClusterNotFound with default headers values

func (*CreateClusterNotFound) Code

func (o *CreateClusterNotFound) Code() int

Code gets the status code for the create cluster not found response

func (*CreateClusterNotFound) Error

func (o *CreateClusterNotFound) Error() string

func (*CreateClusterNotFound) GetPayload

func (*CreateClusterNotFound) IsClientError

func (o *CreateClusterNotFound) IsClientError() bool

IsClientError returns true when this create cluster not found response has a 4xx status code

func (*CreateClusterNotFound) IsCode

func (o *CreateClusterNotFound) IsCode(code int) bool

IsCode returns true when this create cluster not found response a status code equal to that given

func (*CreateClusterNotFound) IsRedirect

func (o *CreateClusterNotFound) IsRedirect() bool

IsRedirect returns true when this create cluster not found response has a 3xx status code

func (*CreateClusterNotFound) IsServerError

func (o *CreateClusterNotFound) IsServerError() bool

IsServerError returns true when this create cluster not found response has a 5xx status code

func (*CreateClusterNotFound) IsSuccess

func (o *CreateClusterNotFound) IsSuccess() bool

IsSuccess returns true when this create cluster not found response has a 2xx status code

func (*CreateClusterNotFound) String

func (o *CreateClusterNotFound) String() string

type CreateClusterNotFoundBody

type CreateClusterNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateClusterNotFoundBody create cluster not found body swagger:model CreateClusterNotFoundBody

func (*CreateClusterNotFoundBody) ContextValidate

func (o *CreateClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster not found body based on context it is used

func (*CreateClusterNotFoundBody) MarshalBinary

func (o *CreateClusterNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterNotFoundBody) UnmarshalBinary

func (o *CreateClusterNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterNotFoundBody) Validate

func (o *CreateClusterNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster not found body

type CreateClusterOK

type CreateClusterOK struct {
	Payload *CreateClusterOKBody
}

CreateClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateClusterOK

func NewCreateClusterOK() *CreateClusterOK

NewCreateClusterOK creates a CreateClusterOK with default headers values

func (*CreateClusterOK) Code

func (o *CreateClusterOK) Code() int

Code gets the status code for the create cluster o k response

func (*CreateClusterOK) Error

func (o *CreateClusterOK) Error() string

func (*CreateClusterOK) GetPayload

func (o *CreateClusterOK) GetPayload() *CreateClusterOKBody

func (*CreateClusterOK) IsClientError

func (o *CreateClusterOK) IsClientError() bool

IsClientError returns true when this create cluster o k response has a 4xx status code

func (*CreateClusterOK) IsCode

func (o *CreateClusterOK) IsCode(code int) bool

IsCode returns true when this create cluster o k response a status code equal to that given

func (*CreateClusterOK) IsRedirect

func (o *CreateClusterOK) IsRedirect() bool

IsRedirect returns true when this create cluster o k response has a 3xx status code

func (*CreateClusterOK) IsServerError

func (o *CreateClusterOK) IsServerError() bool

IsServerError returns true when this create cluster o k response has a 5xx status code

func (*CreateClusterOK) IsSuccess

func (o *CreateClusterOK) IsSuccess() bool

IsSuccess returns true when this create cluster o k response has a 2xx status code

func (*CreateClusterOK) String

func (o *CreateClusterOK) String() string

type CreateClusterOKBody

type CreateClusterOKBody struct {

	// The ID of the cluster.
	// Example: 1
	// Required: true
	ID *string `json:"id"`
}

CreateClusterOKBody CreateClusterResp // // CreateClusterResp is the response for creating cluster. swagger:model CreateClusterOKBody

func (*CreateClusterOKBody) ContextValidate

func (o *CreateClusterOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster o k body based on context it is used

func (*CreateClusterOKBody) MarshalBinary

func (o *CreateClusterOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterOKBody) UnmarshalBinary

func (o *CreateClusterOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterOKBody) Validate

func (o *CreateClusterOKBody) Validate(formats strfmt.Registry) error

Validate validates this create cluster o k body

type CreateClusterParams

type CreateClusterParams struct {

	// Body.
	Body CreateClusterBody

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateClusterParams contains all the parameters to send to the API endpoint

for the create cluster operation.

Typically these are written to a http.Request.

func NewCreateClusterParams

func NewCreateClusterParams() *CreateClusterParams

NewCreateClusterParams creates a new CreateClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateClusterParamsWithContext

func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams

NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the ability to set a context for a request.

func NewCreateClusterParamsWithHTTPClient

func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams

NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateClusterParamsWithTimeout

func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams

NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the ability to set a timeout on a request.

func (*CreateClusterParams) SetBody

func (o *CreateClusterParams) SetBody(body CreateClusterBody)

SetBody adds the body to the create cluster params

func (*CreateClusterParams) SetContext

func (o *CreateClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the create cluster params

func (*CreateClusterParams) SetDefaults

func (o *CreateClusterParams) SetDefaults()

SetDefaults hydrates default values in the create cluster params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterParams) SetHTTPClient

func (o *CreateClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create cluster params

func (*CreateClusterParams) SetProjectID

func (o *CreateClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the create cluster params

func (*CreateClusterParams) SetTimeout

func (o *CreateClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create cluster params

func (*CreateClusterParams) WithBody

WithBody adds the body to the create cluster params

func (*CreateClusterParams) WithContext

WithContext adds the context to the create cluster params

func (*CreateClusterParams) WithDefaults

func (o *CreateClusterParams) WithDefaults() *CreateClusterParams

WithDefaults hydrates default values in the create cluster params (not the query body).

All values with no default are reset to their zero value.

func (*CreateClusterParams) WithHTTPClient

func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams

WithHTTPClient adds the HTTPClient to the create cluster params

func (*CreateClusterParams) WithProjectID

func (o *CreateClusterParams) WithProjectID(projectID string) *CreateClusterParams

WithProjectID adds the projectID to the create cluster params

func (*CreateClusterParams) WithTimeout

func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams

WithTimeout adds the timeout to the create cluster params

func (*CreateClusterParams) WriteToRequest

func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateClusterParamsBodyConfig

type CreateClusterParamsBodyConfig struct {

	// components
	Components *CreateClusterParamsBodyConfigComponents `json:"components,omitempty"`

	// A list of IP addresses and Classless Inter-Domain Routing (CIDR) addresses that are allowed to access the TiDB Cloud cluster via [standard connection](https://docs.pingcap.com/tidbcloud/connect-to-tidb-cluster#connect-via-standard-connection).
	IPAccessList []*CreateClusterParamsBodyConfigIPAccessListItems0 `json:"ip_access_list"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	//
	// **Limitations**:
	// - For a TiDB Serverless cluster, only port `4000` is available.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`

	// The root password to access the cluster. It must be 8-64 characters.
	// Example: password_example
	// Required: true
	// Max Length: 64
	// Min Length: 8
	RootPassword *string `json:"root_password"`
}

CreateClusterParamsBodyConfig The configuration of the cluster. swagger:model CreateClusterParamsBodyConfig

func (*CreateClusterParamsBodyConfig) ContextValidate

func (o *CreateClusterParamsBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cluster params body config based on the context it is used

func (*CreateClusterParamsBodyConfig) MarshalBinary

func (o *CreateClusterParamsBodyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterParamsBodyConfig) UnmarshalBinary

func (o *CreateClusterParamsBodyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyConfig) Validate

func (o *CreateClusterParamsBodyConfig) Validate(formats strfmt.Registry) error

Validate validates this create cluster params body config

type CreateClusterParamsBodyConfigComponents

type CreateClusterParamsBodyConfigComponents struct {

	// tidb
	// Required: true
	Tidb *CreateClusterParamsBodyConfigComponentsTidb `json:"tidb"`

	// tiflash
	Tiflash *CreateClusterParamsBodyConfigComponentsTiflash `json:"tiflash,omitempty"`

	// tikv
	// Required: true
	Tikv *CreateClusterParamsBodyConfigComponentsTikv `json:"tikv"`
}

CreateClusterParamsBodyConfigComponents The components of the cluster. // // **Limitations**: // - For a TiDB Dedicated cluster, the `components` parameter is **required**. // - For a TiDB Serverless cluster, the `components` value is **ignored**. Setting this configuration does not have any effects. // Example: {"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}} swagger:model CreateClusterParamsBodyConfigComponents

func (*CreateClusterParamsBodyConfigComponents) ContextValidate

ContextValidate validate this create cluster params body config components based on the context it is used

func (*CreateClusterParamsBodyConfigComponents) MarshalBinary

func (o *CreateClusterParamsBodyConfigComponents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponents) UnmarshalBinary

func (o *CreateClusterParamsBodyConfigComponents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponents) Validate

Validate validates this create cluster params body config components

type CreateClusterParamsBodyConfigComponentsTidb

type CreateClusterParamsBodyConfigComponentsTidb struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// Example: 2
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C16G
	// Required: true
	NodeSize *string `json:"node_size"`
}

CreateClusterParamsBodyConfigComponentsTidb The TiDB component of the cluster. swagger:model CreateClusterParamsBodyConfigComponentsTidb

func (*CreateClusterParamsBodyConfigComponentsTidb) ContextValidate

ContextValidate validates this create cluster params body config components tidb based on context it is used

func (*CreateClusterParamsBodyConfigComponentsTidb) MarshalBinary

func (o *CreateClusterParamsBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary

func (o *CreateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponentsTidb) Validate

Validate validates this create cluster params body config components tidb

type CreateClusterParamsBodyConfigComponentsTiflash

type CreateClusterParamsBodyConfigComponentsTiflash struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 1
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C64G
	// Required: true
	NodeSize *string `json:"node_size"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// Example: 1024
	// Required: true
	StorageSizeGib *int32 `json:"storage_size_gib"`
}

CreateClusterParamsBodyConfigComponentsTiflash The TiFlash component of the cluster. swagger:model CreateClusterParamsBodyConfigComponentsTiflash

func (*CreateClusterParamsBodyConfigComponentsTiflash) ContextValidate

ContextValidate validates this create cluster params body config components tiflash based on context it is used

func (*CreateClusterParamsBodyConfigComponentsTiflash) MarshalBinary

MarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponentsTiflash) Validate

Validate validates this create cluster params body config components tiflash

type CreateClusterParamsBodyConfigComponentsTikv

type CreateClusterParamsBodyConfigComponentsTikv struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Limitations**:
	// - The `node_quantity` of TiKV must be a multiple of 3.
	// Example: 3
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C64G
	// Required: true
	NodeSize *string `json:"node_size"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 1024
	// Required: true
	StorageSizeGib *int32 `json:"storage_size_gib"`
}

CreateClusterParamsBodyConfigComponentsTikv The TiKV component of the cluster. swagger:model CreateClusterParamsBodyConfigComponentsTikv

func (*CreateClusterParamsBodyConfigComponentsTikv) ContextValidate

ContextValidate validates this create cluster params body config components tikv based on context it is used

func (*CreateClusterParamsBodyConfigComponentsTikv) MarshalBinary

func (o *CreateClusterParamsBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary

func (o *CreateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigComponentsTikv) Validate

Validate validates this create cluster params body config components tikv

type CreateClusterParamsBodyConfigIPAccessListItems0

type CreateClusterParamsBodyConfigIPAccessListItems0 struct {

	// The IP address or CIDR range that you want to add to the cluster's IP access list.
	// Example: 8.8.8.8/32
	// Required: true
	Cidr *string `json:"cidr"`

	// Description that explains the purpose of the entry.
	// Example: My Current IP Address
	Description string `json:"description,omitempty"`
}

CreateClusterParamsBodyConfigIPAccessListItems0 create cluster params body config IP access list items0 swagger:model CreateClusterParamsBodyConfigIPAccessListItems0

func (*CreateClusterParamsBodyConfigIPAccessListItems0) ContextValidate

ContextValidate validates this create cluster params body config IP access list items0 based on context it is used

func (*CreateClusterParamsBodyConfigIPAccessListItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigIPAccessListItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateClusterParamsBodyConfigIPAccessListItems0) Validate

Validate validates this create cluster params body config IP access list items0

type CreateClusterReader

type CreateClusterReader struct {
	// contains filtered or unexported fields
}

CreateClusterReader is a Reader for the CreateCluster structure.

func (*CreateClusterReader) ReadResponse

func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateClusterTooManyRequests

type CreateClusterTooManyRequests struct {
	Payload *CreateClusterTooManyRequestsBody
}

CreateClusterTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewCreateClusterTooManyRequests

func NewCreateClusterTooManyRequests() *CreateClusterTooManyRequests

NewCreateClusterTooManyRequests creates a CreateClusterTooManyRequests with default headers values

func (*CreateClusterTooManyRequests) Code

Code gets the status code for the create cluster too many requests response

func (*CreateClusterTooManyRequests) Error

func (*CreateClusterTooManyRequests) GetPayload

func (*CreateClusterTooManyRequests) IsClientError

func (o *CreateClusterTooManyRequests) IsClientError() bool

IsClientError returns true when this create cluster too many requests response has a 4xx status code

func (*CreateClusterTooManyRequests) IsCode

func (o *CreateClusterTooManyRequests) IsCode(code int) bool

IsCode returns true when this create cluster too many requests response a status code equal to that given

func (*CreateClusterTooManyRequests) IsRedirect

func (o *CreateClusterTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create cluster too many requests response has a 3xx status code

func (*CreateClusterTooManyRequests) IsServerError

func (o *CreateClusterTooManyRequests) IsServerError() bool

IsServerError returns true when this create cluster too many requests response has a 5xx status code

func (*CreateClusterTooManyRequests) IsSuccess

func (o *CreateClusterTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create cluster too many requests response has a 2xx status code

func (*CreateClusterTooManyRequests) String

type CreateClusterTooManyRequestsBody

type CreateClusterTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreateClusterTooManyRequestsBody create cluster too many requests body swagger:model CreateClusterTooManyRequestsBody

func (*CreateClusterTooManyRequestsBody) ContextValidate

func (o *CreateClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create cluster too many requests body based on context it is used

func (*CreateClusterTooManyRequestsBody) MarshalBinary

func (o *CreateClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateClusterTooManyRequestsBody) UnmarshalBinary

func (o *CreateClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateClusterTooManyRequestsBody) Validate

Validate validates this create cluster too many requests body

type CreateClusterUnauthorized

type CreateClusterUnauthorized struct {
	Payload interface{}
}

CreateClusterUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewCreateClusterUnauthorized

func NewCreateClusterUnauthorized() *CreateClusterUnauthorized

NewCreateClusterUnauthorized creates a CreateClusterUnauthorized with default headers values

func (*CreateClusterUnauthorized) Code

func (o *CreateClusterUnauthorized) Code() int

Code gets the status code for the create cluster unauthorized response

func (*CreateClusterUnauthorized) Error

func (o *CreateClusterUnauthorized) Error() string

func (*CreateClusterUnauthorized) GetPayload

func (o *CreateClusterUnauthorized) GetPayload() interface{}

func (*CreateClusterUnauthorized) IsClientError

func (o *CreateClusterUnauthorized) IsClientError() bool

IsClientError returns true when this create cluster unauthorized response has a 4xx status code

func (*CreateClusterUnauthorized) IsCode

func (o *CreateClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this create cluster unauthorized response a status code equal to that given

func (*CreateClusterUnauthorized) IsRedirect

func (o *CreateClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this create cluster unauthorized response has a 3xx status code

func (*CreateClusterUnauthorized) IsServerError

func (o *CreateClusterUnauthorized) IsServerError() bool

IsServerError returns true when this create cluster unauthorized response has a 5xx status code

func (*CreateClusterUnauthorized) IsSuccess

func (o *CreateClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this create cluster unauthorized response has a 2xx status code

func (*CreateClusterUnauthorized) String

func (o *CreateClusterUnauthorized) String() string

type CreatePrivateEndpointBadRequest

type CreatePrivateEndpointBadRequest struct {
	Payload *CreatePrivateEndpointBadRequestBody
}

CreatePrivateEndpointBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewCreatePrivateEndpointBadRequest

func NewCreatePrivateEndpointBadRequest() *CreatePrivateEndpointBadRequest

NewCreatePrivateEndpointBadRequest creates a CreatePrivateEndpointBadRequest with default headers values

func (*CreatePrivateEndpointBadRequest) Code

Code gets the status code for the create private endpoint bad request response

func (*CreatePrivateEndpointBadRequest) Error

func (*CreatePrivateEndpointBadRequest) GetPayload

func (*CreatePrivateEndpointBadRequest) IsClientError

func (o *CreatePrivateEndpointBadRequest) IsClientError() bool

IsClientError returns true when this create private endpoint bad request response has a 4xx status code

func (*CreatePrivateEndpointBadRequest) IsCode

func (o *CreatePrivateEndpointBadRequest) IsCode(code int) bool

IsCode returns true when this create private endpoint bad request response a status code equal to that given

func (*CreatePrivateEndpointBadRequest) IsRedirect

func (o *CreatePrivateEndpointBadRequest) IsRedirect() bool

IsRedirect returns true when this create private endpoint bad request response has a 3xx status code

func (*CreatePrivateEndpointBadRequest) IsServerError

func (o *CreatePrivateEndpointBadRequest) IsServerError() bool

IsServerError returns true when this create private endpoint bad request response has a 5xx status code

func (*CreatePrivateEndpointBadRequest) IsSuccess

func (o *CreatePrivateEndpointBadRequest) IsSuccess() bool

IsSuccess returns true when this create private endpoint bad request response has a 2xx status code

func (*CreatePrivateEndpointBadRequest) String

type CreatePrivateEndpointBadRequestBody

type CreatePrivateEndpointBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointBadRequestBody create private endpoint bad request body swagger:model CreatePrivateEndpointBadRequestBody

func (*CreatePrivateEndpointBadRequestBody) ContextValidate

func (o *CreatePrivateEndpointBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private endpoint bad request body based on context it is used

func (*CreatePrivateEndpointBadRequestBody) MarshalBinary

func (o *CreatePrivateEndpointBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointBadRequestBody) UnmarshalBinary

func (o *CreatePrivateEndpointBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointBadRequestBody) Validate

Validate validates this create private endpoint bad request body

type CreatePrivateEndpointBody

type CreatePrivateEndpointBody struct {

	// [Output Only] The cloud provider on which the private endpoint service is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// [Output Only] The ID of the cluster.
	// Example: 1
	ClusterID string `json:"cluster_id,omitempty"`

	// [Output Only] The name of the cluster.
	// Example: Cluster0
	ClusterName string `json:"cluster_name,omitempty"`

	// The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud.
	// Example: vpce-01234567890123456
	EndpointName string `json:"endpoint_name,omitempty"`

	// [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint).
	// Example: 1
	ID string `json:"id,omitempty"`

	// [Output Only] The detailed message when the `status` is "FAILED".
	// Example: The endpoint does not exist.
	Message string `json:"message,omitempty"`

	// [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS.
	// Example: Oregon
	RegionName string `json:"region_name,omitempty"`

	// [Output Only] The service name of the private endpoint.
	// Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456
	ServiceName string `json:"service_name,omitempty"`

	// [Output Only] The status of the private endpoint service.
	// Example: ACTIVE
	// Enum: [CREATING ACTIVE DELETING]
	ServiceStatus string `json:"service_status,omitempty"`

	// [Output Only] The status of the private endpoint.
	// Example: FAILED
	// Enum: [PENDING ACTIVE DELETING FAILED]
	Status string `json:"status,omitempty"`
}

CreatePrivateEndpointBody The endpoint resource to be created. Only the endpoint_name is required. // Example: {"endpoint_name":"vpce-01234567890123456"} swagger:model CreatePrivateEndpointBody

func (*CreatePrivateEndpointBody) ContextValidate

func (o *CreatePrivateEndpointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private endpoint body based on context it is used

func (*CreatePrivateEndpointBody) MarshalBinary

func (o *CreatePrivateEndpointBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointBody) UnmarshalBinary

func (o *CreatePrivateEndpointBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointBody) Validate

func (o *CreatePrivateEndpointBody) Validate(formats strfmt.Registry) error

Validate validates this create private endpoint body

type CreatePrivateEndpointDefault

type CreatePrivateEndpointDefault struct {
	Payload *CreatePrivateEndpointDefaultBody
	// contains filtered or unexported fields
}

CreatePrivateEndpointDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreatePrivateEndpointDefault

func NewCreatePrivateEndpointDefault(code int) *CreatePrivateEndpointDefault

NewCreatePrivateEndpointDefault creates a CreatePrivateEndpointDefault with default headers values

func (*CreatePrivateEndpointDefault) Code

Code gets the status code for the create private endpoint default response

func (*CreatePrivateEndpointDefault) Error

func (*CreatePrivateEndpointDefault) GetPayload

func (*CreatePrivateEndpointDefault) IsClientError

func (o *CreatePrivateEndpointDefault) IsClientError() bool

IsClientError returns true when this create private endpoint default response has a 4xx status code

func (*CreatePrivateEndpointDefault) IsCode

func (o *CreatePrivateEndpointDefault) IsCode(code int) bool

IsCode returns true when this create private endpoint default response a status code equal to that given

func (*CreatePrivateEndpointDefault) IsRedirect

func (o *CreatePrivateEndpointDefault) IsRedirect() bool

IsRedirect returns true when this create private endpoint default response has a 3xx status code

func (*CreatePrivateEndpointDefault) IsServerError

func (o *CreatePrivateEndpointDefault) IsServerError() bool

IsServerError returns true when this create private endpoint default response has a 5xx status code

func (*CreatePrivateEndpointDefault) IsSuccess

func (o *CreatePrivateEndpointDefault) IsSuccess() bool

IsSuccess returns true when this create private endpoint default response has a 2xx status code

func (*CreatePrivateEndpointDefault) String

type CreatePrivateEndpointDefaultBody

type CreatePrivateEndpointDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*CreatePrivateEndpointDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointDefaultBody create private endpoint default body swagger:model CreatePrivateEndpointDefaultBody

func (*CreatePrivateEndpointDefaultBody) ContextValidate

func (o *CreatePrivateEndpointDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private endpoint default body based on the context it is used

func (*CreatePrivateEndpointDefaultBody) MarshalBinary

func (o *CreatePrivateEndpointDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointDefaultBody) UnmarshalBinary

func (o *CreatePrivateEndpointDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointDefaultBody) Validate

Validate validates this create private endpoint default body

type CreatePrivateEndpointDefaultBodyDetailsItems0

type CreatePrivateEndpointDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

CreatePrivateEndpointDefaultBodyDetailsItems0 create private endpoint default body details items0 swagger:model CreatePrivateEndpointDefaultBodyDetailsItems0

func (*CreatePrivateEndpointDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this create private endpoint default body details items0 based on context it is used

func (*CreatePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreatePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointDefaultBodyDetailsItems0) Validate

Validate validates this create private endpoint default body details items0

type CreatePrivateEndpointForbidden

type CreatePrivateEndpointForbidden struct {
	Payload *CreatePrivateEndpointForbiddenBody
}

CreatePrivateEndpointForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewCreatePrivateEndpointForbidden

func NewCreatePrivateEndpointForbidden() *CreatePrivateEndpointForbidden

NewCreatePrivateEndpointForbidden creates a CreatePrivateEndpointForbidden with default headers values

func (*CreatePrivateEndpointForbidden) Code

Code gets the status code for the create private endpoint forbidden response

func (*CreatePrivateEndpointForbidden) Error

func (*CreatePrivateEndpointForbidden) GetPayload

func (*CreatePrivateEndpointForbidden) IsClientError

func (o *CreatePrivateEndpointForbidden) IsClientError() bool

IsClientError returns true when this create private endpoint forbidden response has a 4xx status code

func (*CreatePrivateEndpointForbidden) IsCode

func (o *CreatePrivateEndpointForbidden) IsCode(code int) bool

IsCode returns true when this create private endpoint forbidden response a status code equal to that given

func (*CreatePrivateEndpointForbidden) IsRedirect

func (o *CreatePrivateEndpointForbidden) IsRedirect() bool

IsRedirect returns true when this create private endpoint forbidden response has a 3xx status code

func (*CreatePrivateEndpointForbidden) IsServerError

func (o *CreatePrivateEndpointForbidden) IsServerError() bool

IsServerError returns true when this create private endpoint forbidden response has a 5xx status code

func (*CreatePrivateEndpointForbidden) IsSuccess

func (o *CreatePrivateEndpointForbidden) IsSuccess() bool

IsSuccess returns true when this create private endpoint forbidden response has a 2xx status code

func (*CreatePrivateEndpointForbidden) String

type CreatePrivateEndpointForbiddenBody

type CreatePrivateEndpointForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointForbiddenBody create private endpoint forbidden body swagger:model CreatePrivateEndpointForbiddenBody

func (*CreatePrivateEndpointForbiddenBody) ContextValidate

func (o *CreatePrivateEndpointForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private endpoint forbidden body based on context it is used

func (*CreatePrivateEndpointForbiddenBody) MarshalBinary

func (o *CreatePrivateEndpointForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointForbiddenBody) UnmarshalBinary

func (o *CreatePrivateEndpointForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointForbiddenBody) Validate

Validate validates this create private endpoint forbidden body

type CreatePrivateEndpointInternalServerError

type CreatePrivateEndpointInternalServerError struct {
	Payload *CreatePrivateEndpointInternalServerErrorBody
}

CreatePrivateEndpointInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewCreatePrivateEndpointInternalServerError

func NewCreatePrivateEndpointInternalServerError() *CreatePrivateEndpointInternalServerError

NewCreatePrivateEndpointInternalServerError creates a CreatePrivateEndpointInternalServerError with default headers values

func (*CreatePrivateEndpointInternalServerError) Code

Code gets the status code for the create private endpoint internal server error response

func (*CreatePrivateEndpointInternalServerError) Error

func (*CreatePrivateEndpointInternalServerError) GetPayload

func (*CreatePrivateEndpointInternalServerError) IsClientError

IsClientError returns true when this create private endpoint internal server error response has a 4xx status code

func (*CreatePrivateEndpointInternalServerError) IsCode

IsCode returns true when this create private endpoint internal server error response a status code equal to that given

func (*CreatePrivateEndpointInternalServerError) IsRedirect

IsRedirect returns true when this create private endpoint internal server error response has a 3xx status code

func (*CreatePrivateEndpointInternalServerError) IsServerError

IsServerError returns true when this create private endpoint internal server error response has a 5xx status code

func (*CreatePrivateEndpointInternalServerError) IsSuccess

IsSuccess returns true when this create private endpoint internal server error response has a 2xx status code

func (*CreatePrivateEndpointInternalServerError) String

type CreatePrivateEndpointInternalServerErrorBody

type CreatePrivateEndpointInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointInternalServerErrorBody create private endpoint internal server error body swagger:model CreatePrivateEndpointInternalServerErrorBody

func (*CreatePrivateEndpointInternalServerErrorBody) ContextValidate

ContextValidate validates this create private endpoint internal server error body based on context it is used

func (*CreatePrivateEndpointInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*CreatePrivateEndpointInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointInternalServerErrorBody) Validate

Validate validates this create private endpoint internal server error body

type CreatePrivateEndpointNotFound

type CreatePrivateEndpointNotFound struct {
	Payload *CreatePrivateEndpointNotFoundBody
}

CreatePrivateEndpointNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewCreatePrivateEndpointNotFound

func NewCreatePrivateEndpointNotFound() *CreatePrivateEndpointNotFound

NewCreatePrivateEndpointNotFound creates a CreatePrivateEndpointNotFound with default headers values

func (*CreatePrivateEndpointNotFound) Code

Code gets the status code for the create private endpoint not found response

func (*CreatePrivateEndpointNotFound) Error

func (*CreatePrivateEndpointNotFound) GetPayload

func (*CreatePrivateEndpointNotFound) IsClientError

func (o *CreatePrivateEndpointNotFound) IsClientError() bool

IsClientError returns true when this create private endpoint not found response has a 4xx status code

func (*CreatePrivateEndpointNotFound) IsCode

func (o *CreatePrivateEndpointNotFound) IsCode(code int) bool

IsCode returns true when this create private endpoint not found response a status code equal to that given

func (*CreatePrivateEndpointNotFound) IsRedirect

func (o *CreatePrivateEndpointNotFound) IsRedirect() bool

IsRedirect returns true when this create private endpoint not found response has a 3xx status code

func (*CreatePrivateEndpointNotFound) IsServerError

func (o *CreatePrivateEndpointNotFound) IsServerError() bool

IsServerError returns true when this create private endpoint not found response has a 5xx status code

func (*CreatePrivateEndpointNotFound) IsSuccess

func (o *CreatePrivateEndpointNotFound) IsSuccess() bool

IsSuccess returns true when this create private endpoint not found response has a 2xx status code

func (*CreatePrivateEndpointNotFound) String

type CreatePrivateEndpointNotFoundBody

type CreatePrivateEndpointNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointNotFoundBody create private endpoint not found body swagger:model CreatePrivateEndpointNotFoundBody

func (*CreatePrivateEndpointNotFoundBody) ContextValidate

func (o *CreatePrivateEndpointNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private endpoint not found body based on context it is used

func (*CreatePrivateEndpointNotFoundBody) MarshalBinary

func (o *CreatePrivateEndpointNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointNotFoundBody) UnmarshalBinary

func (o *CreatePrivateEndpointNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointNotFoundBody) Validate

Validate validates this create private endpoint not found body

type CreatePrivateEndpointOK

type CreatePrivateEndpointOK struct {
	Payload *CreatePrivateEndpointOKBody
}

CreatePrivateEndpointOK describes a response with status code 200, with default header values.

A successful response.

func NewCreatePrivateEndpointOK

func NewCreatePrivateEndpointOK() *CreatePrivateEndpointOK

NewCreatePrivateEndpointOK creates a CreatePrivateEndpointOK with default headers values

func (*CreatePrivateEndpointOK) Code

func (o *CreatePrivateEndpointOK) Code() int

Code gets the status code for the create private endpoint o k response

func (*CreatePrivateEndpointOK) Error

func (o *CreatePrivateEndpointOK) Error() string

func (*CreatePrivateEndpointOK) GetPayload

func (*CreatePrivateEndpointOK) IsClientError

func (o *CreatePrivateEndpointOK) IsClientError() bool

IsClientError returns true when this create private endpoint o k response has a 4xx status code

func (*CreatePrivateEndpointOK) IsCode

func (o *CreatePrivateEndpointOK) IsCode(code int) bool

IsCode returns true when this create private endpoint o k response a status code equal to that given

func (*CreatePrivateEndpointOK) IsRedirect

func (o *CreatePrivateEndpointOK) IsRedirect() bool

IsRedirect returns true when this create private endpoint o k response has a 3xx status code

func (*CreatePrivateEndpointOK) IsServerError

func (o *CreatePrivateEndpointOK) IsServerError() bool

IsServerError returns true when this create private endpoint o k response has a 5xx status code

func (*CreatePrivateEndpointOK) IsSuccess

func (o *CreatePrivateEndpointOK) IsSuccess() bool

IsSuccess returns true when this create private endpoint o k response has a 2xx status code

func (*CreatePrivateEndpointOK) String

func (o *CreatePrivateEndpointOK) String() string

type CreatePrivateEndpointOKBody

type CreatePrivateEndpointOKBody struct {

	// private endpoint
	// Required: true
	PrivateEndpoint *CreatePrivateEndpointOKBodyPrivateEndpoint `json:"private_endpoint"`
}

CreatePrivateEndpointOKBody CreatePrivateEndpointResp // // CreatePrivateEndpointResp is the response for creating a private endpoint for a private endpoint service. swagger:model CreatePrivateEndpointOKBody

func (*CreatePrivateEndpointOKBody) ContextValidate

func (o *CreatePrivateEndpointOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private endpoint o k body based on the context it is used

func (*CreatePrivateEndpointOKBody) MarshalBinary

func (o *CreatePrivateEndpointOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointOKBody) UnmarshalBinary

func (o *CreatePrivateEndpointOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointOKBody) Validate

func (o *CreatePrivateEndpointOKBody) Validate(formats strfmt.Registry) error

Validate validates this create private endpoint o k body

type CreatePrivateEndpointOKBodyPrivateEndpoint

type CreatePrivateEndpointOKBodyPrivateEndpoint struct {

	// [Output Only] The cloud provider on which the private endpoint service is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// [Output Only] The ID of the cluster.
	// Example: 1
	ClusterID string `json:"cluster_id,omitempty"`

	// [Output Only] The name of the cluster.
	// Example: Cluster0
	ClusterName string `json:"cluster_name,omitempty"`

	// The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud.
	// Example: vpce-01234567890123456
	EndpointName string `json:"endpoint_name,omitempty"`

	// [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint).
	// Example: 1
	ID string `json:"id,omitempty"`

	// [Output Only] The detailed message when the `status` is "FAILED".
	// Example: The endpoint does not exist.
	Message string `json:"message,omitempty"`

	// [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS.
	// Example: Oregon
	RegionName string `json:"region_name,omitempty"`

	// [Output Only] The service name of the private endpoint.
	// Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456
	ServiceName string `json:"service_name,omitempty"`

	// [Output Only] The status of the private endpoint service.
	// Example: ACTIVE
	// Enum: [CREATING ACTIVE DELETING]
	ServiceStatus string `json:"service_status,omitempty"`

	// [Output Only] The status of the private endpoint.
	// Example: FAILED
	// Enum: [PENDING ACTIVE DELETING FAILED]
	Status string `json:"status,omitempty"`
}

CreatePrivateEndpointOKBodyPrivateEndpoint The newly endpoint created resource. swagger:model CreatePrivateEndpointOKBodyPrivateEndpoint

func (*CreatePrivateEndpointOKBodyPrivateEndpoint) ContextValidate

ContextValidate validates this create private endpoint o k body private endpoint based on context it is used

func (*CreatePrivateEndpointOKBodyPrivateEndpoint) MarshalBinary

func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointOKBodyPrivateEndpoint) UnmarshalBinary

func (o *CreatePrivateEndpointOKBodyPrivateEndpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointOKBodyPrivateEndpoint) Validate

Validate validates this create private endpoint o k body private endpoint

type CreatePrivateEndpointParams

type CreatePrivateEndpointParams struct {

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	// PrivateEndpoint.
	PrivateEndpoint CreatePrivateEndpointBody

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreatePrivateEndpointParams contains all the parameters to send to the API endpoint

for the create private endpoint operation.

Typically these are written to a http.Request.

func NewCreatePrivateEndpointParams

func NewCreatePrivateEndpointParams() *CreatePrivateEndpointParams

NewCreatePrivateEndpointParams creates a new CreatePrivateEndpointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePrivateEndpointParamsWithContext

func NewCreatePrivateEndpointParamsWithContext(ctx context.Context) *CreatePrivateEndpointParams

NewCreatePrivateEndpointParamsWithContext creates a new CreatePrivateEndpointParams object with the ability to set a context for a request.

func NewCreatePrivateEndpointParamsWithHTTPClient

func NewCreatePrivateEndpointParamsWithHTTPClient(client *http.Client) *CreatePrivateEndpointParams

NewCreatePrivateEndpointParamsWithHTTPClient creates a new CreatePrivateEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePrivateEndpointParamsWithTimeout

func NewCreatePrivateEndpointParamsWithTimeout(timeout time.Duration) *CreatePrivateEndpointParams

NewCreatePrivateEndpointParamsWithTimeout creates a new CreatePrivateEndpointParams object with the ability to set a timeout on a request.

func (*CreatePrivateEndpointParams) SetClusterID

func (o *CreatePrivateEndpointParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create private endpoint params

func (*CreatePrivateEndpointParams) SetContext

func (o *CreatePrivateEndpointParams) SetContext(ctx context.Context)

SetContext adds the context to the create private endpoint params

func (*CreatePrivateEndpointParams) SetDefaults

func (o *CreatePrivateEndpointParams) SetDefaults()

SetDefaults hydrates default values in the create private endpoint params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePrivateEndpointParams) SetHTTPClient

func (o *CreatePrivateEndpointParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create private endpoint params

func (*CreatePrivateEndpointParams) SetPrivateEndpoint

func (o *CreatePrivateEndpointParams) SetPrivateEndpoint(privateEndpoint CreatePrivateEndpointBody)

SetPrivateEndpoint adds the privateEndpoint to the create private endpoint params

func (*CreatePrivateEndpointParams) SetProjectID

func (o *CreatePrivateEndpointParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the create private endpoint params

func (*CreatePrivateEndpointParams) SetTimeout

func (o *CreatePrivateEndpointParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create private endpoint params

func (*CreatePrivateEndpointParams) WithClusterID

func (o *CreatePrivateEndpointParams) WithClusterID(clusterID string) *CreatePrivateEndpointParams

WithClusterID adds the clusterID to the create private endpoint params

func (*CreatePrivateEndpointParams) WithContext

WithContext adds the context to the create private endpoint params

func (*CreatePrivateEndpointParams) WithDefaults

WithDefaults hydrates default values in the create private endpoint params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePrivateEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create private endpoint params

func (*CreatePrivateEndpointParams) WithPrivateEndpoint

WithPrivateEndpoint adds the privateEndpoint to the create private endpoint params

func (*CreatePrivateEndpointParams) WithProjectID

func (o *CreatePrivateEndpointParams) WithProjectID(projectID string) *CreatePrivateEndpointParams

WithProjectID adds the projectID to the create private endpoint params

func (*CreatePrivateEndpointParams) WithTimeout

WithTimeout adds the timeout to the create private endpoint params

func (*CreatePrivateEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePrivateEndpointReader

type CreatePrivateEndpointReader struct {
	// contains filtered or unexported fields
}

CreatePrivateEndpointReader is a Reader for the CreatePrivateEndpoint structure.

func (*CreatePrivateEndpointReader) ReadResponse

func (o *CreatePrivateEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreatePrivateEndpointServiceBadRequest

type CreatePrivateEndpointServiceBadRequest struct {
	Payload *CreatePrivateEndpointServiceBadRequestBody
}

CreatePrivateEndpointServiceBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewCreatePrivateEndpointServiceBadRequest

func NewCreatePrivateEndpointServiceBadRequest() *CreatePrivateEndpointServiceBadRequest

NewCreatePrivateEndpointServiceBadRequest creates a CreatePrivateEndpointServiceBadRequest with default headers values

func (*CreatePrivateEndpointServiceBadRequest) Code

Code gets the status code for the create private endpoint service bad request response

func (*CreatePrivateEndpointServiceBadRequest) Error

func (*CreatePrivateEndpointServiceBadRequest) GetPayload

func (*CreatePrivateEndpointServiceBadRequest) IsClientError

func (o *CreatePrivateEndpointServiceBadRequest) IsClientError() bool

IsClientError returns true when this create private endpoint service bad request response has a 4xx status code

func (*CreatePrivateEndpointServiceBadRequest) IsCode

IsCode returns true when this create private endpoint service bad request response a status code equal to that given

func (*CreatePrivateEndpointServiceBadRequest) IsRedirect

IsRedirect returns true when this create private endpoint service bad request response has a 3xx status code

func (*CreatePrivateEndpointServiceBadRequest) IsServerError

func (o *CreatePrivateEndpointServiceBadRequest) IsServerError() bool

IsServerError returns true when this create private endpoint service bad request response has a 5xx status code

func (*CreatePrivateEndpointServiceBadRequest) IsSuccess

IsSuccess returns true when this create private endpoint service bad request response has a 2xx status code

func (*CreatePrivateEndpointServiceBadRequest) String

type CreatePrivateEndpointServiceBadRequestBody

type CreatePrivateEndpointServiceBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointServiceBadRequestBody create private endpoint service bad request body swagger:model CreatePrivateEndpointServiceBadRequestBody

func (*CreatePrivateEndpointServiceBadRequestBody) ContextValidate

ContextValidate validates this create private endpoint service bad request body based on context it is used

func (*CreatePrivateEndpointServiceBadRequestBody) MarshalBinary

func (o *CreatePrivateEndpointServiceBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceBadRequestBody) UnmarshalBinary

func (o *CreatePrivateEndpointServiceBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceBadRequestBody) Validate

Validate validates this create private endpoint service bad request body

type CreatePrivateEndpointServiceDefault

type CreatePrivateEndpointServiceDefault struct {
	Payload *CreatePrivateEndpointServiceDefaultBody
	// contains filtered or unexported fields
}

CreatePrivateEndpointServiceDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreatePrivateEndpointServiceDefault

func NewCreatePrivateEndpointServiceDefault(code int) *CreatePrivateEndpointServiceDefault

NewCreatePrivateEndpointServiceDefault creates a CreatePrivateEndpointServiceDefault with default headers values

func (*CreatePrivateEndpointServiceDefault) Code

Code gets the status code for the create private endpoint service default response

func (*CreatePrivateEndpointServiceDefault) Error

func (*CreatePrivateEndpointServiceDefault) GetPayload

func (*CreatePrivateEndpointServiceDefault) IsClientError

func (o *CreatePrivateEndpointServiceDefault) IsClientError() bool

IsClientError returns true when this create private endpoint service default response has a 4xx status code

func (*CreatePrivateEndpointServiceDefault) IsCode

IsCode returns true when this create private endpoint service default response a status code equal to that given

func (*CreatePrivateEndpointServiceDefault) IsRedirect

func (o *CreatePrivateEndpointServiceDefault) IsRedirect() bool

IsRedirect returns true when this create private endpoint service default response has a 3xx status code

func (*CreatePrivateEndpointServiceDefault) IsServerError

func (o *CreatePrivateEndpointServiceDefault) IsServerError() bool

IsServerError returns true when this create private endpoint service default response has a 5xx status code

func (*CreatePrivateEndpointServiceDefault) IsSuccess

IsSuccess returns true when this create private endpoint service default response has a 2xx status code

func (*CreatePrivateEndpointServiceDefault) String

type CreatePrivateEndpointServiceDefaultBody

type CreatePrivateEndpointServiceDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*CreatePrivateEndpointServiceDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointServiceDefaultBody create private endpoint service default body swagger:model CreatePrivateEndpointServiceDefaultBody

func (*CreatePrivateEndpointServiceDefaultBody) ContextValidate

ContextValidate validate this create private endpoint service default body based on the context it is used

func (*CreatePrivateEndpointServiceDefaultBody) MarshalBinary

func (o *CreatePrivateEndpointServiceDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceDefaultBody) UnmarshalBinary

func (o *CreatePrivateEndpointServiceDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceDefaultBody) Validate

Validate validates this create private endpoint service default body

type CreatePrivateEndpointServiceDefaultBodyDetailsItems0

type CreatePrivateEndpointServiceDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

CreatePrivateEndpointServiceDefaultBodyDetailsItems0 create private endpoint service default body details items0 swagger:model CreatePrivateEndpointServiceDefaultBodyDetailsItems0

func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this create private endpoint service default body details items0 based on context it is used

func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceDefaultBodyDetailsItems0) Validate

Validate validates this create private endpoint service default body details items0

type CreatePrivateEndpointServiceForbidden

type CreatePrivateEndpointServiceForbidden struct {
	Payload *CreatePrivateEndpointServiceForbiddenBody
}

CreatePrivateEndpointServiceForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewCreatePrivateEndpointServiceForbidden

func NewCreatePrivateEndpointServiceForbidden() *CreatePrivateEndpointServiceForbidden

NewCreatePrivateEndpointServiceForbidden creates a CreatePrivateEndpointServiceForbidden with default headers values

func (*CreatePrivateEndpointServiceForbidden) Code

Code gets the status code for the create private endpoint service forbidden response

func (*CreatePrivateEndpointServiceForbidden) Error

func (*CreatePrivateEndpointServiceForbidden) GetPayload

func (*CreatePrivateEndpointServiceForbidden) IsClientError

func (o *CreatePrivateEndpointServiceForbidden) IsClientError() bool

IsClientError returns true when this create private endpoint service forbidden response has a 4xx status code

func (*CreatePrivateEndpointServiceForbidden) IsCode

IsCode returns true when this create private endpoint service forbidden response a status code equal to that given

func (*CreatePrivateEndpointServiceForbidden) IsRedirect

IsRedirect returns true when this create private endpoint service forbidden response has a 3xx status code

func (*CreatePrivateEndpointServiceForbidden) IsServerError

func (o *CreatePrivateEndpointServiceForbidden) IsServerError() bool

IsServerError returns true when this create private endpoint service forbidden response has a 5xx status code

func (*CreatePrivateEndpointServiceForbidden) IsSuccess

IsSuccess returns true when this create private endpoint service forbidden response has a 2xx status code

func (*CreatePrivateEndpointServiceForbidden) String

type CreatePrivateEndpointServiceForbiddenBody

type CreatePrivateEndpointServiceForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointServiceForbiddenBody create private endpoint service forbidden body swagger:model CreatePrivateEndpointServiceForbiddenBody

func (*CreatePrivateEndpointServiceForbiddenBody) ContextValidate

ContextValidate validates this create private endpoint service forbidden body based on context it is used

func (*CreatePrivateEndpointServiceForbiddenBody) MarshalBinary

func (o *CreatePrivateEndpointServiceForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceForbiddenBody) UnmarshalBinary

func (o *CreatePrivateEndpointServiceForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceForbiddenBody) Validate

Validate validates this create private endpoint service forbidden body

type CreatePrivateEndpointServiceInternalServerError

type CreatePrivateEndpointServiceInternalServerError struct {
	Payload *CreatePrivateEndpointServiceInternalServerErrorBody
}

CreatePrivateEndpointServiceInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewCreatePrivateEndpointServiceInternalServerError

func NewCreatePrivateEndpointServiceInternalServerError() *CreatePrivateEndpointServiceInternalServerError

NewCreatePrivateEndpointServiceInternalServerError creates a CreatePrivateEndpointServiceInternalServerError with default headers values

func (*CreatePrivateEndpointServiceInternalServerError) Code

Code gets the status code for the create private endpoint service internal server error response

func (*CreatePrivateEndpointServiceInternalServerError) Error

func (*CreatePrivateEndpointServiceInternalServerError) GetPayload

func (*CreatePrivateEndpointServiceInternalServerError) IsClientError

IsClientError returns true when this create private endpoint service internal server error response has a 4xx status code

func (*CreatePrivateEndpointServiceInternalServerError) IsCode

IsCode returns true when this create private endpoint service internal server error response a status code equal to that given

func (*CreatePrivateEndpointServiceInternalServerError) IsRedirect

IsRedirect returns true when this create private endpoint service internal server error response has a 3xx status code

func (*CreatePrivateEndpointServiceInternalServerError) IsServerError

IsServerError returns true when this create private endpoint service internal server error response has a 5xx status code

func (*CreatePrivateEndpointServiceInternalServerError) IsSuccess

IsSuccess returns true when this create private endpoint service internal server error response has a 2xx status code

func (*CreatePrivateEndpointServiceInternalServerError) String

type CreatePrivateEndpointServiceInternalServerErrorBody

type CreatePrivateEndpointServiceInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointServiceInternalServerErrorBody create private endpoint service internal server error body swagger:model CreatePrivateEndpointServiceInternalServerErrorBody

func (*CreatePrivateEndpointServiceInternalServerErrorBody) ContextValidate

ContextValidate validates this create private endpoint service internal server error body based on context it is used

func (*CreatePrivateEndpointServiceInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceInternalServerErrorBody) Validate

Validate validates this create private endpoint service internal server error body

type CreatePrivateEndpointServiceNotFound

type CreatePrivateEndpointServiceNotFound struct {
	Payload *CreatePrivateEndpointServiceNotFoundBody
}

CreatePrivateEndpointServiceNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewCreatePrivateEndpointServiceNotFound

func NewCreatePrivateEndpointServiceNotFound() *CreatePrivateEndpointServiceNotFound

NewCreatePrivateEndpointServiceNotFound creates a CreatePrivateEndpointServiceNotFound with default headers values

func (*CreatePrivateEndpointServiceNotFound) Code

Code gets the status code for the create private endpoint service not found response

func (*CreatePrivateEndpointServiceNotFound) Error

func (*CreatePrivateEndpointServiceNotFound) GetPayload

func (*CreatePrivateEndpointServiceNotFound) IsClientError

func (o *CreatePrivateEndpointServiceNotFound) IsClientError() bool

IsClientError returns true when this create private endpoint service not found response has a 4xx status code

func (*CreatePrivateEndpointServiceNotFound) IsCode

IsCode returns true when this create private endpoint service not found response a status code equal to that given

func (*CreatePrivateEndpointServiceNotFound) IsRedirect

IsRedirect returns true when this create private endpoint service not found response has a 3xx status code

func (*CreatePrivateEndpointServiceNotFound) IsServerError

func (o *CreatePrivateEndpointServiceNotFound) IsServerError() bool

IsServerError returns true when this create private endpoint service not found response has a 5xx status code

func (*CreatePrivateEndpointServiceNotFound) IsSuccess

IsSuccess returns true when this create private endpoint service not found response has a 2xx status code

func (*CreatePrivateEndpointServiceNotFound) String

type CreatePrivateEndpointServiceNotFoundBody

type CreatePrivateEndpointServiceNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointServiceNotFoundBody create private endpoint service not found body swagger:model CreatePrivateEndpointServiceNotFoundBody

func (*CreatePrivateEndpointServiceNotFoundBody) ContextValidate

ContextValidate validates this create private endpoint service not found body based on context it is used

func (*CreatePrivateEndpointServiceNotFoundBody) MarshalBinary

func (o *CreatePrivateEndpointServiceNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceNotFoundBody) UnmarshalBinary

func (o *CreatePrivateEndpointServiceNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceNotFoundBody) Validate

Validate validates this create private endpoint service not found body

type CreatePrivateEndpointServiceOK

type CreatePrivateEndpointServiceOK struct {
	Payload *CreatePrivateEndpointServiceOKBody
}

CreatePrivateEndpointServiceOK describes a response with status code 200, with default header values.

A successful response.

func NewCreatePrivateEndpointServiceOK

func NewCreatePrivateEndpointServiceOK() *CreatePrivateEndpointServiceOK

NewCreatePrivateEndpointServiceOK creates a CreatePrivateEndpointServiceOK with default headers values

func (*CreatePrivateEndpointServiceOK) Code

Code gets the status code for the create private endpoint service o k response

func (*CreatePrivateEndpointServiceOK) Error

func (*CreatePrivateEndpointServiceOK) GetPayload

func (*CreatePrivateEndpointServiceOK) IsClientError

func (o *CreatePrivateEndpointServiceOK) IsClientError() bool

IsClientError returns true when this create private endpoint service o k response has a 4xx status code

func (*CreatePrivateEndpointServiceOK) IsCode

func (o *CreatePrivateEndpointServiceOK) IsCode(code int) bool

IsCode returns true when this create private endpoint service o k response a status code equal to that given

func (*CreatePrivateEndpointServiceOK) IsRedirect

func (o *CreatePrivateEndpointServiceOK) IsRedirect() bool

IsRedirect returns true when this create private endpoint service o k response has a 3xx status code

func (*CreatePrivateEndpointServiceOK) IsServerError

func (o *CreatePrivateEndpointServiceOK) IsServerError() bool

IsServerError returns true when this create private endpoint service o k response has a 5xx status code

func (*CreatePrivateEndpointServiceOK) IsSuccess

func (o *CreatePrivateEndpointServiceOK) IsSuccess() bool

IsSuccess returns true when this create private endpoint service o k response has a 2xx status code

func (*CreatePrivateEndpointServiceOK) String

type CreatePrivateEndpointServiceOKBody

type CreatePrivateEndpointServiceOKBody struct {

	// private endpoint service
	// Required: true
	PrivateEndpointService *CreatePrivateEndpointServiceOKBodyPrivateEndpointService `json:"private_endpoint_service"`
}

CreatePrivateEndpointServiceOKBody CreatePrivateEndpointServiceResp // // CreatePrivateEndpointServiceResp is the response for creating private endpoint service for a cluster. swagger:model CreatePrivateEndpointServiceOKBody

func (*CreatePrivateEndpointServiceOKBody) ContextValidate

func (o *CreatePrivateEndpointServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private endpoint service o k body based on the context it is used

func (*CreatePrivateEndpointServiceOKBody) MarshalBinary

func (o *CreatePrivateEndpointServiceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceOKBody) UnmarshalBinary

func (o *CreatePrivateEndpointServiceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceOKBody) Validate

Validate validates this create private endpoint service o k body

type CreatePrivateEndpointServiceOKBodyPrivateEndpointService

type CreatePrivateEndpointServiceOKBodyPrivateEndpointService struct {

	// Availability zones for the private endpoint service. This field is only applicable when the `cloud_provider` is `"AWS"`.
	// Example: ["usw2-az2","usw2-az1"]
	AzIds []string `json:"az_ids"`

	// The cloud provider on which the private endpoint service is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// The DNS name of the private endpoint service.
	// Example: privatelink-tidb.01234567890.clusters.tidb-cloud.com
	DNSName string `json:"dns_name,omitempty"`

	// The name of the private endpoint service, which is used for connection.
	// Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456
	Name string `json:"name,omitempty"`

	// The port of the private endpoint service.
	// Example: 4000
	Port int32 `json:"port,omitempty"`

	// The status of the private endpoint service.
	// Example: ACTIVE
	// Enum: [CREATING ACTIVE DELETING]
	Status string `json:"status,omitempty"`
}

CreatePrivateEndpointServiceOKBodyPrivateEndpointService The newly created private endpoint service resource. swagger:model CreatePrivateEndpointServiceOKBodyPrivateEndpointService

func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate

ContextValidate validates this create private endpoint service o k body private endpoint service based on context it is used

func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceOKBodyPrivateEndpointService) Validate

Validate validates this create private endpoint service o k body private endpoint service

type CreatePrivateEndpointServiceParams

type CreatePrivateEndpointServiceParams struct {

	// Body.
	Body interface{}

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreatePrivateEndpointServiceParams contains all the parameters to send to the API endpoint

for the create private endpoint service operation.

Typically these are written to a http.Request.

func NewCreatePrivateEndpointServiceParams

func NewCreatePrivateEndpointServiceParams() *CreatePrivateEndpointServiceParams

NewCreatePrivateEndpointServiceParams creates a new CreatePrivateEndpointServiceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePrivateEndpointServiceParamsWithContext

func NewCreatePrivateEndpointServiceParamsWithContext(ctx context.Context) *CreatePrivateEndpointServiceParams

NewCreatePrivateEndpointServiceParamsWithContext creates a new CreatePrivateEndpointServiceParams object with the ability to set a context for a request.

func NewCreatePrivateEndpointServiceParamsWithHTTPClient

func NewCreatePrivateEndpointServiceParamsWithHTTPClient(client *http.Client) *CreatePrivateEndpointServiceParams

NewCreatePrivateEndpointServiceParamsWithHTTPClient creates a new CreatePrivateEndpointServiceParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePrivateEndpointServiceParamsWithTimeout

func NewCreatePrivateEndpointServiceParamsWithTimeout(timeout time.Duration) *CreatePrivateEndpointServiceParams

NewCreatePrivateEndpointServiceParamsWithTimeout creates a new CreatePrivateEndpointServiceParams object with the ability to set a timeout on a request.

func (*CreatePrivateEndpointServiceParams) SetBody

func (o *CreatePrivateEndpointServiceParams) SetBody(body interface{})

SetBody adds the body to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) SetClusterID

func (o *CreatePrivateEndpointServiceParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) SetContext

SetContext adds the context to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) SetDefaults

func (o *CreatePrivateEndpointServiceParams) SetDefaults()

SetDefaults hydrates default values in the create private endpoint service params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePrivateEndpointServiceParams) SetHTTPClient

func (o *CreatePrivateEndpointServiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) SetProjectID

func (o *CreatePrivateEndpointServiceParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) SetTimeout

func (o *CreatePrivateEndpointServiceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WithBody

WithBody adds the body to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WithClusterID

WithClusterID adds the clusterID to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WithContext

WithContext adds the context to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WithDefaults

WithDefaults hydrates default values in the create private endpoint service params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePrivateEndpointServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WithProjectID

WithProjectID adds the projectID to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WithTimeout

WithTimeout adds the timeout to the create private endpoint service params

func (*CreatePrivateEndpointServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreatePrivateEndpointServiceReader

type CreatePrivateEndpointServiceReader struct {
	// contains filtered or unexported fields
}

CreatePrivateEndpointServiceReader is a Reader for the CreatePrivateEndpointService structure.

func (*CreatePrivateEndpointServiceReader) ReadResponse

func (o *CreatePrivateEndpointServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreatePrivateEndpointServiceTooManyRequests

type CreatePrivateEndpointServiceTooManyRequests struct {
	Payload *CreatePrivateEndpointServiceTooManyRequestsBody
}

CreatePrivateEndpointServiceTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewCreatePrivateEndpointServiceTooManyRequests

func NewCreatePrivateEndpointServiceTooManyRequests() *CreatePrivateEndpointServiceTooManyRequests

NewCreatePrivateEndpointServiceTooManyRequests creates a CreatePrivateEndpointServiceTooManyRequests with default headers values

func (*CreatePrivateEndpointServiceTooManyRequests) Code

Code gets the status code for the create private endpoint service too many requests response

func (*CreatePrivateEndpointServiceTooManyRequests) Error

func (*CreatePrivateEndpointServiceTooManyRequests) GetPayload

func (*CreatePrivateEndpointServiceTooManyRequests) IsClientError

IsClientError returns true when this create private endpoint service too many requests response has a 4xx status code

func (*CreatePrivateEndpointServiceTooManyRequests) IsCode

IsCode returns true when this create private endpoint service too many requests response a status code equal to that given

func (*CreatePrivateEndpointServiceTooManyRequests) IsRedirect

IsRedirect returns true when this create private endpoint service too many requests response has a 3xx status code

func (*CreatePrivateEndpointServiceTooManyRequests) IsServerError

IsServerError returns true when this create private endpoint service too many requests response has a 5xx status code

func (*CreatePrivateEndpointServiceTooManyRequests) IsSuccess

IsSuccess returns true when this create private endpoint service too many requests response has a 2xx status code

func (*CreatePrivateEndpointServiceTooManyRequests) String

type CreatePrivateEndpointServiceTooManyRequestsBody

type CreatePrivateEndpointServiceTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointServiceTooManyRequestsBody create private endpoint service too many requests body swagger:model CreatePrivateEndpointServiceTooManyRequestsBody

func (*CreatePrivateEndpointServiceTooManyRequestsBody) ContextValidate

ContextValidate validates this create private endpoint service too many requests body based on context it is used

func (*CreatePrivateEndpointServiceTooManyRequestsBody) MarshalBinary

MarshalBinary interface implementation

func (*CreatePrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointServiceTooManyRequestsBody) Validate

Validate validates this create private endpoint service too many requests body

type CreatePrivateEndpointServiceUnauthorized

type CreatePrivateEndpointServiceUnauthorized struct {
	Payload interface{}
}

CreatePrivateEndpointServiceUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewCreatePrivateEndpointServiceUnauthorized

func NewCreatePrivateEndpointServiceUnauthorized() *CreatePrivateEndpointServiceUnauthorized

NewCreatePrivateEndpointServiceUnauthorized creates a CreatePrivateEndpointServiceUnauthorized with default headers values

func (*CreatePrivateEndpointServiceUnauthorized) Code

Code gets the status code for the create private endpoint service unauthorized response

func (*CreatePrivateEndpointServiceUnauthorized) Error

func (*CreatePrivateEndpointServiceUnauthorized) GetPayload

func (o *CreatePrivateEndpointServiceUnauthorized) GetPayload() interface{}

func (*CreatePrivateEndpointServiceUnauthorized) IsClientError

IsClientError returns true when this create private endpoint service unauthorized response has a 4xx status code

func (*CreatePrivateEndpointServiceUnauthorized) IsCode

IsCode returns true when this create private endpoint service unauthorized response a status code equal to that given

func (*CreatePrivateEndpointServiceUnauthorized) IsRedirect

IsRedirect returns true when this create private endpoint service unauthorized response has a 3xx status code

func (*CreatePrivateEndpointServiceUnauthorized) IsServerError

IsServerError returns true when this create private endpoint service unauthorized response has a 5xx status code

func (*CreatePrivateEndpointServiceUnauthorized) IsSuccess

IsSuccess returns true when this create private endpoint service unauthorized response has a 2xx status code

func (*CreatePrivateEndpointServiceUnauthorized) String

type CreatePrivateEndpointTooManyRequests

type CreatePrivateEndpointTooManyRequests struct {
	Payload *CreatePrivateEndpointTooManyRequestsBody
}

CreatePrivateEndpointTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewCreatePrivateEndpointTooManyRequests

func NewCreatePrivateEndpointTooManyRequests() *CreatePrivateEndpointTooManyRequests

NewCreatePrivateEndpointTooManyRequests creates a CreatePrivateEndpointTooManyRequests with default headers values

func (*CreatePrivateEndpointTooManyRequests) Code

Code gets the status code for the create private endpoint too many requests response

func (*CreatePrivateEndpointTooManyRequests) Error

func (*CreatePrivateEndpointTooManyRequests) GetPayload

func (*CreatePrivateEndpointTooManyRequests) IsClientError

func (o *CreatePrivateEndpointTooManyRequests) IsClientError() bool

IsClientError returns true when this create private endpoint too many requests response has a 4xx status code

func (*CreatePrivateEndpointTooManyRequests) IsCode

IsCode returns true when this create private endpoint too many requests response a status code equal to that given

func (*CreatePrivateEndpointTooManyRequests) IsRedirect

IsRedirect returns true when this create private endpoint too many requests response has a 3xx status code

func (*CreatePrivateEndpointTooManyRequests) IsServerError

func (o *CreatePrivateEndpointTooManyRequests) IsServerError() bool

IsServerError returns true when this create private endpoint too many requests response has a 5xx status code

func (*CreatePrivateEndpointTooManyRequests) IsSuccess

IsSuccess returns true when this create private endpoint too many requests response has a 2xx status code

func (*CreatePrivateEndpointTooManyRequests) String

type CreatePrivateEndpointTooManyRequestsBody

type CreatePrivateEndpointTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

CreatePrivateEndpointTooManyRequestsBody create private endpoint too many requests body swagger:model CreatePrivateEndpointTooManyRequestsBody

func (*CreatePrivateEndpointTooManyRequestsBody) ContextValidate

ContextValidate validates this create private endpoint too many requests body based on context it is used

func (*CreatePrivateEndpointTooManyRequestsBody) MarshalBinary

func (o *CreatePrivateEndpointTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateEndpointTooManyRequestsBody) UnmarshalBinary

func (o *CreatePrivateEndpointTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateEndpointTooManyRequestsBody) Validate

Validate validates this create private endpoint too many requests body

type CreatePrivateEndpointUnauthorized

type CreatePrivateEndpointUnauthorized struct {
	Payload interface{}
}

CreatePrivateEndpointUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewCreatePrivateEndpointUnauthorized

func NewCreatePrivateEndpointUnauthorized() *CreatePrivateEndpointUnauthorized

NewCreatePrivateEndpointUnauthorized creates a CreatePrivateEndpointUnauthorized with default headers values

func (*CreatePrivateEndpointUnauthorized) Code

Code gets the status code for the create private endpoint unauthorized response

func (*CreatePrivateEndpointUnauthorized) Error

func (*CreatePrivateEndpointUnauthorized) GetPayload

func (o *CreatePrivateEndpointUnauthorized) GetPayload() interface{}

func (*CreatePrivateEndpointUnauthorized) IsClientError

func (o *CreatePrivateEndpointUnauthorized) IsClientError() bool

IsClientError returns true when this create private endpoint unauthorized response has a 4xx status code

func (*CreatePrivateEndpointUnauthorized) IsCode

func (o *CreatePrivateEndpointUnauthorized) IsCode(code int) bool

IsCode returns true when this create private endpoint unauthorized response a status code equal to that given

func (*CreatePrivateEndpointUnauthorized) IsRedirect

func (o *CreatePrivateEndpointUnauthorized) IsRedirect() bool

IsRedirect returns true when this create private endpoint unauthorized response has a 3xx status code

func (*CreatePrivateEndpointUnauthorized) IsServerError

func (o *CreatePrivateEndpointUnauthorized) IsServerError() bool

IsServerError returns true when this create private endpoint unauthorized response has a 5xx status code

func (*CreatePrivateEndpointUnauthorized) IsSuccess

func (o *CreatePrivateEndpointUnauthorized) IsSuccess() bool

IsSuccess returns true when this create private endpoint unauthorized response has a 2xx status code

func (*CreatePrivateEndpointUnauthorized) String

type DeleteClusterBadRequest

type DeleteClusterBadRequest struct {
	Payload *DeleteClusterBadRequestBody
}

DeleteClusterBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewDeleteClusterBadRequest

func NewDeleteClusterBadRequest() *DeleteClusterBadRequest

NewDeleteClusterBadRequest creates a DeleteClusterBadRequest with default headers values

func (*DeleteClusterBadRequest) Code

func (o *DeleteClusterBadRequest) Code() int

Code gets the status code for the delete cluster bad request response

func (*DeleteClusterBadRequest) Error

func (o *DeleteClusterBadRequest) Error() string

func (*DeleteClusterBadRequest) GetPayload

func (*DeleteClusterBadRequest) IsClientError

func (o *DeleteClusterBadRequest) IsClientError() bool

IsClientError returns true when this delete cluster bad request response has a 4xx status code

func (*DeleteClusterBadRequest) IsCode

func (o *DeleteClusterBadRequest) IsCode(code int) bool

IsCode returns true when this delete cluster bad request response a status code equal to that given

func (*DeleteClusterBadRequest) IsRedirect

func (o *DeleteClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this delete cluster bad request response has a 3xx status code

func (*DeleteClusterBadRequest) IsServerError

func (o *DeleteClusterBadRequest) IsServerError() bool

IsServerError returns true when this delete cluster bad request response has a 5xx status code

func (*DeleteClusterBadRequest) IsSuccess

func (o *DeleteClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this delete cluster bad request response has a 2xx status code

func (*DeleteClusterBadRequest) String

func (o *DeleteClusterBadRequest) String() string

type DeleteClusterBadRequestBody

type DeleteClusterBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteClusterBadRequestBody delete cluster bad request body swagger:model DeleteClusterBadRequestBody

func (*DeleteClusterBadRequestBody) ContextValidate

func (o *DeleteClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete cluster bad request body based on context it is used

func (*DeleteClusterBadRequestBody) MarshalBinary

func (o *DeleteClusterBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterBadRequestBody) UnmarshalBinary

func (o *DeleteClusterBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterBadRequestBody) Validate

func (o *DeleteClusterBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this delete cluster bad request body

type DeleteClusterDefault

type DeleteClusterDefault struct {
	Payload *DeleteClusterDefaultBody
	// contains filtered or unexported fields
}

DeleteClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteClusterDefault

func NewDeleteClusterDefault(code int) *DeleteClusterDefault

NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values

func (*DeleteClusterDefault) Code

func (o *DeleteClusterDefault) Code() int

Code gets the status code for the delete cluster default response

func (*DeleteClusterDefault) Error

func (o *DeleteClusterDefault) Error() string

func (*DeleteClusterDefault) GetPayload

func (*DeleteClusterDefault) IsClientError

func (o *DeleteClusterDefault) IsClientError() bool

IsClientError returns true when this delete cluster default response has a 4xx status code

func (*DeleteClusterDefault) IsCode

func (o *DeleteClusterDefault) IsCode(code int) bool

IsCode returns true when this delete cluster default response a status code equal to that given

func (*DeleteClusterDefault) IsRedirect

func (o *DeleteClusterDefault) IsRedirect() bool

IsRedirect returns true when this delete cluster default response has a 3xx status code

func (*DeleteClusterDefault) IsServerError

func (o *DeleteClusterDefault) IsServerError() bool

IsServerError returns true when this delete cluster default response has a 5xx status code

func (*DeleteClusterDefault) IsSuccess

func (o *DeleteClusterDefault) IsSuccess() bool

IsSuccess returns true when this delete cluster default response has a 2xx status code

func (*DeleteClusterDefault) String

func (o *DeleteClusterDefault) String() string

type DeleteClusterDefaultBody

type DeleteClusterDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*DeleteClusterDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

DeleteClusterDefaultBody delete cluster default body swagger:model DeleteClusterDefaultBody

func (*DeleteClusterDefaultBody) ContextValidate

func (o *DeleteClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete cluster default body based on the context it is used

func (*DeleteClusterDefaultBody) MarshalBinary

func (o *DeleteClusterDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterDefaultBody) UnmarshalBinary

func (o *DeleteClusterDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterDefaultBody) Validate

func (o *DeleteClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this delete cluster default body

type DeleteClusterDefaultBodyDetailsItems0

type DeleteClusterDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

DeleteClusterDefaultBodyDetailsItems0 delete cluster default body details items0 swagger:model DeleteClusterDefaultBodyDetailsItems0

func (*DeleteClusterDefaultBodyDetailsItems0) ContextValidate

func (o *DeleteClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete cluster default body details items0 based on context it is used

func (*DeleteClusterDefaultBodyDetailsItems0) MarshalBinary

func (o *DeleteClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterDefaultBodyDetailsItems0) UnmarshalBinary

func (o *DeleteClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterDefaultBodyDetailsItems0) Validate

Validate validates this delete cluster default body details items0

type DeleteClusterForbidden

type DeleteClusterForbidden struct {
	Payload *DeleteClusterForbiddenBody
}

DeleteClusterForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewDeleteClusterForbidden

func NewDeleteClusterForbidden() *DeleteClusterForbidden

NewDeleteClusterForbidden creates a DeleteClusterForbidden with default headers values

func (*DeleteClusterForbidden) Code

func (o *DeleteClusterForbidden) Code() int

Code gets the status code for the delete cluster forbidden response

func (*DeleteClusterForbidden) Error

func (o *DeleteClusterForbidden) Error() string

func (*DeleteClusterForbidden) GetPayload

func (*DeleteClusterForbidden) IsClientError

func (o *DeleteClusterForbidden) IsClientError() bool

IsClientError returns true when this delete cluster forbidden response has a 4xx status code

func (*DeleteClusterForbidden) IsCode

func (o *DeleteClusterForbidden) IsCode(code int) bool

IsCode returns true when this delete cluster forbidden response a status code equal to that given

func (*DeleteClusterForbidden) IsRedirect

func (o *DeleteClusterForbidden) IsRedirect() bool

IsRedirect returns true when this delete cluster forbidden response has a 3xx status code

func (*DeleteClusterForbidden) IsServerError

func (o *DeleteClusterForbidden) IsServerError() bool

IsServerError returns true when this delete cluster forbidden response has a 5xx status code

func (*DeleteClusterForbidden) IsSuccess

func (o *DeleteClusterForbidden) IsSuccess() bool

IsSuccess returns true when this delete cluster forbidden response has a 2xx status code

func (*DeleteClusterForbidden) String

func (o *DeleteClusterForbidden) String() string

type DeleteClusterForbiddenBody

type DeleteClusterForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteClusterForbiddenBody delete cluster forbidden body swagger:model DeleteClusterForbiddenBody

func (*DeleteClusterForbiddenBody) ContextValidate

func (o *DeleteClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete cluster forbidden body based on context it is used

func (*DeleteClusterForbiddenBody) MarshalBinary

func (o *DeleteClusterForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterForbiddenBody) UnmarshalBinary

func (o *DeleteClusterForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterForbiddenBody) Validate

func (o *DeleteClusterForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this delete cluster forbidden body

type DeleteClusterInternalServerError

type DeleteClusterInternalServerError struct {
	Payload *DeleteClusterInternalServerErrorBody
}

DeleteClusterInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewDeleteClusterInternalServerError

func NewDeleteClusterInternalServerError() *DeleteClusterInternalServerError

NewDeleteClusterInternalServerError creates a DeleteClusterInternalServerError with default headers values

func (*DeleteClusterInternalServerError) Code

Code gets the status code for the delete cluster internal server error response

func (*DeleteClusterInternalServerError) Error

func (*DeleteClusterInternalServerError) GetPayload

func (*DeleteClusterInternalServerError) IsClientError

func (o *DeleteClusterInternalServerError) IsClientError() bool

IsClientError returns true when this delete cluster internal server error response has a 4xx status code

func (*DeleteClusterInternalServerError) IsCode

func (o *DeleteClusterInternalServerError) IsCode(code int) bool

IsCode returns true when this delete cluster internal server error response a status code equal to that given

func (*DeleteClusterInternalServerError) IsRedirect

func (o *DeleteClusterInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete cluster internal server error response has a 3xx status code

func (*DeleteClusterInternalServerError) IsServerError

func (o *DeleteClusterInternalServerError) IsServerError() bool

IsServerError returns true when this delete cluster internal server error response has a 5xx status code

func (*DeleteClusterInternalServerError) IsSuccess

func (o *DeleteClusterInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete cluster internal server error response has a 2xx status code

func (*DeleteClusterInternalServerError) String

type DeleteClusterInternalServerErrorBody

type DeleteClusterInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteClusterInternalServerErrorBody delete cluster internal server error body swagger:model DeleteClusterInternalServerErrorBody

func (*DeleteClusterInternalServerErrorBody) ContextValidate

func (o *DeleteClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete cluster internal server error body based on context it is used

func (*DeleteClusterInternalServerErrorBody) MarshalBinary

func (o *DeleteClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterInternalServerErrorBody) UnmarshalBinary

func (o *DeleteClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterInternalServerErrorBody) Validate

Validate validates this delete cluster internal server error body

type DeleteClusterNotFound

type DeleteClusterNotFound struct {
	Payload *DeleteClusterNotFoundBody
}

DeleteClusterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewDeleteClusterNotFound

func NewDeleteClusterNotFound() *DeleteClusterNotFound

NewDeleteClusterNotFound creates a DeleteClusterNotFound with default headers values

func (*DeleteClusterNotFound) Code

func (o *DeleteClusterNotFound) Code() int

Code gets the status code for the delete cluster not found response

func (*DeleteClusterNotFound) Error

func (o *DeleteClusterNotFound) Error() string

func (*DeleteClusterNotFound) GetPayload

func (*DeleteClusterNotFound) IsClientError

func (o *DeleteClusterNotFound) IsClientError() bool

IsClientError returns true when this delete cluster not found response has a 4xx status code

func (*DeleteClusterNotFound) IsCode

func (o *DeleteClusterNotFound) IsCode(code int) bool

IsCode returns true when this delete cluster not found response a status code equal to that given

func (*DeleteClusterNotFound) IsRedirect

func (o *DeleteClusterNotFound) IsRedirect() bool

IsRedirect returns true when this delete cluster not found response has a 3xx status code

func (*DeleteClusterNotFound) IsServerError

func (o *DeleteClusterNotFound) IsServerError() bool

IsServerError returns true when this delete cluster not found response has a 5xx status code

func (*DeleteClusterNotFound) IsSuccess

func (o *DeleteClusterNotFound) IsSuccess() bool

IsSuccess returns true when this delete cluster not found response has a 2xx status code

func (*DeleteClusterNotFound) String

func (o *DeleteClusterNotFound) String() string

type DeleteClusterNotFoundBody

type DeleteClusterNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteClusterNotFoundBody delete cluster not found body swagger:model DeleteClusterNotFoundBody

func (*DeleteClusterNotFoundBody) ContextValidate

func (o *DeleteClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete cluster not found body based on context it is used

func (*DeleteClusterNotFoundBody) MarshalBinary

func (o *DeleteClusterNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterNotFoundBody) UnmarshalBinary

func (o *DeleteClusterNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterNotFoundBody) Validate

func (o *DeleteClusterNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this delete cluster not found body

type DeleteClusterOK

type DeleteClusterOK struct {
	Payload interface{}
}

DeleteClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteClusterOK

func NewDeleteClusterOK() *DeleteClusterOK

NewDeleteClusterOK creates a DeleteClusterOK with default headers values

func (*DeleteClusterOK) Code

func (o *DeleteClusterOK) Code() int

Code gets the status code for the delete cluster o k response

func (*DeleteClusterOK) Error

func (o *DeleteClusterOK) Error() string

func (*DeleteClusterOK) GetPayload

func (o *DeleteClusterOK) GetPayload() interface{}

func (*DeleteClusterOK) IsClientError

func (o *DeleteClusterOK) IsClientError() bool

IsClientError returns true when this delete cluster o k response has a 4xx status code

func (*DeleteClusterOK) IsCode

func (o *DeleteClusterOK) IsCode(code int) bool

IsCode returns true when this delete cluster o k response a status code equal to that given

func (*DeleteClusterOK) IsRedirect

func (o *DeleteClusterOK) IsRedirect() bool

IsRedirect returns true when this delete cluster o k response has a 3xx status code

func (*DeleteClusterOK) IsServerError

func (o *DeleteClusterOK) IsServerError() bool

IsServerError returns true when this delete cluster o k response has a 5xx status code

func (*DeleteClusterOK) IsSuccess

func (o *DeleteClusterOK) IsSuccess() bool

IsSuccess returns true when this delete cluster o k response has a 2xx status code

func (*DeleteClusterOK) String

func (o *DeleteClusterOK) String() string

type DeleteClusterParams

type DeleteClusterParams struct {

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteClusterParams contains all the parameters to send to the API endpoint

for the delete cluster operation.

Typically these are written to a http.Request.

func NewDeleteClusterParams

func NewDeleteClusterParams() *DeleteClusterParams

NewDeleteClusterParams creates a new DeleteClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteClusterParamsWithContext

func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams

NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.

func NewDeleteClusterParamsWithHTTPClient

func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams

NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteClusterParamsWithTimeout

func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams

NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.

func (*DeleteClusterParams) SetClusterID

func (o *DeleteClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete cluster params

func (*DeleteClusterParams) SetContext

func (o *DeleteClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the delete cluster params

func (*DeleteClusterParams) SetDefaults

func (o *DeleteClusterParams) SetDefaults()

SetDefaults hydrates default values in the delete cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterParams) SetHTTPClient

func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) SetProjectID

func (o *DeleteClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete cluster params

func (*DeleteClusterParams) SetTimeout

func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WithClusterID

func (o *DeleteClusterParams) WithClusterID(clusterID string) *DeleteClusterParams

WithClusterID adds the clusterID to the delete cluster params

func (*DeleteClusterParams) WithContext

WithContext adds the context to the delete cluster params

func (*DeleteClusterParams) WithDefaults

func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams

WithDefaults hydrates default values in the delete cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteClusterParams) WithHTTPClient

func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams

WithHTTPClient adds the HTTPClient to the delete cluster params

func (*DeleteClusterParams) WithProjectID

func (o *DeleteClusterParams) WithProjectID(projectID string) *DeleteClusterParams

WithProjectID adds the projectID to the delete cluster params

func (*DeleteClusterParams) WithTimeout

func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams

WithTimeout adds the timeout to the delete cluster params

func (*DeleteClusterParams) WriteToRequest

func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteClusterReader

type DeleteClusterReader struct {
	// contains filtered or unexported fields
}

DeleteClusterReader is a Reader for the DeleteCluster structure.

func (*DeleteClusterReader) ReadResponse

func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteClusterTooManyRequests

type DeleteClusterTooManyRequests struct {
	Payload *DeleteClusterTooManyRequestsBody
}

DeleteClusterTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewDeleteClusterTooManyRequests

func NewDeleteClusterTooManyRequests() *DeleteClusterTooManyRequests

NewDeleteClusterTooManyRequests creates a DeleteClusterTooManyRequests with default headers values

func (*DeleteClusterTooManyRequests) Code

Code gets the status code for the delete cluster too many requests response

func (*DeleteClusterTooManyRequests) Error

func (*DeleteClusterTooManyRequests) GetPayload

func (*DeleteClusterTooManyRequests) IsClientError

func (o *DeleteClusterTooManyRequests) IsClientError() bool

IsClientError returns true when this delete cluster too many requests response has a 4xx status code

func (*DeleteClusterTooManyRequests) IsCode

func (o *DeleteClusterTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete cluster too many requests response a status code equal to that given

func (*DeleteClusterTooManyRequests) IsRedirect

func (o *DeleteClusterTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete cluster too many requests response has a 3xx status code

func (*DeleteClusterTooManyRequests) IsServerError

func (o *DeleteClusterTooManyRequests) IsServerError() bool

IsServerError returns true when this delete cluster too many requests response has a 5xx status code

func (*DeleteClusterTooManyRequests) IsSuccess

func (o *DeleteClusterTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete cluster too many requests response has a 2xx status code

func (*DeleteClusterTooManyRequests) String

type DeleteClusterTooManyRequestsBody

type DeleteClusterTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeleteClusterTooManyRequestsBody delete cluster too many requests body swagger:model DeleteClusterTooManyRequestsBody

func (*DeleteClusterTooManyRequestsBody) ContextValidate

func (o *DeleteClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete cluster too many requests body based on context it is used

func (*DeleteClusterTooManyRequestsBody) MarshalBinary

func (o *DeleteClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteClusterTooManyRequestsBody) UnmarshalBinary

func (o *DeleteClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteClusterTooManyRequestsBody) Validate

Validate validates this delete cluster too many requests body

type DeleteClusterUnauthorized

type DeleteClusterUnauthorized struct {
	Payload interface{}
}

DeleteClusterUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewDeleteClusterUnauthorized

func NewDeleteClusterUnauthorized() *DeleteClusterUnauthorized

NewDeleteClusterUnauthorized creates a DeleteClusterUnauthorized with default headers values

func (*DeleteClusterUnauthorized) Code

func (o *DeleteClusterUnauthorized) Code() int

Code gets the status code for the delete cluster unauthorized response

func (*DeleteClusterUnauthorized) Error

func (o *DeleteClusterUnauthorized) Error() string

func (*DeleteClusterUnauthorized) GetPayload

func (o *DeleteClusterUnauthorized) GetPayload() interface{}

func (*DeleteClusterUnauthorized) IsClientError

func (o *DeleteClusterUnauthorized) IsClientError() bool

IsClientError returns true when this delete cluster unauthorized response has a 4xx status code

func (*DeleteClusterUnauthorized) IsCode

func (o *DeleteClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this delete cluster unauthorized response a status code equal to that given

func (*DeleteClusterUnauthorized) IsRedirect

func (o *DeleteClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete cluster unauthorized response has a 3xx status code

func (*DeleteClusterUnauthorized) IsServerError

func (o *DeleteClusterUnauthorized) IsServerError() bool

IsServerError returns true when this delete cluster unauthorized response has a 5xx status code

func (*DeleteClusterUnauthorized) IsSuccess

func (o *DeleteClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete cluster unauthorized response has a 2xx status code

func (*DeleteClusterUnauthorized) String

func (o *DeleteClusterUnauthorized) String() string

type DeletePrivateEndpointBadRequest

type DeletePrivateEndpointBadRequest struct {
	Payload *DeletePrivateEndpointBadRequestBody
}

DeletePrivateEndpointBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewDeletePrivateEndpointBadRequest

func NewDeletePrivateEndpointBadRequest() *DeletePrivateEndpointBadRequest

NewDeletePrivateEndpointBadRequest creates a DeletePrivateEndpointBadRequest with default headers values

func (*DeletePrivateEndpointBadRequest) Code

Code gets the status code for the delete private endpoint bad request response

func (*DeletePrivateEndpointBadRequest) Error

func (*DeletePrivateEndpointBadRequest) GetPayload

func (*DeletePrivateEndpointBadRequest) IsClientError

func (o *DeletePrivateEndpointBadRequest) IsClientError() bool

IsClientError returns true when this delete private endpoint bad request response has a 4xx status code

func (*DeletePrivateEndpointBadRequest) IsCode

func (o *DeletePrivateEndpointBadRequest) IsCode(code int) bool

IsCode returns true when this delete private endpoint bad request response a status code equal to that given

func (*DeletePrivateEndpointBadRequest) IsRedirect

func (o *DeletePrivateEndpointBadRequest) IsRedirect() bool

IsRedirect returns true when this delete private endpoint bad request response has a 3xx status code

func (*DeletePrivateEndpointBadRequest) IsServerError

func (o *DeletePrivateEndpointBadRequest) IsServerError() bool

IsServerError returns true when this delete private endpoint bad request response has a 5xx status code

func (*DeletePrivateEndpointBadRequest) IsSuccess

func (o *DeletePrivateEndpointBadRequest) IsSuccess() bool

IsSuccess returns true when this delete private endpoint bad request response has a 2xx status code

func (*DeletePrivateEndpointBadRequest) String

type DeletePrivateEndpointBadRequestBody

type DeletePrivateEndpointBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeletePrivateEndpointBadRequestBody delete private endpoint bad request body swagger:model DeletePrivateEndpointBadRequestBody

func (*DeletePrivateEndpointBadRequestBody) ContextValidate

func (o *DeletePrivateEndpointBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private endpoint bad request body based on context it is used

func (*DeletePrivateEndpointBadRequestBody) MarshalBinary

func (o *DeletePrivateEndpointBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateEndpointBadRequestBody) UnmarshalBinary

func (o *DeletePrivateEndpointBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointBadRequestBody) Validate

Validate validates this delete private endpoint bad request body

type DeletePrivateEndpointDefault

type DeletePrivateEndpointDefault struct {
	Payload *DeletePrivateEndpointDefaultBody
	// contains filtered or unexported fields
}

DeletePrivateEndpointDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeletePrivateEndpointDefault

func NewDeletePrivateEndpointDefault(code int) *DeletePrivateEndpointDefault

NewDeletePrivateEndpointDefault creates a DeletePrivateEndpointDefault with default headers values

func (*DeletePrivateEndpointDefault) Code

Code gets the status code for the delete private endpoint default response

func (*DeletePrivateEndpointDefault) Error

func (*DeletePrivateEndpointDefault) GetPayload

func (*DeletePrivateEndpointDefault) IsClientError

func (o *DeletePrivateEndpointDefault) IsClientError() bool

IsClientError returns true when this delete private endpoint default response has a 4xx status code

func (*DeletePrivateEndpointDefault) IsCode

func (o *DeletePrivateEndpointDefault) IsCode(code int) bool

IsCode returns true when this delete private endpoint default response a status code equal to that given

func (*DeletePrivateEndpointDefault) IsRedirect

func (o *DeletePrivateEndpointDefault) IsRedirect() bool

IsRedirect returns true when this delete private endpoint default response has a 3xx status code

func (*DeletePrivateEndpointDefault) IsServerError

func (o *DeletePrivateEndpointDefault) IsServerError() bool

IsServerError returns true when this delete private endpoint default response has a 5xx status code

func (*DeletePrivateEndpointDefault) IsSuccess

func (o *DeletePrivateEndpointDefault) IsSuccess() bool

IsSuccess returns true when this delete private endpoint default response has a 2xx status code

func (*DeletePrivateEndpointDefault) String

type DeletePrivateEndpointDefaultBody

type DeletePrivateEndpointDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*DeletePrivateEndpointDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

DeletePrivateEndpointDefaultBody delete private endpoint default body swagger:model DeletePrivateEndpointDefaultBody

func (*DeletePrivateEndpointDefaultBody) ContextValidate

func (o *DeletePrivateEndpointDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete private endpoint default body based on the context it is used

func (*DeletePrivateEndpointDefaultBody) MarshalBinary

func (o *DeletePrivateEndpointDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateEndpointDefaultBody) UnmarshalBinary

func (o *DeletePrivateEndpointDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointDefaultBody) Validate

Validate validates this delete private endpoint default body

type DeletePrivateEndpointDefaultBodyDetailsItems0

type DeletePrivateEndpointDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

DeletePrivateEndpointDefaultBodyDetailsItems0 delete private endpoint default body details items0 swagger:model DeletePrivateEndpointDefaultBodyDetailsItems0

func (*DeletePrivateEndpointDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this delete private endpoint default body details items0 based on context it is used

func (*DeletePrivateEndpointDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*DeletePrivateEndpointDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointDefaultBodyDetailsItems0) Validate

Validate validates this delete private endpoint default body details items0

type DeletePrivateEndpointForbidden

type DeletePrivateEndpointForbidden struct {
	Payload *DeletePrivateEndpointForbiddenBody
}

DeletePrivateEndpointForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewDeletePrivateEndpointForbidden

func NewDeletePrivateEndpointForbidden() *DeletePrivateEndpointForbidden

NewDeletePrivateEndpointForbidden creates a DeletePrivateEndpointForbidden with default headers values

func (*DeletePrivateEndpointForbidden) Code

Code gets the status code for the delete private endpoint forbidden response

func (*DeletePrivateEndpointForbidden) Error

func (*DeletePrivateEndpointForbidden) GetPayload

func (*DeletePrivateEndpointForbidden) IsClientError

func (o *DeletePrivateEndpointForbidden) IsClientError() bool

IsClientError returns true when this delete private endpoint forbidden response has a 4xx status code

func (*DeletePrivateEndpointForbidden) IsCode

func (o *DeletePrivateEndpointForbidden) IsCode(code int) bool

IsCode returns true when this delete private endpoint forbidden response a status code equal to that given

func (*DeletePrivateEndpointForbidden) IsRedirect

func (o *DeletePrivateEndpointForbidden) IsRedirect() bool

IsRedirect returns true when this delete private endpoint forbidden response has a 3xx status code

func (*DeletePrivateEndpointForbidden) IsServerError

func (o *DeletePrivateEndpointForbidden) IsServerError() bool

IsServerError returns true when this delete private endpoint forbidden response has a 5xx status code

func (*DeletePrivateEndpointForbidden) IsSuccess

func (o *DeletePrivateEndpointForbidden) IsSuccess() bool

IsSuccess returns true when this delete private endpoint forbidden response has a 2xx status code

func (*DeletePrivateEndpointForbidden) String

type DeletePrivateEndpointForbiddenBody

type DeletePrivateEndpointForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeletePrivateEndpointForbiddenBody delete private endpoint forbidden body swagger:model DeletePrivateEndpointForbiddenBody

func (*DeletePrivateEndpointForbiddenBody) ContextValidate

func (o *DeletePrivateEndpointForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private endpoint forbidden body based on context it is used

func (*DeletePrivateEndpointForbiddenBody) MarshalBinary

func (o *DeletePrivateEndpointForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateEndpointForbiddenBody) UnmarshalBinary

func (o *DeletePrivateEndpointForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointForbiddenBody) Validate

Validate validates this delete private endpoint forbidden body

type DeletePrivateEndpointInternalServerError

type DeletePrivateEndpointInternalServerError struct {
	Payload *DeletePrivateEndpointInternalServerErrorBody
}

DeletePrivateEndpointInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewDeletePrivateEndpointInternalServerError

func NewDeletePrivateEndpointInternalServerError() *DeletePrivateEndpointInternalServerError

NewDeletePrivateEndpointInternalServerError creates a DeletePrivateEndpointInternalServerError with default headers values

func (*DeletePrivateEndpointInternalServerError) Code

Code gets the status code for the delete private endpoint internal server error response

func (*DeletePrivateEndpointInternalServerError) Error

func (*DeletePrivateEndpointInternalServerError) GetPayload

func (*DeletePrivateEndpointInternalServerError) IsClientError

IsClientError returns true when this delete private endpoint internal server error response has a 4xx status code

func (*DeletePrivateEndpointInternalServerError) IsCode

IsCode returns true when this delete private endpoint internal server error response a status code equal to that given

func (*DeletePrivateEndpointInternalServerError) IsRedirect

IsRedirect returns true when this delete private endpoint internal server error response has a 3xx status code

func (*DeletePrivateEndpointInternalServerError) IsServerError

IsServerError returns true when this delete private endpoint internal server error response has a 5xx status code

func (*DeletePrivateEndpointInternalServerError) IsSuccess

IsSuccess returns true when this delete private endpoint internal server error response has a 2xx status code

func (*DeletePrivateEndpointInternalServerError) String

type DeletePrivateEndpointInternalServerErrorBody

type DeletePrivateEndpointInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeletePrivateEndpointInternalServerErrorBody delete private endpoint internal server error body swagger:model DeletePrivateEndpointInternalServerErrorBody

func (*DeletePrivateEndpointInternalServerErrorBody) ContextValidate

ContextValidate validates this delete private endpoint internal server error body based on context it is used

func (*DeletePrivateEndpointInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*DeletePrivateEndpointInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointInternalServerErrorBody) Validate

Validate validates this delete private endpoint internal server error body

type DeletePrivateEndpointNotFound

type DeletePrivateEndpointNotFound struct {
	Payload *DeletePrivateEndpointNotFoundBody
}

DeletePrivateEndpointNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewDeletePrivateEndpointNotFound

func NewDeletePrivateEndpointNotFound() *DeletePrivateEndpointNotFound

NewDeletePrivateEndpointNotFound creates a DeletePrivateEndpointNotFound with default headers values

func (*DeletePrivateEndpointNotFound) Code

Code gets the status code for the delete private endpoint not found response

func (*DeletePrivateEndpointNotFound) Error

func (*DeletePrivateEndpointNotFound) GetPayload

func (*DeletePrivateEndpointNotFound) IsClientError

func (o *DeletePrivateEndpointNotFound) IsClientError() bool

IsClientError returns true when this delete private endpoint not found response has a 4xx status code

func (*DeletePrivateEndpointNotFound) IsCode

func (o *DeletePrivateEndpointNotFound) IsCode(code int) bool

IsCode returns true when this delete private endpoint not found response a status code equal to that given

func (*DeletePrivateEndpointNotFound) IsRedirect

func (o *DeletePrivateEndpointNotFound) IsRedirect() bool

IsRedirect returns true when this delete private endpoint not found response has a 3xx status code

func (*DeletePrivateEndpointNotFound) IsServerError

func (o *DeletePrivateEndpointNotFound) IsServerError() bool

IsServerError returns true when this delete private endpoint not found response has a 5xx status code

func (*DeletePrivateEndpointNotFound) IsSuccess

func (o *DeletePrivateEndpointNotFound) IsSuccess() bool

IsSuccess returns true when this delete private endpoint not found response has a 2xx status code

func (*DeletePrivateEndpointNotFound) String

type DeletePrivateEndpointNotFoundBody

type DeletePrivateEndpointNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeletePrivateEndpointNotFoundBody delete private endpoint not found body swagger:model DeletePrivateEndpointNotFoundBody

func (*DeletePrivateEndpointNotFoundBody) ContextValidate

func (o *DeletePrivateEndpointNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private endpoint not found body based on context it is used

func (*DeletePrivateEndpointNotFoundBody) MarshalBinary

func (o *DeletePrivateEndpointNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateEndpointNotFoundBody) UnmarshalBinary

func (o *DeletePrivateEndpointNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointNotFoundBody) Validate

Validate validates this delete private endpoint not found body

type DeletePrivateEndpointOK

type DeletePrivateEndpointOK struct {
	Payload interface{}
}

DeletePrivateEndpointOK describes a response with status code 200, with default header values.

A successful response.

func NewDeletePrivateEndpointOK

func NewDeletePrivateEndpointOK() *DeletePrivateEndpointOK

NewDeletePrivateEndpointOK creates a DeletePrivateEndpointOK with default headers values

func (*DeletePrivateEndpointOK) Code

func (o *DeletePrivateEndpointOK) Code() int

Code gets the status code for the delete private endpoint o k response

func (*DeletePrivateEndpointOK) Error

func (o *DeletePrivateEndpointOK) Error() string

func (*DeletePrivateEndpointOK) GetPayload

func (o *DeletePrivateEndpointOK) GetPayload() interface{}

func (*DeletePrivateEndpointOK) IsClientError

func (o *DeletePrivateEndpointOK) IsClientError() bool

IsClientError returns true when this delete private endpoint o k response has a 4xx status code

func (*DeletePrivateEndpointOK) IsCode

func (o *DeletePrivateEndpointOK) IsCode(code int) bool

IsCode returns true when this delete private endpoint o k response a status code equal to that given

func (*DeletePrivateEndpointOK) IsRedirect

func (o *DeletePrivateEndpointOK) IsRedirect() bool

IsRedirect returns true when this delete private endpoint o k response has a 3xx status code

func (*DeletePrivateEndpointOK) IsServerError

func (o *DeletePrivateEndpointOK) IsServerError() bool

IsServerError returns true when this delete private endpoint o k response has a 5xx status code

func (*DeletePrivateEndpointOK) IsSuccess

func (o *DeletePrivateEndpointOK) IsSuccess() bool

IsSuccess returns true when this delete private endpoint o k response has a 2xx status code

func (*DeletePrivateEndpointOK) String

func (o *DeletePrivateEndpointOK) String() string

type DeletePrivateEndpointParams

type DeletePrivateEndpointParams struct {

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* EndpointID.

	   The ID of the private endpoint to be deleted. You can get the ID from the `endpoints.id` field in the response of [List all private endpoints in a project](#tag/Cluster/operation/ListPrivateEndpoints).

	   Format: uint64
	*/
	EndpointID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeletePrivateEndpointParams contains all the parameters to send to the API endpoint

for the delete private endpoint operation.

Typically these are written to a http.Request.

func NewDeletePrivateEndpointParams

func NewDeletePrivateEndpointParams() *DeletePrivateEndpointParams

NewDeletePrivateEndpointParams creates a new DeletePrivateEndpointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePrivateEndpointParamsWithContext

func NewDeletePrivateEndpointParamsWithContext(ctx context.Context) *DeletePrivateEndpointParams

NewDeletePrivateEndpointParamsWithContext creates a new DeletePrivateEndpointParams object with the ability to set a context for a request.

func NewDeletePrivateEndpointParamsWithHTTPClient

func NewDeletePrivateEndpointParamsWithHTTPClient(client *http.Client) *DeletePrivateEndpointParams

NewDeletePrivateEndpointParamsWithHTTPClient creates a new DeletePrivateEndpointParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePrivateEndpointParamsWithTimeout

func NewDeletePrivateEndpointParamsWithTimeout(timeout time.Duration) *DeletePrivateEndpointParams

NewDeletePrivateEndpointParamsWithTimeout creates a new DeletePrivateEndpointParams object with the ability to set a timeout on a request.

func (*DeletePrivateEndpointParams) SetClusterID

func (o *DeletePrivateEndpointParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete private endpoint params

func (*DeletePrivateEndpointParams) SetContext

func (o *DeletePrivateEndpointParams) SetContext(ctx context.Context)

SetContext adds the context to the delete private endpoint params

func (*DeletePrivateEndpointParams) SetDefaults

func (o *DeletePrivateEndpointParams) SetDefaults()

SetDefaults hydrates default values in the delete private endpoint params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePrivateEndpointParams) SetEndpointID

func (o *DeletePrivateEndpointParams) SetEndpointID(endpointID string)

SetEndpointID adds the endpointId to the delete private endpoint params

func (*DeletePrivateEndpointParams) SetHTTPClient

func (o *DeletePrivateEndpointParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete private endpoint params

func (*DeletePrivateEndpointParams) SetProjectID

func (o *DeletePrivateEndpointParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete private endpoint params

func (*DeletePrivateEndpointParams) SetTimeout

func (o *DeletePrivateEndpointParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete private endpoint params

func (*DeletePrivateEndpointParams) WithClusterID

func (o *DeletePrivateEndpointParams) WithClusterID(clusterID string) *DeletePrivateEndpointParams

WithClusterID adds the clusterID to the delete private endpoint params

func (*DeletePrivateEndpointParams) WithContext

WithContext adds the context to the delete private endpoint params

func (*DeletePrivateEndpointParams) WithDefaults

WithDefaults hydrates default values in the delete private endpoint params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePrivateEndpointParams) WithEndpointID

func (o *DeletePrivateEndpointParams) WithEndpointID(endpointID string) *DeletePrivateEndpointParams

WithEndpointID adds the endpointID to the delete private endpoint params

func (*DeletePrivateEndpointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete private endpoint params

func (*DeletePrivateEndpointParams) WithProjectID

func (o *DeletePrivateEndpointParams) WithProjectID(projectID string) *DeletePrivateEndpointParams

WithProjectID adds the projectID to the delete private endpoint params

func (*DeletePrivateEndpointParams) WithTimeout

WithTimeout adds the timeout to the delete private endpoint params

func (*DeletePrivateEndpointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePrivateEndpointReader

type DeletePrivateEndpointReader struct {
	// contains filtered or unexported fields
}

DeletePrivateEndpointReader is a Reader for the DeletePrivateEndpoint structure.

func (*DeletePrivateEndpointReader) ReadResponse

func (o *DeletePrivateEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeletePrivateEndpointTooManyRequests

type DeletePrivateEndpointTooManyRequests struct {
	Payload *DeletePrivateEndpointTooManyRequestsBody
}

DeletePrivateEndpointTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewDeletePrivateEndpointTooManyRequests

func NewDeletePrivateEndpointTooManyRequests() *DeletePrivateEndpointTooManyRequests

NewDeletePrivateEndpointTooManyRequests creates a DeletePrivateEndpointTooManyRequests with default headers values

func (*DeletePrivateEndpointTooManyRequests) Code

Code gets the status code for the delete private endpoint too many requests response

func (*DeletePrivateEndpointTooManyRequests) Error

func (*DeletePrivateEndpointTooManyRequests) GetPayload

func (*DeletePrivateEndpointTooManyRequests) IsClientError

func (o *DeletePrivateEndpointTooManyRequests) IsClientError() bool

IsClientError returns true when this delete private endpoint too many requests response has a 4xx status code

func (*DeletePrivateEndpointTooManyRequests) IsCode

IsCode returns true when this delete private endpoint too many requests response a status code equal to that given

func (*DeletePrivateEndpointTooManyRequests) IsRedirect

IsRedirect returns true when this delete private endpoint too many requests response has a 3xx status code

func (*DeletePrivateEndpointTooManyRequests) IsServerError

func (o *DeletePrivateEndpointTooManyRequests) IsServerError() bool

IsServerError returns true when this delete private endpoint too many requests response has a 5xx status code

func (*DeletePrivateEndpointTooManyRequests) IsSuccess

IsSuccess returns true when this delete private endpoint too many requests response has a 2xx status code

func (*DeletePrivateEndpointTooManyRequests) String

type DeletePrivateEndpointTooManyRequestsBody

type DeletePrivateEndpointTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

DeletePrivateEndpointTooManyRequestsBody delete private endpoint too many requests body swagger:model DeletePrivateEndpointTooManyRequestsBody

func (*DeletePrivateEndpointTooManyRequestsBody) ContextValidate

ContextValidate validates this delete private endpoint too many requests body based on context it is used

func (*DeletePrivateEndpointTooManyRequestsBody) MarshalBinary

func (o *DeletePrivateEndpointTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateEndpointTooManyRequestsBody) UnmarshalBinary

func (o *DeletePrivateEndpointTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateEndpointTooManyRequestsBody) Validate

Validate validates this delete private endpoint too many requests body

type DeletePrivateEndpointUnauthorized

type DeletePrivateEndpointUnauthorized struct {
	Payload interface{}
}

DeletePrivateEndpointUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewDeletePrivateEndpointUnauthorized

func NewDeletePrivateEndpointUnauthorized() *DeletePrivateEndpointUnauthorized

NewDeletePrivateEndpointUnauthorized creates a DeletePrivateEndpointUnauthorized with default headers values

func (*DeletePrivateEndpointUnauthorized) Code

Code gets the status code for the delete private endpoint unauthorized response

func (*DeletePrivateEndpointUnauthorized) Error

func (*DeletePrivateEndpointUnauthorized) GetPayload

func (o *DeletePrivateEndpointUnauthorized) GetPayload() interface{}

func (*DeletePrivateEndpointUnauthorized) IsClientError

func (o *DeletePrivateEndpointUnauthorized) IsClientError() bool

IsClientError returns true when this delete private endpoint unauthorized response has a 4xx status code

func (*DeletePrivateEndpointUnauthorized) IsCode

func (o *DeletePrivateEndpointUnauthorized) IsCode(code int) bool

IsCode returns true when this delete private endpoint unauthorized response a status code equal to that given

func (*DeletePrivateEndpointUnauthorized) IsRedirect

func (o *DeletePrivateEndpointUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete private endpoint unauthorized response has a 3xx status code

func (*DeletePrivateEndpointUnauthorized) IsServerError

func (o *DeletePrivateEndpointUnauthorized) IsServerError() bool

IsServerError returns true when this delete private endpoint unauthorized response has a 5xx status code

func (*DeletePrivateEndpointUnauthorized) IsSuccess

func (o *DeletePrivateEndpointUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete private endpoint unauthorized response has a 2xx status code

func (*DeletePrivateEndpointUnauthorized) String

type GetClusterBadRequest

type GetClusterBadRequest struct {
	Payload *GetClusterBadRequestBody
}

GetClusterBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewGetClusterBadRequest

func NewGetClusterBadRequest() *GetClusterBadRequest

NewGetClusterBadRequest creates a GetClusterBadRequest with default headers values

func (*GetClusterBadRequest) Code

func (o *GetClusterBadRequest) Code() int

Code gets the status code for the get cluster bad request response

func (*GetClusterBadRequest) Error

func (o *GetClusterBadRequest) Error() string

func (*GetClusterBadRequest) GetPayload

func (*GetClusterBadRequest) IsClientError

func (o *GetClusterBadRequest) IsClientError() bool

IsClientError returns true when this get cluster bad request response has a 4xx status code

func (*GetClusterBadRequest) IsCode

func (o *GetClusterBadRequest) IsCode(code int) bool

IsCode returns true when this get cluster bad request response a status code equal to that given

func (*GetClusterBadRequest) IsRedirect

func (o *GetClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this get cluster bad request response has a 3xx status code

func (*GetClusterBadRequest) IsServerError

func (o *GetClusterBadRequest) IsServerError() bool

IsServerError returns true when this get cluster bad request response has a 5xx status code

func (*GetClusterBadRequest) IsSuccess

func (o *GetClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this get cluster bad request response has a 2xx status code

func (*GetClusterBadRequest) String

func (o *GetClusterBadRequest) String() string

type GetClusterBadRequestBody

type GetClusterBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetClusterBadRequestBody get cluster bad request body swagger:model GetClusterBadRequestBody

func (*GetClusterBadRequestBody) ContextValidate

func (o *GetClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster bad request body based on context it is used

func (*GetClusterBadRequestBody) MarshalBinary

func (o *GetClusterBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterBadRequestBody) UnmarshalBinary

func (o *GetClusterBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterBadRequestBody) Validate

func (o *GetClusterBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this get cluster bad request body

type GetClusterDefault

type GetClusterDefault struct {
	Payload *GetClusterDefaultBody
	// contains filtered or unexported fields
}

GetClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetClusterDefault

func NewGetClusterDefault(code int) *GetClusterDefault

NewGetClusterDefault creates a GetClusterDefault with default headers values

func (*GetClusterDefault) Code

func (o *GetClusterDefault) Code() int

Code gets the status code for the get cluster default response

func (*GetClusterDefault) Error

func (o *GetClusterDefault) Error() string

func (*GetClusterDefault) GetPayload

func (o *GetClusterDefault) GetPayload() *GetClusterDefaultBody

func (*GetClusterDefault) IsClientError

func (o *GetClusterDefault) IsClientError() bool

IsClientError returns true when this get cluster default response has a 4xx status code

func (*GetClusterDefault) IsCode

func (o *GetClusterDefault) IsCode(code int) bool

IsCode returns true when this get cluster default response a status code equal to that given

func (*GetClusterDefault) IsRedirect

func (o *GetClusterDefault) IsRedirect() bool

IsRedirect returns true when this get cluster default response has a 3xx status code

func (*GetClusterDefault) IsServerError

func (o *GetClusterDefault) IsServerError() bool

IsServerError returns true when this get cluster default response has a 5xx status code

func (*GetClusterDefault) IsSuccess

func (o *GetClusterDefault) IsSuccess() bool

IsSuccess returns true when this get cluster default response has a 2xx status code

func (*GetClusterDefault) String

func (o *GetClusterDefault) String() string

type GetClusterDefaultBody

type GetClusterDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*GetClusterDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

GetClusterDefaultBody get cluster default body swagger:model GetClusterDefaultBody

func (*GetClusterDefaultBody) ContextValidate

func (o *GetClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get cluster default body based on the context it is used

func (*GetClusterDefaultBody) MarshalBinary

func (o *GetClusterDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterDefaultBody) UnmarshalBinary

func (o *GetClusterDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterDefaultBody) Validate

func (o *GetClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this get cluster default body

type GetClusterDefaultBodyDetailsItems0

type GetClusterDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

GetClusterDefaultBodyDetailsItems0 get cluster default body details items0 swagger:model GetClusterDefaultBodyDetailsItems0

func (*GetClusterDefaultBodyDetailsItems0) ContextValidate

func (o *GetClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster default body details items0 based on context it is used

func (*GetClusterDefaultBodyDetailsItems0) MarshalBinary

func (o *GetClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterDefaultBodyDetailsItems0) UnmarshalBinary

func (o *GetClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterDefaultBodyDetailsItems0) Validate

Validate validates this get cluster default body details items0

type GetClusterForbidden

type GetClusterForbidden struct {
	Payload *GetClusterForbiddenBody
}

GetClusterForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewGetClusterForbidden

func NewGetClusterForbidden() *GetClusterForbidden

NewGetClusterForbidden creates a GetClusterForbidden with default headers values

func (*GetClusterForbidden) Code

func (o *GetClusterForbidden) Code() int

Code gets the status code for the get cluster forbidden response

func (*GetClusterForbidden) Error

func (o *GetClusterForbidden) Error() string

func (*GetClusterForbidden) GetPayload

func (*GetClusterForbidden) IsClientError

func (o *GetClusterForbidden) IsClientError() bool

IsClientError returns true when this get cluster forbidden response has a 4xx status code

func (*GetClusterForbidden) IsCode

func (o *GetClusterForbidden) IsCode(code int) bool

IsCode returns true when this get cluster forbidden response a status code equal to that given

func (*GetClusterForbidden) IsRedirect

func (o *GetClusterForbidden) IsRedirect() bool

IsRedirect returns true when this get cluster forbidden response has a 3xx status code

func (*GetClusterForbidden) IsServerError

func (o *GetClusterForbidden) IsServerError() bool

IsServerError returns true when this get cluster forbidden response has a 5xx status code

func (*GetClusterForbidden) IsSuccess

func (o *GetClusterForbidden) IsSuccess() bool

IsSuccess returns true when this get cluster forbidden response has a 2xx status code

func (*GetClusterForbidden) String

func (o *GetClusterForbidden) String() string

type GetClusterForbiddenBody

type GetClusterForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetClusterForbiddenBody get cluster forbidden body swagger:model GetClusterForbiddenBody

func (*GetClusterForbiddenBody) ContextValidate

func (o *GetClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster forbidden body based on context it is used

func (*GetClusterForbiddenBody) MarshalBinary

func (o *GetClusterForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterForbiddenBody) UnmarshalBinary

func (o *GetClusterForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterForbiddenBody) Validate

func (o *GetClusterForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this get cluster forbidden body

type GetClusterInternalServerError

type GetClusterInternalServerError struct {
	Payload *GetClusterInternalServerErrorBody
}

GetClusterInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewGetClusterInternalServerError

func NewGetClusterInternalServerError() *GetClusterInternalServerError

NewGetClusterInternalServerError creates a GetClusterInternalServerError with default headers values

func (*GetClusterInternalServerError) Code

Code gets the status code for the get cluster internal server error response

func (*GetClusterInternalServerError) Error

func (*GetClusterInternalServerError) GetPayload

func (*GetClusterInternalServerError) IsClientError

func (o *GetClusterInternalServerError) IsClientError() bool

IsClientError returns true when this get cluster internal server error response has a 4xx status code

func (*GetClusterInternalServerError) IsCode

func (o *GetClusterInternalServerError) IsCode(code int) bool

IsCode returns true when this get cluster internal server error response a status code equal to that given

func (*GetClusterInternalServerError) IsRedirect

func (o *GetClusterInternalServerError) IsRedirect() bool

IsRedirect returns true when this get cluster internal server error response has a 3xx status code

func (*GetClusterInternalServerError) IsServerError

func (o *GetClusterInternalServerError) IsServerError() bool

IsServerError returns true when this get cluster internal server error response has a 5xx status code

func (*GetClusterInternalServerError) IsSuccess

func (o *GetClusterInternalServerError) IsSuccess() bool

IsSuccess returns true when this get cluster internal server error response has a 2xx status code

func (*GetClusterInternalServerError) String

type GetClusterInternalServerErrorBody

type GetClusterInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetClusterInternalServerErrorBody get cluster internal server error body swagger:model GetClusterInternalServerErrorBody

func (*GetClusterInternalServerErrorBody) ContextValidate

func (o *GetClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster internal server error body based on context it is used

func (*GetClusterInternalServerErrorBody) MarshalBinary

func (o *GetClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterInternalServerErrorBody) UnmarshalBinary

func (o *GetClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterInternalServerErrorBody) Validate

Validate validates this get cluster internal server error body

type GetClusterNotFound

type GetClusterNotFound struct {
	Payload *GetClusterNotFoundBody
}

GetClusterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewGetClusterNotFound

func NewGetClusterNotFound() *GetClusterNotFound

NewGetClusterNotFound creates a GetClusterNotFound with default headers values

func (*GetClusterNotFound) Code

func (o *GetClusterNotFound) Code() int

Code gets the status code for the get cluster not found response

func (*GetClusterNotFound) Error

func (o *GetClusterNotFound) Error() string

func (*GetClusterNotFound) GetPayload

func (o *GetClusterNotFound) GetPayload() *GetClusterNotFoundBody

func (*GetClusterNotFound) IsClientError

func (o *GetClusterNotFound) IsClientError() bool

IsClientError returns true when this get cluster not found response has a 4xx status code

func (*GetClusterNotFound) IsCode

func (o *GetClusterNotFound) IsCode(code int) bool

IsCode returns true when this get cluster not found response a status code equal to that given

func (*GetClusterNotFound) IsRedirect

func (o *GetClusterNotFound) IsRedirect() bool

IsRedirect returns true when this get cluster not found response has a 3xx status code

func (*GetClusterNotFound) IsServerError

func (o *GetClusterNotFound) IsServerError() bool

IsServerError returns true when this get cluster not found response has a 5xx status code

func (*GetClusterNotFound) IsSuccess

func (o *GetClusterNotFound) IsSuccess() bool

IsSuccess returns true when this get cluster not found response has a 2xx status code

func (*GetClusterNotFound) String

func (o *GetClusterNotFound) String() string

type GetClusterNotFoundBody

type GetClusterNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetClusterNotFoundBody get cluster not found body swagger:model GetClusterNotFoundBody

func (*GetClusterNotFoundBody) ContextValidate

func (o *GetClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster not found body based on context it is used

func (*GetClusterNotFoundBody) MarshalBinary

func (o *GetClusterNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterNotFoundBody) UnmarshalBinary

func (o *GetClusterNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterNotFoundBody) Validate

func (o *GetClusterNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this get cluster not found body

type GetClusterOK

type GetClusterOK struct {
	Payload *GetClusterOKBody
}

GetClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewGetClusterOK

func NewGetClusterOK() *GetClusterOK

NewGetClusterOK creates a GetClusterOK with default headers values

func (*GetClusterOK) Code

func (o *GetClusterOK) Code() int

Code gets the status code for the get cluster o k response

func (*GetClusterOK) Error

func (o *GetClusterOK) Error() string

func (*GetClusterOK) GetPayload

func (o *GetClusterOK) GetPayload() *GetClusterOKBody

func (*GetClusterOK) IsClientError

func (o *GetClusterOK) IsClientError() bool

IsClientError returns true when this get cluster o k response has a 4xx status code

func (*GetClusterOK) IsCode

func (o *GetClusterOK) IsCode(code int) bool

IsCode returns true when this get cluster o k response a status code equal to that given

func (*GetClusterOK) IsRedirect

func (o *GetClusterOK) IsRedirect() bool

IsRedirect returns true when this get cluster o k response has a 3xx status code

func (*GetClusterOK) IsServerError

func (o *GetClusterOK) IsServerError() bool

IsServerError returns true when this get cluster o k response has a 5xx status code

func (*GetClusterOK) IsSuccess

func (o *GetClusterOK) IsSuccess() bool

IsSuccess returns true when this get cluster o k response has a 2xx status code

func (*GetClusterOK) String

func (o *GetClusterOK) String() string

type GetClusterOKBody

type GetClusterOKBody struct {

	// The cloud provider on which your TiDB cluster is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// The cluster type:
	// - `"DEVELOPER"`: a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster
	// - `"DEDICATED"`: a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster
	//
	// **Warning:** `"DEVELOPER"` will soon be changed to `"SERVERLESS"` to represent TiDB Serverless clusters.
	// Example: DEDICATED
	// Enum: [DEDICATED DEVELOPER]
	ClusterType string `json:"cluster_type,omitempty"`

	// config
	Config *GetClusterOKBodyConfig `json:"config,omitempty"`

	// The creation time of the cluster in Unix timestamp seconds (epoch time).
	// Example: 1656991448
	CreateTimestamp string `json:"create_timestamp,omitempty"`

	// The ID of the cluster.
	// Example: 1
	// Required: true
	ID *string `json:"id"`

	// The name of the cluster.
	// Example: Cluster0
	// Pattern: ^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$
	Name string `json:"name,omitempty"`

	// The ID of the project.
	// Example: 1
	// Required: true
	ProjectID *string `json:"project_id"`

	// Region of the cluster.
	// Example: us-west-2
	Region string `json:"region,omitempty"`

	// status
	Status *GetClusterOKBodyStatus `json:"status,omitempty"`
}

GetClusterOKBody ClusterItem // // ClusterItem is the information of cluster. swagger:model GetClusterOKBody

func (*GetClusterOKBody) ContextValidate

func (o *GetClusterOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get cluster o k body based on the context it is used

func (*GetClusterOKBody) MarshalBinary

func (o *GetClusterOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBody) UnmarshalBinary

func (o *GetClusterOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBody) Validate

func (o *GetClusterOKBody) Validate(formats strfmt.Registry) error

Validate validates this get cluster o k body

type GetClusterOKBodyConfig

type GetClusterOKBodyConfig struct {

	// components
	Components *GetClusterOKBodyConfigComponents `json:"components,omitempty"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`
}

GetClusterOKBodyConfig The configuration of the cluster. // Example: {"components":{"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}},"port":4000} swagger:model GetClusterOKBodyConfig

func (*GetClusterOKBodyConfig) ContextValidate

func (o *GetClusterOKBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get cluster o k body config based on the context it is used

func (*GetClusterOKBodyConfig) MarshalBinary

func (o *GetClusterOKBodyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyConfig) UnmarshalBinary

func (o *GetClusterOKBodyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyConfig) Validate

func (o *GetClusterOKBodyConfig) Validate(formats strfmt.Registry) error

Validate validates this get cluster o k body config

type GetClusterOKBodyConfigComponents

type GetClusterOKBodyConfigComponents struct {

	// tidb
	// Required: true
	Tidb *GetClusterOKBodyConfigComponentsTidb `json:"tidb"`

	// tiflash
	Tiflash *GetClusterOKBodyConfigComponentsTiflash `json:"tiflash,omitempty"`

	// tikv
	// Required: true
	Tikv *GetClusterOKBodyConfigComponentsTikv `json:"tikv"`
}

GetClusterOKBodyConfigComponents The components of the cluster. // Example: {"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}} swagger:model GetClusterOKBodyConfigComponents

func (*GetClusterOKBodyConfigComponents) ContextValidate

func (o *GetClusterOKBodyConfigComponents) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get cluster o k body config components based on the context it is used

func (*GetClusterOKBodyConfigComponents) MarshalBinary

func (o *GetClusterOKBodyConfigComponents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponents) UnmarshalBinary

func (o *GetClusterOKBodyConfigComponents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponents) Validate

Validate validates this get cluster o k body config components

type GetClusterOKBodyConfigComponentsTidb

type GetClusterOKBodyConfigComponentsTidb struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// Example: 2
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C16G
	// Required: true
	NodeSize *string `json:"node_size"`
}

GetClusterOKBodyConfigComponentsTidb The TiDB component of the cluster. swagger:model GetClusterOKBodyConfigComponentsTidb

func (*GetClusterOKBodyConfigComponentsTidb) ContextValidate

func (o *GetClusterOKBodyConfigComponentsTidb) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster o k body config components tidb based on context it is used

func (*GetClusterOKBodyConfigComponentsTidb) MarshalBinary

func (o *GetClusterOKBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponentsTidb) UnmarshalBinary

func (o *GetClusterOKBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponentsTidb) Validate

Validate validates this get cluster o k body config components tidb

type GetClusterOKBodyConfigComponentsTiflash

type GetClusterOKBodyConfigComponentsTiflash struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 1
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C64G
	// Required: true
	NodeSize *string `json:"node_size"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// Example: 1024
	// Required: true
	StorageSizeGib *int32 `json:"storage_size_gib"`
}

GetClusterOKBodyConfigComponentsTiflash The TiFlash component of the cluster. swagger:model GetClusterOKBodyConfigComponentsTiflash

func (*GetClusterOKBodyConfigComponentsTiflash) ContextValidate

ContextValidate validates this get cluster o k body config components tiflash based on context it is used

func (*GetClusterOKBodyConfigComponentsTiflash) MarshalBinary

func (o *GetClusterOKBodyConfigComponentsTiflash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponentsTiflash) UnmarshalBinary

func (o *GetClusterOKBodyConfigComponentsTiflash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponentsTiflash) Validate

Validate validates this get cluster o k body config components tiflash

type GetClusterOKBodyConfigComponentsTikv

type GetClusterOKBodyConfigComponentsTikv struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Limitations**:
	// - The `node_quantity` of TiKV must be a multiple of 3.
	// Example: 3
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C64G
	// Required: true
	NodeSize *string `json:"node_size"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 1024
	// Required: true
	StorageSizeGib *int32 `json:"storage_size_gib"`
}

GetClusterOKBodyConfigComponentsTikv The TiKV component of the cluster. swagger:model GetClusterOKBodyConfigComponentsTikv

func (*GetClusterOKBodyConfigComponentsTikv) ContextValidate

func (o *GetClusterOKBodyConfigComponentsTikv) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster o k body config components tikv based on context it is used

func (*GetClusterOKBodyConfigComponentsTikv) MarshalBinary

func (o *GetClusterOKBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponentsTikv) UnmarshalBinary

func (o *GetClusterOKBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyConfigComponentsTikv) Validate

Validate validates this get cluster o k body config components tikv

type GetClusterOKBodyStatus

type GetClusterOKBodyStatus struct {

	// Status of the cluster.
	// Example: AVAILABLE
	// Enum: [AVAILABLE CREATING MODIFYING PAUSED RESUMING UNAVAILABLE IMPORTING MAINTAINING PAUSING]
	ClusterStatus string `json:"cluster_status,omitempty"`

	// connection strings
	ConnectionStrings *GetClusterOKBodyStatusConnectionStrings `json:"connection_strings,omitempty"`

	// node map
	NodeMap *GetClusterOKBodyStatusNodeMap `json:"node_map,omitempty"`

	// TiDB version.
	// Example: v6.1.0
	TidbVersion string `json:"tidb_version,omitempty"`
}

GetClusterOKBodyStatus ClusterItemStatus // // The status of the cluster. swagger:model GetClusterOKBodyStatus

func (*GetClusterOKBodyStatus) ContextValidate

func (o *GetClusterOKBodyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get cluster o k body status based on the context it is used

func (*GetClusterOKBodyStatus) MarshalBinary

func (o *GetClusterOKBodyStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyStatus) UnmarshalBinary

func (o *GetClusterOKBodyStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatus) Validate

func (o *GetClusterOKBodyStatus) Validate(formats strfmt.Registry) error

Validate validates this get cluster o k body status

type GetClusterOKBodyStatusConnectionStrings

type GetClusterOKBodyStatusConnectionStrings struct {

	// The default TiDB user for connection.
	// Example: root
	DefaultUser string `json:"default_user,omitempty"`

	// standard
	Standard *GetClusterOKBodyStatusConnectionStringsStandard `json:"standard,omitempty"`

	// vpc peering
	VpcPeering *GetClusterOKBodyStatusConnectionStringsVpcPeering `json:"vpc_peering,omitempty"`
}

GetClusterOKBodyStatusConnectionStrings Connection strings. swagger:model GetClusterOKBodyStatusConnectionStrings

func (*GetClusterOKBodyStatusConnectionStrings) ContextValidate

ContextValidate validate this get cluster o k body status connection strings based on the context it is used

func (*GetClusterOKBodyStatusConnectionStrings) MarshalBinary

func (o *GetClusterOKBodyStatusConnectionStrings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusConnectionStrings) UnmarshalBinary

func (o *GetClusterOKBodyStatusConnectionStrings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusConnectionStrings) Validate

Validate validates this get cluster o k body status connection strings

type GetClusterOKBodyStatusConnectionStringsStandard

type GetClusterOKBodyStatusConnectionStringsStandard struct {

	// The host of standard connection.
	// Example: tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com
	Host string `json:"host,omitempty"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	//
	// **Limitations**:
	// - For a TiDB Serverless cluster, only port `4000` is available.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`
}

GetClusterOKBodyStatusConnectionStringsStandard Standard connection string. // // You must configure the [IP Access List](https://docs.pingcap.com/tidbcloud/connect-to-tidb-cluster#connect-via-standard-connection) for the cluster you created on [TiDB Cloud console](https://tidbcloud.com/) before connecting to this connection string. swagger:model GetClusterOKBodyStatusConnectionStringsStandard

func (*GetClusterOKBodyStatusConnectionStringsStandard) ContextValidate

ContextValidate validates this get cluster o k body status connection strings standard based on context it is used

func (*GetClusterOKBodyStatusConnectionStringsStandard) MarshalBinary

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusConnectionStringsStandard) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusConnectionStringsStandard) Validate

Validate validates this get cluster o k body status connection strings standard

type GetClusterOKBodyStatusConnectionStringsVpcPeering

type GetClusterOKBodyStatusConnectionStringsVpcPeering struct {

	// The host of VPC peering connection.
	// Example: private-tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com
	Host string `json:"host,omitempty"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	//
	// **Limitations**:
	// - For a TiDB Serverless cluster, only port `4000` is available.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`
}

GetClusterOKBodyStatusConnectionStringsVpcPeering [VPC peering](https://docs.pingcap.com/tidbcloud/tidb-cloud-glossary#vpc-peering) connection string. // // You must [Set up VPC peering connections](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections) for the project before connecting to this private connection string. swagger:model GetClusterOKBodyStatusConnectionStringsVpcPeering

func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) ContextValidate

ContextValidate validates this get cluster o k body status connection strings vpc peering based on context it is used

func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) MarshalBinary

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusConnectionStringsVpcPeering) Validate

Validate validates this get cluster o k body status connection strings vpc peering

type GetClusterOKBodyStatusNodeMap

type GetClusterOKBodyStatusNodeMap struct {

	// TiDB node map.
	// Example: [{"availability_zone":"us-west-2a","node_name":"tidb-0","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tidb-1","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8}]
	// Required: true
	Tidb []*GetClusterOKBodyStatusNodeMapTidbItems0 `json:"tidb"`

	// TiFlash node map.
	// Example: [{"availability_zone":"us-west-2a","node_name":"tiflash-0","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tiflash-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}]
	Tiflash []*GetClusterOKBodyStatusNodeMapTiflashItems0 `json:"tiflash"`

	// TiKV node map.
	// Example: [{"availability_zone":"us-west-2a","node_name":"tikv-0","node_size":"8C32G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tikv-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2c","node_name":"tikv-2","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}]
	// Required: true
	Tikv []*GetClusterOKBodyStatusNodeMapTikvItems0 `json:"tikv"`
}

GetClusterOKBodyStatusNodeMap Node map. The `node_map` is returned only when the `cluster_status` is `"AVAILABLE"` or `"MODIFYING"`. swagger:model GetClusterOKBodyStatusNodeMap

func (*GetClusterOKBodyStatusNodeMap) ContextValidate

func (o *GetClusterOKBodyStatusNodeMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get cluster o k body status node map based on the context it is used

func (*GetClusterOKBodyStatusNodeMap) MarshalBinary

func (o *GetClusterOKBodyStatusNodeMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMap) UnmarshalBinary

func (o *GetClusterOKBodyStatusNodeMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMap) Validate

func (o *GetClusterOKBodyStatusNodeMap) Validate(formats strfmt.Registry) error

Validate validates this get cluster o k body status node map

type GetClusterOKBodyStatusNodeMapTidbItems0

type GetClusterOKBodyStatusNodeMapTidbItems0 struct {

	// The availability zone of a node in the cluster.
	// Example: us-west-2a
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// The name of a node in the cluster.
	// Example: tidb-0
	NodeName string `json:"node_name,omitempty"`

	// The size of the TiDB component in the cluster.
	// Example: 8C16G
	NodeSize string `json:"node_size,omitempty"`

	// The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0.
	// Example: 17179869184
	RAMBytes string `json:"ram_bytes,omitempty"`

	// The status of a node in the cluster.
	// Example: NODE_STATUS_AVAILABLE
	// Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING]
	Status string `json:"status,omitempty"`

	// The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0.
	// Example: 8
	VcpuNum int32 `json:"vcpu_num,omitempty"`
}

GetClusterOKBodyStatusNodeMapTidbItems0 get cluster o k body status node map tidb items0 swagger:model GetClusterOKBodyStatusNodeMapTidbItems0

func (*GetClusterOKBodyStatusNodeMapTidbItems0) ContextValidate

ContextValidate validates this get cluster o k body status node map tidb items0 based on context it is used

func (*GetClusterOKBodyStatusNodeMapTidbItems0) MarshalBinary

func (o *GetClusterOKBodyStatusNodeMapTidbItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMapTidbItems0) UnmarshalBinary

func (o *GetClusterOKBodyStatusNodeMapTidbItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMapTidbItems0) Validate

Validate validates this get cluster o k body status node map tidb items0

type GetClusterOKBodyStatusNodeMapTiflashItems0

type GetClusterOKBodyStatusNodeMapTiflashItems0 struct {

	// The availability zone of a node in the cluster.
	// Example: us-west-2a
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// The name of a node in the cluster.
	// Example: tiflash-0
	NodeName string `json:"node_name,omitempty"`

	// The size of the TiFlash component in the cluster.
	// Example: 8C64G
	NodeSize string `json:"node_size,omitempty"`

	// The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0.
	// Example: 68719476736
	RAMBytes string `json:"ram_bytes,omitempty"`

	// The status of a node in the cluster.
	// Example: NODE_STATUS_AVAILABLE
	// Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING]
	Status string `json:"status,omitempty"`

	// The storage size of a node in the cluster.
	// Example: 1024
	StorageSizeGib int32 `json:"storage_size_gib,omitempty"`

	// The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0.
	// Example: 8
	VcpuNum int32 `json:"vcpu_num,omitempty"`
}

GetClusterOKBodyStatusNodeMapTiflashItems0 get cluster o k body status node map tiflash items0 swagger:model GetClusterOKBodyStatusNodeMapTiflashItems0

func (*GetClusterOKBodyStatusNodeMapTiflashItems0) ContextValidate

ContextValidate validates this get cluster o k body status node map tiflash items0 based on context it is used

func (*GetClusterOKBodyStatusNodeMapTiflashItems0) MarshalBinary

func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMapTiflashItems0) UnmarshalBinary

func (o *GetClusterOKBodyStatusNodeMapTiflashItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMapTiflashItems0) Validate

Validate validates this get cluster o k body status node map tiflash items0

type GetClusterOKBodyStatusNodeMapTikvItems0

type GetClusterOKBodyStatusNodeMapTikvItems0 struct {

	// The availability zone of a node in the cluster.
	// Example: us-west-2a
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// The name of a node in the cluster.
	// Example: tikv-0
	NodeName string `json:"node_name,omitempty"`

	// The size of the TiKV component in the cluster.
	// Example: 8C32G
	NodeSize string `json:"node_size,omitempty"`

	// The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0.
	// Example: 68719476736
	RAMBytes string `json:"ram_bytes,omitempty"`

	// The status of a node in the cluster.
	// Example: NODE_STATUS_AVAILABLE
	// Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING]
	Status string `json:"status,omitempty"`

	// The storage size of a node in the cluster.
	// Example: 1024
	StorageSizeGib int32 `json:"storage_size_gib,omitempty"`

	// The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0.
	// Example: 8
	VcpuNum int32 `json:"vcpu_num,omitempty"`
}

GetClusterOKBodyStatusNodeMapTikvItems0 get cluster o k body status node map tikv items0 swagger:model GetClusterOKBodyStatusNodeMapTikvItems0

func (*GetClusterOKBodyStatusNodeMapTikvItems0) ContextValidate

ContextValidate validates this get cluster o k body status node map tikv items0 based on context it is used

func (*GetClusterOKBodyStatusNodeMapTikvItems0) MarshalBinary

func (o *GetClusterOKBodyStatusNodeMapTikvItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMapTikvItems0) UnmarshalBinary

func (o *GetClusterOKBodyStatusNodeMapTikvItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterOKBodyStatusNodeMapTikvItems0) Validate

Validate validates this get cluster o k body status node map tikv items0

type GetClusterParams

type GetClusterParams struct {

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterParams contains all the parameters to send to the API endpoint

for the get cluster operation.

Typically these are written to a http.Request.

func NewGetClusterParams

func NewGetClusterParams() *GetClusterParams

NewGetClusterParams creates a new GetClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterParamsWithContext

func NewGetClusterParamsWithContext(ctx context.Context) *GetClusterParams

NewGetClusterParamsWithContext creates a new GetClusterParams object with the ability to set a context for a request.

func NewGetClusterParamsWithHTTPClient

func NewGetClusterParamsWithHTTPClient(client *http.Client) *GetClusterParams

NewGetClusterParamsWithHTTPClient creates a new GetClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterParamsWithTimeout

func NewGetClusterParamsWithTimeout(timeout time.Duration) *GetClusterParams

NewGetClusterParamsWithTimeout creates a new GetClusterParams object with the ability to set a timeout on a request.

func (*GetClusterParams) SetClusterID

func (o *GetClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get cluster params

func (*GetClusterParams) SetContext

func (o *GetClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster params

func (*GetClusterParams) SetDefaults

func (o *GetClusterParams) SetDefaults()

SetDefaults hydrates default values in the get cluster params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterParams) SetHTTPClient

func (o *GetClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) SetProjectID

func (o *GetClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get cluster params

func (*GetClusterParams) SetTimeout

func (o *GetClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WithClusterID

func (o *GetClusterParams) WithClusterID(clusterID string) *GetClusterParams

WithClusterID adds the clusterID to the get cluster params

func (*GetClusterParams) WithContext

func (o *GetClusterParams) WithContext(ctx context.Context) *GetClusterParams

WithContext adds the context to the get cluster params

func (*GetClusterParams) WithDefaults

func (o *GetClusterParams) WithDefaults() *GetClusterParams

WithDefaults hydrates default values in the get cluster params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterParams) WithHTTPClient

func (o *GetClusterParams) WithHTTPClient(client *http.Client) *GetClusterParams

WithHTTPClient adds the HTTPClient to the get cluster params

func (*GetClusterParams) WithProjectID

func (o *GetClusterParams) WithProjectID(projectID string) *GetClusterParams

WithProjectID adds the projectID to the get cluster params

func (*GetClusterParams) WithTimeout

func (o *GetClusterParams) WithTimeout(timeout time.Duration) *GetClusterParams

WithTimeout adds the timeout to the get cluster params

func (*GetClusterParams) WriteToRequest

func (o *GetClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetClusterReader

type GetClusterReader struct {
	// contains filtered or unexported fields
}

GetClusterReader is a Reader for the GetCluster structure.

func (*GetClusterReader) ReadResponse

func (o *GetClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetClusterTooManyRequests

type GetClusterTooManyRequests struct {
	Payload *GetClusterTooManyRequestsBody
}

GetClusterTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewGetClusterTooManyRequests

func NewGetClusterTooManyRequests() *GetClusterTooManyRequests

NewGetClusterTooManyRequests creates a GetClusterTooManyRequests with default headers values

func (*GetClusterTooManyRequests) Code

func (o *GetClusterTooManyRequests) Code() int

Code gets the status code for the get cluster too many requests response

func (*GetClusterTooManyRequests) Error

func (o *GetClusterTooManyRequests) Error() string

func (*GetClusterTooManyRequests) GetPayload

func (*GetClusterTooManyRequests) IsClientError

func (o *GetClusterTooManyRequests) IsClientError() bool

IsClientError returns true when this get cluster too many requests response has a 4xx status code

func (*GetClusterTooManyRequests) IsCode

func (o *GetClusterTooManyRequests) IsCode(code int) bool

IsCode returns true when this get cluster too many requests response a status code equal to that given

func (*GetClusterTooManyRequests) IsRedirect

func (o *GetClusterTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get cluster too many requests response has a 3xx status code

func (*GetClusterTooManyRequests) IsServerError

func (o *GetClusterTooManyRequests) IsServerError() bool

IsServerError returns true when this get cluster too many requests response has a 5xx status code

func (*GetClusterTooManyRequests) IsSuccess

func (o *GetClusterTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get cluster too many requests response has a 2xx status code

func (*GetClusterTooManyRequests) String

func (o *GetClusterTooManyRequests) String() string

type GetClusterTooManyRequestsBody

type GetClusterTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetClusterTooManyRequestsBody get cluster too many requests body swagger:model GetClusterTooManyRequestsBody

func (*GetClusterTooManyRequestsBody) ContextValidate

func (o *GetClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get cluster too many requests body based on context it is used

func (*GetClusterTooManyRequestsBody) MarshalBinary

func (o *GetClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetClusterTooManyRequestsBody) UnmarshalBinary

func (o *GetClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetClusterTooManyRequestsBody) Validate

func (o *GetClusterTooManyRequestsBody) Validate(formats strfmt.Registry) error

Validate validates this get cluster too many requests body

type GetClusterUnauthorized

type GetClusterUnauthorized struct {
	Payload interface{}
}

GetClusterUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewGetClusterUnauthorized

func NewGetClusterUnauthorized() *GetClusterUnauthorized

NewGetClusterUnauthorized creates a GetClusterUnauthorized with default headers values

func (*GetClusterUnauthorized) Code

func (o *GetClusterUnauthorized) Code() int

Code gets the status code for the get cluster unauthorized response

func (*GetClusterUnauthorized) Error

func (o *GetClusterUnauthorized) Error() string

func (*GetClusterUnauthorized) GetPayload

func (o *GetClusterUnauthorized) GetPayload() interface{}

func (*GetClusterUnauthorized) IsClientError

func (o *GetClusterUnauthorized) IsClientError() bool

IsClientError returns true when this get cluster unauthorized response has a 4xx status code

func (*GetClusterUnauthorized) IsCode

func (o *GetClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this get cluster unauthorized response a status code equal to that given

func (*GetClusterUnauthorized) IsRedirect

func (o *GetClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this get cluster unauthorized response has a 3xx status code

func (*GetClusterUnauthorized) IsServerError

func (o *GetClusterUnauthorized) IsServerError() bool

IsServerError returns true when this get cluster unauthorized response has a 5xx status code

func (*GetClusterUnauthorized) IsSuccess

func (o *GetClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this get cluster unauthorized response has a 2xx status code

func (*GetClusterUnauthorized) String

func (o *GetClusterUnauthorized) String() string

type GetPrivateEndpointServiceBadRequest

type GetPrivateEndpointServiceBadRequest struct {
	Payload *GetPrivateEndpointServiceBadRequestBody
}

GetPrivateEndpointServiceBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewGetPrivateEndpointServiceBadRequest

func NewGetPrivateEndpointServiceBadRequest() *GetPrivateEndpointServiceBadRequest

NewGetPrivateEndpointServiceBadRequest creates a GetPrivateEndpointServiceBadRequest with default headers values

func (*GetPrivateEndpointServiceBadRequest) Code

Code gets the status code for the get private endpoint service bad request response

func (*GetPrivateEndpointServiceBadRequest) Error

func (*GetPrivateEndpointServiceBadRequest) GetPayload

func (*GetPrivateEndpointServiceBadRequest) IsClientError

func (o *GetPrivateEndpointServiceBadRequest) IsClientError() bool

IsClientError returns true when this get private endpoint service bad request response has a 4xx status code

func (*GetPrivateEndpointServiceBadRequest) IsCode

IsCode returns true when this get private endpoint service bad request response a status code equal to that given

func (*GetPrivateEndpointServiceBadRequest) IsRedirect

func (o *GetPrivateEndpointServiceBadRequest) IsRedirect() bool

IsRedirect returns true when this get private endpoint service bad request response has a 3xx status code

func (*GetPrivateEndpointServiceBadRequest) IsServerError

func (o *GetPrivateEndpointServiceBadRequest) IsServerError() bool

IsServerError returns true when this get private endpoint service bad request response has a 5xx status code

func (*GetPrivateEndpointServiceBadRequest) IsSuccess

IsSuccess returns true when this get private endpoint service bad request response has a 2xx status code

func (*GetPrivateEndpointServiceBadRequest) String

type GetPrivateEndpointServiceBadRequestBody

type GetPrivateEndpointServiceBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetPrivateEndpointServiceBadRequestBody get private endpoint service bad request body swagger:model GetPrivateEndpointServiceBadRequestBody

func (*GetPrivateEndpointServiceBadRequestBody) ContextValidate

ContextValidate validates this get private endpoint service bad request body based on context it is used

func (*GetPrivateEndpointServiceBadRequestBody) MarshalBinary

func (o *GetPrivateEndpointServiceBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceBadRequestBody) UnmarshalBinary

func (o *GetPrivateEndpointServiceBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceBadRequestBody) Validate

Validate validates this get private endpoint service bad request body

type GetPrivateEndpointServiceDefault

type GetPrivateEndpointServiceDefault struct {
	Payload *GetPrivateEndpointServiceDefaultBody
	// contains filtered or unexported fields
}

GetPrivateEndpointServiceDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetPrivateEndpointServiceDefault

func NewGetPrivateEndpointServiceDefault(code int) *GetPrivateEndpointServiceDefault

NewGetPrivateEndpointServiceDefault creates a GetPrivateEndpointServiceDefault with default headers values

func (*GetPrivateEndpointServiceDefault) Code

Code gets the status code for the get private endpoint service default response

func (*GetPrivateEndpointServiceDefault) Error

func (*GetPrivateEndpointServiceDefault) GetPayload

func (*GetPrivateEndpointServiceDefault) IsClientError

func (o *GetPrivateEndpointServiceDefault) IsClientError() bool

IsClientError returns true when this get private endpoint service default response has a 4xx status code

func (*GetPrivateEndpointServiceDefault) IsCode

func (o *GetPrivateEndpointServiceDefault) IsCode(code int) bool

IsCode returns true when this get private endpoint service default response a status code equal to that given

func (*GetPrivateEndpointServiceDefault) IsRedirect

func (o *GetPrivateEndpointServiceDefault) IsRedirect() bool

IsRedirect returns true when this get private endpoint service default response has a 3xx status code

func (*GetPrivateEndpointServiceDefault) IsServerError

func (o *GetPrivateEndpointServiceDefault) IsServerError() bool

IsServerError returns true when this get private endpoint service default response has a 5xx status code

func (*GetPrivateEndpointServiceDefault) IsSuccess

func (o *GetPrivateEndpointServiceDefault) IsSuccess() bool

IsSuccess returns true when this get private endpoint service default response has a 2xx status code

func (*GetPrivateEndpointServiceDefault) String

type GetPrivateEndpointServiceDefaultBody

type GetPrivateEndpointServiceDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*GetPrivateEndpointServiceDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

GetPrivateEndpointServiceDefaultBody get private endpoint service default body swagger:model GetPrivateEndpointServiceDefaultBody

func (*GetPrivateEndpointServiceDefaultBody) ContextValidate

func (o *GetPrivateEndpointServiceDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get private endpoint service default body based on the context it is used

func (*GetPrivateEndpointServiceDefaultBody) MarshalBinary

func (o *GetPrivateEndpointServiceDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceDefaultBody) UnmarshalBinary

func (o *GetPrivateEndpointServiceDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceDefaultBody) Validate

Validate validates this get private endpoint service default body

type GetPrivateEndpointServiceDefaultBodyDetailsItems0

type GetPrivateEndpointServiceDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

GetPrivateEndpointServiceDefaultBodyDetailsItems0 get private endpoint service default body details items0 swagger:model GetPrivateEndpointServiceDefaultBodyDetailsItems0

func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this get private endpoint service default body details items0 based on context it is used

func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceDefaultBodyDetailsItems0) Validate

Validate validates this get private endpoint service default body details items0

type GetPrivateEndpointServiceForbidden

type GetPrivateEndpointServiceForbidden struct {
	Payload *GetPrivateEndpointServiceForbiddenBody
}

GetPrivateEndpointServiceForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewGetPrivateEndpointServiceForbidden

func NewGetPrivateEndpointServiceForbidden() *GetPrivateEndpointServiceForbidden

NewGetPrivateEndpointServiceForbidden creates a GetPrivateEndpointServiceForbidden with default headers values

func (*GetPrivateEndpointServiceForbidden) Code

Code gets the status code for the get private endpoint service forbidden response

func (*GetPrivateEndpointServiceForbidden) Error

func (*GetPrivateEndpointServiceForbidden) GetPayload

func (*GetPrivateEndpointServiceForbidden) IsClientError

func (o *GetPrivateEndpointServiceForbidden) IsClientError() bool

IsClientError returns true when this get private endpoint service forbidden response has a 4xx status code

func (*GetPrivateEndpointServiceForbidden) IsCode

IsCode returns true when this get private endpoint service forbidden response a status code equal to that given

func (*GetPrivateEndpointServiceForbidden) IsRedirect

func (o *GetPrivateEndpointServiceForbidden) IsRedirect() bool

IsRedirect returns true when this get private endpoint service forbidden response has a 3xx status code

func (*GetPrivateEndpointServiceForbidden) IsServerError

func (o *GetPrivateEndpointServiceForbidden) IsServerError() bool

IsServerError returns true when this get private endpoint service forbidden response has a 5xx status code

func (*GetPrivateEndpointServiceForbidden) IsSuccess

IsSuccess returns true when this get private endpoint service forbidden response has a 2xx status code

func (*GetPrivateEndpointServiceForbidden) String

type GetPrivateEndpointServiceForbiddenBody

type GetPrivateEndpointServiceForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetPrivateEndpointServiceForbiddenBody get private endpoint service forbidden body swagger:model GetPrivateEndpointServiceForbiddenBody

func (*GetPrivateEndpointServiceForbiddenBody) ContextValidate

ContextValidate validates this get private endpoint service forbidden body based on context it is used

func (*GetPrivateEndpointServiceForbiddenBody) MarshalBinary

func (o *GetPrivateEndpointServiceForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceForbiddenBody) UnmarshalBinary

func (o *GetPrivateEndpointServiceForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceForbiddenBody) Validate

Validate validates this get private endpoint service forbidden body

type GetPrivateEndpointServiceInternalServerError

type GetPrivateEndpointServiceInternalServerError struct {
	Payload *GetPrivateEndpointServiceInternalServerErrorBody
}

GetPrivateEndpointServiceInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewGetPrivateEndpointServiceInternalServerError

func NewGetPrivateEndpointServiceInternalServerError() *GetPrivateEndpointServiceInternalServerError

NewGetPrivateEndpointServiceInternalServerError creates a GetPrivateEndpointServiceInternalServerError with default headers values

func (*GetPrivateEndpointServiceInternalServerError) Code

Code gets the status code for the get private endpoint service internal server error response

func (*GetPrivateEndpointServiceInternalServerError) Error

func (*GetPrivateEndpointServiceInternalServerError) GetPayload

func (*GetPrivateEndpointServiceInternalServerError) IsClientError

IsClientError returns true when this get private endpoint service internal server error response has a 4xx status code

func (*GetPrivateEndpointServiceInternalServerError) IsCode

IsCode returns true when this get private endpoint service internal server error response a status code equal to that given

func (*GetPrivateEndpointServiceInternalServerError) IsRedirect

IsRedirect returns true when this get private endpoint service internal server error response has a 3xx status code

func (*GetPrivateEndpointServiceInternalServerError) IsServerError

IsServerError returns true when this get private endpoint service internal server error response has a 5xx status code

func (*GetPrivateEndpointServiceInternalServerError) IsSuccess

IsSuccess returns true when this get private endpoint service internal server error response has a 2xx status code

func (*GetPrivateEndpointServiceInternalServerError) String

type GetPrivateEndpointServiceInternalServerErrorBody

type GetPrivateEndpointServiceInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetPrivateEndpointServiceInternalServerErrorBody get private endpoint service internal server error body swagger:model GetPrivateEndpointServiceInternalServerErrorBody

func (*GetPrivateEndpointServiceInternalServerErrorBody) ContextValidate

ContextValidate validates this get private endpoint service internal server error body based on context it is used

func (*GetPrivateEndpointServiceInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceInternalServerErrorBody) Validate

Validate validates this get private endpoint service internal server error body

type GetPrivateEndpointServiceNotFound

type GetPrivateEndpointServiceNotFound struct {
	Payload *GetPrivateEndpointServiceNotFoundBody
}

GetPrivateEndpointServiceNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewGetPrivateEndpointServiceNotFound

func NewGetPrivateEndpointServiceNotFound() *GetPrivateEndpointServiceNotFound

NewGetPrivateEndpointServiceNotFound creates a GetPrivateEndpointServiceNotFound with default headers values

func (*GetPrivateEndpointServiceNotFound) Code

Code gets the status code for the get private endpoint service not found response

func (*GetPrivateEndpointServiceNotFound) Error

func (*GetPrivateEndpointServiceNotFound) GetPayload

func (*GetPrivateEndpointServiceNotFound) IsClientError

func (o *GetPrivateEndpointServiceNotFound) IsClientError() bool

IsClientError returns true when this get private endpoint service not found response has a 4xx status code

func (*GetPrivateEndpointServiceNotFound) IsCode

func (o *GetPrivateEndpointServiceNotFound) IsCode(code int) bool

IsCode returns true when this get private endpoint service not found response a status code equal to that given

func (*GetPrivateEndpointServiceNotFound) IsRedirect

func (o *GetPrivateEndpointServiceNotFound) IsRedirect() bool

IsRedirect returns true when this get private endpoint service not found response has a 3xx status code

func (*GetPrivateEndpointServiceNotFound) IsServerError

func (o *GetPrivateEndpointServiceNotFound) IsServerError() bool

IsServerError returns true when this get private endpoint service not found response has a 5xx status code

func (*GetPrivateEndpointServiceNotFound) IsSuccess

func (o *GetPrivateEndpointServiceNotFound) IsSuccess() bool

IsSuccess returns true when this get private endpoint service not found response has a 2xx status code

func (*GetPrivateEndpointServiceNotFound) String

type GetPrivateEndpointServiceNotFoundBody

type GetPrivateEndpointServiceNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetPrivateEndpointServiceNotFoundBody get private endpoint service not found body swagger:model GetPrivateEndpointServiceNotFoundBody

func (*GetPrivateEndpointServiceNotFoundBody) ContextValidate

func (o *GetPrivateEndpointServiceNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get private endpoint service not found body based on context it is used

func (*GetPrivateEndpointServiceNotFoundBody) MarshalBinary

func (o *GetPrivateEndpointServiceNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceNotFoundBody) UnmarshalBinary

func (o *GetPrivateEndpointServiceNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceNotFoundBody) Validate

Validate validates this get private endpoint service not found body

type GetPrivateEndpointServiceOK

type GetPrivateEndpointServiceOK struct {
	Payload *GetPrivateEndpointServiceOKBody
}

GetPrivateEndpointServiceOK describes a response with status code 200, with default header values.

A successful response.

func NewGetPrivateEndpointServiceOK

func NewGetPrivateEndpointServiceOK() *GetPrivateEndpointServiceOK

NewGetPrivateEndpointServiceOK creates a GetPrivateEndpointServiceOK with default headers values

func (*GetPrivateEndpointServiceOK) Code

func (o *GetPrivateEndpointServiceOK) Code() int

Code gets the status code for the get private endpoint service o k response

func (*GetPrivateEndpointServiceOK) Error

func (*GetPrivateEndpointServiceOK) GetPayload

func (*GetPrivateEndpointServiceOK) IsClientError

func (o *GetPrivateEndpointServiceOK) IsClientError() bool

IsClientError returns true when this get private endpoint service o k response has a 4xx status code

func (*GetPrivateEndpointServiceOK) IsCode

func (o *GetPrivateEndpointServiceOK) IsCode(code int) bool

IsCode returns true when this get private endpoint service o k response a status code equal to that given

func (*GetPrivateEndpointServiceOK) IsRedirect

func (o *GetPrivateEndpointServiceOK) IsRedirect() bool

IsRedirect returns true when this get private endpoint service o k response has a 3xx status code

func (*GetPrivateEndpointServiceOK) IsServerError

func (o *GetPrivateEndpointServiceOK) IsServerError() bool

IsServerError returns true when this get private endpoint service o k response has a 5xx status code

func (*GetPrivateEndpointServiceOK) IsSuccess

func (o *GetPrivateEndpointServiceOK) IsSuccess() bool

IsSuccess returns true when this get private endpoint service o k response has a 2xx status code

func (*GetPrivateEndpointServiceOK) String

func (o *GetPrivateEndpointServiceOK) String() string

type GetPrivateEndpointServiceOKBody

type GetPrivateEndpointServiceOKBody struct {

	// private endpoint service
	// Required: true
	PrivateEndpointService *GetPrivateEndpointServiceOKBodyPrivateEndpointService `json:"private_endpoint_service"`
}

GetPrivateEndpointServiceOKBody GetPrivateEndpointServiceResp // // GetPrivateEndpointServiceResp is the response for getting private endpoint service for a cluster. swagger:model GetPrivateEndpointServiceOKBody

func (*GetPrivateEndpointServiceOKBody) ContextValidate

func (o *GetPrivateEndpointServiceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get private endpoint service o k body based on the context it is used

func (*GetPrivateEndpointServiceOKBody) MarshalBinary

func (o *GetPrivateEndpointServiceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceOKBody) UnmarshalBinary

func (o *GetPrivateEndpointServiceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceOKBody) Validate

Validate validates this get private endpoint service o k body

type GetPrivateEndpointServiceOKBodyPrivateEndpointService

type GetPrivateEndpointServiceOKBodyPrivateEndpointService struct {

	// Availability zones for the private endpoint service. This field is only applicable when the `cloud_provider` is `"AWS"`.
	// Example: ["usw2-az2","usw2-az1"]
	AzIds []string `json:"az_ids"`

	// The cloud provider on which the private endpoint service is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// The DNS name of the private endpoint service.
	// Example: privatelink-tidb.01234567890.clusters.tidb-cloud.com
	DNSName string `json:"dns_name,omitempty"`

	// The name of the private endpoint service, which is used for connection.
	// Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456
	Name string `json:"name,omitempty"`

	// The port of the private endpoint service.
	// Example: 4000
	Port int32 `json:"port,omitempty"`

	// The status of the private endpoint service.
	// Example: ACTIVE
	// Enum: [CREATING ACTIVE DELETING]
	Status string `json:"status,omitempty"`
}

GetPrivateEndpointServiceOKBodyPrivateEndpointService The private endpoint service resource of the cluster. swagger:model GetPrivateEndpointServiceOKBodyPrivateEndpointService

func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) ContextValidate

ContextValidate validates this get private endpoint service o k body private endpoint service based on context it is used

func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) MarshalBinary

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceOKBodyPrivateEndpointService) Validate

Validate validates this get private endpoint service o k body private endpoint service

type GetPrivateEndpointServiceParams

type GetPrivateEndpointServiceParams struct {

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPrivateEndpointServiceParams contains all the parameters to send to the API endpoint

for the get private endpoint service operation.

Typically these are written to a http.Request.

func NewGetPrivateEndpointServiceParams

func NewGetPrivateEndpointServiceParams() *GetPrivateEndpointServiceParams

NewGetPrivateEndpointServiceParams creates a new GetPrivateEndpointServiceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPrivateEndpointServiceParamsWithContext

func NewGetPrivateEndpointServiceParamsWithContext(ctx context.Context) *GetPrivateEndpointServiceParams

NewGetPrivateEndpointServiceParamsWithContext creates a new GetPrivateEndpointServiceParams object with the ability to set a context for a request.

func NewGetPrivateEndpointServiceParamsWithHTTPClient

func NewGetPrivateEndpointServiceParamsWithHTTPClient(client *http.Client) *GetPrivateEndpointServiceParams

NewGetPrivateEndpointServiceParamsWithHTTPClient creates a new GetPrivateEndpointServiceParams object with the ability to set a custom HTTPClient for a request.

func NewGetPrivateEndpointServiceParamsWithTimeout

func NewGetPrivateEndpointServiceParamsWithTimeout(timeout time.Duration) *GetPrivateEndpointServiceParams

NewGetPrivateEndpointServiceParamsWithTimeout creates a new GetPrivateEndpointServiceParams object with the ability to set a timeout on a request.

func (*GetPrivateEndpointServiceParams) SetClusterID

func (o *GetPrivateEndpointServiceParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) SetContext

func (o *GetPrivateEndpointServiceParams) SetContext(ctx context.Context)

SetContext adds the context to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) SetDefaults

func (o *GetPrivateEndpointServiceParams) SetDefaults()

SetDefaults hydrates default values in the get private endpoint service params (not the query body).

All values with no default are reset to their zero value.

func (*GetPrivateEndpointServiceParams) SetHTTPClient

func (o *GetPrivateEndpointServiceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) SetProjectID

func (o *GetPrivateEndpointServiceParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) SetTimeout

func (o *GetPrivateEndpointServiceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) WithClusterID

WithClusterID adds the clusterID to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) WithContext

WithContext adds the context to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) WithDefaults

WithDefaults hydrates default values in the get private endpoint service params (not the query body).

All values with no default are reset to their zero value.

func (*GetPrivateEndpointServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) WithProjectID

WithProjectID adds the projectID to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) WithTimeout

WithTimeout adds the timeout to the get private endpoint service params

func (*GetPrivateEndpointServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPrivateEndpointServiceReader

type GetPrivateEndpointServiceReader struct {
	// contains filtered or unexported fields
}

GetPrivateEndpointServiceReader is a Reader for the GetPrivateEndpointService structure.

func (*GetPrivateEndpointServiceReader) ReadResponse

func (o *GetPrivateEndpointServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetPrivateEndpointServiceTooManyRequests

type GetPrivateEndpointServiceTooManyRequests struct {
	Payload *GetPrivateEndpointServiceTooManyRequestsBody
}

GetPrivateEndpointServiceTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewGetPrivateEndpointServiceTooManyRequests

func NewGetPrivateEndpointServiceTooManyRequests() *GetPrivateEndpointServiceTooManyRequests

NewGetPrivateEndpointServiceTooManyRequests creates a GetPrivateEndpointServiceTooManyRequests with default headers values

func (*GetPrivateEndpointServiceTooManyRequests) Code

Code gets the status code for the get private endpoint service too many requests response

func (*GetPrivateEndpointServiceTooManyRequests) Error

func (*GetPrivateEndpointServiceTooManyRequests) GetPayload

func (*GetPrivateEndpointServiceTooManyRequests) IsClientError

IsClientError returns true when this get private endpoint service too many requests response has a 4xx status code

func (*GetPrivateEndpointServiceTooManyRequests) IsCode

IsCode returns true when this get private endpoint service too many requests response a status code equal to that given

func (*GetPrivateEndpointServiceTooManyRequests) IsRedirect

IsRedirect returns true when this get private endpoint service too many requests response has a 3xx status code

func (*GetPrivateEndpointServiceTooManyRequests) IsServerError

IsServerError returns true when this get private endpoint service too many requests response has a 5xx status code

func (*GetPrivateEndpointServiceTooManyRequests) IsSuccess

IsSuccess returns true when this get private endpoint service too many requests response has a 2xx status code

func (*GetPrivateEndpointServiceTooManyRequests) String

type GetPrivateEndpointServiceTooManyRequestsBody

type GetPrivateEndpointServiceTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

GetPrivateEndpointServiceTooManyRequestsBody get private endpoint service too many requests body swagger:model GetPrivateEndpointServiceTooManyRequestsBody

func (*GetPrivateEndpointServiceTooManyRequestsBody) ContextValidate

ContextValidate validates this get private endpoint service too many requests body based on context it is used

func (*GetPrivateEndpointServiceTooManyRequestsBody) MarshalBinary

MarshalBinary interface implementation

func (*GetPrivateEndpointServiceTooManyRequestsBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetPrivateEndpointServiceTooManyRequestsBody) Validate

Validate validates this get private endpoint service too many requests body

type GetPrivateEndpointServiceUnauthorized

type GetPrivateEndpointServiceUnauthorized struct {
	Payload interface{}
}

GetPrivateEndpointServiceUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewGetPrivateEndpointServiceUnauthorized

func NewGetPrivateEndpointServiceUnauthorized() *GetPrivateEndpointServiceUnauthorized

NewGetPrivateEndpointServiceUnauthorized creates a GetPrivateEndpointServiceUnauthorized with default headers values

func (*GetPrivateEndpointServiceUnauthorized) Code

Code gets the status code for the get private endpoint service unauthorized response

func (*GetPrivateEndpointServiceUnauthorized) Error

func (*GetPrivateEndpointServiceUnauthorized) GetPayload

func (o *GetPrivateEndpointServiceUnauthorized) GetPayload() interface{}

func (*GetPrivateEndpointServiceUnauthorized) IsClientError

func (o *GetPrivateEndpointServiceUnauthorized) IsClientError() bool

IsClientError returns true when this get private endpoint service unauthorized response has a 4xx status code

func (*GetPrivateEndpointServiceUnauthorized) IsCode

IsCode returns true when this get private endpoint service unauthorized response a status code equal to that given

func (*GetPrivateEndpointServiceUnauthorized) IsRedirect

IsRedirect returns true when this get private endpoint service unauthorized response has a 3xx status code

func (*GetPrivateEndpointServiceUnauthorized) IsServerError

func (o *GetPrivateEndpointServiceUnauthorized) IsServerError() bool

IsServerError returns true when this get private endpoint service unauthorized response has a 5xx status code

func (*GetPrivateEndpointServiceUnauthorized) IsSuccess

IsSuccess returns true when this get private endpoint service unauthorized response has a 2xx status code

func (*GetPrivateEndpointServiceUnauthorized) String

type ListAwsCmekBadRequest

type ListAwsCmekBadRequest struct {
	Payload *ListAwsCmekBadRequestBody
}

ListAwsCmekBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewListAwsCmekBadRequest

func NewListAwsCmekBadRequest() *ListAwsCmekBadRequest

NewListAwsCmekBadRequest creates a ListAwsCmekBadRequest with default headers values

func (*ListAwsCmekBadRequest) Code

func (o *ListAwsCmekBadRequest) Code() int

Code gets the status code for the list aws cmek bad request response

func (*ListAwsCmekBadRequest) Error

func (o *ListAwsCmekBadRequest) Error() string

func (*ListAwsCmekBadRequest) GetPayload

func (*ListAwsCmekBadRequest) IsClientError

func (o *ListAwsCmekBadRequest) IsClientError() bool

IsClientError returns true when this list aws cmek bad request response has a 4xx status code

func (*ListAwsCmekBadRequest) IsCode

func (o *ListAwsCmekBadRequest) IsCode(code int) bool

IsCode returns true when this list aws cmek bad request response a status code equal to that given

func (*ListAwsCmekBadRequest) IsRedirect

func (o *ListAwsCmekBadRequest) IsRedirect() bool

IsRedirect returns true when this list aws cmek bad request response has a 3xx status code

func (*ListAwsCmekBadRequest) IsServerError

func (o *ListAwsCmekBadRequest) IsServerError() bool

IsServerError returns true when this list aws cmek bad request response has a 5xx status code

func (*ListAwsCmekBadRequest) IsSuccess

func (o *ListAwsCmekBadRequest) IsSuccess() bool

IsSuccess returns true when this list aws cmek bad request response has a 2xx status code

func (*ListAwsCmekBadRequest) String

func (o *ListAwsCmekBadRequest) String() string

type ListAwsCmekBadRequestBody

type ListAwsCmekBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListAwsCmekBadRequestBody list aws cmek bad request body swagger:model ListAwsCmekBadRequestBody

func (*ListAwsCmekBadRequestBody) ContextValidate

func (o *ListAwsCmekBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek bad request body based on context it is used

func (*ListAwsCmekBadRequestBody) MarshalBinary

func (o *ListAwsCmekBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekBadRequestBody) UnmarshalBinary

func (o *ListAwsCmekBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekBadRequestBody) Validate

func (o *ListAwsCmekBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek bad request body

type ListAwsCmekDefault

type ListAwsCmekDefault struct {
	Payload *ListAwsCmekDefaultBody
	// contains filtered or unexported fields
}

ListAwsCmekDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListAwsCmekDefault

func NewListAwsCmekDefault(code int) *ListAwsCmekDefault

NewListAwsCmekDefault creates a ListAwsCmekDefault with default headers values

func (*ListAwsCmekDefault) Code

func (o *ListAwsCmekDefault) Code() int

Code gets the status code for the list aws cmek default response

func (*ListAwsCmekDefault) Error

func (o *ListAwsCmekDefault) Error() string

func (*ListAwsCmekDefault) GetPayload

func (o *ListAwsCmekDefault) GetPayload() *ListAwsCmekDefaultBody

func (*ListAwsCmekDefault) IsClientError

func (o *ListAwsCmekDefault) IsClientError() bool

IsClientError returns true when this list aws cmek default response has a 4xx status code

func (*ListAwsCmekDefault) IsCode

func (o *ListAwsCmekDefault) IsCode(code int) bool

IsCode returns true when this list aws cmek default response a status code equal to that given

func (*ListAwsCmekDefault) IsRedirect

func (o *ListAwsCmekDefault) IsRedirect() bool

IsRedirect returns true when this list aws cmek default response has a 3xx status code

func (*ListAwsCmekDefault) IsServerError

func (o *ListAwsCmekDefault) IsServerError() bool

IsServerError returns true when this list aws cmek default response has a 5xx status code

func (*ListAwsCmekDefault) IsSuccess

func (o *ListAwsCmekDefault) IsSuccess() bool

IsSuccess returns true when this list aws cmek default response has a 2xx status code

func (*ListAwsCmekDefault) String

func (o *ListAwsCmekDefault) String() string

type ListAwsCmekDefaultBody

type ListAwsCmekDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ListAwsCmekDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

ListAwsCmekDefaultBody list aws cmek default body swagger:model ListAwsCmekDefaultBody

func (*ListAwsCmekDefaultBody) ContextValidate

func (o *ListAwsCmekDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list aws cmek default body based on the context it is used

func (*ListAwsCmekDefaultBody) MarshalBinary

func (o *ListAwsCmekDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekDefaultBody) UnmarshalBinary

func (o *ListAwsCmekDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekDefaultBody) Validate

func (o *ListAwsCmekDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek default body

type ListAwsCmekDefaultBodyDetailsItems0

type ListAwsCmekDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ListAwsCmekDefaultBodyDetailsItems0 list aws cmek default body details items0 swagger:model ListAwsCmekDefaultBodyDetailsItems0

func (*ListAwsCmekDefaultBodyDetailsItems0) ContextValidate

func (o *ListAwsCmekDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek default body details items0 based on context it is used

func (*ListAwsCmekDefaultBodyDetailsItems0) MarshalBinary

func (o *ListAwsCmekDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary

func (o *ListAwsCmekDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekDefaultBodyDetailsItems0) Validate

Validate validates this list aws cmek default body details items0

type ListAwsCmekForbidden

type ListAwsCmekForbidden struct {
	Payload *ListAwsCmekForbiddenBody
}

ListAwsCmekForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewListAwsCmekForbidden

func NewListAwsCmekForbidden() *ListAwsCmekForbidden

NewListAwsCmekForbidden creates a ListAwsCmekForbidden with default headers values

func (*ListAwsCmekForbidden) Code

func (o *ListAwsCmekForbidden) Code() int

Code gets the status code for the list aws cmek forbidden response

func (*ListAwsCmekForbidden) Error

func (o *ListAwsCmekForbidden) Error() string

func (*ListAwsCmekForbidden) GetPayload

func (*ListAwsCmekForbidden) IsClientError

func (o *ListAwsCmekForbidden) IsClientError() bool

IsClientError returns true when this list aws cmek forbidden response has a 4xx status code

func (*ListAwsCmekForbidden) IsCode

func (o *ListAwsCmekForbidden) IsCode(code int) bool

IsCode returns true when this list aws cmek forbidden response a status code equal to that given

func (*ListAwsCmekForbidden) IsRedirect

func (o *ListAwsCmekForbidden) IsRedirect() bool

IsRedirect returns true when this list aws cmek forbidden response has a 3xx status code

func (*ListAwsCmekForbidden) IsServerError

func (o *ListAwsCmekForbidden) IsServerError() bool

IsServerError returns true when this list aws cmek forbidden response has a 5xx status code

func (*ListAwsCmekForbidden) IsSuccess

func (o *ListAwsCmekForbidden) IsSuccess() bool

IsSuccess returns true when this list aws cmek forbidden response has a 2xx status code

func (*ListAwsCmekForbidden) String

func (o *ListAwsCmekForbidden) String() string

type ListAwsCmekForbiddenBody

type ListAwsCmekForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListAwsCmekForbiddenBody list aws cmek forbidden body swagger:model ListAwsCmekForbiddenBody

func (*ListAwsCmekForbiddenBody) ContextValidate

func (o *ListAwsCmekForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek forbidden body based on context it is used

func (*ListAwsCmekForbiddenBody) MarshalBinary

func (o *ListAwsCmekForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekForbiddenBody) UnmarshalBinary

func (o *ListAwsCmekForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekForbiddenBody) Validate

func (o *ListAwsCmekForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek forbidden body

type ListAwsCmekInternalServerError

type ListAwsCmekInternalServerError struct {
	Payload *ListAwsCmekInternalServerErrorBody
}

ListAwsCmekInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewListAwsCmekInternalServerError

func NewListAwsCmekInternalServerError() *ListAwsCmekInternalServerError

NewListAwsCmekInternalServerError creates a ListAwsCmekInternalServerError with default headers values

func (*ListAwsCmekInternalServerError) Code

Code gets the status code for the list aws cmek internal server error response

func (*ListAwsCmekInternalServerError) Error

func (*ListAwsCmekInternalServerError) GetPayload

func (*ListAwsCmekInternalServerError) IsClientError

func (o *ListAwsCmekInternalServerError) IsClientError() bool

IsClientError returns true when this list aws cmek internal server error response has a 4xx status code

func (*ListAwsCmekInternalServerError) IsCode

func (o *ListAwsCmekInternalServerError) IsCode(code int) bool

IsCode returns true when this list aws cmek internal server error response a status code equal to that given

func (*ListAwsCmekInternalServerError) IsRedirect

func (o *ListAwsCmekInternalServerError) IsRedirect() bool

IsRedirect returns true when this list aws cmek internal server error response has a 3xx status code

func (*ListAwsCmekInternalServerError) IsServerError

func (o *ListAwsCmekInternalServerError) IsServerError() bool

IsServerError returns true when this list aws cmek internal server error response has a 5xx status code

func (*ListAwsCmekInternalServerError) IsSuccess

func (o *ListAwsCmekInternalServerError) IsSuccess() bool

IsSuccess returns true when this list aws cmek internal server error response has a 2xx status code

func (*ListAwsCmekInternalServerError) String

type ListAwsCmekInternalServerErrorBody

type ListAwsCmekInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListAwsCmekInternalServerErrorBody list aws cmek internal server error body swagger:model ListAwsCmekInternalServerErrorBody

func (*ListAwsCmekInternalServerErrorBody) ContextValidate

func (o *ListAwsCmekInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek internal server error body based on context it is used

func (*ListAwsCmekInternalServerErrorBody) MarshalBinary

func (o *ListAwsCmekInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekInternalServerErrorBody) UnmarshalBinary

func (o *ListAwsCmekInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekInternalServerErrorBody) Validate

Validate validates this list aws cmek internal server error body

type ListAwsCmekNotFound

type ListAwsCmekNotFound struct {
	Payload *ListAwsCmekNotFoundBody
}

ListAwsCmekNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewListAwsCmekNotFound

func NewListAwsCmekNotFound() *ListAwsCmekNotFound

NewListAwsCmekNotFound creates a ListAwsCmekNotFound with default headers values

func (*ListAwsCmekNotFound) Code

func (o *ListAwsCmekNotFound) Code() int

Code gets the status code for the list aws cmek not found response

func (*ListAwsCmekNotFound) Error

func (o *ListAwsCmekNotFound) Error() string

func (*ListAwsCmekNotFound) GetPayload

func (*ListAwsCmekNotFound) IsClientError

func (o *ListAwsCmekNotFound) IsClientError() bool

IsClientError returns true when this list aws cmek not found response has a 4xx status code

func (*ListAwsCmekNotFound) IsCode

func (o *ListAwsCmekNotFound) IsCode(code int) bool

IsCode returns true when this list aws cmek not found response a status code equal to that given

func (*ListAwsCmekNotFound) IsRedirect

func (o *ListAwsCmekNotFound) IsRedirect() bool

IsRedirect returns true when this list aws cmek not found response has a 3xx status code

func (*ListAwsCmekNotFound) IsServerError

func (o *ListAwsCmekNotFound) IsServerError() bool

IsServerError returns true when this list aws cmek not found response has a 5xx status code

func (*ListAwsCmekNotFound) IsSuccess

func (o *ListAwsCmekNotFound) IsSuccess() bool

IsSuccess returns true when this list aws cmek not found response has a 2xx status code

func (*ListAwsCmekNotFound) String

func (o *ListAwsCmekNotFound) String() string

type ListAwsCmekNotFoundBody

type ListAwsCmekNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListAwsCmekNotFoundBody list aws cmek not found body swagger:model ListAwsCmekNotFoundBody

func (*ListAwsCmekNotFoundBody) ContextValidate

func (o *ListAwsCmekNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek not found body based on context it is used

func (*ListAwsCmekNotFoundBody) MarshalBinary

func (o *ListAwsCmekNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekNotFoundBody) UnmarshalBinary

func (o *ListAwsCmekNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekNotFoundBody) Validate

func (o *ListAwsCmekNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek not found body

type ListAwsCmekOK

type ListAwsCmekOK struct {
	Payload *ListAwsCmekOKBody
}

ListAwsCmekOK describes a response with status code 200, with default header values.

A successful response.

func NewListAwsCmekOK

func NewListAwsCmekOK() *ListAwsCmekOK

NewListAwsCmekOK creates a ListAwsCmekOK with default headers values

func (*ListAwsCmekOK) Code

func (o *ListAwsCmekOK) Code() int

Code gets the status code for the list aws cmek o k response

func (*ListAwsCmekOK) Error

func (o *ListAwsCmekOK) Error() string

func (*ListAwsCmekOK) GetPayload

func (o *ListAwsCmekOK) GetPayload() *ListAwsCmekOKBody

func (*ListAwsCmekOK) IsClientError

func (o *ListAwsCmekOK) IsClientError() bool

IsClientError returns true when this list aws cmek o k response has a 4xx status code

func (*ListAwsCmekOK) IsCode

func (o *ListAwsCmekOK) IsCode(code int) bool

IsCode returns true when this list aws cmek o k response a status code equal to that given

func (*ListAwsCmekOK) IsRedirect

func (o *ListAwsCmekOK) IsRedirect() bool

IsRedirect returns true when this list aws cmek o k response has a 3xx status code

func (*ListAwsCmekOK) IsServerError

func (o *ListAwsCmekOK) IsServerError() bool

IsServerError returns true when this list aws cmek o k response has a 5xx status code

func (*ListAwsCmekOK) IsSuccess

func (o *ListAwsCmekOK) IsSuccess() bool

IsSuccess returns true when this list aws cmek o k response has a 2xx status code

func (*ListAwsCmekOK) String

func (o *ListAwsCmekOK) String() string

type ListAwsCmekOKBody

type ListAwsCmekOKBody struct {

	// The specifications of the AWS CMEK.
	Items []*ListAwsCmekOKBodyItemsItems0 `json:"items"`
}

ListAwsCmekOKBody ListAwsCmekResp // // ListAwsCmekResp is the response for getting AWS Customer-Managed Encryption Keys for a project. swagger:model ListAwsCmekOKBody

func (*ListAwsCmekOKBody) ContextValidate

func (o *ListAwsCmekOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list aws cmek o k body based on the context it is used

func (*ListAwsCmekOKBody) MarshalBinary

func (o *ListAwsCmekOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekOKBody) UnmarshalBinary

func (o *ListAwsCmekOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekOKBody) Validate

func (o *ListAwsCmekOKBody) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek o k body

type ListAwsCmekOKBodyItemsItems0

type ListAwsCmekOKBodyItemsItems0 struct {

	// The KMS ARN of the AWS CMEK.
	// Example: arn:aws:kms:example
	// Required: true
	KmsArn *string `json:"kms_arn"`

	// The region name of the AWS CMEK. The region value should match the cloud provider's region code.
	//
	// You can get the complete list of available regions from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// For the detailed information on each region, refer to the documentation of the [AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) cloud provider.
	// Example: us-west-2
	// Required: true
	Region *string `json:"region"`
}

ListAwsCmekOKBodyItemsItems0 AwsCmekSpec // // AwsCmekSpec is the specification of the AWS CMEK. swagger:model ListAwsCmekOKBodyItemsItems0

func (*ListAwsCmekOKBodyItemsItems0) ContextValidate

func (o *ListAwsCmekOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek o k body items items0 based on context it is used

func (*ListAwsCmekOKBodyItemsItems0) MarshalBinary

func (o *ListAwsCmekOKBodyItemsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekOKBodyItemsItems0) UnmarshalBinary

func (o *ListAwsCmekOKBodyItemsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekOKBodyItemsItems0) Validate

func (o *ListAwsCmekOKBodyItemsItems0) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek o k body items items0

type ListAwsCmekParams

type ListAwsCmekParams struct {

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAwsCmekParams contains all the parameters to send to the API endpoint

for the list aws cmek operation.

Typically these are written to a http.Request.

func NewListAwsCmekParams

func NewListAwsCmekParams() *ListAwsCmekParams

NewListAwsCmekParams creates a new ListAwsCmekParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListAwsCmekParamsWithContext

func NewListAwsCmekParamsWithContext(ctx context.Context) *ListAwsCmekParams

NewListAwsCmekParamsWithContext creates a new ListAwsCmekParams object with the ability to set a context for a request.

func NewListAwsCmekParamsWithHTTPClient

func NewListAwsCmekParamsWithHTTPClient(client *http.Client) *ListAwsCmekParams

NewListAwsCmekParamsWithHTTPClient creates a new ListAwsCmekParams object with the ability to set a custom HTTPClient for a request.

func NewListAwsCmekParamsWithTimeout

func NewListAwsCmekParamsWithTimeout(timeout time.Duration) *ListAwsCmekParams

NewListAwsCmekParamsWithTimeout creates a new ListAwsCmekParams object with the ability to set a timeout on a request.

func (*ListAwsCmekParams) SetContext

func (o *ListAwsCmekParams) SetContext(ctx context.Context)

SetContext adds the context to the list aws cmek params

func (*ListAwsCmekParams) SetDefaults

func (o *ListAwsCmekParams) SetDefaults()

SetDefaults hydrates default values in the list aws cmek params (not the query body).

All values with no default are reset to their zero value.

func (*ListAwsCmekParams) SetHTTPClient

func (o *ListAwsCmekParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list aws cmek params

func (*ListAwsCmekParams) SetProjectID

func (o *ListAwsCmekParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list aws cmek params

func (*ListAwsCmekParams) SetTimeout

func (o *ListAwsCmekParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list aws cmek params

func (*ListAwsCmekParams) WithContext

func (o *ListAwsCmekParams) WithContext(ctx context.Context) *ListAwsCmekParams

WithContext adds the context to the list aws cmek params

func (*ListAwsCmekParams) WithDefaults

func (o *ListAwsCmekParams) WithDefaults() *ListAwsCmekParams

WithDefaults hydrates default values in the list aws cmek params (not the query body).

All values with no default are reset to their zero value.

func (*ListAwsCmekParams) WithHTTPClient

func (o *ListAwsCmekParams) WithHTTPClient(client *http.Client) *ListAwsCmekParams

WithHTTPClient adds the HTTPClient to the list aws cmek params

func (*ListAwsCmekParams) WithProjectID

func (o *ListAwsCmekParams) WithProjectID(projectID string) *ListAwsCmekParams

WithProjectID adds the projectID to the list aws cmek params

func (*ListAwsCmekParams) WithTimeout

func (o *ListAwsCmekParams) WithTimeout(timeout time.Duration) *ListAwsCmekParams

WithTimeout adds the timeout to the list aws cmek params

func (*ListAwsCmekParams) WriteToRequest

func (o *ListAwsCmekParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListAwsCmekReader

type ListAwsCmekReader struct {
	// contains filtered or unexported fields
}

ListAwsCmekReader is a Reader for the ListAwsCmek structure.

func (*ListAwsCmekReader) ReadResponse

func (o *ListAwsCmekReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListAwsCmekTooManyRequests

type ListAwsCmekTooManyRequests struct {
	Payload *ListAwsCmekTooManyRequestsBody
}

ListAwsCmekTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewListAwsCmekTooManyRequests

func NewListAwsCmekTooManyRequests() *ListAwsCmekTooManyRequests

NewListAwsCmekTooManyRequests creates a ListAwsCmekTooManyRequests with default headers values

func (*ListAwsCmekTooManyRequests) Code

func (o *ListAwsCmekTooManyRequests) Code() int

Code gets the status code for the list aws cmek too many requests response

func (*ListAwsCmekTooManyRequests) Error

func (*ListAwsCmekTooManyRequests) GetPayload

func (*ListAwsCmekTooManyRequests) IsClientError

func (o *ListAwsCmekTooManyRequests) IsClientError() bool

IsClientError returns true when this list aws cmek too many requests response has a 4xx status code

func (*ListAwsCmekTooManyRequests) IsCode

func (o *ListAwsCmekTooManyRequests) IsCode(code int) bool

IsCode returns true when this list aws cmek too many requests response a status code equal to that given

func (*ListAwsCmekTooManyRequests) IsRedirect

func (o *ListAwsCmekTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list aws cmek too many requests response has a 3xx status code

func (*ListAwsCmekTooManyRequests) IsServerError

func (o *ListAwsCmekTooManyRequests) IsServerError() bool

IsServerError returns true when this list aws cmek too many requests response has a 5xx status code

func (*ListAwsCmekTooManyRequests) IsSuccess

func (o *ListAwsCmekTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list aws cmek too many requests response has a 2xx status code

func (*ListAwsCmekTooManyRequests) String

func (o *ListAwsCmekTooManyRequests) String() string

type ListAwsCmekTooManyRequestsBody

type ListAwsCmekTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListAwsCmekTooManyRequestsBody list aws cmek too many requests body swagger:model ListAwsCmekTooManyRequestsBody

func (*ListAwsCmekTooManyRequestsBody) ContextValidate

func (o *ListAwsCmekTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list aws cmek too many requests body based on context it is used

func (*ListAwsCmekTooManyRequestsBody) MarshalBinary

func (o *ListAwsCmekTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAwsCmekTooManyRequestsBody) UnmarshalBinary

func (o *ListAwsCmekTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAwsCmekTooManyRequestsBody) Validate

func (o *ListAwsCmekTooManyRequestsBody) Validate(formats strfmt.Registry) error

Validate validates this list aws cmek too many requests body

type ListAwsCmekUnauthorized

type ListAwsCmekUnauthorized struct {
	Payload interface{}
}

ListAwsCmekUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewListAwsCmekUnauthorized

func NewListAwsCmekUnauthorized() *ListAwsCmekUnauthorized

NewListAwsCmekUnauthorized creates a ListAwsCmekUnauthorized with default headers values

func (*ListAwsCmekUnauthorized) Code

func (o *ListAwsCmekUnauthorized) Code() int

Code gets the status code for the list aws cmek unauthorized response

func (*ListAwsCmekUnauthorized) Error

func (o *ListAwsCmekUnauthorized) Error() string

func (*ListAwsCmekUnauthorized) GetPayload

func (o *ListAwsCmekUnauthorized) GetPayload() interface{}

func (*ListAwsCmekUnauthorized) IsClientError

func (o *ListAwsCmekUnauthorized) IsClientError() bool

IsClientError returns true when this list aws cmek unauthorized response has a 4xx status code

func (*ListAwsCmekUnauthorized) IsCode

func (o *ListAwsCmekUnauthorized) IsCode(code int) bool

IsCode returns true when this list aws cmek unauthorized response a status code equal to that given

func (*ListAwsCmekUnauthorized) IsRedirect

func (o *ListAwsCmekUnauthorized) IsRedirect() bool

IsRedirect returns true when this list aws cmek unauthorized response has a 3xx status code

func (*ListAwsCmekUnauthorized) IsServerError

func (o *ListAwsCmekUnauthorized) IsServerError() bool

IsServerError returns true when this list aws cmek unauthorized response has a 5xx status code

func (*ListAwsCmekUnauthorized) IsSuccess

func (o *ListAwsCmekUnauthorized) IsSuccess() bool

IsSuccess returns true when this list aws cmek unauthorized response has a 2xx status code

func (*ListAwsCmekUnauthorized) String

func (o *ListAwsCmekUnauthorized) String() string

type ListClustersOfProjectBadRequest

type ListClustersOfProjectBadRequest struct {
	Payload *ListClustersOfProjectBadRequestBody
}

ListClustersOfProjectBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewListClustersOfProjectBadRequest

func NewListClustersOfProjectBadRequest() *ListClustersOfProjectBadRequest

NewListClustersOfProjectBadRequest creates a ListClustersOfProjectBadRequest with default headers values

func (*ListClustersOfProjectBadRequest) Code

Code gets the status code for the list clusters of project bad request response

func (*ListClustersOfProjectBadRequest) Error

func (*ListClustersOfProjectBadRequest) GetPayload

func (*ListClustersOfProjectBadRequest) IsClientError

func (o *ListClustersOfProjectBadRequest) IsClientError() bool

IsClientError returns true when this list clusters of project bad request response has a 4xx status code

func (*ListClustersOfProjectBadRequest) IsCode

func (o *ListClustersOfProjectBadRequest) IsCode(code int) bool

IsCode returns true when this list clusters of project bad request response a status code equal to that given

func (*ListClustersOfProjectBadRequest) IsRedirect

func (o *ListClustersOfProjectBadRequest) IsRedirect() bool

IsRedirect returns true when this list clusters of project bad request response has a 3xx status code

func (*ListClustersOfProjectBadRequest) IsServerError

func (o *ListClustersOfProjectBadRequest) IsServerError() bool

IsServerError returns true when this list clusters of project bad request response has a 5xx status code

func (*ListClustersOfProjectBadRequest) IsSuccess

func (o *ListClustersOfProjectBadRequest) IsSuccess() bool

IsSuccess returns true when this list clusters of project bad request response has a 2xx status code

func (*ListClustersOfProjectBadRequest) String

type ListClustersOfProjectBadRequestBody

type ListClustersOfProjectBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListClustersOfProjectBadRequestBody list clusters of project bad request body swagger:model ListClustersOfProjectBadRequestBody

func (*ListClustersOfProjectBadRequestBody) ContextValidate

func (o *ListClustersOfProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list clusters of project bad request body based on context it is used

func (*ListClustersOfProjectBadRequestBody) MarshalBinary

func (o *ListClustersOfProjectBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectBadRequestBody) UnmarshalBinary

func (o *ListClustersOfProjectBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectBadRequestBody) Validate

Validate validates this list clusters of project bad request body

type ListClustersOfProjectDefault

type ListClustersOfProjectDefault struct {
	Payload *ListClustersOfProjectDefaultBody
	// contains filtered or unexported fields
}

ListClustersOfProjectDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListClustersOfProjectDefault

func NewListClustersOfProjectDefault(code int) *ListClustersOfProjectDefault

NewListClustersOfProjectDefault creates a ListClustersOfProjectDefault with default headers values

func (*ListClustersOfProjectDefault) Code

Code gets the status code for the list clusters of project default response

func (*ListClustersOfProjectDefault) Error

func (*ListClustersOfProjectDefault) GetPayload

func (*ListClustersOfProjectDefault) IsClientError

func (o *ListClustersOfProjectDefault) IsClientError() bool

IsClientError returns true when this list clusters of project default response has a 4xx status code

func (*ListClustersOfProjectDefault) IsCode

func (o *ListClustersOfProjectDefault) IsCode(code int) bool

IsCode returns true when this list clusters of project default response a status code equal to that given

func (*ListClustersOfProjectDefault) IsRedirect

func (o *ListClustersOfProjectDefault) IsRedirect() bool

IsRedirect returns true when this list clusters of project default response has a 3xx status code

func (*ListClustersOfProjectDefault) IsServerError

func (o *ListClustersOfProjectDefault) IsServerError() bool

IsServerError returns true when this list clusters of project default response has a 5xx status code

func (*ListClustersOfProjectDefault) IsSuccess

func (o *ListClustersOfProjectDefault) IsSuccess() bool

IsSuccess returns true when this list clusters of project default response has a 2xx status code

func (*ListClustersOfProjectDefault) String

type ListClustersOfProjectDefaultBody

type ListClustersOfProjectDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ListClustersOfProjectDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

ListClustersOfProjectDefaultBody list clusters of project default body swagger:model ListClustersOfProjectDefaultBody

func (*ListClustersOfProjectDefaultBody) ContextValidate

func (o *ListClustersOfProjectDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list clusters of project default body based on the context it is used

func (*ListClustersOfProjectDefaultBody) MarshalBinary

func (o *ListClustersOfProjectDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectDefaultBody) UnmarshalBinary

func (o *ListClustersOfProjectDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectDefaultBody) Validate

Validate validates this list clusters of project default body

type ListClustersOfProjectDefaultBodyDetailsItems0

type ListClustersOfProjectDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ListClustersOfProjectDefaultBodyDetailsItems0 list clusters of project default body details items0 swagger:model ListClustersOfProjectDefaultBodyDetailsItems0

func (*ListClustersOfProjectDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this list clusters of project default body details items0 based on context it is used

func (*ListClustersOfProjectDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectDefaultBodyDetailsItems0) Validate

Validate validates this list clusters of project default body details items0

type ListClustersOfProjectForbidden

type ListClustersOfProjectForbidden struct {
	Payload *ListClustersOfProjectForbiddenBody
}

ListClustersOfProjectForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewListClustersOfProjectForbidden

func NewListClustersOfProjectForbidden() *ListClustersOfProjectForbidden

NewListClustersOfProjectForbidden creates a ListClustersOfProjectForbidden with default headers values

func (*ListClustersOfProjectForbidden) Code

Code gets the status code for the list clusters of project forbidden response

func (*ListClustersOfProjectForbidden) Error

func (*ListClustersOfProjectForbidden) GetPayload

func (*ListClustersOfProjectForbidden) IsClientError

func (o *ListClustersOfProjectForbidden) IsClientError() bool

IsClientError returns true when this list clusters of project forbidden response has a 4xx status code

func (*ListClustersOfProjectForbidden) IsCode

func (o *ListClustersOfProjectForbidden) IsCode(code int) bool

IsCode returns true when this list clusters of project forbidden response a status code equal to that given

func (*ListClustersOfProjectForbidden) IsRedirect

func (o *ListClustersOfProjectForbidden) IsRedirect() bool

IsRedirect returns true when this list clusters of project forbidden response has a 3xx status code

func (*ListClustersOfProjectForbidden) IsServerError

func (o *ListClustersOfProjectForbidden) IsServerError() bool

IsServerError returns true when this list clusters of project forbidden response has a 5xx status code

func (*ListClustersOfProjectForbidden) IsSuccess

func (o *ListClustersOfProjectForbidden) IsSuccess() bool

IsSuccess returns true when this list clusters of project forbidden response has a 2xx status code

func (*ListClustersOfProjectForbidden) String

type ListClustersOfProjectForbiddenBody

type ListClustersOfProjectForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListClustersOfProjectForbiddenBody list clusters of project forbidden body swagger:model ListClustersOfProjectForbiddenBody

func (*ListClustersOfProjectForbiddenBody) ContextValidate

func (o *ListClustersOfProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list clusters of project forbidden body based on context it is used

func (*ListClustersOfProjectForbiddenBody) MarshalBinary

func (o *ListClustersOfProjectForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectForbiddenBody) UnmarshalBinary

func (o *ListClustersOfProjectForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectForbiddenBody) Validate

Validate validates this list clusters of project forbidden body

type ListClustersOfProjectInternalServerError

type ListClustersOfProjectInternalServerError struct {
	Payload *ListClustersOfProjectInternalServerErrorBody
}

ListClustersOfProjectInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewListClustersOfProjectInternalServerError

func NewListClustersOfProjectInternalServerError() *ListClustersOfProjectInternalServerError

NewListClustersOfProjectInternalServerError creates a ListClustersOfProjectInternalServerError with default headers values

func (*ListClustersOfProjectInternalServerError) Code

Code gets the status code for the list clusters of project internal server error response

func (*ListClustersOfProjectInternalServerError) Error

func (*ListClustersOfProjectInternalServerError) GetPayload

func (*ListClustersOfProjectInternalServerError) IsClientError

IsClientError returns true when this list clusters of project internal server error response has a 4xx status code

func (*ListClustersOfProjectInternalServerError) IsCode

IsCode returns true when this list clusters of project internal server error response a status code equal to that given

func (*ListClustersOfProjectInternalServerError) IsRedirect

IsRedirect returns true when this list clusters of project internal server error response has a 3xx status code

func (*ListClustersOfProjectInternalServerError) IsServerError

IsServerError returns true when this list clusters of project internal server error response has a 5xx status code

func (*ListClustersOfProjectInternalServerError) IsSuccess

IsSuccess returns true when this list clusters of project internal server error response has a 2xx status code

func (*ListClustersOfProjectInternalServerError) String

type ListClustersOfProjectInternalServerErrorBody

type ListClustersOfProjectInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListClustersOfProjectInternalServerErrorBody list clusters of project internal server error body swagger:model ListClustersOfProjectInternalServerErrorBody

func (*ListClustersOfProjectInternalServerErrorBody) ContextValidate

ContextValidate validates this list clusters of project internal server error body based on context it is used

func (*ListClustersOfProjectInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectInternalServerErrorBody) Validate

Validate validates this list clusters of project internal server error body

type ListClustersOfProjectNotFound

type ListClustersOfProjectNotFound struct {
	Payload *ListClustersOfProjectNotFoundBody
}

ListClustersOfProjectNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewListClustersOfProjectNotFound

func NewListClustersOfProjectNotFound() *ListClustersOfProjectNotFound

NewListClustersOfProjectNotFound creates a ListClustersOfProjectNotFound with default headers values

func (*ListClustersOfProjectNotFound) Code

Code gets the status code for the list clusters of project not found response

func (*ListClustersOfProjectNotFound) Error

func (*ListClustersOfProjectNotFound) GetPayload

func (*ListClustersOfProjectNotFound) IsClientError

func (o *ListClustersOfProjectNotFound) IsClientError() bool

IsClientError returns true when this list clusters of project not found response has a 4xx status code

func (*ListClustersOfProjectNotFound) IsCode

func (o *ListClustersOfProjectNotFound) IsCode(code int) bool

IsCode returns true when this list clusters of project not found response a status code equal to that given

func (*ListClustersOfProjectNotFound) IsRedirect

func (o *ListClustersOfProjectNotFound) IsRedirect() bool

IsRedirect returns true when this list clusters of project not found response has a 3xx status code

func (*ListClustersOfProjectNotFound) IsServerError

func (o *ListClustersOfProjectNotFound) IsServerError() bool

IsServerError returns true when this list clusters of project not found response has a 5xx status code

func (*ListClustersOfProjectNotFound) IsSuccess

func (o *ListClustersOfProjectNotFound) IsSuccess() bool

IsSuccess returns true when this list clusters of project not found response has a 2xx status code

func (*ListClustersOfProjectNotFound) String

type ListClustersOfProjectNotFoundBody

type ListClustersOfProjectNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListClustersOfProjectNotFoundBody list clusters of project not found body swagger:model ListClustersOfProjectNotFoundBody

func (*ListClustersOfProjectNotFoundBody) ContextValidate

func (o *ListClustersOfProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list clusters of project not found body based on context it is used

func (*ListClustersOfProjectNotFoundBody) MarshalBinary

func (o *ListClustersOfProjectNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectNotFoundBody) UnmarshalBinary

func (o *ListClustersOfProjectNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectNotFoundBody) Validate

Validate validates this list clusters of project not found body

type ListClustersOfProjectOK

type ListClustersOfProjectOK struct {
	Payload *ListClustersOfProjectOKBody
}

ListClustersOfProjectOK describes a response with status code 200, with default header values.

A successful response.

func NewListClustersOfProjectOK

func NewListClustersOfProjectOK() *ListClustersOfProjectOK

NewListClustersOfProjectOK creates a ListClustersOfProjectOK with default headers values

func (*ListClustersOfProjectOK) Code

func (o *ListClustersOfProjectOK) Code() int

Code gets the status code for the list clusters of project o k response

func (*ListClustersOfProjectOK) Error

func (o *ListClustersOfProjectOK) Error() string

func (*ListClustersOfProjectOK) GetPayload

func (*ListClustersOfProjectOK) IsClientError

func (o *ListClustersOfProjectOK) IsClientError() bool

IsClientError returns true when this list clusters of project o k response has a 4xx status code

func (*ListClustersOfProjectOK) IsCode

func (o *ListClustersOfProjectOK) IsCode(code int) bool

IsCode returns true when this list clusters of project o k response a status code equal to that given

func (*ListClustersOfProjectOK) IsRedirect

func (o *ListClustersOfProjectOK) IsRedirect() bool

IsRedirect returns true when this list clusters of project o k response has a 3xx status code

func (*ListClustersOfProjectOK) IsServerError

func (o *ListClustersOfProjectOK) IsServerError() bool

IsServerError returns true when this list clusters of project o k response has a 5xx status code

func (*ListClustersOfProjectOK) IsSuccess

func (o *ListClustersOfProjectOK) IsSuccess() bool

IsSuccess returns true when this list clusters of project o k response has a 2xx status code

func (*ListClustersOfProjectOK) String

func (o *ListClustersOfProjectOK) String() string

type ListClustersOfProjectOKBody

type ListClustersOfProjectOKBody struct {

	// The items of clusters in the project.
	// Required: true
	Items []*ListClustersOfProjectOKBodyItemsItems0 `json:"items"`

	// The total number of clusters in the project.
	// Example: 1
	// Required: true
	Total *int64 `json:"total"`
}

ListClustersOfProjectOKBody GetClustersOfProjectResp // // GetClustersOfProjectResp is the response for getting clusters of project. swagger:model ListClustersOfProjectOKBody

func (*ListClustersOfProjectOKBody) ContextValidate

func (o *ListClustersOfProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list clusters of project o k body based on the context it is used

func (*ListClustersOfProjectOKBody) MarshalBinary

func (o *ListClustersOfProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBody) UnmarshalBinary

func (o *ListClustersOfProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBody) Validate

func (o *ListClustersOfProjectOKBody) Validate(formats strfmt.Registry) error

Validate validates this list clusters of project o k body

type ListClustersOfProjectOKBodyItemsItems0

type ListClustersOfProjectOKBodyItemsItems0 struct {

	// The cloud provider on which your TiDB cluster is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// The cluster type:
	// - `"DEVELOPER"`: a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster
	// - `"DEDICATED"`: a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster
	//
	// **Warning:** `"DEVELOPER"` will soon be changed to `"SERVERLESS"` to represent TiDB Serverless clusters.
	// Example: DEDICATED
	// Enum: [DEDICATED DEVELOPER]
	ClusterType string `json:"cluster_type,omitempty"`

	// config
	Config *ListClustersOfProjectOKBodyItemsItems0Config `json:"config,omitempty"`

	// The creation time of the cluster in Unix timestamp seconds (epoch time).
	// Example: 1656991448
	CreateTimestamp string `json:"create_timestamp,omitempty"`

	// The ID of the cluster.
	// Example: 1
	// Required: true
	ID *string `json:"id"`

	// The name of the cluster.
	// Example: Cluster0
	// Pattern: ^[A-Za-z0-9][-A-Za-z0-9]{2,62}[A-Za-z0-9]$
	Name string `json:"name,omitempty"`

	// The ID of the project.
	// Example: 1
	// Required: true
	ProjectID *string `json:"project_id"`

	// Region of the cluster.
	// Example: us-west-2
	Region string `json:"region,omitempty"`

	// status
	Status *ListClustersOfProjectOKBodyItemsItems0Status `json:"status,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0 ClusterItem // // ClusterItem is the information of cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0

func (*ListClustersOfProjectOKBodyItemsItems0) ContextValidate

ContextValidate validate this list clusters of project o k body items items0 based on the context it is used

func (*ListClustersOfProjectOKBodyItemsItems0) MarshalBinary

func (o *ListClustersOfProjectOKBodyItemsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0) UnmarshalBinary

func (o *ListClustersOfProjectOKBodyItemsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0) Validate

Validate validates this list clusters of project o k body items items0

type ListClustersOfProjectOKBodyItemsItems0Config

type ListClustersOfProjectOKBodyItemsItems0Config struct {

	// components
	Components *ListClustersOfProjectOKBodyItemsItems0ConfigComponents `json:"components,omitempty"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0Config The configuration of the cluster. // Example: {"components":{"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}},"port":4000} swagger:model ListClustersOfProjectOKBodyItemsItems0Config

func (*ListClustersOfProjectOKBodyItemsItems0Config) ContextValidate

ContextValidate validate this list clusters of project o k body items items0 config based on the context it is used

func (*ListClustersOfProjectOKBodyItemsItems0Config) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0Config) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0Config) Validate

Validate validates this list clusters of project o k body items items0 config

type ListClustersOfProjectOKBodyItemsItems0ConfigComponents

type ListClustersOfProjectOKBodyItemsItems0ConfigComponents struct {

	// tidb
	// Required: true
	Tidb *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb `json:"tidb"`

	// tiflash
	Tiflash *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash `json:"tiflash,omitempty"`

	// tikv
	// Required: true
	Tikv *ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv `json:"tikv"`
}

ListClustersOfProjectOKBodyItemsItems0ConfigComponents The components of the cluster. // Example: {"tidb":{"node_quantity":2,"node_size":"8C16G"},"tikv":{"node_quantity":3,"node_size":"8C32G","storage_size_gib":1024}} swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponents

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) ContextValidate

ContextValidate validate this list clusters of project o k body items items0 config components based on the context it is used

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponents) Validate

Validate validates this list clusters of project o k body items items0 config components

type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb

type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// Example: 2
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C16G
	// Required: true
	NodeSize *string `json:"node_size"`
}

ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb The TiDB component of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 config components tidb based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTidb) Validate

Validate validates this list clusters of project o k body items items0 config components tidb

type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash

type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 1
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C64G
	// Required: true
	NodeSize *string `json:"node_size"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// Example: 1024
	// Required: true
	StorageSizeGib *int32 `json:"storage_size_gib"`
}

ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash The TiFlash component of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 config components tiflash based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTiflash) Validate

Validate validates this list clusters of project o k body items items0 config components tiflash

type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv

type ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Limitations**:
	// - The `node_quantity` of TiKV must be a multiple of 3.
	// Example: 3
	// Required: true
	NodeQuantity *int32 `json:"node_quantity"`

	// The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	// Example: 8C64G
	// Required: true
	NodeSize *string `json:"node_size"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 1024
	// Required: true
	StorageSizeGib *int32 `json:"storage_size_gib"`
}

ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv The TiKV component of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 config components tikv based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0ConfigComponentsTikv) Validate

Validate validates this list clusters of project o k body items items0 config components tikv

type ListClustersOfProjectOKBodyItemsItems0Status

type ListClustersOfProjectOKBodyItemsItems0Status struct {

	// Status of the cluster.
	// Example: AVAILABLE
	// Enum: [AVAILABLE CREATING MODIFYING PAUSED RESUMING UNAVAILABLE IMPORTING MAINTAINING PAUSING]
	ClusterStatus string `json:"cluster_status,omitempty"`

	// connection strings
	ConnectionStrings *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings `json:"connection_strings,omitempty"`

	// node map
	NodeMap *ListClustersOfProjectOKBodyItemsItems0StatusNodeMap `json:"node_map,omitempty"`

	// TiDB version.
	// Example: v6.1.0
	TidbVersion string `json:"tidb_version,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0Status ClusterItemStatus // // The status of the cluster. swagger:model ListClustersOfProjectOKBodyItemsItems0Status

func (*ListClustersOfProjectOKBodyItemsItems0Status) ContextValidate

ContextValidate validate this list clusters of project o k body items items0 status based on the context it is used

func (*ListClustersOfProjectOKBodyItemsItems0Status) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0Status) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0Status) Validate

Validate validates this list clusters of project o k body items items0 status

type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings

type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings struct {

	// The default TiDB user for connection.
	// Example: root
	DefaultUser string `json:"default_user,omitempty"`

	// standard
	Standard *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard `json:"standard,omitempty"`

	// vpc peering
	VpcPeering *ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering `json:"vpc_peering,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings Connection strings. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) ContextValidate

ContextValidate validate this list clusters of project o k body items items0 status connection strings based on the context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStrings) Validate

Validate validates this list clusters of project o k body items items0 status connection strings

type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard

type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard struct {

	// The host of standard connection.
	// Example: tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com
	Host string `json:"host,omitempty"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	//
	// **Limitations**:
	// - For a TiDB Serverless cluster, only port `4000` is available.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard Standard connection string. // // You must configure the [IP Access List](https://docs.pingcap.com/tidbcloud/connect-to-tidb-cluster#connect-via-standard-connection) for the cluster you created on [TiDB Cloud console](https://tidbcloud.com/) before connecting to this connection string. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 status connection strings standard based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsStandard) Validate

Validate validates this list clusters of project o k body items items0 status connection strings standard

type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering

type ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering struct {

	// The host of VPC peering connection.
	// Example: private-tidb.f69f3808.acea1f2a.us-east-1.shared.aws.tidbcloud.com
	Host string `json:"host,omitempty"`

	// The TiDB port for connection. The port must be in the range of 1024-65535 except 10080.
	//
	// **Limitations**:
	// - For a TiDB Serverless cluster, only port `4000` is available.
	// Example: 4000
	// Maximum: 65535
	// Minimum: 1024
	Port int32 `json:"port,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering [VPC peering](https://docs.pingcap.com/tidbcloud/tidb-cloud-glossary#vpc-peering) connection string. // // You must [Set up VPC peering connections](https://docs.pingcap.com/tidbcloud/set-up-vpc-peering-connections) for the project before connecting to this private connection string. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 status connection strings vpc peering based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusConnectionStringsVpcPeering) Validate

Validate validates this list clusters of project o k body items items0 status connection strings vpc peering

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMap

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMap struct {

	// TiDB node map.
	// Example: [{"availability_zone":"us-west-2a","node_name":"tidb-0","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tidb-1","node_size":"8C16G","ram_bytes":"17179869184","status":"NODE_STATUS_AVAILABLE","vcpu_num":8}]
	// Required: true
	Tidb []*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 `json:"tidb"`

	// TiFlash node map.
	// Example: [{"availability_zone":"us-west-2a","node_name":"tiflash-0","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tiflash-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}]
	Tiflash []*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 `json:"tiflash"`

	// TiKV node map.
	// Example: [{"availability_zone":"us-west-2a","node_name":"tikv-0","node_size":"8C32G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2b","node_name":"tikv-1","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8},{"availability_zone":"us-west-2c","node_name":"tikv-2","node_size":"8C64G","ram_bytes":"68719476736","status":"NODE_STATUS_AVAILABLE","storage_size_gib":1024,"vcpu_num":8}]
	// Required: true
	Tikv []*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 `json:"tikv"`
}

ListClustersOfProjectOKBodyItemsItems0StatusNodeMap Node map. The `node_map` is returned only when the `cluster_status` is `"AVAILABLE"` or `"MODIFYING"`. swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMap

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) ContextValidate

ContextValidate validate this list clusters of project o k body items items0 status node map based on the context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMap) Validate

Validate validates this list clusters of project o k body items items0 status node map

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 struct {

	// The availability zone of a node in the cluster.
	// Example: us-west-2a
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// The name of a node in the cluster.
	// Example: tidb-0
	NodeName string `json:"node_name,omitempty"`

	// The size of the TiDB component in the cluster.
	// Example: 8C16G
	NodeSize string `json:"node_size,omitempty"`

	// The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0.
	// Example: 17179869184
	RAMBytes string `json:"ram_bytes,omitempty"`

	// The status of a node in the cluster.
	// Example: NODE_STATUS_AVAILABLE
	// Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING]
	Status string `json:"status,omitempty"`

	// The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0.
	// Example: 8
	VcpuNum int32 `json:"vcpu_num,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0 list clusters of project o k body items items0 status node map tidb items0 swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 status node map tidb items0 based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTidbItems0) Validate

Validate validates this list clusters of project o k body items items0 status node map tidb items0

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 struct {

	// The availability zone of a node in the cluster.
	// Example: us-west-2a
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// The name of a node in the cluster.
	// Example: tiflash-0
	NodeName string `json:"node_name,omitempty"`

	// The size of the TiFlash component in the cluster.
	// Example: 8C64G
	NodeSize string `json:"node_size,omitempty"`

	// The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0.
	// Example: 68719476736
	RAMBytes string `json:"ram_bytes,omitempty"`

	// The status of a node in the cluster.
	// Example: NODE_STATUS_AVAILABLE
	// Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING]
	Status string `json:"status,omitempty"`

	// The storage size of a node in the cluster.
	// Example: 1024
	StorageSizeGib int32 `json:"storage_size_gib,omitempty"`

	// The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0.
	// Example: 8
	VcpuNum int32 `json:"vcpu_num,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0 list clusters of project o k body items items0 status node map tiflash items0 swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 status node map tiflash items0 based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTiflashItems0) Validate

Validate validates this list clusters of project o k body items items0 status node map tiflash items0

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0

type ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 struct {

	// The availability zone of a node in the cluster.
	// Example: us-west-2a
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// The name of a node in the cluster.
	// Example: tikv-0
	NodeName string `json:"node_name,omitempty"`

	// The size of the TiKV component in the cluster.
	// Example: 8C32G
	NodeSize string `json:"node_size,omitempty"`

	// The RAM size of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `ram_bytes` is always 0.
	// Example: 68719476736
	RAMBytes string `json:"ram_bytes,omitempty"`

	// The status of a node in the cluster.
	// Example: NODE_STATUS_AVAILABLE
	// Enum: [NODE_STATUS_AVAILABLE NODE_STATUS_UNAVAILABLE NODE_STATUS_CREATING NODE_STATUS_DELETING]
	Status string `json:"status,omitempty"`

	// The storage size of a node in the cluster.
	// Example: 1024
	StorageSizeGib int32 `json:"storage_size_gib,omitempty"`

	// The total vCPUs of a node in the cluster. If the `cluster_type` is `"DEVELOPER"`, `vcpu_num` is always 0.
	// Example: 8
	VcpuNum int32 `json:"vcpu_num,omitempty"`
}

ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0 list clusters of project o k body items items0 status node map tikv items0 swagger:model ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) ContextValidate

ContextValidate validates this list clusters of project o k body items items0 status node map tikv items0 based on context it is used

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListClustersOfProjectOKBodyItemsItems0StatusNodeMapTikvItems0) Validate

Validate validates this list clusters of project o k body items items0 status node map tikv items0

type ListClustersOfProjectParams

type ListClustersOfProjectParams struct {

	/* Page.

	   The number of pages.

	   Format: int64
	   Default: 1
	*/
	Page *int64

	/* PageSize.

	   The size of a page.

	   Format: int64
	   Default: 10
	*/
	PageSize *int64

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListClustersOfProjectParams contains all the parameters to send to the API endpoint

for the list clusters of project operation.

Typically these are written to a http.Request.

func NewListClustersOfProjectParams

func NewListClustersOfProjectParams() *ListClustersOfProjectParams

NewListClustersOfProjectParams creates a new ListClustersOfProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListClustersOfProjectParamsWithContext

func NewListClustersOfProjectParamsWithContext(ctx context.Context) *ListClustersOfProjectParams

NewListClustersOfProjectParamsWithContext creates a new ListClustersOfProjectParams object with the ability to set a context for a request.

func NewListClustersOfProjectParamsWithHTTPClient

func NewListClustersOfProjectParamsWithHTTPClient(client *http.Client) *ListClustersOfProjectParams

NewListClustersOfProjectParamsWithHTTPClient creates a new ListClustersOfProjectParams object with the ability to set a custom HTTPClient for a request.

func NewListClustersOfProjectParamsWithTimeout

func NewListClustersOfProjectParamsWithTimeout(timeout time.Duration) *ListClustersOfProjectParams

NewListClustersOfProjectParamsWithTimeout creates a new ListClustersOfProjectParams object with the ability to set a timeout on a request.

func (*ListClustersOfProjectParams) SetContext

func (o *ListClustersOfProjectParams) SetContext(ctx context.Context)

SetContext adds the context to the list clusters of project params

func (*ListClustersOfProjectParams) SetDefaults

func (o *ListClustersOfProjectParams) SetDefaults()

SetDefaults hydrates default values in the list clusters of project params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersOfProjectParams) SetHTTPClient

func (o *ListClustersOfProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list clusters of project params

func (*ListClustersOfProjectParams) SetPage

func (o *ListClustersOfProjectParams) SetPage(page *int64)

SetPage adds the page to the list clusters of project params

func (*ListClustersOfProjectParams) SetPageSize

func (o *ListClustersOfProjectParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list clusters of project params

func (*ListClustersOfProjectParams) SetProjectID

func (o *ListClustersOfProjectParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list clusters of project params

func (*ListClustersOfProjectParams) SetTimeout

func (o *ListClustersOfProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list clusters of project params

func (*ListClustersOfProjectParams) WithContext

WithContext adds the context to the list clusters of project params

func (*ListClustersOfProjectParams) WithDefaults

WithDefaults hydrates default values in the list clusters of project params (not the query body).

All values with no default are reset to their zero value.

func (*ListClustersOfProjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list clusters of project params

func (*ListClustersOfProjectParams) WithPage

WithPage adds the page to the list clusters of project params

func (*ListClustersOfProjectParams) WithPageSize

WithPageSize adds the pageSize to the list clusters of project params

func (*ListClustersOfProjectParams) WithProjectID

func (o *ListClustersOfProjectParams) WithProjectID(projectID string) *ListClustersOfProjectParams

WithProjectID adds the projectID to the list clusters of project params

func (*ListClustersOfProjectParams) WithTimeout

WithTimeout adds the timeout to the list clusters of project params

func (*ListClustersOfProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListClustersOfProjectReader

type ListClustersOfProjectReader struct {
	// contains filtered or unexported fields
}

ListClustersOfProjectReader is a Reader for the ListClustersOfProject structure.

func (*ListClustersOfProjectReader) ReadResponse

func (o *ListClustersOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListClustersOfProjectTooManyRequests

type ListClustersOfProjectTooManyRequests struct {
	Payload *ListClustersOfProjectTooManyRequestsBody
}

ListClustersOfProjectTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewListClustersOfProjectTooManyRequests

func NewListClustersOfProjectTooManyRequests() *ListClustersOfProjectTooManyRequests

NewListClustersOfProjectTooManyRequests creates a ListClustersOfProjectTooManyRequests with default headers values

func (*ListClustersOfProjectTooManyRequests) Code

Code gets the status code for the list clusters of project too many requests response

func (*ListClustersOfProjectTooManyRequests) Error

func (*ListClustersOfProjectTooManyRequests) GetPayload

func (*ListClustersOfProjectTooManyRequests) IsClientError

func (o *ListClustersOfProjectTooManyRequests) IsClientError() bool

IsClientError returns true when this list clusters of project too many requests response has a 4xx status code

func (*ListClustersOfProjectTooManyRequests) IsCode

IsCode returns true when this list clusters of project too many requests response a status code equal to that given

func (*ListClustersOfProjectTooManyRequests) IsRedirect

IsRedirect returns true when this list clusters of project too many requests response has a 3xx status code

func (*ListClustersOfProjectTooManyRequests) IsServerError

func (o *ListClustersOfProjectTooManyRequests) IsServerError() bool

IsServerError returns true when this list clusters of project too many requests response has a 5xx status code

func (*ListClustersOfProjectTooManyRequests) IsSuccess

IsSuccess returns true when this list clusters of project too many requests response has a 2xx status code

func (*ListClustersOfProjectTooManyRequests) String

type ListClustersOfProjectTooManyRequestsBody

type ListClustersOfProjectTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListClustersOfProjectTooManyRequestsBody list clusters of project too many requests body swagger:model ListClustersOfProjectTooManyRequestsBody

func (*ListClustersOfProjectTooManyRequestsBody) ContextValidate

ContextValidate validates this list clusters of project too many requests body based on context it is used

func (*ListClustersOfProjectTooManyRequestsBody) MarshalBinary

func (o *ListClustersOfProjectTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListClustersOfProjectTooManyRequestsBody) UnmarshalBinary

func (o *ListClustersOfProjectTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListClustersOfProjectTooManyRequestsBody) Validate

Validate validates this list clusters of project too many requests body

type ListClustersOfProjectUnauthorized

type ListClustersOfProjectUnauthorized struct {
	Payload interface{}
}

ListClustersOfProjectUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewListClustersOfProjectUnauthorized

func NewListClustersOfProjectUnauthorized() *ListClustersOfProjectUnauthorized

NewListClustersOfProjectUnauthorized creates a ListClustersOfProjectUnauthorized with default headers values

func (*ListClustersOfProjectUnauthorized) Code

Code gets the status code for the list clusters of project unauthorized response

func (*ListClustersOfProjectUnauthorized) Error

func (*ListClustersOfProjectUnauthorized) GetPayload

func (o *ListClustersOfProjectUnauthorized) GetPayload() interface{}

func (*ListClustersOfProjectUnauthorized) IsClientError

func (o *ListClustersOfProjectUnauthorized) IsClientError() bool

IsClientError returns true when this list clusters of project unauthorized response has a 4xx status code

func (*ListClustersOfProjectUnauthorized) IsCode

func (o *ListClustersOfProjectUnauthorized) IsCode(code int) bool

IsCode returns true when this list clusters of project unauthorized response a status code equal to that given

func (*ListClustersOfProjectUnauthorized) IsRedirect

func (o *ListClustersOfProjectUnauthorized) IsRedirect() bool

IsRedirect returns true when this list clusters of project unauthorized response has a 3xx status code

func (*ListClustersOfProjectUnauthorized) IsServerError

func (o *ListClustersOfProjectUnauthorized) IsServerError() bool

IsServerError returns true when this list clusters of project unauthorized response has a 5xx status code

func (*ListClustersOfProjectUnauthorized) IsSuccess

func (o *ListClustersOfProjectUnauthorized) IsSuccess() bool

IsSuccess returns true when this list clusters of project unauthorized response has a 2xx status code

func (*ListClustersOfProjectUnauthorized) String

type ListPrivateEndpointsBadRequest

type ListPrivateEndpointsBadRequest struct {
	Payload *ListPrivateEndpointsBadRequestBody
}

ListPrivateEndpointsBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewListPrivateEndpointsBadRequest

func NewListPrivateEndpointsBadRequest() *ListPrivateEndpointsBadRequest

NewListPrivateEndpointsBadRequest creates a ListPrivateEndpointsBadRequest with default headers values

func (*ListPrivateEndpointsBadRequest) Code

Code gets the status code for the list private endpoints bad request response

func (*ListPrivateEndpointsBadRequest) Error

func (*ListPrivateEndpointsBadRequest) GetPayload

func (*ListPrivateEndpointsBadRequest) IsClientError

func (o *ListPrivateEndpointsBadRequest) IsClientError() bool

IsClientError returns true when this list private endpoints bad request response has a 4xx status code

func (*ListPrivateEndpointsBadRequest) IsCode

func (o *ListPrivateEndpointsBadRequest) IsCode(code int) bool

IsCode returns true when this list private endpoints bad request response a status code equal to that given

func (*ListPrivateEndpointsBadRequest) IsRedirect

func (o *ListPrivateEndpointsBadRequest) IsRedirect() bool

IsRedirect returns true when this list private endpoints bad request response has a 3xx status code

func (*ListPrivateEndpointsBadRequest) IsServerError

func (o *ListPrivateEndpointsBadRequest) IsServerError() bool

IsServerError returns true when this list private endpoints bad request response has a 5xx status code

func (*ListPrivateEndpointsBadRequest) IsSuccess

func (o *ListPrivateEndpointsBadRequest) IsSuccess() bool

IsSuccess returns true when this list private endpoints bad request response has a 2xx status code

func (*ListPrivateEndpointsBadRequest) String

type ListPrivateEndpointsBadRequestBody

type ListPrivateEndpointsBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsBadRequestBody list private endpoints bad request body swagger:model ListPrivateEndpointsBadRequestBody

func (*ListPrivateEndpointsBadRequestBody) ContextValidate

func (o *ListPrivateEndpointsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list private endpoints bad request body based on context it is used

func (*ListPrivateEndpointsBadRequestBody) MarshalBinary

func (o *ListPrivateEndpointsBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsBadRequestBody) UnmarshalBinary

func (o *ListPrivateEndpointsBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsBadRequestBody) Validate

Validate validates this list private endpoints bad request body

type ListPrivateEndpointsDefault

type ListPrivateEndpointsDefault struct {
	Payload *ListPrivateEndpointsDefaultBody
	// contains filtered or unexported fields
}

ListPrivateEndpointsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListPrivateEndpointsDefault

func NewListPrivateEndpointsDefault(code int) *ListPrivateEndpointsDefault

NewListPrivateEndpointsDefault creates a ListPrivateEndpointsDefault with default headers values

func (*ListPrivateEndpointsDefault) Code

func (o *ListPrivateEndpointsDefault) Code() int

Code gets the status code for the list private endpoints default response

func (*ListPrivateEndpointsDefault) Error

func (*ListPrivateEndpointsDefault) GetPayload

func (*ListPrivateEndpointsDefault) IsClientError

func (o *ListPrivateEndpointsDefault) IsClientError() bool

IsClientError returns true when this list private endpoints default response has a 4xx status code

func (*ListPrivateEndpointsDefault) IsCode

func (o *ListPrivateEndpointsDefault) IsCode(code int) bool

IsCode returns true when this list private endpoints default response a status code equal to that given

func (*ListPrivateEndpointsDefault) IsRedirect

func (o *ListPrivateEndpointsDefault) IsRedirect() bool

IsRedirect returns true when this list private endpoints default response has a 3xx status code

func (*ListPrivateEndpointsDefault) IsServerError

func (o *ListPrivateEndpointsDefault) IsServerError() bool

IsServerError returns true when this list private endpoints default response has a 5xx status code

func (*ListPrivateEndpointsDefault) IsSuccess

func (o *ListPrivateEndpointsDefault) IsSuccess() bool

IsSuccess returns true when this list private endpoints default response has a 2xx status code

func (*ListPrivateEndpointsDefault) String

func (o *ListPrivateEndpointsDefault) String() string

type ListPrivateEndpointsDefaultBody

type ListPrivateEndpointsDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ListPrivateEndpointsDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsDefaultBody list private endpoints default body swagger:model ListPrivateEndpointsDefaultBody

func (*ListPrivateEndpointsDefaultBody) ContextValidate

func (o *ListPrivateEndpointsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list private endpoints default body based on the context it is used

func (*ListPrivateEndpointsDefaultBody) MarshalBinary

func (o *ListPrivateEndpointsDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsDefaultBody) UnmarshalBinary

func (o *ListPrivateEndpointsDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsDefaultBody) Validate

Validate validates this list private endpoints default body

type ListPrivateEndpointsDefaultBodyDetailsItems0

type ListPrivateEndpointsDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ListPrivateEndpointsDefaultBodyDetailsItems0 list private endpoints default body details items0 swagger:model ListPrivateEndpointsDefaultBodyDetailsItems0

func (*ListPrivateEndpointsDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this list private endpoints default body details items0 based on context it is used

func (*ListPrivateEndpointsDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListPrivateEndpointsDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsDefaultBodyDetailsItems0) Validate

Validate validates this list private endpoints default body details items0

type ListPrivateEndpointsForbidden

type ListPrivateEndpointsForbidden struct {
	Payload *ListPrivateEndpointsForbiddenBody
}

ListPrivateEndpointsForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewListPrivateEndpointsForbidden

func NewListPrivateEndpointsForbidden() *ListPrivateEndpointsForbidden

NewListPrivateEndpointsForbidden creates a ListPrivateEndpointsForbidden with default headers values

func (*ListPrivateEndpointsForbidden) Code

Code gets the status code for the list private endpoints forbidden response

func (*ListPrivateEndpointsForbidden) Error

func (*ListPrivateEndpointsForbidden) GetPayload

func (*ListPrivateEndpointsForbidden) IsClientError

func (o *ListPrivateEndpointsForbidden) IsClientError() bool

IsClientError returns true when this list private endpoints forbidden response has a 4xx status code

func (*ListPrivateEndpointsForbidden) IsCode

func (o *ListPrivateEndpointsForbidden) IsCode(code int) bool

IsCode returns true when this list private endpoints forbidden response a status code equal to that given

func (*ListPrivateEndpointsForbidden) IsRedirect

func (o *ListPrivateEndpointsForbidden) IsRedirect() bool

IsRedirect returns true when this list private endpoints forbidden response has a 3xx status code

func (*ListPrivateEndpointsForbidden) IsServerError

func (o *ListPrivateEndpointsForbidden) IsServerError() bool

IsServerError returns true when this list private endpoints forbidden response has a 5xx status code

func (*ListPrivateEndpointsForbidden) IsSuccess

func (o *ListPrivateEndpointsForbidden) IsSuccess() bool

IsSuccess returns true when this list private endpoints forbidden response has a 2xx status code

func (*ListPrivateEndpointsForbidden) String

type ListPrivateEndpointsForbiddenBody

type ListPrivateEndpointsForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsForbiddenBody list private endpoints forbidden body swagger:model ListPrivateEndpointsForbiddenBody

func (*ListPrivateEndpointsForbiddenBody) ContextValidate

func (o *ListPrivateEndpointsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list private endpoints forbidden body based on context it is used

func (*ListPrivateEndpointsForbiddenBody) MarshalBinary

func (o *ListPrivateEndpointsForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsForbiddenBody) UnmarshalBinary

func (o *ListPrivateEndpointsForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsForbiddenBody) Validate

Validate validates this list private endpoints forbidden body

type ListPrivateEndpointsInternalServerError

type ListPrivateEndpointsInternalServerError struct {
	Payload *ListPrivateEndpointsInternalServerErrorBody
}

ListPrivateEndpointsInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewListPrivateEndpointsInternalServerError

func NewListPrivateEndpointsInternalServerError() *ListPrivateEndpointsInternalServerError

NewListPrivateEndpointsInternalServerError creates a ListPrivateEndpointsInternalServerError with default headers values

func (*ListPrivateEndpointsInternalServerError) Code

Code gets the status code for the list private endpoints internal server error response

func (*ListPrivateEndpointsInternalServerError) Error

func (*ListPrivateEndpointsInternalServerError) GetPayload

func (*ListPrivateEndpointsInternalServerError) IsClientError

func (o *ListPrivateEndpointsInternalServerError) IsClientError() bool

IsClientError returns true when this list private endpoints internal server error response has a 4xx status code

func (*ListPrivateEndpointsInternalServerError) IsCode

IsCode returns true when this list private endpoints internal server error response a status code equal to that given

func (*ListPrivateEndpointsInternalServerError) IsRedirect

IsRedirect returns true when this list private endpoints internal server error response has a 3xx status code

func (*ListPrivateEndpointsInternalServerError) IsServerError

func (o *ListPrivateEndpointsInternalServerError) IsServerError() bool

IsServerError returns true when this list private endpoints internal server error response has a 5xx status code

func (*ListPrivateEndpointsInternalServerError) IsSuccess

IsSuccess returns true when this list private endpoints internal server error response has a 2xx status code

func (*ListPrivateEndpointsInternalServerError) String

type ListPrivateEndpointsInternalServerErrorBody

type ListPrivateEndpointsInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsInternalServerErrorBody list private endpoints internal server error body swagger:model ListPrivateEndpointsInternalServerErrorBody

func (*ListPrivateEndpointsInternalServerErrorBody) ContextValidate

ContextValidate validates this list private endpoints internal server error body based on context it is used

func (*ListPrivateEndpointsInternalServerErrorBody) MarshalBinary

func (o *ListPrivateEndpointsInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsInternalServerErrorBody) UnmarshalBinary

func (o *ListPrivateEndpointsInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsInternalServerErrorBody) Validate

Validate validates this list private endpoints internal server error body

type ListPrivateEndpointsNotFound

type ListPrivateEndpointsNotFound struct {
	Payload *ListPrivateEndpointsNotFoundBody
}

ListPrivateEndpointsNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewListPrivateEndpointsNotFound

func NewListPrivateEndpointsNotFound() *ListPrivateEndpointsNotFound

NewListPrivateEndpointsNotFound creates a ListPrivateEndpointsNotFound with default headers values

func (*ListPrivateEndpointsNotFound) Code

Code gets the status code for the list private endpoints not found response

func (*ListPrivateEndpointsNotFound) Error

func (*ListPrivateEndpointsNotFound) GetPayload

func (*ListPrivateEndpointsNotFound) IsClientError

func (o *ListPrivateEndpointsNotFound) IsClientError() bool

IsClientError returns true when this list private endpoints not found response has a 4xx status code

func (*ListPrivateEndpointsNotFound) IsCode

func (o *ListPrivateEndpointsNotFound) IsCode(code int) bool

IsCode returns true when this list private endpoints not found response a status code equal to that given

func (*ListPrivateEndpointsNotFound) IsRedirect

func (o *ListPrivateEndpointsNotFound) IsRedirect() bool

IsRedirect returns true when this list private endpoints not found response has a 3xx status code

func (*ListPrivateEndpointsNotFound) IsServerError

func (o *ListPrivateEndpointsNotFound) IsServerError() bool

IsServerError returns true when this list private endpoints not found response has a 5xx status code

func (*ListPrivateEndpointsNotFound) IsSuccess

func (o *ListPrivateEndpointsNotFound) IsSuccess() bool

IsSuccess returns true when this list private endpoints not found response has a 2xx status code

func (*ListPrivateEndpointsNotFound) String

type ListPrivateEndpointsNotFoundBody

type ListPrivateEndpointsNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsNotFoundBody list private endpoints not found body swagger:model ListPrivateEndpointsNotFoundBody

func (*ListPrivateEndpointsNotFoundBody) ContextValidate

func (o *ListPrivateEndpointsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list private endpoints not found body based on context it is used

func (*ListPrivateEndpointsNotFoundBody) MarshalBinary

func (o *ListPrivateEndpointsNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsNotFoundBody) UnmarshalBinary

func (o *ListPrivateEndpointsNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsNotFoundBody) Validate

Validate validates this list private endpoints not found body

type ListPrivateEndpointsOK

type ListPrivateEndpointsOK struct {
	Payload *ListPrivateEndpointsOKBody
}

ListPrivateEndpointsOK describes a response with status code 200, with default header values.

A successful response.

func NewListPrivateEndpointsOK

func NewListPrivateEndpointsOK() *ListPrivateEndpointsOK

NewListPrivateEndpointsOK creates a ListPrivateEndpointsOK with default headers values

func (*ListPrivateEndpointsOK) Code

func (o *ListPrivateEndpointsOK) Code() int

Code gets the status code for the list private endpoints o k response

func (*ListPrivateEndpointsOK) Error

func (o *ListPrivateEndpointsOK) Error() string

func (*ListPrivateEndpointsOK) GetPayload

func (*ListPrivateEndpointsOK) IsClientError

func (o *ListPrivateEndpointsOK) IsClientError() bool

IsClientError returns true when this list private endpoints o k response has a 4xx status code

func (*ListPrivateEndpointsOK) IsCode

func (o *ListPrivateEndpointsOK) IsCode(code int) bool

IsCode returns true when this list private endpoints o k response a status code equal to that given

func (*ListPrivateEndpointsOK) IsRedirect

func (o *ListPrivateEndpointsOK) IsRedirect() bool

IsRedirect returns true when this list private endpoints o k response has a 3xx status code

func (*ListPrivateEndpointsOK) IsServerError

func (o *ListPrivateEndpointsOK) IsServerError() bool

IsServerError returns true when this list private endpoints o k response has a 5xx status code

func (*ListPrivateEndpointsOK) IsSuccess

func (o *ListPrivateEndpointsOK) IsSuccess() bool

IsSuccess returns true when this list private endpoints o k response has a 2xx status code

func (*ListPrivateEndpointsOK) String

func (o *ListPrivateEndpointsOK) String() string

type ListPrivateEndpointsOKBody

type ListPrivateEndpointsOKBody struct {

	// The private endpoints for the cluster.
	// Required: true
	Endpoints []*ListPrivateEndpointsOKBodyEndpointsItems0 `json:"endpoints"`
}

ListPrivateEndpointsOKBody ListPrivateEndpointsResp // // ListPrivateEndpointsResp is the response for listing private endpoints for a cluster. swagger:model ListPrivateEndpointsOKBody

func (*ListPrivateEndpointsOKBody) ContextValidate

func (o *ListPrivateEndpointsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list private endpoints o k body based on the context it is used

func (*ListPrivateEndpointsOKBody) MarshalBinary

func (o *ListPrivateEndpointsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOKBody) UnmarshalBinary

func (o *ListPrivateEndpointsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOKBody) Validate

func (o *ListPrivateEndpointsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list private endpoints o k body

type ListPrivateEndpointsOKBodyEndpointsItems0

type ListPrivateEndpointsOKBodyEndpointsItems0 struct {

	// [Output Only] The cloud provider on which the private endpoint service is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// [Output Only] The ID of the cluster.
	// Example: 1
	ClusterID string `json:"cluster_id,omitempty"`

	// [Output Only] The name of the cluster.
	// Example: Cluster0
	ClusterName string `json:"cluster_name,omitempty"`

	// The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud.
	// Example: vpce-01234567890123456
	EndpointName string `json:"endpoint_name,omitempty"`

	// [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint).
	// Example: 1
	ID string `json:"id,omitempty"`

	// [Output Only] The detailed message when the `status` is "FAILED".
	// Example: The endpoint does not exist.
	Message string `json:"message,omitempty"`

	// [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS.
	// Example: Oregon
	RegionName string `json:"region_name,omitempty"`

	// [Output Only] The service name of the private endpoint.
	// Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456
	ServiceName string `json:"service_name,omitempty"`

	// [Output Only] The status of the private endpoint service.
	// Example: ACTIVE
	// Enum: [CREATING ACTIVE DELETING]
	ServiceStatus string `json:"service_status,omitempty"`

	// [Output Only] The status of the private endpoint.
	// Example: FAILED
	// Enum: [PENDING ACTIVE DELETING FAILED]
	Status string `json:"status,omitempty"`
}

ListPrivateEndpointsOKBodyEndpointsItems0 list private endpoints o k body endpoints items0 swagger:model ListPrivateEndpointsOKBodyEndpointsItems0

func (*ListPrivateEndpointsOKBodyEndpointsItems0) ContextValidate

ContextValidate validates this list private endpoints o k body endpoints items0 based on context it is used

func (*ListPrivateEndpointsOKBodyEndpointsItems0) MarshalBinary

func (o *ListPrivateEndpointsOKBodyEndpointsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOKBodyEndpointsItems0) UnmarshalBinary

func (o *ListPrivateEndpointsOKBodyEndpointsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOKBodyEndpointsItems0) Validate

Validate validates this list private endpoints o k body endpoints items0

type ListPrivateEndpointsOfProjectBadRequest

type ListPrivateEndpointsOfProjectBadRequest struct {
	Payload *ListPrivateEndpointsOfProjectBadRequestBody
}

ListPrivateEndpointsOfProjectBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewListPrivateEndpointsOfProjectBadRequest

func NewListPrivateEndpointsOfProjectBadRequest() *ListPrivateEndpointsOfProjectBadRequest

NewListPrivateEndpointsOfProjectBadRequest creates a ListPrivateEndpointsOfProjectBadRequest with default headers values

func (*ListPrivateEndpointsOfProjectBadRequest) Code

Code gets the status code for the list private endpoints of project bad request response

func (*ListPrivateEndpointsOfProjectBadRequest) Error

func (*ListPrivateEndpointsOfProjectBadRequest) GetPayload

func (*ListPrivateEndpointsOfProjectBadRequest) IsClientError

func (o *ListPrivateEndpointsOfProjectBadRequest) IsClientError() bool

IsClientError returns true when this list private endpoints of project bad request response has a 4xx status code

func (*ListPrivateEndpointsOfProjectBadRequest) IsCode

IsCode returns true when this list private endpoints of project bad request response a status code equal to that given

func (*ListPrivateEndpointsOfProjectBadRequest) IsRedirect

IsRedirect returns true when this list private endpoints of project bad request response has a 3xx status code

func (*ListPrivateEndpointsOfProjectBadRequest) IsServerError

func (o *ListPrivateEndpointsOfProjectBadRequest) IsServerError() bool

IsServerError returns true when this list private endpoints of project bad request response has a 5xx status code

func (*ListPrivateEndpointsOfProjectBadRequest) IsSuccess

IsSuccess returns true when this list private endpoints of project bad request response has a 2xx status code

func (*ListPrivateEndpointsOfProjectBadRequest) String

type ListPrivateEndpointsOfProjectBadRequestBody

type ListPrivateEndpointsOfProjectBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsOfProjectBadRequestBody list private endpoints of project bad request body swagger:model ListPrivateEndpointsOfProjectBadRequestBody

func (*ListPrivateEndpointsOfProjectBadRequestBody) ContextValidate

ContextValidate validates this list private endpoints of project bad request body based on context it is used

func (*ListPrivateEndpointsOfProjectBadRequestBody) MarshalBinary

func (o *ListPrivateEndpointsOfProjectBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectBadRequestBody) UnmarshalBinary

func (o *ListPrivateEndpointsOfProjectBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectBadRequestBody) Validate

Validate validates this list private endpoints of project bad request body

type ListPrivateEndpointsOfProjectDefault

type ListPrivateEndpointsOfProjectDefault struct {
	Payload *ListPrivateEndpointsOfProjectDefaultBody
	// contains filtered or unexported fields
}

ListPrivateEndpointsOfProjectDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListPrivateEndpointsOfProjectDefault

func NewListPrivateEndpointsOfProjectDefault(code int) *ListPrivateEndpointsOfProjectDefault

NewListPrivateEndpointsOfProjectDefault creates a ListPrivateEndpointsOfProjectDefault with default headers values

func (*ListPrivateEndpointsOfProjectDefault) Code

Code gets the status code for the list private endpoints of project default response

func (*ListPrivateEndpointsOfProjectDefault) Error

func (*ListPrivateEndpointsOfProjectDefault) GetPayload

func (*ListPrivateEndpointsOfProjectDefault) IsClientError

func (o *ListPrivateEndpointsOfProjectDefault) IsClientError() bool

IsClientError returns true when this list private endpoints of project default response has a 4xx status code

func (*ListPrivateEndpointsOfProjectDefault) IsCode

IsCode returns true when this list private endpoints of project default response a status code equal to that given

func (*ListPrivateEndpointsOfProjectDefault) IsRedirect

IsRedirect returns true when this list private endpoints of project default response has a 3xx status code

func (*ListPrivateEndpointsOfProjectDefault) IsServerError

func (o *ListPrivateEndpointsOfProjectDefault) IsServerError() bool

IsServerError returns true when this list private endpoints of project default response has a 5xx status code

func (*ListPrivateEndpointsOfProjectDefault) IsSuccess

IsSuccess returns true when this list private endpoints of project default response has a 2xx status code

func (*ListPrivateEndpointsOfProjectDefault) String

type ListPrivateEndpointsOfProjectDefaultBody

type ListPrivateEndpointsOfProjectDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsOfProjectDefaultBody list private endpoints of project default body swagger:model ListPrivateEndpointsOfProjectDefaultBody

func (*ListPrivateEndpointsOfProjectDefaultBody) ContextValidate

ContextValidate validate this list private endpoints of project default body based on the context it is used

func (*ListPrivateEndpointsOfProjectDefaultBody) MarshalBinary

func (o *ListPrivateEndpointsOfProjectDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectDefaultBody) UnmarshalBinary

func (o *ListPrivateEndpointsOfProjectDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectDefaultBody) Validate

Validate validates this list private endpoints of project default body

type ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0

type ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0 list private endpoints of project default body details items0 swagger:model ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0

func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this list private endpoints of project default body details items0 based on context it is used

func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectDefaultBodyDetailsItems0) Validate

Validate validates this list private endpoints of project default body details items0

type ListPrivateEndpointsOfProjectForbidden

type ListPrivateEndpointsOfProjectForbidden struct {
	Payload *ListPrivateEndpointsOfProjectForbiddenBody
}

ListPrivateEndpointsOfProjectForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewListPrivateEndpointsOfProjectForbidden

func NewListPrivateEndpointsOfProjectForbidden() *ListPrivateEndpointsOfProjectForbidden

NewListPrivateEndpointsOfProjectForbidden creates a ListPrivateEndpointsOfProjectForbidden with default headers values

func (*ListPrivateEndpointsOfProjectForbidden) Code

Code gets the status code for the list private endpoints of project forbidden response

func (*ListPrivateEndpointsOfProjectForbidden) Error

func (*ListPrivateEndpointsOfProjectForbidden) GetPayload

func (*ListPrivateEndpointsOfProjectForbidden) IsClientError

func (o *ListPrivateEndpointsOfProjectForbidden) IsClientError() bool

IsClientError returns true when this list private endpoints of project forbidden response has a 4xx status code

func (*ListPrivateEndpointsOfProjectForbidden) IsCode

IsCode returns true when this list private endpoints of project forbidden response a status code equal to that given

func (*ListPrivateEndpointsOfProjectForbidden) IsRedirect

IsRedirect returns true when this list private endpoints of project forbidden response has a 3xx status code

func (*ListPrivateEndpointsOfProjectForbidden) IsServerError

func (o *ListPrivateEndpointsOfProjectForbidden) IsServerError() bool

IsServerError returns true when this list private endpoints of project forbidden response has a 5xx status code

func (*ListPrivateEndpointsOfProjectForbidden) IsSuccess

IsSuccess returns true when this list private endpoints of project forbidden response has a 2xx status code

func (*ListPrivateEndpointsOfProjectForbidden) String

type ListPrivateEndpointsOfProjectForbiddenBody

type ListPrivateEndpointsOfProjectForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsOfProjectForbiddenBody list private endpoints of project forbidden body swagger:model ListPrivateEndpointsOfProjectForbiddenBody

func (*ListPrivateEndpointsOfProjectForbiddenBody) ContextValidate

ContextValidate validates this list private endpoints of project forbidden body based on context it is used

func (*ListPrivateEndpointsOfProjectForbiddenBody) MarshalBinary

func (o *ListPrivateEndpointsOfProjectForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectForbiddenBody) UnmarshalBinary

func (o *ListPrivateEndpointsOfProjectForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectForbiddenBody) Validate

Validate validates this list private endpoints of project forbidden body

type ListPrivateEndpointsOfProjectInternalServerError

type ListPrivateEndpointsOfProjectInternalServerError struct {
	Payload *ListPrivateEndpointsOfProjectInternalServerErrorBody
}

ListPrivateEndpointsOfProjectInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewListPrivateEndpointsOfProjectInternalServerError

func NewListPrivateEndpointsOfProjectInternalServerError() *ListPrivateEndpointsOfProjectInternalServerError

NewListPrivateEndpointsOfProjectInternalServerError creates a ListPrivateEndpointsOfProjectInternalServerError with default headers values

func (*ListPrivateEndpointsOfProjectInternalServerError) Code

Code gets the status code for the list private endpoints of project internal server error response

func (*ListPrivateEndpointsOfProjectInternalServerError) Error

func (*ListPrivateEndpointsOfProjectInternalServerError) GetPayload

func (*ListPrivateEndpointsOfProjectInternalServerError) IsClientError

IsClientError returns true when this list private endpoints of project internal server error response has a 4xx status code

func (*ListPrivateEndpointsOfProjectInternalServerError) IsCode

IsCode returns true when this list private endpoints of project internal server error response a status code equal to that given

func (*ListPrivateEndpointsOfProjectInternalServerError) IsRedirect

IsRedirect returns true when this list private endpoints of project internal server error response has a 3xx status code

func (*ListPrivateEndpointsOfProjectInternalServerError) IsServerError

IsServerError returns true when this list private endpoints of project internal server error response has a 5xx status code

func (*ListPrivateEndpointsOfProjectInternalServerError) IsSuccess

IsSuccess returns true when this list private endpoints of project internal server error response has a 2xx status code

func (*ListPrivateEndpointsOfProjectInternalServerError) String

type ListPrivateEndpointsOfProjectInternalServerErrorBody

type ListPrivateEndpointsOfProjectInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsOfProjectInternalServerErrorBody list private endpoints of project internal server error body swagger:model ListPrivateEndpointsOfProjectInternalServerErrorBody

func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) ContextValidate

ContextValidate validates this list private endpoints of project internal server error body based on context it is used

func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) MarshalBinary

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectInternalServerErrorBody) Validate

Validate validates this list private endpoints of project internal server error body

type ListPrivateEndpointsOfProjectNotFound

type ListPrivateEndpointsOfProjectNotFound struct {
	Payload *ListPrivateEndpointsOfProjectNotFoundBody
}

ListPrivateEndpointsOfProjectNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewListPrivateEndpointsOfProjectNotFound

func NewListPrivateEndpointsOfProjectNotFound() *ListPrivateEndpointsOfProjectNotFound

NewListPrivateEndpointsOfProjectNotFound creates a ListPrivateEndpointsOfProjectNotFound with default headers values

func (*ListPrivateEndpointsOfProjectNotFound) Code

Code gets the status code for the list private endpoints of project not found response

func (*ListPrivateEndpointsOfProjectNotFound) Error

func (*ListPrivateEndpointsOfProjectNotFound) GetPayload

func (*ListPrivateEndpointsOfProjectNotFound) IsClientError

func (o *ListPrivateEndpointsOfProjectNotFound) IsClientError() bool

IsClientError returns true when this list private endpoints of project not found response has a 4xx status code

func (*ListPrivateEndpointsOfProjectNotFound) IsCode

IsCode returns true when this list private endpoints of project not found response a status code equal to that given

func (*ListPrivateEndpointsOfProjectNotFound) IsRedirect

IsRedirect returns true when this list private endpoints of project not found response has a 3xx status code

func (*ListPrivateEndpointsOfProjectNotFound) IsServerError

func (o *ListPrivateEndpointsOfProjectNotFound) IsServerError() bool

IsServerError returns true when this list private endpoints of project not found response has a 5xx status code

func (*ListPrivateEndpointsOfProjectNotFound) IsSuccess

IsSuccess returns true when this list private endpoints of project not found response has a 2xx status code

func (*ListPrivateEndpointsOfProjectNotFound) String

type ListPrivateEndpointsOfProjectNotFoundBody

type ListPrivateEndpointsOfProjectNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsOfProjectNotFoundBody list private endpoints of project not found body swagger:model ListPrivateEndpointsOfProjectNotFoundBody

func (*ListPrivateEndpointsOfProjectNotFoundBody) ContextValidate

ContextValidate validates this list private endpoints of project not found body based on context it is used

func (*ListPrivateEndpointsOfProjectNotFoundBody) MarshalBinary

func (o *ListPrivateEndpointsOfProjectNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectNotFoundBody) UnmarshalBinary

func (o *ListPrivateEndpointsOfProjectNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectNotFoundBody) Validate

Validate validates this list private endpoints of project not found body

type ListPrivateEndpointsOfProjectOK

type ListPrivateEndpointsOfProjectOK struct {
	Payload *ListPrivateEndpointsOfProjectOKBody
}

ListPrivateEndpointsOfProjectOK describes a response with status code 200, with default header values.

A successful response.

func NewListPrivateEndpointsOfProjectOK

func NewListPrivateEndpointsOfProjectOK() *ListPrivateEndpointsOfProjectOK

NewListPrivateEndpointsOfProjectOK creates a ListPrivateEndpointsOfProjectOK with default headers values

func (*ListPrivateEndpointsOfProjectOK) Code

Code gets the status code for the list private endpoints of project o k response

func (*ListPrivateEndpointsOfProjectOK) Error

func (*ListPrivateEndpointsOfProjectOK) GetPayload

func (*ListPrivateEndpointsOfProjectOK) IsClientError

func (o *ListPrivateEndpointsOfProjectOK) IsClientError() bool

IsClientError returns true when this list private endpoints of project o k response has a 4xx status code

func (*ListPrivateEndpointsOfProjectOK) IsCode

func (o *ListPrivateEndpointsOfProjectOK) IsCode(code int) bool

IsCode returns true when this list private endpoints of project o k response a status code equal to that given

func (*ListPrivateEndpointsOfProjectOK) IsRedirect

func (o *ListPrivateEndpointsOfProjectOK) IsRedirect() bool

IsRedirect returns true when this list private endpoints of project o k response has a 3xx status code

func (*ListPrivateEndpointsOfProjectOK) IsServerError

func (o *ListPrivateEndpointsOfProjectOK) IsServerError() bool

IsServerError returns true when this list private endpoints of project o k response has a 5xx status code

func (*ListPrivateEndpointsOfProjectOK) IsSuccess

func (o *ListPrivateEndpointsOfProjectOK) IsSuccess() bool

IsSuccess returns true when this list private endpoints of project o k response has a 2xx status code

func (*ListPrivateEndpointsOfProjectOK) String

type ListPrivateEndpointsOfProjectOKBody

type ListPrivateEndpointsOfProjectOKBody struct {

	// The private endpoints in the project.
	// Required: true
	Endpoints []*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 `json:"endpoints"`
}

ListPrivateEndpointsOfProjectOKBody ListPrivateEndpointsOfProjectResp // // ListPrivateEndpointsOfProjectResp is the response for listing private endpoints for a project. swagger:model ListPrivateEndpointsOfProjectOKBody

func (*ListPrivateEndpointsOfProjectOKBody) ContextValidate

func (o *ListPrivateEndpointsOfProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list private endpoints of project o k body based on the context it is used

func (*ListPrivateEndpointsOfProjectOKBody) MarshalBinary

func (o *ListPrivateEndpointsOfProjectOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectOKBody) UnmarshalBinary

func (o *ListPrivateEndpointsOfProjectOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectOKBody) Validate

Validate validates this list private endpoints of project o k body

type ListPrivateEndpointsOfProjectOKBodyEndpointsItems0

type ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 struct {

	// [Output Only] The cloud provider on which the private endpoint service is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// [Output Only] The ID of the cluster.
	// Example: 1
	ClusterID string `json:"cluster_id,omitempty"`

	// [Output Only] The name of the cluster.
	// Example: Cluster0
	ClusterName string `json:"cluster_name,omitempty"`

	// The format of the private endpoint name varies by cloud provider: `"vpce-xxxx"` for AWS and `"projects/xxx/regions/xxx/forwardingRules/xxx"` for Google Cloud.
	// Example: vpce-01234567890123456
	EndpointName string `json:"endpoint_name,omitempty"`

	// [Output Only] The ID of private endpoint. It is used when you [deleting the endpoint](#tag/Cluster/operation/DeletePrivateEndpoint).
	// Example: 1
	ID string `json:"id,omitempty"`

	// [Output Only] The detailed message when the `status` is "FAILED".
	// Example: The endpoint does not exist.
	Message string `json:"message,omitempty"`

	// [Output Only] The region where the private endpoint is hosted, such as Oregon in AWS.
	// Example: Oregon
	RegionName string `json:"region_name,omitempty"`

	// [Output Only] The service name of the private endpoint.
	// Example: com.amazonaws.vpce.us-west-2.vpce-svc-01234567890123456
	ServiceName string `json:"service_name,omitempty"`

	// [Output Only] The status of the private endpoint service.
	// Example: ACTIVE
	// Enum: [CREATING ACTIVE DELETING]
	ServiceStatus string `json:"service_status,omitempty"`

	// [Output Only] The status of the private endpoint.
	// Example: FAILED
	// Enum: [PENDING ACTIVE DELETING FAILED]
	Status string `json:"status,omitempty"`
}

ListPrivateEndpointsOfProjectOKBodyEndpointsItems0 list private endpoints of project o k body endpoints items0 swagger:model ListPrivateEndpointsOfProjectOKBodyEndpointsItems0

func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) ContextValidate

ContextValidate validates this list private endpoints of project o k body endpoints items0 based on context it is used

func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectOKBodyEndpointsItems0) Validate

Validate validates this list private endpoints of project o k body endpoints items0

type ListPrivateEndpointsOfProjectParams

type ListPrivateEndpointsOfProjectParams struct {

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPrivateEndpointsOfProjectParams contains all the parameters to send to the API endpoint

for the list private endpoints of project operation.

Typically these are written to a http.Request.

func NewListPrivateEndpointsOfProjectParams

func NewListPrivateEndpointsOfProjectParams() *ListPrivateEndpointsOfProjectParams

NewListPrivateEndpointsOfProjectParams creates a new ListPrivateEndpointsOfProjectParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListPrivateEndpointsOfProjectParamsWithContext

func NewListPrivateEndpointsOfProjectParamsWithContext(ctx context.Context) *ListPrivateEndpointsOfProjectParams

NewListPrivateEndpointsOfProjectParamsWithContext creates a new ListPrivateEndpointsOfProjectParams object with the ability to set a context for a request.

func NewListPrivateEndpointsOfProjectParamsWithHTTPClient

func NewListPrivateEndpointsOfProjectParamsWithHTTPClient(client *http.Client) *ListPrivateEndpointsOfProjectParams

NewListPrivateEndpointsOfProjectParamsWithHTTPClient creates a new ListPrivateEndpointsOfProjectParams object with the ability to set a custom HTTPClient for a request.

func NewListPrivateEndpointsOfProjectParamsWithTimeout

func NewListPrivateEndpointsOfProjectParamsWithTimeout(timeout time.Duration) *ListPrivateEndpointsOfProjectParams

NewListPrivateEndpointsOfProjectParamsWithTimeout creates a new ListPrivateEndpointsOfProjectParams object with the ability to set a timeout on a request.

func (*ListPrivateEndpointsOfProjectParams) SetContext

SetContext adds the context to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) SetDefaults

func (o *ListPrivateEndpointsOfProjectParams) SetDefaults()

SetDefaults hydrates default values in the list private endpoints of project params (not the query body).

All values with no default are reset to their zero value.

func (*ListPrivateEndpointsOfProjectParams) SetHTTPClient

func (o *ListPrivateEndpointsOfProjectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) SetProjectID

func (o *ListPrivateEndpointsOfProjectParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) SetTimeout

func (o *ListPrivateEndpointsOfProjectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) WithContext

WithContext adds the context to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) WithDefaults

WithDefaults hydrates default values in the list private endpoints of project params (not the query body).

All values with no default are reset to their zero value.

func (*ListPrivateEndpointsOfProjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) WithProjectID

WithProjectID adds the projectID to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) WithTimeout

WithTimeout adds the timeout to the list private endpoints of project params

func (*ListPrivateEndpointsOfProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPrivateEndpointsOfProjectReader

type ListPrivateEndpointsOfProjectReader struct {
	// contains filtered or unexported fields
}

ListPrivateEndpointsOfProjectReader is a Reader for the ListPrivateEndpointsOfProject structure.

func (*ListPrivateEndpointsOfProjectReader) ReadResponse

func (o *ListPrivateEndpointsOfProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListPrivateEndpointsOfProjectTooManyRequests

type ListPrivateEndpointsOfProjectTooManyRequests struct {
	Payload *ListPrivateEndpointsOfProjectTooManyRequestsBody
}

ListPrivateEndpointsOfProjectTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewListPrivateEndpointsOfProjectTooManyRequests

func NewListPrivateEndpointsOfProjectTooManyRequests() *ListPrivateEndpointsOfProjectTooManyRequests

NewListPrivateEndpointsOfProjectTooManyRequests creates a ListPrivateEndpointsOfProjectTooManyRequests with default headers values

func (*ListPrivateEndpointsOfProjectTooManyRequests) Code

Code gets the status code for the list private endpoints of project too many requests response

func (*ListPrivateEndpointsOfProjectTooManyRequests) Error

func (*ListPrivateEndpointsOfProjectTooManyRequests) GetPayload

func (*ListPrivateEndpointsOfProjectTooManyRequests) IsClientError

IsClientError returns true when this list private endpoints of project too many requests response has a 4xx status code

func (*ListPrivateEndpointsOfProjectTooManyRequests) IsCode

IsCode returns true when this list private endpoints of project too many requests response a status code equal to that given

func (*ListPrivateEndpointsOfProjectTooManyRequests) IsRedirect

IsRedirect returns true when this list private endpoints of project too many requests response has a 3xx status code

func (*ListPrivateEndpointsOfProjectTooManyRequests) IsServerError

IsServerError returns true when this list private endpoints of project too many requests response has a 5xx status code

func (*ListPrivateEndpointsOfProjectTooManyRequests) IsSuccess

IsSuccess returns true when this list private endpoints of project too many requests response has a 2xx status code

func (*ListPrivateEndpointsOfProjectTooManyRequests) String

type ListPrivateEndpointsOfProjectTooManyRequestsBody

type ListPrivateEndpointsOfProjectTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsOfProjectTooManyRequestsBody list private endpoints of project too many requests body swagger:model ListPrivateEndpointsOfProjectTooManyRequestsBody

func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) ContextValidate

ContextValidate validates this list private endpoints of project too many requests body based on context it is used

func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) MarshalBinary

MarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsOfProjectTooManyRequestsBody) Validate

Validate validates this list private endpoints of project too many requests body

type ListPrivateEndpointsOfProjectUnauthorized

type ListPrivateEndpointsOfProjectUnauthorized struct {
	Payload interface{}
}

ListPrivateEndpointsOfProjectUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewListPrivateEndpointsOfProjectUnauthorized

func NewListPrivateEndpointsOfProjectUnauthorized() *ListPrivateEndpointsOfProjectUnauthorized

NewListPrivateEndpointsOfProjectUnauthorized creates a ListPrivateEndpointsOfProjectUnauthorized with default headers values

func (*ListPrivateEndpointsOfProjectUnauthorized) Code

Code gets the status code for the list private endpoints of project unauthorized response

func (*ListPrivateEndpointsOfProjectUnauthorized) Error

func (*ListPrivateEndpointsOfProjectUnauthorized) GetPayload

func (o *ListPrivateEndpointsOfProjectUnauthorized) GetPayload() interface{}

func (*ListPrivateEndpointsOfProjectUnauthorized) IsClientError

IsClientError returns true when this list private endpoints of project unauthorized response has a 4xx status code

func (*ListPrivateEndpointsOfProjectUnauthorized) IsCode

IsCode returns true when this list private endpoints of project unauthorized response a status code equal to that given

func (*ListPrivateEndpointsOfProjectUnauthorized) IsRedirect

IsRedirect returns true when this list private endpoints of project unauthorized response has a 3xx status code

func (*ListPrivateEndpointsOfProjectUnauthorized) IsServerError

IsServerError returns true when this list private endpoints of project unauthorized response has a 5xx status code

func (*ListPrivateEndpointsOfProjectUnauthorized) IsSuccess

IsSuccess returns true when this list private endpoints of project unauthorized response has a 2xx status code

func (*ListPrivateEndpointsOfProjectUnauthorized) String

type ListPrivateEndpointsParams

type ListPrivateEndpointsParams struct {

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListPrivateEndpointsParams contains all the parameters to send to the API endpoint

for the list private endpoints operation.

Typically these are written to a http.Request.

func NewListPrivateEndpointsParams

func NewListPrivateEndpointsParams() *ListPrivateEndpointsParams

NewListPrivateEndpointsParams creates a new ListPrivateEndpointsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListPrivateEndpointsParamsWithContext

func NewListPrivateEndpointsParamsWithContext(ctx context.Context) *ListPrivateEndpointsParams

NewListPrivateEndpointsParamsWithContext creates a new ListPrivateEndpointsParams object with the ability to set a context for a request.

func NewListPrivateEndpointsParamsWithHTTPClient

func NewListPrivateEndpointsParamsWithHTTPClient(client *http.Client) *ListPrivateEndpointsParams

NewListPrivateEndpointsParamsWithHTTPClient creates a new ListPrivateEndpointsParams object with the ability to set a custom HTTPClient for a request.

func NewListPrivateEndpointsParamsWithTimeout

func NewListPrivateEndpointsParamsWithTimeout(timeout time.Duration) *ListPrivateEndpointsParams

NewListPrivateEndpointsParamsWithTimeout creates a new ListPrivateEndpointsParams object with the ability to set a timeout on a request.

func (*ListPrivateEndpointsParams) SetClusterID

func (o *ListPrivateEndpointsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list private endpoints params

func (*ListPrivateEndpointsParams) SetContext

func (o *ListPrivateEndpointsParams) SetContext(ctx context.Context)

SetContext adds the context to the list private endpoints params

func (*ListPrivateEndpointsParams) SetDefaults

func (o *ListPrivateEndpointsParams) SetDefaults()

SetDefaults hydrates default values in the list private endpoints params (not the query body).

All values with no default are reset to their zero value.

func (*ListPrivateEndpointsParams) SetHTTPClient

func (o *ListPrivateEndpointsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list private endpoints params

func (*ListPrivateEndpointsParams) SetProjectID

func (o *ListPrivateEndpointsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list private endpoints params

func (*ListPrivateEndpointsParams) SetTimeout

func (o *ListPrivateEndpointsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list private endpoints params

func (*ListPrivateEndpointsParams) WithClusterID

func (o *ListPrivateEndpointsParams) WithClusterID(clusterID string) *ListPrivateEndpointsParams

WithClusterID adds the clusterID to the list private endpoints params

func (*ListPrivateEndpointsParams) WithContext

WithContext adds the context to the list private endpoints params

func (*ListPrivateEndpointsParams) WithDefaults

WithDefaults hydrates default values in the list private endpoints params (not the query body).

All values with no default are reset to their zero value.

func (*ListPrivateEndpointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list private endpoints params

func (*ListPrivateEndpointsParams) WithProjectID

func (o *ListPrivateEndpointsParams) WithProjectID(projectID string) *ListPrivateEndpointsParams

WithProjectID adds the projectID to the list private endpoints params

func (*ListPrivateEndpointsParams) WithTimeout

WithTimeout adds the timeout to the list private endpoints params

func (*ListPrivateEndpointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListPrivateEndpointsReader

type ListPrivateEndpointsReader struct {
	// contains filtered or unexported fields
}

ListPrivateEndpointsReader is a Reader for the ListPrivateEndpoints structure.

func (*ListPrivateEndpointsReader) ReadResponse

func (o *ListPrivateEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListPrivateEndpointsTooManyRequests

type ListPrivateEndpointsTooManyRequests struct {
	Payload *ListPrivateEndpointsTooManyRequestsBody
}

ListPrivateEndpointsTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewListPrivateEndpointsTooManyRequests

func NewListPrivateEndpointsTooManyRequests() *ListPrivateEndpointsTooManyRequests

NewListPrivateEndpointsTooManyRequests creates a ListPrivateEndpointsTooManyRequests with default headers values

func (*ListPrivateEndpointsTooManyRequests) Code

Code gets the status code for the list private endpoints too many requests response

func (*ListPrivateEndpointsTooManyRequests) Error

func (*ListPrivateEndpointsTooManyRequests) GetPayload

func (*ListPrivateEndpointsTooManyRequests) IsClientError

func (o *ListPrivateEndpointsTooManyRequests) IsClientError() bool

IsClientError returns true when this list private endpoints too many requests response has a 4xx status code

func (*ListPrivateEndpointsTooManyRequests) IsCode

IsCode returns true when this list private endpoints too many requests response a status code equal to that given

func (*ListPrivateEndpointsTooManyRequests) IsRedirect

func (o *ListPrivateEndpointsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list private endpoints too many requests response has a 3xx status code

func (*ListPrivateEndpointsTooManyRequests) IsServerError

func (o *ListPrivateEndpointsTooManyRequests) IsServerError() bool

IsServerError returns true when this list private endpoints too many requests response has a 5xx status code

func (*ListPrivateEndpointsTooManyRequests) IsSuccess

IsSuccess returns true when this list private endpoints too many requests response has a 2xx status code

func (*ListPrivateEndpointsTooManyRequests) String

type ListPrivateEndpointsTooManyRequestsBody

type ListPrivateEndpointsTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListPrivateEndpointsTooManyRequestsBody list private endpoints too many requests body swagger:model ListPrivateEndpointsTooManyRequestsBody

func (*ListPrivateEndpointsTooManyRequestsBody) ContextValidate

ContextValidate validates this list private endpoints too many requests body based on context it is used

func (*ListPrivateEndpointsTooManyRequestsBody) MarshalBinary

func (o *ListPrivateEndpointsTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateEndpointsTooManyRequestsBody) UnmarshalBinary

func (o *ListPrivateEndpointsTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateEndpointsTooManyRequestsBody) Validate

Validate validates this list private endpoints too many requests body

type ListPrivateEndpointsUnauthorized

type ListPrivateEndpointsUnauthorized struct {
	Payload interface{}
}

ListPrivateEndpointsUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewListPrivateEndpointsUnauthorized

func NewListPrivateEndpointsUnauthorized() *ListPrivateEndpointsUnauthorized

NewListPrivateEndpointsUnauthorized creates a ListPrivateEndpointsUnauthorized with default headers values

func (*ListPrivateEndpointsUnauthorized) Code

Code gets the status code for the list private endpoints unauthorized response

func (*ListPrivateEndpointsUnauthorized) Error

func (*ListPrivateEndpointsUnauthorized) GetPayload

func (o *ListPrivateEndpointsUnauthorized) GetPayload() interface{}

func (*ListPrivateEndpointsUnauthorized) IsClientError

func (o *ListPrivateEndpointsUnauthorized) IsClientError() bool

IsClientError returns true when this list private endpoints unauthorized response has a 4xx status code

func (*ListPrivateEndpointsUnauthorized) IsCode

func (o *ListPrivateEndpointsUnauthorized) IsCode(code int) bool

IsCode returns true when this list private endpoints unauthorized response a status code equal to that given

func (*ListPrivateEndpointsUnauthorized) IsRedirect

func (o *ListPrivateEndpointsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list private endpoints unauthorized response has a 3xx status code

func (*ListPrivateEndpointsUnauthorized) IsServerError

func (o *ListPrivateEndpointsUnauthorized) IsServerError() bool

IsServerError returns true when this list private endpoints unauthorized response has a 5xx status code

func (*ListPrivateEndpointsUnauthorized) IsSuccess

func (o *ListPrivateEndpointsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list private endpoints unauthorized response has a 2xx status code

func (*ListPrivateEndpointsUnauthorized) String

type ListProviderRegionsBadRequest

type ListProviderRegionsBadRequest struct {
	Payload *ListProviderRegionsBadRequestBody
}

ListProviderRegionsBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewListProviderRegionsBadRequest

func NewListProviderRegionsBadRequest() *ListProviderRegionsBadRequest

NewListProviderRegionsBadRequest creates a ListProviderRegionsBadRequest with default headers values

func (*ListProviderRegionsBadRequest) Code

Code gets the status code for the list provider regions bad request response

func (*ListProviderRegionsBadRequest) Error

func (*ListProviderRegionsBadRequest) GetPayload

func (*ListProviderRegionsBadRequest) IsClientError

func (o *ListProviderRegionsBadRequest) IsClientError() bool

IsClientError returns true when this list provider regions bad request response has a 4xx status code

func (*ListProviderRegionsBadRequest) IsCode

func (o *ListProviderRegionsBadRequest) IsCode(code int) bool

IsCode returns true when this list provider regions bad request response a status code equal to that given

func (*ListProviderRegionsBadRequest) IsRedirect

func (o *ListProviderRegionsBadRequest) IsRedirect() bool

IsRedirect returns true when this list provider regions bad request response has a 3xx status code

func (*ListProviderRegionsBadRequest) IsServerError

func (o *ListProviderRegionsBadRequest) IsServerError() bool

IsServerError returns true when this list provider regions bad request response has a 5xx status code

func (*ListProviderRegionsBadRequest) IsSuccess

func (o *ListProviderRegionsBadRequest) IsSuccess() bool

IsSuccess returns true when this list provider regions bad request response has a 2xx status code

func (*ListProviderRegionsBadRequest) String

type ListProviderRegionsBadRequestBody

type ListProviderRegionsBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListProviderRegionsBadRequestBody list provider regions bad request body swagger:model ListProviderRegionsBadRequestBody

func (*ListProviderRegionsBadRequestBody) ContextValidate

func (o *ListProviderRegionsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list provider regions bad request body based on context it is used

func (*ListProviderRegionsBadRequestBody) MarshalBinary

func (o *ListProviderRegionsBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsBadRequestBody) UnmarshalBinary

func (o *ListProviderRegionsBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsBadRequestBody) Validate

Validate validates this list provider regions bad request body

type ListProviderRegionsDefault

type ListProviderRegionsDefault struct {
	Payload *ListProviderRegionsDefaultBody
	// contains filtered or unexported fields
}

ListProviderRegionsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListProviderRegionsDefault

func NewListProviderRegionsDefault(code int) *ListProviderRegionsDefault

NewListProviderRegionsDefault creates a ListProviderRegionsDefault with default headers values

func (*ListProviderRegionsDefault) Code

func (o *ListProviderRegionsDefault) Code() int

Code gets the status code for the list provider regions default response

func (*ListProviderRegionsDefault) Error

func (*ListProviderRegionsDefault) GetPayload

func (*ListProviderRegionsDefault) IsClientError

func (o *ListProviderRegionsDefault) IsClientError() bool

IsClientError returns true when this list provider regions default response has a 4xx status code

func (*ListProviderRegionsDefault) IsCode

func (o *ListProviderRegionsDefault) IsCode(code int) bool

IsCode returns true when this list provider regions default response a status code equal to that given

func (*ListProviderRegionsDefault) IsRedirect

func (o *ListProviderRegionsDefault) IsRedirect() bool

IsRedirect returns true when this list provider regions default response has a 3xx status code

func (*ListProviderRegionsDefault) IsServerError

func (o *ListProviderRegionsDefault) IsServerError() bool

IsServerError returns true when this list provider regions default response has a 5xx status code

func (*ListProviderRegionsDefault) IsSuccess

func (o *ListProviderRegionsDefault) IsSuccess() bool

IsSuccess returns true when this list provider regions default response has a 2xx status code

func (*ListProviderRegionsDefault) String

func (o *ListProviderRegionsDefault) String() string

type ListProviderRegionsDefaultBody

type ListProviderRegionsDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ListProviderRegionsDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

ListProviderRegionsDefaultBody list provider regions default body swagger:model ListProviderRegionsDefaultBody

func (*ListProviderRegionsDefaultBody) ContextValidate

func (o *ListProviderRegionsDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list provider regions default body based on the context it is used

func (*ListProviderRegionsDefaultBody) MarshalBinary

func (o *ListProviderRegionsDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsDefaultBody) UnmarshalBinary

func (o *ListProviderRegionsDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsDefaultBody) Validate

func (o *ListProviderRegionsDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this list provider regions default body

type ListProviderRegionsDefaultBodyDetailsItems0

type ListProviderRegionsDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ListProviderRegionsDefaultBodyDetailsItems0 list provider regions default body details items0 swagger:model ListProviderRegionsDefaultBodyDetailsItems0

func (*ListProviderRegionsDefaultBodyDetailsItems0) ContextValidate

ContextValidate validates this list provider regions default body details items0 based on context it is used

func (*ListProviderRegionsDefaultBodyDetailsItems0) MarshalBinary

func (o *ListProviderRegionsDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsDefaultBodyDetailsItems0) UnmarshalBinary

func (o *ListProviderRegionsDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsDefaultBodyDetailsItems0) Validate

Validate validates this list provider regions default body details items0

type ListProviderRegionsForbidden

type ListProviderRegionsForbidden struct {
	Payload *ListProviderRegionsForbiddenBody
}

ListProviderRegionsForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewListProviderRegionsForbidden

func NewListProviderRegionsForbidden() *ListProviderRegionsForbidden

NewListProviderRegionsForbidden creates a ListProviderRegionsForbidden with default headers values

func (*ListProviderRegionsForbidden) Code

Code gets the status code for the list provider regions forbidden response

func (*ListProviderRegionsForbidden) Error

func (*ListProviderRegionsForbidden) GetPayload

func (*ListProviderRegionsForbidden) IsClientError

func (o *ListProviderRegionsForbidden) IsClientError() bool

IsClientError returns true when this list provider regions forbidden response has a 4xx status code

func (*ListProviderRegionsForbidden) IsCode

func (o *ListProviderRegionsForbidden) IsCode(code int) bool

IsCode returns true when this list provider regions forbidden response a status code equal to that given

func (*ListProviderRegionsForbidden) IsRedirect

func (o *ListProviderRegionsForbidden) IsRedirect() bool

IsRedirect returns true when this list provider regions forbidden response has a 3xx status code

func (*ListProviderRegionsForbidden) IsServerError

func (o *ListProviderRegionsForbidden) IsServerError() bool

IsServerError returns true when this list provider regions forbidden response has a 5xx status code

func (*ListProviderRegionsForbidden) IsSuccess

func (o *ListProviderRegionsForbidden) IsSuccess() bool

IsSuccess returns true when this list provider regions forbidden response has a 2xx status code

func (*ListProviderRegionsForbidden) String

type ListProviderRegionsForbiddenBody

type ListProviderRegionsForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListProviderRegionsForbiddenBody list provider regions forbidden body swagger:model ListProviderRegionsForbiddenBody

func (*ListProviderRegionsForbiddenBody) ContextValidate

func (o *ListProviderRegionsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list provider regions forbidden body based on context it is used

func (*ListProviderRegionsForbiddenBody) MarshalBinary

func (o *ListProviderRegionsForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsForbiddenBody) UnmarshalBinary

func (o *ListProviderRegionsForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsForbiddenBody) Validate

Validate validates this list provider regions forbidden body

type ListProviderRegionsInternalServerError

type ListProviderRegionsInternalServerError struct {
	Payload *ListProviderRegionsInternalServerErrorBody
}

ListProviderRegionsInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewListProviderRegionsInternalServerError

func NewListProviderRegionsInternalServerError() *ListProviderRegionsInternalServerError

NewListProviderRegionsInternalServerError creates a ListProviderRegionsInternalServerError with default headers values

func (*ListProviderRegionsInternalServerError) Code

Code gets the status code for the list provider regions internal server error response

func (*ListProviderRegionsInternalServerError) Error

func (*ListProviderRegionsInternalServerError) GetPayload

func (*ListProviderRegionsInternalServerError) IsClientError

func (o *ListProviderRegionsInternalServerError) IsClientError() bool

IsClientError returns true when this list provider regions internal server error response has a 4xx status code

func (*ListProviderRegionsInternalServerError) IsCode

IsCode returns true when this list provider regions internal server error response a status code equal to that given

func (*ListProviderRegionsInternalServerError) IsRedirect

IsRedirect returns true when this list provider regions internal server error response has a 3xx status code

func (*ListProviderRegionsInternalServerError) IsServerError

func (o *ListProviderRegionsInternalServerError) IsServerError() bool

IsServerError returns true when this list provider regions internal server error response has a 5xx status code

func (*ListProviderRegionsInternalServerError) IsSuccess

IsSuccess returns true when this list provider regions internal server error response has a 2xx status code

func (*ListProviderRegionsInternalServerError) String

type ListProviderRegionsInternalServerErrorBody

type ListProviderRegionsInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListProviderRegionsInternalServerErrorBody list provider regions internal server error body swagger:model ListProviderRegionsInternalServerErrorBody

func (*ListProviderRegionsInternalServerErrorBody) ContextValidate

ContextValidate validates this list provider regions internal server error body based on context it is used

func (*ListProviderRegionsInternalServerErrorBody) MarshalBinary

func (o *ListProviderRegionsInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsInternalServerErrorBody) UnmarshalBinary

func (o *ListProviderRegionsInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsInternalServerErrorBody) Validate

Validate validates this list provider regions internal server error body

type ListProviderRegionsNotFound

type ListProviderRegionsNotFound struct {
	Payload *ListProviderRegionsNotFoundBody
}

ListProviderRegionsNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewListProviderRegionsNotFound

func NewListProviderRegionsNotFound() *ListProviderRegionsNotFound

NewListProviderRegionsNotFound creates a ListProviderRegionsNotFound with default headers values

func (*ListProviderRegionsNotFound) Code

func (o *ListProviderRegionsNotFound) Code() int

Code gets the status code for the list provider regions not found response

func (*ListProviderRegionsNotFound) Error

func (*ListProviderRegionsNotFound) GetPayload

func (*ListProviderRegionsNotFound) IsClientError

func (o *ListProviderRegionsNotFound) IsClientError() bool

IsClientError returns true when this list provider regions not found response has a 4xx status code

func (*ListProviderRegionsNotFound) IsCode

func (o *ListProviderRegionsNotFound) IsCode(code int) bool

IsCode returns true when this list provider regions not found response a status code equal to that given

func (*ListProviderRegionsNotFound) IsRedirect

func (o *ListProviderRegionsNotFound) IsRedirect() bool

IsRedirect returns true when this list provider regions not found response has a 3xx status code

func (*ListProviderRegionsNotFound) IsServerError

func (o *ListProviderRegionsNotFound) IsServerError() bool

IsServerError returns true when this list provider regions not found response has a 5xx status code

func (*ListProviderRegionsNotFound) IsSuccess

func (o *ListProviderRegionsNotFound) IsSuccess() bool

IsSuccess returns true when this list provider regions not found response has a 2xx status code

func (*ListProviderRegionsNotFound) String

func (o *ListProviderRegionsNotFound) String() string

type ListProviderRegionsNotFoundBody

type ListProviderRegionsNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListProviderRegionsNotFoundBody list provider regions not found body swagger:model ListProviderRegionsNotFoundBody

func (*ListProviderRegionsNotFoundBody) ContextValidate

func (o *ListProviderRegionsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list provider regions not found body based on context it is used

func (*ListProviderRegionsNotFoundBody) MarshalBinary

func (o *ListProviderRegionsNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsNotFoundBody) UnmarshalBinary

func (o *ListProviderRegionsNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsNotFoundBody) Validate

Validate validates this list provider regions not found body

type ListProviderRegionsOK

type ListProviderRegionsOK struct {
	Payload *ListProviderRegionsOKBody
}

ListProviderRegionsOK describes a response with status code 200, with default header values.

A successful response.

func NewListProviderRegionsOK

func NewListProviderRegionsOK() *ListProviderRegionsOK

NewListProviderRegionsOK creates a ListProviderRegionsOK with default headers values

func (*ListProviderRegionsOK) Code

func (o *ListProviderRegionsOK) Code() int

Code gets the status code for the list provider regions o k response

func (*ListProviderRegionsOK) Error

func (o *ListProviderRegionsOK) Error() string

func (*ListProviderRegionsOK) GetPayload

func (*ListProviderRegionsOK) IsClientError

func (o *ListProviderRegionsOK) IsClientError() bool

IsClientError returns true when this list provider regions o k response has a 4xx status code

func (*ListProviderRegionsOK) IsCode

func (o *ListProviderRegionsOK) IsCode(code int) bool

IsCode returns true when this list provider regions o k response a status code equal to that given

func (*ListProviderRegionsOK) IsRedirect

func (o *ListProviderRegionsOK) IsRedirect() bool

IsRedirect returns true when this list provider regions o k response has a 3xx status code

func (*ListProviderRegionsOK) IsServerError

func (o *ListProviderRegionsOK) IsServerError() bool

IsServerError returns true when this list provider regions o k response has a 5xx status code

func (*ListProviderRegionsOK) IsSuccess

func (o *ListProviderRegionsOK) IsSuccess() bool

IsSuccess returns true when this list provider regions o k response has a 2xx status code

func (*ListProviderRegionsOK) String

func (o *ListProviderRegionsOK) String() string

type ListProviderRegionsOKBody

type ListProviderRegionsOKBody struct {

	// Items of provider regions.
	// Example: [{"cloud_provider":"AWS","cluster_type":"DEDICATED","region":"us-west-2","tidb":[{"node_quantity_range":{"min":1,"step":1},"node_size":"8C16G"}],"tiflash":[{"node_quantity_range":{"min":0,"step":1},"node_size":"8C64G","storage_size_gib_range":{"max":2048,"min":500}}],"tikv":[{"node_quantity_range":{"min":3,"step":3},"node_size":"8C32G","storage_size_gib_range":{"max":4096,"min":500}}]},{"cloud_provider":"AWS","cluster_type":"DEVELOPER","region":"us-west-2","tidb":[{"node_quantity_range":{"min":1,"step":1},"node_size":"Shared0"}],"tiflash":[{"node_quantity_range":{"min":1,"step":1},"node_size":"Shared0","storage_size_gib_range":{"max":1,"min":1}}],"tikv":[{"node_quantity_range":{"min":1,"step":1},"node_size":"Shared0","storage_size_gib_range":{"max":1,"min":1}}]}]
	Items []*ListProviderRegionsOKBodyItemsItems0 `json:"items"`
}

ListProviderRegionsOKBody GetProviderRegionsResp // // GetProviderRegionsResp is the response for getting provider regions. swagger:model ListProviderRegionsOKBody

func (*ListProviderRegionsOKBody) ContextValidate

func (o *ListProviderRegionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list provider regions o k body based on the context it is used

func (*ListProviderRegionsOKBody) MarshalBinary

func (o *ListProviderRegionsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsOKBody) UnmarshalBinary

func (o *ListProviderRegionsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBody) Validate

func (o *ListProviderRegionsOKBody) Validate(formats strfmt.Registry) error

Validate validates this list provider regions o k body

type ListProviderRegionsOKBodyItemsItems0

type ListProviderRegionsOKBodyItemsItems0 struct {

	// The cloud provider on which your TiDB cluster is hosted.
	// - `"AWS"`: the Amazon Web Services cloud provider
	// - `"GCP"`: the Google Cloud cloud provider
	// Example: AWS
	// Enum: [AWS GCP]
	CloudProvider string `json:"cloud_provider,omitempty"`

	// The cluster type.
	// - `"DEVELOPER"`: a [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) cluster
	// - `"DEDICATED"`: a [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#dedicated-tier) cluster
	//
	// **Warning:** `"DEVELOPER"` will soon be changed to `"SERVERLESS"` to represent TiDB Serverless clusters.
	// Example: DEDICATED
	// Enum: [DEDICATED DEVELOPER]
	ClusterType string `json:"cluster_type,omitempty"`

	// The region in which your TiDB cluster is hosted.
	//
	// For the detailed information on each region, refer to the documentation of the corresponding cloud provider ([AWS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) | [GCP](https://cloud.google.com/about/locations#americas)).
	//
	// For example, `"us-west-2"` refers to Oregon for AWS.
	// Example: us-west-2
	Region string `json:"region,omitempty"`

	// The list of TiDB specifications in the region.
	Tidb []*ListProviderRegionsOKBodyItemsItems0TidbItems0 `json:"tidb"`

	// The list of TiFlash specifications in the region.
	Tiflash []*ListProviderRegionsOKBodyItemsItems0TiflashItems0 `json:"tiflash"`

	// The list of TiKV specifications in the region.
	Tikv []*ListProviderRegionsOKBodyItemsItems0TikvItems0 `json:"tikv"`
}

ListProviderRegionsOKBodyItemsItems0 ListProviderRegionsItem // // ListProviderRegionsItem is the item of provider regions. swagger:model ListProviderRegionsOKBodyItemsItems0

func (*ListProviderRegionsOKBodyItemsItems0) ContextValidate

func (o *ListProviderRegionsOKBodyItemsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list provider regions o k body items items0 based on the context it is used

func (*ListProviderRegionsOKBodyItemsItems0) MarshalBinary

func (o *ListProviderRegionsOKBodyItemsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0) UnmarshalBinary

func (o *ListProviderRegionsOKBodyItemsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0) Validate

Validate validates this list provider regions o k body items items0

type ListProviderRegionsOKBodyItemsItems0TidbItems0

type ListProviderRegionsOKBodyItemsItems0TidbItems0 struct {

	// node quantity range
	NodeQuantityRange *ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange `json:"node_quantity_range,omitempty"`

	// The size of the TiDB component in the cluster.
	// Example: 8C16G
	NodeSize string `json:"node_size,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TidbItems0 list provider regions o k body items items0 tidb items0 swagger:model ListProviderRegionsOKBodyItemsItems0TidbItems0

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) ContextValidate

ContextValidate validate this list provider regions o k body items items0 tidb items0 based on the context it is used

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0) Validate

Validate validates this list provider regions o k body items items0 tidb items0

type ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange

type ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange struct {

	// The minimum node quantity of the component in the cluster.
	Min int32 `json:"min,omitempty"`

	// The step of node quantity of the component in the cluster.
	Step int32 `json:"step,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange The range and step of node quantity of the TiDB component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) ContextValidate

ContextValidate validates this list provider regions o k body items items0 tidb items0 node quantity range based on context it is used

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TidbItems0NodeQuantityRange) Validate

Validate validates this list provider regions o k body items items0 tidb items0 node quantity range

type ListProviderRegionsOKBodyItemsItems0TiflashItems0

type ListProviderRegionsOKBodyItemsItems0TiflashItems0 struct {

	// node quantity range
	NodeQuantityRange *ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange `json:"node_quantity_range,omitempty"`

	// The size of the TiFlash component in the cluster.
	// Example: 8C64G
	NodeSize string `json:"node_size,omitempty"`

	// storage size gib range
	StorageSizeGibRange *ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange `json:"storage_size_gib_range,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TiflashItems0 list provider regions o k body items items0 tiflash items0 swagger:model ListProviderRegionsOKBodyItemsItems0TiflashItems0

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) ContextValidate

ContextValidate validate this list provider regions o k body items items0 tiflash items0 based on the context it is used

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0) Validate

Validate validates this list provider regions o k body items items0 tiflash items0

type ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange

type ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange struct {

	// The minimum node quantity of the component in the cluster.
	Min int32 `json:"min,omitempty"`

	// The step of node quantity of the component in the cluster.
	Step int32 `json:"step,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange The range and step of node quantity of the TiFlash component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) ContextValidate

ContextValidate validates this list provider regions o k body items items0 tiflash items0 node quantity range based on context it is used

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0NodeQuantityRange) Validate

Validate validates this list provider regions o k body items items0 tiflash items0 node quantity range

type ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange

type ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange struct {

	// The maximum storage size for each node of the component in the cluster.
	Max int32 `json:"max,omitempty"`

	// The minimum storage size for each node of the component in the cluster.
	Min int32 `json:"min,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange The storage size range for each node of the TiFlash component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) ContextValidate

ContextValidate validates this list provider regions o k body items items0 tiflash items0 storage size gib range based on context it is used

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TiflashItems0StorageSizeGibRange) Validate

Validate validates this list provider regions o k body items items0 tiflash items0 storage size gib range

type ListProviderRegionsOKBodyItemsItems0TikvItems0

type ListProviderRegionsOKBodyItemsItems0TikvItems0 struct {

	// node quantity range
	NodeQuantityRange *ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange `json:"node_quantity_range,omitempty"`

	// The size of the TiKV component in the cluster.
	// Example: 8C32G
	NodeSize string `json:"node_size,omitempty"`

	// storage size gib range
	StorageSizeGibRange *ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange `json:"storage_size_gib_range,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TikvItems0 list provider regions o k body items items0 tikv items0 swagger:model ListProviderRegionsOKBodyItemsItems0TikvItems0

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) ContextValidate

ContextValidate validate this list provider regions o k body items items0 tikv items0 based on the context it is used

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0) Validate

Validate validates this list provider regions o k body items items0 tikv items0

type ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange

type ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange struct {

	// The minimum node quantity of the component in the cluster.
	Min int32 `json:"min,omitempty"`

	// The step of node quantity of the component in the cluster.
	Step int32 `json:"step,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange The range and step of node quantity of the TiKV component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) ContextValidate

ContextValidate validates this list provider regions o k body items items0 tikv items0 node quantity range based on context it is used

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0NodeQuantityRange) Validate

Validate validates this list provider regions o k body items items0 tikv items0 node quantity range

type ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange

type ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange struct {

	// The maximum storage size for each node of the component in the cluster.
	Max int32 `json:"max,omitempty"`

	// The minimum storage size for each node of the component in the cluster.
	Min int32 `json:"min,omitempty"`
}

ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange The storage size range for each node of the TiKV component in the cluster. swagger:model ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) ContextValidate

ContextValidate validates this list provider regions o k body items items0 tikv items0 storage size gib range based on context it is used

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) MarshalBinary

MarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListProviderRegionsOKBodyItemsItems0TikvItems0StorageSizeGibRange) Validate

Validate validates this list provider regions o k body items items0 tikv items0 storage size gib range

type ListProviderRegionsParams

type ListProviderRegionsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProviderRegionsParams contains all the parameters to send to the API endpoint

for the list provider regions operation.

Typically these are written to a http.Request.

func NewListProviderRegionsParams

func NewListProviderRegionsParams() *ListProviderRegionsParams

NewListProviderRegionsParams creates a new ListProviderRegionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProviderRegionsParamsWithContext

func NewListProviderRegionsParamsWithContext(ctx context.Context) *ListProviderRegionsParams

NewListProviderRegionsParamsWithContext creates a new ListProviderRegionsParams object with the ability to set a context for a request.

func NewListProviderRegionsParamsWithHTTPClient

func NewListProviderRegionsParamsWithHTTPClient(client *http.Client) *ListProviderRegionsParams

NewListProviderRegionsParamsWithHTTPClient creates a new ListProviderRegionsParams object with the ability to set a custom HTTPClient for a request.

func NewListProviderRegionsParamsWithTimeout

func NewListProviderRegionsParamsWithTimeout(timeout time.Duration) *ListProviderRegionsParams

NewListProviderRegionsParamsWithTimeout creates a new ListProviderRegionsParams object with the ability to set a timeout on a request.

func (*ListProviderRegionsParams) SetContext

func (o *ListProviderRegionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list provider regions params

func (*ListProviderRegionsParams) SetDefaults

func (o *ListProviderRegionsParams) SetDefaults()

SetDefaults hydrates default values in the list provider regions params (not the query body).

All values with no default are reset to their zero value.

func (*ListProviderRegionsParams) SetHTTPClient

func (o *ListProviderRegionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list provider regions params

func (*ListProviderRegionsParams) SetTimeout

func (o *ListProviderRegionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list provider regions params

func (*ListProviderRegionsParams) WithContext

WithContext adds the context to the list provider regions params

func (*ListProviderRegionsParams) WithDefaults

WithDefaults hydrates default values in the list provider regions params (not the query body).

All values with no default are reset to their zero value.

func (*ListProviderRegionsParams) WithHTTPClient

func (o *ListProviderRegionsParams) WithHTTPClient(client *http.Client) *ListProviderRegionsParams

WithHTTPClient adds the HTTPClient to the list provider regions params

func (*ListProviderRegionsParams) WithTimeout

WithTimeout adds the timeout to the list provider regions params

func (*ListProviderRegionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProviderRegionsReader

type ListProviderRegionsReader struct {
	// contains filtered or unexported fields
}

ListProviderRegionsReader is a Reader for the ListProviderRegions structure.

func (*ListProviderRegionsReader) ReadResponse

func (o *ListProviderRegionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProviderRegionsTooManyRequests

type ListProviderRegionsTooManyRequests struct {
	Payload *ListProviderRegionsTooManyRequestsBody
}

ListProviderRegionsTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewListProviderRegionsTooManyRequests

func NewListProviderRegionsTooManyRequests() *ListProviderRegionsTooManyRequests

NewListProviderRegionsTooManyRequests creates a ListProviderRegionsTooManyRequests with default headers values

func (*ListProviderRegionsTooManyRequests) Code

Code gets the status code for the list provider regions too many requests response

func (*ListProviderRegionsTooManyRequests) Error

func (*ListProviderRegionsTooManyRequests) GetPayload

func (*ListProviderRegionsTooManyRequests) IsClientError

func (o *ListProviderRegionsTooManyRequests) IsClientError() bool

IsClientError returns true when this list provider regions too many requests response has a 4xx status code

func (*ListProviderRegionsTooManyRequests) IsCode

IsCode returns true when this list provider regions too many requests response a status code equal to that given

func (*ListProviderRegionsTooManyRequests) IsRedirect

func (o *ListProviderRegionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list provider regions too many requests response has a 3xx status code

func (*ListProviderRegionsTooManyRequests) IsServerError

func (o *ListProviderRegionsTooManyRequests) IsServerError() bool

IsServerError returns true when this list provider regions too many requests response has a 5xx status code

func (*ListProviderRegionsTooManyRequests) IsSuccess

IsSuccess returns true when this list provider regions too many requests response has a 2xx status code

func (*ListProviderRegionsTooManyRequests) String

type ListProviderRegionsTooManyRequestsBody

type ListProviderRegionsTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

ListProviderRegionsTooManyRequestsBody list provider regions too many requests body swagger:model ListProviderRegionsTooManyRequestsBody

func (*ListProviderRegionsTooManyRequestsBody) ContextValidate

ContextValidate validates this list provider regions too many requests body based on context it is used

func (*ListProviderRegionsTooManyRequestsBody) MarshalBinary

func (o *ListProviderRegionsTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListProviderRegionsTooManyRequestsBody) UnmarshalBinary

func (o *ListProviderRegionsTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListProviderRegionsTooManyRequestsBody) Validate

Validate validates this list provider regions too many requests body

type ListProviderRegionsUnauthorized

type ListProviderRegionsUnauthorized struct {
	Payload interface{}
}

ListProviderRegionsUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewListProviderRegionsUnauthorized

func NewListProviderRegionsUnauthorized() *ListProviderRegionsUnauthorized

NewListProviderRegionsUnauthorized creates a ListProviderRegionsUnauthorized with default headers values

func (*ListProviderRegionsUnauthorized) Code

Code gets the status code for the list provider regions unauthorized response

func (*ListProviderRegionsUnauthorized) Error

func (*ListProviderRegionsUnauthorized) GetPayload

func (o *ListProviderRegionsUnauthorized) GetPayload() interface{}

func (*ListProviderRegionsUnauthorized) IsClientError

func (o *ListProviderRegionsUnauthorized) IsClientError() bool

IsClientError returns true when this list provider regions unauthorized response has a 4xx status code

func (*ListProviderRegionsUnauthorized) IsCode

func (o *ListProviderRegionsUnauthorized) IsCode(code int) bool

IsCode returns true when this list provider regions unauthorized response a status code equal to that given

func (*ListProviderRegionsUnauthorized) IsRedirect

func (o *ListProviderRegionsUnauthorized) IsRedirect() bool

IsRedirect returns true when this list provider regions unauthorized response has a 3xx status code

func (*ListProviderRegionsUnauthorized) IsServerError

func (o *ListProviderRegionsUnauthorized) IsServerError() bool

IsServerError returns true when this list provider regions unauthorized response has a 5xx status code

func (*ListProviderRegionsUnauthorized) IsSuccess

func (o *ListProviderRegionsUnauthorized) IsSuccess() bool

IsSuccess returns true when this list provider regions unauthorized response has a 2xx status code

func (*ListProviderRegionsUnauthorized) String

type UpdateClusterBadRequest

type UpdateClusterBadRequest struct {
	Payload *UpdateClusterBadRequestBody
}

UpdateClusterBadRequest describes a response with status code 400, with default header values.

A request field is invalid.

func NewUpdateClusterBadRequest

func NewUpdateClusterBadRequest() *UpdateClusterBadRequest

NewUpdateClusterBadRequest creates a UpdateClusterBadRequest with default headers values

func (*UpdateClusterBadRequest) Code

func (o *UpdateClusterBadRequest) Code() int

Code gets the status code for the update cluster bad request response

func (*UpdateClusterBadRequest) Error

func (o *UpdateClusterBadRequest) Error() string

func (*UpdateClusterBadRequest) GetPayload

func (*UpdateClusterBadRequest) IsClientError

func (o *UpdateClusterBadRequest) IsClientError() bool

IsClientError returns true when this update cluster bad request response has a 4xx status code

func (*UpdateClusterBadRequest) IsCode

func (o *UpdateClusterBadRequest) IsCode(code int) bool

IsCode returns true when this update cluster bad request response a status code equal to that given

func (*UpdateClusterBadRequest) IsRedirect

func (o *UpdateClusterBadRequest) IsRedirect() bool

IsRedirect returns true when this update cluster bad request response has a 3xx status code

func (*UpdateClusterBadRequest) IsServerError

func (o *UpdateClusterBadRequest) IsServerError() bool

IsServerError returns true when this update cluster bad request response has a 5xx status code

func (*UpdateClusterBadRequest) IsSuccess

func (o *UpdateClusterBadRequest) IsSuccess() bool

IsSuccess returns true when this update cluster bad request response has a 2xx status code

func (*UpdateClusterBadRequest) String

func (o *UpdateClusterBadRequest) String() string

type UpdateClusterBadRequestBody

type UpdateClusterBadRequestBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

UpdateClusterBadRequestBody update cluster bad request body swagger:model UpdateClusterBadRequestBody

func (*UpdateClusterBadRequestBody) ContextValidate

func (o *UpdateClusterBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cluster bad request body based on context it is used

func (*UpdateClusterBadRequestBody) MarshalBinary

func (o *UpdateClusterBadRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterBadRequestBody) UnmarshalBinary

func (o *UpdateClusterBadRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterBadRequestBody) Validate

func (o *UpdateClusterBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this update cluster bad request body

type UpdateClusterBody

type UpdateClusterBody struct {

	// config
	// Required: true
	Config *UpdateClusterParamsBodyConfig `json:"config"`
}

UpdateClusterBody UpdateClusterReq // // UpdateClusterReq is the request for updating cluster. swagger:model UpdateClusterBody

func (*UpdateClusterBody) ContextValidate

func (o *UpdateClusterBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cluster body based on the context it is used

func (*UpdateClusterBody) MarshalBinary

func (o *UpdateClusterBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterBody) UnmarshalBinary

func (o *UpdateClusterBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterBody) Validate

func (o *UpdateClusterBody) Validate(formats strfmt.Registry) error

Validate validates this update cluster body

type UpdateClusterDefault

type UpdateClusterDefault struct {
	Payload *UpdateClusterDefaultBody
	// contains filtered or unexported fields
}

UpdateClusterDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateClusterDefault

func NewUpdateClusterDefault(code int) *UpdateClusterDefault

NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values

func (*UpdateClusterDefault) Code

func (o *UpdateClusterDefault) Code() int

Code gets the status code for the update cluster default response

func (*UpdateClusterDefault) Error

func (o *UpdateClusterDefault) Error() string

func (*UpdateClusterDefault) GetPayload

func (*UpdateClusterDefault) IsClientError

func (o *UpdateClusterDefault) IsClientError() bool

IsClientError returns true when this update cluster default response has a 4xx status code

func (*UpdateClusterDefault) IsCode

func (o *UpdateClusterDefault) IsCode(code int) bool

IsCode returns true when this update cluster default response a status code equal to that given

func (*UpdateClusterDefault) IsRedirect

func (o *UpdateClusterDefault) IsRedirect() bool

IsRedirect returns true when this update cluster default response has a 3xx status code

func (*UpdateClusterDefault) IsServerError

func (o *UpdateClusterDefault) IsServerError() bool

IsServerError returns true when this update cluster default response has a 5xx status code

func (*UpdateClusterDefault) IsSuccess

func (o *UpdateClusterDefault) IsSuccess() bool

IsSuccess returns true when this update cluster default response has a 2xx status code

func (*UpdateClusterDefault) String

func (o *UpdateClusterDefault) String() string

type UpdateClusterDefaultBody

type UpdateClusterDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*UpdateClusterDefaultBodyDetailsItems0 `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

UpdateClusterDefaultBody update cluster default body swagger:model UpdateClusterDefaultBody

func (*UpdateClusterDefaultBody) ContextValidate

func (o *UpdateClusterDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cluster default body based on the context it is used

func (*UpdateClusterDefaultBody) MarshalBinary

func (o *UpdateClusterDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterDefaultBody) UnmarshalBinary

func (o *UpdateClusterDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterDefaultBody) Validate

func (o *UpdateClusterDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this update cluster default body

type UpdateClusterDefaultBodyDetailsItems0

type UpdateClusterDefaultBodyDetailsItems0 struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

UpdateClusterDefaultBodyDetailsItems0 update cluster default body details items0 swagger:model UpdateClusterDefaultBodyDetailsItems0

func (*UpdateClusterDefaultBodyDetailsItems0) ContextValidate

func (o *UpdateClusterDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cluster default body details items0 based on context it is used

func (*UpdateClusterDefaultBodyDetailsItems0) MarshalBinary

func (o *UpdateClusterDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterDefaultBodyDetailsItems0) UnmarshalBinary

func (o *UpdateClusterDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterDefaultBodyDetailsItems0) Validate

Validate validates this update cluster default body details items0

type UpdateClusterForbidden

type UpdateClusterForbidden struct {
	Payload *UpdateClusterForbiddenBody
}

UpdateClusterForbidden describes a response with status code 403, with default header values.

The API key does not have permission to access the resource.

func NewUpdateClusterForbidden

func NewUpdateClusterForbidden() *UpdateClusterForbidden

NewUpdateClusterForbidden creates a UpdateClusterForbidden with default headers values

func (*UpdateClusterForbidden) Code

func (o *UpdateClusterForbidden) Code() int

Code gets the status code for the update cluster forbidden response

func (*UpdateClusterForbidden) Error

func (o *UpdateClusterForbidden) Error() string

func (*UpdateClusterForbidden) GetPayload

func (*UpdateClusterForbidden) IsClientError

func (o *UpdateClusterForbidden) IsClientError() bool

IsClientError returns true when this update cluster forbidden response has a 4xx status code

func (*UpdateClusterForbidden) IsCode

func (o *UpdateClusterForbidden) IsCode(code int) bool

IsCode returns true when this update cluster forbidden response a status code equal to that given

func (*UpdateClusterForbidden) IsRedirect

func (o *UpdateClusterForbidden) IsRedirect() bool

IsRedirect returns true when this update cluster forbidden response has a 3xx status code

func (*UpdateClusterForbidden) IsServerError

func (o *UpdateClusterForbidden) IsServerError() bool

IsServerError returns true when this update cluster forbidden response has a 5xx status code

func (*UpdateClusterForbidden) IsSuccess

func (o *UpdateClusterForbidden) IsSuccess() bool

IsSuccess returns true when this update cluster forbidden response has a 2xx status code

func (*UpdateClusterForbidden) String

func (o *UpdateClusterForbidden) String() string

type UpdateClusterForbiddenBody

type UpdateClusterForbiddenBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

UpdateClusterForbiddenBody update cluster forbidden body swagger:model UpdateClusterForbiddenBody

func (*UpdateClusterForbiddenBody) ContextValidate

func (o *UpdateClusterForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cluster forbidden body based on context it is used

func (*UpdateClusterForbiddenBody) MarshalBinary

func (o *UpdateClusterForbiddenBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterForbiddenBody) UnmarshalBinary

func (o *UpdateClusterForbiddenBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterForbiddenBody) Validate

func (o *UpdateClusterForbiddenBody) Validate(formats strfmt.Registry) error

Validate validates this update cluster forbidden body

type UpdateClusterInternalServerError

type UpdateClusterInternalServerError struct {
	Payload *UpdateClusterInternalServerErrorBody
}

UpdateClusterInternalServerError describes a response with status code 500, with default header values.

Server error.

func NewUpdateClusterInternalServerError

func NewUpdateClusterInternalServerError() *UpdateClusterInternalServerError

NewUpdateClusterInternalServerError creates a UpdateClusterInternalServerError with default headers values

func (*UpdateClusterInternalServerError) Code

Code gets the status code for the update cluster internal server error response

func (*UpdateClusterInternalServerError) Error

func (*UpdateClusterInternalServerError) GetPayload

func (*UpdateClusterInternalServerError) IsClientError

func (o *UpdateClusterInternalServerError) IsClientError() bool

IsClientError returns true when this update cluster internal server error response has a 4xx status code

func (*UpdateClusterInternalServerError) IsCode

func (o *UpdateClusterInternalServerError) IsCode(code int) bool

IsCode returns true when this update cluster internal server error response a status code equal to that given

func (*UpdateClusterInternalServerError) IsRedirect

func (o *UpdateClusterInternalServerError) IsRedirect() bool

IsRedirect returns true when this update cluster internal server error response has a 3xx status code

func (*UpdateClusterInternalServerError) IsServerError

func (o *UpdateClusterInternalServerError) IsServerError() bool

IsServerError returns true when this update cluster internal server error response has a 5xx status code

func (*UpdateClusterInternalServerError) IsSuccess

func (o *UpdateClusterInternalServerError) IsSuccess() bool

IsSuccess returns true when this update cluster internal server error response has a 2xx status code

func (*UpdateClusterInternalServerError) String

type UpdateClusterInternalServerErrorBody

type UpdateClusterInternalServerErrorBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

UpdateClusterInternalServerErrorBody update cluster internal server error body swagger:model UpdateClusterInternalServerErrorBody

func (*UpdateClusterInternalServerErrorBody) ContextValidate

func (o *UpdateClusterInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cluster internal server error body based on context it is used

func (*UpdateClusterInternalServerErrorBody) MarshalBinary

func (o *UpdateClusterInternalServerErrorBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterInternalServerErrorBody) UnmarshalBinary

func (o *UpdateClusterInternalServerErrorBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterInternalServerErrorBody) Validate

Validate validates this update cluster internal server error body

type UpdateClusterNotFound

type UpdateClusterNotFound struct {
	Payload *UpdateClusterNotFoundBody
}

UpdateClusterNotFound describes a response with status code 404, with default header values.

The requested resource does not exist.

func NewUpdateClusterNotFound

func NewUpdateClusterNotFound() *UpdateClusterNotFound

NewUpdateClusterNotFound creates a UpdateClusterNotFound with default headers values

func (*UpdateClusterNotFound) Code

func (o *UpdateClusterNotFound) Code() int

Code gets the status code for the update cluster not found response

func (*UpdateClusterNotFound) Error

func (o *UpdateClusterNotFound) Error() string

func (*UpdateClusterNotFound) GetPayload

func (*UpdateClusterNotFound) IsClientError

func (o *UpdateClusterNotFound) IsClientError() bool

IsClientError returns true when this update cluster not found response has a 4xx status code

func (*UpdateClusterNotFound) IsCode

func (o *UpdateClusterNotFound) IsCode(code int) bool

IsCode returns true when this update cluster not found response a status code equal to that given

func (*UpdateClusterNotFound) IsRedirect

func (o *UpdateClusterNotFound) IsRedirect() bool

IsRedirect returns true when this update cluster not found response has a 3xx status code

func (*UpdateClusterNotFound) IsServerError

func (o *UpdateClusterNotFound) IsServerError() bool

IsServerError returns true when this update cluster not found response has a 5xx status code

func (*UpdateClusterNotFound) IsSuccess

func (o *UpdateClusterNotFound) IsSuccess() bool

IsSuccess returns true when this update cluster not found response has a 2xx status code

func (*UpdateClusterNotFound) String

func (o *UpdateClusterNotFound) String() string

type UpdateClusterNotFoundBody

type UpdateClusterNotFoundBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

UpdateClusterNotFoundBody update cluster not found body swagger:model UpdateClusterNotFoundBody

func (*UpdateClusterNotFoundBody) ContextValidate

func (o *UpdateClusterNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cluster not found body based on context it is used

func (*UpdateClusterNotFoundBody) MarshalBinary

func (o *UpdateClusterNotFoundBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterNotFoundBody) UnmarshalBinary

func (o *UpdateClusterNotFoundBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterNotFoundBody) Validate

func (o *UpdateClusterNotFoundBody) Validate(formats strfmt.Registry) error

Validate validates this update cluster not found body

type UpdateClusterOK

type UpdateClusterOK struct {
	Payload interface{}
}

UpdateClusterOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateClusterOK

func NewUpdateClusterOK() *UpdateClusterOK

NewUpdateClusterOK creates a UpdateClusterOK with default headers values

func (*UpdateClusterOK) Code

func (o *UpdateClusterOK) Code() int

Code gets the status code for the update cluster o k response

func (*UpdateClusterOK) Error

func (o *UpdateClusterOK) Error() string

func (*UpdateClusterOK) GetPayload

func (o *UpdateClusterOK) GetPayload() interface{}

func (*UpdateClusterOK) IsClientError

func (o *UpdateClusterOK) IsClientError() bool

IsClientError returns true when this update cluster o k response has a 4xx status code

func (*UpdateClusterOK) IsCode

func (o *UpdateClusterOK) IsCode(code int) bool

IsCode returns true when this update cluster o k response a status code equal to that given

func (*UpdateClusterOK) IsRedirect

func (o *UpdateClusterOK) IsRedirect() bool

IsRedirect returns true when this update cluster o k response has a 3xx status code

func (*UpdateClusterOK) IsServerError

func (o *UpdateClusterOK) IsServerError() bool

IsServerError returns true when this update cluster o k response has a 5xx status code

func (*UpdateClusterOK) IsSuccess

func (o *UpdateClusterOK) IsSuccess() bool

IsSuccess returns true when this update cluster o k response has a 2xx status code

func (*UpdateClusterOK) String

func (o *UpdateClusterOK) String() string

type UpdateClusterParams

type UpdateClusterParams struct {

	// Body.
	Body UpdateClusterBody

	/* ClusterID.

	   The ID of the cluster.

	   Format: uint64
	*/
	ClusterID string

	/* ProjectID.

	   The ID of the project. You can get the project ID from the response of [List all accessible projects](#tag/Project/operation/ListProjects).

	   Format: uint64
	*/
	ProjectID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateClusterParams contains all the parameters to send to the API endpoint

for the update cluster operation.

Typically these are written to a http.Request.

func NewUpdateClusterParams

func NewUpdateClusterParams() *UpdateClusterParams

NewUpdateClusterParams creates a new UpdateClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateClusterParamsWithContext

func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams

NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.

func NewUpdateClusterParamsWithHTTPClient

func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams

NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateClusterParamsWithTimeout

func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams

NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.

func (*UpdateClusterParams) SetBody

func (o *UpdateClusterParams) SetBody(body UpdateClusterBody)

SetBody adds the body to the update cluster params

func (*UpdateClusterParams) SetClusterID

func (o *UpdateClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update cluster params

func (*UpdateClusterParams) SetContext

func (o *UpdateClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the update cluster params

func (*UpdateClusterParams) SetDefaults

func (o *UpdateClusterParams) SetDefaults()

SetDefaults hydrates default values in the update cluster params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterParams) SetHTTPClient

func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) SetProjectID

func (o *UpdateClusterParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the update cluster params

func (*UpdateClusterParams) SetTimeout

func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WithBody

WithBody adds the body to the update cluster params

func (*UpdateClusterParams) WithClusterID

func (o *UpdateClusterParams) WithClusterID(clusterID string) *UpdateClusterParams

WithClusterID adds the clusterID to the update cluster params

func (*UpdateClusterParams) WithContext

WithContext adds the context to the update cluster params

func (*UpdateClusterParams) WithDefaults

func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams

WithDefaults hydrates default values in the update cluster params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateClusterParams) WithHTTPClient

func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams

WithHTTPClient adds the HTTPClient to the update cluster params

func (*UpdateClusterParams) WithProjectID

func (o *UpdateClusterParams) WithProjectID(projectID string) *UpdateClusterParams

WithProjectID adds the projectID to the update cluster params

func (*UpdateClusterParams) WithTimeout

func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams

WithTimeout adds the timeout to the update cluster params

func (*UpdateClusterParams) WriteToRequest

func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateClusterParamsBodyConfig

type UpdateClusterParamsBodyConfig struct {

	// components
	Components *UpdateClusterParamsBodyConfigComponents `json:"components,omitempty"`

	// Flag that indicates whether the cluster is paused. `true` means to pause the cluster, and `false` means to resume the cluster. For more details, refer to [Pause or Resume a TiDB Cluster](https://docs.pingcap.com/tidbcloud/pause-or-resume-tidb-cluster).
	//
	// **Limitations:**
	//  - The cluster can be paused only when the `cluster_status` is `"AVAILABLE"`.
	// - The cluster can be resumed only when the `cluster_status` is `"PAUSED"`.
	Paused *bool `json:"paused,omitempty"`
}

UpdateClusterParamsBodyConfig UpdateClusterComponents // // The configuration of the cluster. You can modify the components of the cluster using `components`, or pause or resume the cluster using `paused`. // // You cannot change the cluster components and cluster status at the same time. That is, `components` and `paused` cannot be set at the same time. // Example: {"components":{"tidb":{"node_quantity":3,"node_size":"16C32G"},"tiflash":{"node_quantity":2,"node_size":"16C128G","storage_size_gib":2048},"tikv":{"node_quantity":6,"node_size":"16C64G","storage_size_gib":2048}}} swagger:model UpdateClusterParamsBodyConfig

func (*UpdateClusterParamsBodyConfig) ContextValidate

func (o *UpdateClusterParamsBodyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update cluster params body config based on the context it is used

func (*UpdateClusterParamsBodyConfig) MarshalBinary

func (o *UpdateClusterParamsBodyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfig) UnmarshalBinary

func (o *UpdateClusterParamsBodyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfig) Validate

func (o *UpdateClusterParamsBodyConfig) Validate(formats strfmt.Registry) error

Validate validates this update cluster params body config

type UpdateClusterParamsBodyConfigComponents

type UpdateClusterParamsBodyConfigComponents struct {

	// tidb
	Tidb *UpdateClusterParamsBodyConfigComponentsTidb `json:"tidb,omitempty"`

	// tiflash
	Tiflash *UpdateClusterParamsBodyConfigComponentsTiflash `json:"tiflash,omitempty"`

	// tikv
	Tikv *UpdateClusterParamsBodyConfigComponentsTikv `json:"tikv,omitempty"`
}

UpdateClusterParamsBodyConfigComponents The components of the cluster. swagger:model UpdateClusterParamsBodyConfigComponents

func (*UpdateClusterParamsBodyConfigComponents) ContextValidate

ContextValidate validate this update cluster params body config components based on the context it is used

func (*UpdateClusterParamsBodyConfigComponents) MarshalBinary

func (o *UpdateClusterParamsBodyConfigComponents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponents) UnmarshalBinary

func (o *UpdateClusterParamsBodyConfigComponents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponents) Validate

Validate validates this update cluster params body config components

type UpdateClusterParamsBodyConfigComponentsTidb

type UpdateClusterParamsBodyConfigComponentsTidb struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 3
	NodeQuantity *int32 `json:"node_quantity,omitempty"`

	// The size of the TiDB component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	//
	// **Limitations**:
	// - See [Change node size](https://docs.pingcap.com/tidbcloud/scale-tidb-cluster#change-node-size).
	// Example: 16C32G
	NodeSize *string `json:"node_size,omitempty"`
}

UpdateClusterParamsBodyConfigComponentsTidb The TiDB component of the cluster. swagger:model UpdateClusterParamsBodyConfigComponentsTidb

func (*UpdateClusterParamsBodyConfigComponentsTidb) ContextValidate

ContextValidate validates this update cluster params body config components tidb based on context it is used

func (*UpdateClusterParamsBodyConfigComponentsTidb) MarshalBinary

func (o *UpdateClusterParamsBodyConfigComponentsTidb) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary

func (o *UpdateClusterParamsBodyConfigComponentsTidb) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponentsTidb) Validate

Validate validates this update cluster params body config components tidb

type UpdateClusterParamsBodyConfigComponentsTiflash

type UpdateClusterParamsBodyConfigComponentsTiflash struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	// Example: 2
	NodeQuantity *int32 `json:"node_quantity,omitempty"`

	// The size of the TiFlash component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	//
	// **Limitations**:
	// - See [Change node size](https://docs.pingcap.com/tidbcloud/scale-tidb-cluster#change-node-size).
	// Example: 16C128G
	NodeSize *string `json:"node_size,omitempty"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Limitations**:
	// - You cannot decrease storage size for TiFlash.
	// - If your TiDB cluster is hosted by AWS, after changing the storage size of TiFlash, you must wait at least six hours before you can change it again.
	// Example: 2048
	StorageSizeGib *int32 `json:"storage_size_gib,omitempty"`
}

UpdateClusterParamsBodyConfigComponentsTiflash The TiFlash component of the cluster. // // If you want to add TiFlash nodes to a cluster that does not have one before (increase the node_quantity of `"TIFLASH"` from 0), you must specify the `node_size`, `storage_size_gib` and `node_quantity` of TiFlash nodes. swagger:model UpdateClusterParamsBodyConfigComponentsTiflash

func (*UpdateClusterParamsBodyConfigComponentsTiflash) ContextValidate

ContextValidate validates this update cluster params body config components tiflash based on context it is used

func (*UpdateClusterParamsBodyConfigComponentsTiflash) MarshalBinary

MarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponentsTiflash) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponentsTiflash) Validate

Validate validates this update cluster params body config components tiflash

type UpdateClusterParamsBodyConfigComponentsTikv

type UpdateClusterParamsBodyConfigComponentsTikv struct {

	// The number of nodes in the cluster. You can get the minimum and step of a node quantity from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Limitations**:
	// - The `node_quantity` of TiKV must be a multiple of 3.
	// Example: 6
	NodeQuantity *int32 `json:"node_quantity,omitempty"`

	// The size of the TiKV component in the cluster. You can get the available node size of each region from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Additional combination rules**:
	// - If the vCPUs of TiDB or TiKV component is 4, then their vCPUs need to be the same.
	// - If the vCPUs of TiDB or TiKV component is 4, then the cluster does not support TiFlash.
	//
	// **Limitations**:
	// - See [Change node size](https://docs.pingcap.com/tidbcloud/scale-tidb-cluster#change-node-size).
	// Example: 16C64G
	NodeSize *string `json:"node_size,omitempty"`

	// The storage size of a node in the cluster. You can get the minimum and maximum of storage size from the response of [List the cloud providers, regions and available specifications](#tag/Cluster/operation/ListProviderRegions).
	//
	// **Limitations**:
	// - You cannot decrease storage size for TiKV.
	// - If your TiDB cluster is hosted by AWS, after changing the storage size of TiKV, you must wait at least six hours before you can change it again.
	// Example: 2048
	StorageSizeGib *int32 `json:"storage_size_gib,omitempty"`
}

UpdateClusterParamsBodyConfigComponentsTikv The TiKV component of the cluster. swagger:model UpdateClusterParamsBodyConfigComponentsTikv

func (*UpdateClusterParamsBodyConfigComponentsTikv) ContextValidate

ContextValidate validates this update cluster params body config components tikv based on context it is used

func (*UpdateClusterParamsBodyConfigComponentsTikv) MarshalBinary

func (o *UpdateClusterParamsBodyConfigComponentsTikv) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary

func (o *UpdateClusterParamsBodyConfigComponentsTikv) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterParamsBodyConfigComponentsTikv) Validate

Validate validates this update cluster params body config components tikv

type UpdateClusterReader

type UpdateClusterReader struct {
	// contains filtered or unexported fields
}

UpdateClusterReader is a Reader for the UpdateCluster structure.

func (*UpdateClusterReader) ReadResponse

func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateClusterTooManyRequests

type UpdateClusterTooManyRequests struct {
	Payload *UpdateClusterTooManyRequestsBody
}

UpdateClusterTooManyRequests describes a response with status code 429, with default header values.

You have exceed the rate limit.

func NewUpdateClusterTooManyRequests

func NewUpdateClusterTooManyRequests() *UpdateClusterTooManyRequests

NewUpdateClusterTooManyRequests creates a UpdateClusterTooManyRequests with default headers values

func (*UpdateClusterTooManyRequests) Code

Code gets the status code for the update cluster too many requests response

func (*UpdateClusterTooManyRequests) Error

func (*UpdateClusterTooManyRequests) GetPayload

func (*UpdateClusterTooManyRequests) IsClientError

func (o *UpdateClusterTooManyRequests) IsClientError() bool

IsClientError returns true when this update cluster too many requests response has a 4xx status code

func (*UpdateClusterTooManyRequests) IsCode

func (o *UpdateClusterTooManyRequests) IsCode(code int) bool

IsCode returns true when this update cluster too many requests response a status code equal to that given

func (*UpdateClusterTooManyRequests) IsRedirect

func (o *UpdateClusterTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update cluster too many requests response has a 3xx status code

func (*UpdateClusterTooManyRequests) IsServerError

func (o *UpdateClusterTooManyRequests) IsServerError() bool

IsServerError returns true when this update cluster too many requests response has a 5xx status code

func (*UpdateClusterTooManyRequests) IsSuccess

func (o *UpdateClusterTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update cluster too many requests response has a 2xx status code

func (*UpdateClusterTooManyRequests) String

type UpdateClusterTooManyRequestsBody

type UpdateClusterTooManyRequestsBody struct {

	// code
	//
	// Error code returned with this error.
	Code int64 `json:"code,omitempty"`

	// details
	//
	// Error details returned with this error.
	Details []string `json:"details"`

	// message
	//
	// Error message returned with this error.
	Message string `json:"message,omitempty"`
}

UpdateClusterTooManyRequestsBody update cluster too many requests body swagger:model UpdateClusterTooManyRequestsBody

func (*UpdateClusterTooManyRequestsBody) ContextValidate

func (o *UpdateClusterTooManyRequestsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update cluster too many requests body based on context it is used

func (*UpdateClusterTooManyRequestsBody) MarshalBinary

func (o *UpdateClusterTooManyRequestsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateClusterTooManyRequestsBody) UnmarshalBinary

func (o *UpdateClusterTooManyRequestsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateClusterTooManyRequestsBody) Validate

Validate validates this update cluster too many requests body

type UpdateClusterUnauthorized

type UpdateClusterUnauthorized struct {
	Payload interface{}
}

UpdateClusterUnauthorized describes a response with status code 401, with default header values.

The API key cannot be authenticated.

func NewUpdateClusterUnauthorized

func NewUpdateClusterUnauthorized() *UpdateClusterUnauthorized

NewUpdateClusterUnauthorized creates a UpdateClusterUnauthorized with default headers values

func (*UpdateClusterUnauthorized) Code

func (o *UpdateClusterUnauthorized) Code() int

Code gets the status code for the update cluster unauthorized response

func (*UpdateClusterUnauthorized) Error

func (o *UpdateClusterUnauthorized) Error() string

func (*UpdateClusterUnauthorized) GetPayload

func (o *UpdateClusterUnauthorized) GetPayload() interface{}

func (*UpdateClusterUnauthorized) IsClientError

func (o *UpdateClusterUnauthorized) IsClientError() bool

IsClientError returns true when this update cluster unauthorized response has a 4xx status code

func (*UpdateClusterUnauthorized) IsCode

func (o *UpdateClusterUnauthorized) IsCode(code int) bool

IsCode returns true when this update cluster unauthorized response a status code equal to that given

func (*UpdateClusterUnauthorized) IsRedirect

func (o *UpdateClusterUnauthorized) IsRedirect() bool

IsRedirect returns true when this update cluster unauthorized response has a 3xx status code

func (*UpdateClusterUnauthorized) IsServerError

func (o *UpdateClusterUnauthorized) IsServerError() bool

IsServerError returns true when this update cluster unauthorized response has a 5xx status code

func (*UpdateClusterUnauthorized) IsSuccess

func (o *UpdateClusterUnauthorized) IsSuccess() bool

IsSuccess returns true when this update cluster unauthorized response has a 2xx status code

func (*UpdateClusterUnauthorized) String

func (o *UpdateClusterUnauthorized) String() string

Jump to

Keyboard shortcuts

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