Documentation ¶
Index ¶
- type AttachInstancesRequest
- type AttachInstancesResponse
- type CheckAliyunCSServiceRoleRequest
- type CheckAliyunCSServiceRoleResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) AttachInstances(request *AttachInstancesRequest) (response *AttachInstancesResponse, err error)
- func (client *Client) AttachInstancesWithCallback(request *AttachInstancesRequest, ...) <-chan int
- func (client *Client) AttachInstancesWithChan(request *AttachInstancesRequest) (<-chan *AttachInstancesResponse, <-chan error)
- func (client *Client) CheckAliyunCSServiceRole(request *CheckAliyunCSServiceRoleRequest) (response *CheckAliyunCSServiceRoleResponse, err error)
- func (client *Client) CheckAliyunCSServiceRoleWithCallback(request *CheckAliyunCSServiceRoleRequest, ...) <-chan int
- func (client *Client) CheckAliyunCSServiceRoleWithChan(request *CheckAliyunCSServiceRoleRequest) (<-chan *CheckAliyunCSServiceRoleResponse, <-chan error)
- func (client *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, ...) <-chan int
- func (client *Client) CreateClusterWithChan(request *CreateClusterRequest) (<-chan *CreateClusterResponse, <-chan error)
- func (client *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (client *Client) DeleteClusterNode(request *DeleteClusterNodeRequest) (response *DeleteClusterNodeResponse, err error)
- func (client *Client) DeleteClusterNodeWithCallback(request *DeleteClusterNodeRequest, ...) <-chan int
- func (client *Client) DeleteClusterNodeWithChan(request *DeleteClusterNodeRequest) (<-chan *DeleteClusterNodeResponse, <-chan error)
- func (client *Client) DeleteClusterWithCallback(request *DeleteClusterRequest, ...) <-chan int
- func (client *Client) DeleteClusterWithChan(request *DeleteClusterRequest) (<-chan *DeleteClusterResponse, <-chan error)
- func (client *Client) DescribeApiVersion(request *DescribeApiVersionRequest) (response *DescribeApiVersionResponse, err error)
- func (client *Client) DescribeApiVersionWithCallback(request *DescribeApiVersionRequest, ...) <-chan int
- func (client *Client) DescribeApiVersionWithChan(request *DescribeApiVersionRequest) (<-chan *DescribeApiVersionResponse, <-chan error)
- func (client *Client) DescribeClusterCerts(request *DescribeClusterCertsRequest) (response *DescribeClusterCertsResponse, err error)
- func (client *Client) DescribeClusterCertsWithCallback(request *DescribeClusterCertsRequest, ...) <-chan int
- func (client *Client) DescribeClusterCertsWithChan(request *DescribeClusterCertsRequest) (<-chan *DescribeClusterCertsResponse, <-chan error)
- func (client *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (client *Client) DescribeClusterDetailWithCallback(request *DescribeClusterDetailRequest, ...) <-chan int
- func (client *Client) DescribeClusterDetailWithChan(request *DescribeClusterDetailRequest) (<-chan *DescribeClusterDetailResponse, <-chan error)
- func (client *Client) DescribeClusterEndpoints(request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)
- func (client *Client) DescribeClusterEndpointsWithCallback(request *DescribeClusterEndpointsRequest, ...) <-chan int
- func (client *Client) DescribeClusterEndpointsWithChan(request *DescribeClusterEndpointsRequest) (<-chan *DescribeClusterEndpointsResponse, <-chan error)
- func (client *Client) DescribeClusterLogs(request *DescribeClusterLogsRequest) (response *DescribeClusterLogsResponse, err error)
- func (client *Client) DescribeClusterLogsWithCallback(request *DescribeClusterLogsRequest, ...) <-chan int
- func (client *Client) DescribeClusterLogsWithChan(request *DescribeClusterLogsRequest) (<-chan *DescribeClusterLogsResponse, <-chan error)
- func (client *Client) DescribeClusterNodes(request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)
- func (client *Client) DescribeClusterNodesWithCallback(request *DescribeClusterNodesRequest, ...) <-chan int
- func (client *Client) DescribeClusterNodesWithChan(request *DescribeClusterNodesRequest) (<-chan *DescribeClusterNodesResponse, <-chan error)
- func (client *Client) DescribeClusterUserKubeconfig(request *DescribeClusterUserKubeconfigRequest) (response *DescribeClusterUserKubeconfigResponse, err error)
- func (client *Client) DescribeClusterUserKubeconfigWithCallback(request *DescribeClusterUserKubeconfigRequest, ...) <-chan int
- func (client *Client) DescribeClusterUserKubeconfigWithChan(request *DescribeClusterUserKubeconfigRequest) (<-chan *DescribeClusterUserKubeconfigResponse, <-chan error)
- func (client *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (client *Client) DescribeClustersWithCallback(request *DescribeClustersRequest, ...) <-chan int
- func (client *Client) DescribeClustersWithChan(request *DescribeClustersRequest) (<-chan *DescribeClustersResponse, <-chan error)
- func (client *Client) DownloadClusterNodeCerts(request *DownloadClusterNodeCertsRequest) (response *DownloadClusterNodeCertsResponse, err error)
- func (client *Client) DownloadClusterNodeCertsWithCallback(request *DownloadClusterNodeCertsRequest, ...) <-chan int
- func (client *Client) DownloadClusterNodeCertsWithChan(request *DownloadClusterNodeCertsRequest) (<-chan *DownloadClusterNodeCertsResponse, <-chan error)
- func (client *Client) ResetClusterNode(request *ResetClusterNodeRequest) (response *ResetClusterNodeResponse, err error)
- func (client *Client) ResetClusterNodeWithCallback(request *ResetClusterNodeRequest, ...) <-chan int
- func (client *Client) ResetClusterNodeWithChan(request *ResetClusterNodeRequest) (<-chan *ResetClusterNodeResponse, <-chan error)
- func (client *Client) RevokeClusterToken(request *RevokeClusterTokenRequest) (response *RevokeClusterTokenResponse, err error)
- func (client *Client) RevokeClusterTokenWithCallback(request *RevokeClusterTokenRequest, ...) <-chan int
- func (client *Client) RevokeClusterTokenWithChan(request *RevokeClusterTokenRequest) (<-chan *RevokeClusterTokenResponse, <-chan error)
- func (client *Client) ScaleCluster(request *ScaleClusterRequest) (response *ScaleClusterResponse, err error)
- func (client *Client) ScaleClusterWithCallback(request *ScaleClusterRequest, ...) <-chan int
- func (client *Client) ScaleClusterWithChan(request *ScaleClusterRequest) (<-chan *ScaleClusterResponse, <-chan error)
- type CreateClusterRequest
- type CreateClusterResponse
- type DeleteClusterNodeRequest
- type DeleteClusterNodeResponse
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DescribeApiVersionRequest
- type DescribeApiVersionResponse
- type DescribeClusterCertsRequest
- type DescribeClusterCertsResponse
- type DescribeClusterDetailRequest
- type DescribeClusterDetailResponse
- type DescribeClusterEndpointsRequest
- type DescribeClusterEndpointsResponse
- type DescribeClusterLogsRequest
- type DescribeClusterLogsResponse
- type DescribeClusterNodesRequest
- type DescribeClusterNodesResponse
- type DescribeClusterUserKubeconfigRequest
- type DescribeClusterUserKubeconfigResponse
- type DescribeClustersRequest
- type DescribeClustersResponse
- type DownloadClusterNodeCertsRequest
- type DownloadClusterNodeCertsResponse
- type ResetClusterNodeRequest
- type ResetClusterNodeResponse
- type RevokeClusterTokenRequest
- type RevokeClusterTokenResponse
- type ScaleClusterRequest
- type ScaleClusterResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachInstancesRequest ¶
type AttachInstancesRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
AttachInstancesRequest is the request struct for api AttachInstances
func CreateAttachInstancesRequest ¶
func CreateAttachInstancesRequest() (request *AttachInstancesRequest)
CreateAttachInstancesRequest creates a request to invoke AttachInstances API
type AttachInstancesResponse ¶
type AttachInstancesResponse struct {
*responses.BaseResponse
}
AttachInstancesResponse is the response struct for api AttachInstances
func CreateAttachInstancesResponse ¶
func CreateAttachInstancesResponse() (response *AttachInstancesResponse)
CreateAttachInstancesResponse creates a response to parse from AttachInstances response
type CheckAliyunCSServiceRoleRequest ¶
type CheckAliyunCSServiceRoleRequest struct {
*requests.RoaRequest
}
CheckAliyunCSServiceRoleRequest is the request struct for api CheckAliyunCSServiceRole
func CreateCheckAliyunCSServiceRoleRequest ¶
func CreateCheckAliyunCSServiceRoleRequest() (request *CheckAliyunCSServiceRoleRequest)
CreateCheckAliyunCSServiceRoleRequest creates a request to invoke CheckAliyunCSServiceRole API
type CheckAliyunCSServiceRoleResponse ¶
type CheckAliyunCSServiceRoleResponse struct {
*responses.BaseResponse
}
CheckAliyunCSServiceRoleResponse is the response struct for api CheckAliyunCSServiceRole
func CreateCheckAliyunCSServiceRoleResponse ¶
func CreateCheckAliyunCSServiceRoleResponse() (response *CheckAliyunCSServiceRoleResponse)
CreateCheckAliyunCSServiceRoleResponse creates a response to parse from CheckAliyunCSServiceRole response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html
func (*Client) AttachInstances ¶
func (client *Client) AttachInstances(request *AttachInstancesRequest) (response *AttachInstancesResponse, err error)
AttachInstances invokes the cs.AttachInstances API synchronously api document: https://help.aliyun.com/api/cs/attachinstances.html
func (*Client) AttachInstancesWithCallback ¶
func (client *Client) AttachInstancesWithCallback(request *AttachInstancesRequest, callback func(response *AttachInstancesResponse, err error)) <-chan int
AttachInstancesWithCallback invokes the cs.AttachInstances API asynchronously api document: https://help.aliyun.com/api/cs/attachinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) AttachInstancesWithChan ¶
func (client *Client) AttachInstancesWithChan(request *AttachInstancesRequest) (<-chan *AttachInstancesResponse, <-chan error)
AttachInstancesWithChan invokes the cs.AttachInstances API asynchronously api document: https://help.aliyun.com/api/cs/attachinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckAliyunCSServiceRole ¶
func (client *Client) CheckAliyunCSServiceRole(request *CheckAliyunCSServiceRoleRequest) (response *CheckAliyunCSServiceRoleResponse, err error)
CheckAliyunCSServiceRole invokes the cs.CheckAliyunCSServiceRole API synchronously api document: https://help.aliyun.com/api/cs/checkaliyuncsservicerole.html
func (*Client) CheckAliyunCSServiceRoleWithCallback ¶
func (client *Client) CheckAliyunCSServiceRoleWithCallback(request *CheckAliyunCSServiceRoleRequest, callback func(response *CheckAliyunCSServiceRoleResponse, err error)) <-chan int
CheckAliyunCSServiceRoleWithCallback invokes the cs.CheckAliyunCSServiceRole API asynchronously api document: https://help.aliyun.com/api/cs/checkaliyuncsservicerole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckAliyunCSServiceRoleWithChan ¶
func (client *Client) CheckAliyunCSServiceRoleWithChan(request *CheckAliyunCSServiceRoleRequest) (<-chan *CheckAliyunCSServiceRoleResponse, <-chan error)
CheckAliyunCSServiceRoleWithChan invokes the cs.CheckAliyunCSServiceRole API asynchronously api document: https://help.aliyun.com/api/cs/checkaliyuncsservicerole.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateCluster ¶
func (client *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster invokes the cs.CreateCluster API synchronously api document: https://help.aliyun.com/api/cs/createcluster.html
func (*Client) CreateClusterWithCallback ¶
func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, callback func(response *CreateClusterResponse, err error)) <-chan int
CreateClusterWithCallback invokes the cs.CreateCluster API asynchronously api document: https://help.aliyun.com/api/cs/createcluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateClusterWithChan ¶
func (client *Client) CreateClusterWithChan(request *CreateClusterRequest) (<-chan *CreateClusterResponse, <-chan error)
CreateClusterWithChan invokes the cs.CreateCluster API asynchronously api document: https://help.aliyun.com/api/cs/createcluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteCluster ¶
func (client *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
DeleteCluster invokes the cs.DeleteCluster API synchronously api document: https://help.aliyun.com/api/cs/deletecluster.html
func (*Client) DeleteClusterNode ¶
func (client *Client) DeleteClusterNode(request *DeleteClusterNodeRequest) (response *DeleteClusterNodeResponse, err error)
DeleteClusterNode invokes the cs.DeleteClusterNode API synchronously api document: https://help.aliyun.com/api/cs/deleteclusternode.html
func (*Client) DeleteClusterNodeWithCallback ¶
func (client *Client) DeleteClusterNodeWithCallback(request *DeleteClusterNodeRequest, callback func(response *DeleteClusterNodeResponse, err error)) <-chan int
DeleteClusterNodeWithCallback invokes the cs.DeleteClusterNode API asynchronously api document: https://help.aliyun.com/api/cs/deleteclusternode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteClusterNodeWithChan ¶
func (client *Client) DeleteClusterNodeWithChan(request *DeleteClusterNodeRequest) (<-chan *DeleteClusterNodeResponse, <-chan error)
DeleteClusterNodeWithChan invokes the cs.DeleteClusterNode API asynchronously api document: https://help.aliyun.com/api/cs/deleteclusternode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteClusterWithCallback ¶
func (client *Client) DeleteClusterWithCallback(request *DeleteClusterRequest, callback func(response *DeleteClusterResponse, err error)) <-chan int
DeleteClusterWithCallback invokes the cs.DeleteCluster API asynchronously api document: https://help.aliyun.com/api/cs/deletecluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteClusterWithChan ¶
func (client *Client) DeleteClusterWithChan(request *DeleteClusterRequest) (<-chan *DeleteClusterResponse, <-chan error)
DeleteClusterWithChan invokes the cs.DeleteCluster API asynchronously api document: https://help.aliyun.com/api/cs/deletecluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeApiVersion ¶
func (client *Client) DescribeApiVersion(request *DescribeApiVersionRequest) (response *DescribeApiVersionResponse, err error)
DescribeApiVersion invokes the cs.DescribeApiVersion API synchronously api document: https://help.aliyun.com/api/cs/describeapiversion.html
func (*Client) DescribeApiVersionWithCallback ¶
func (client *Client) DescribeApiVersionWithCallback(request *DescribeApiVersionRequest, callback func(response *DescribeApiVersionResponse, err error)) <-chan int
DescribeApiVersionWithCallback invokes the cs.DescribeApiVersion API asynchronously api document: https://help.aliyun.com/api/cs/describeapiversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeApiVersionWithChan ¶
func (client *Client) DescribeApiVersionWithChan(request *DescribeApiVersionRequest) (<-chan *DescribeApiVersionResponse, <-chan error)
DescribeApiVersionWithChan invokes the cs.DescribeApiVersion API asynchronously api document: https://help.aliyun.com/api/cs/describeapiversion.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterCerts ¶
func (client *Client) DescribeClusterCerts(request *DescribeClusterCertsRequest) (response *DescribeClusterCertsResponse, err error)
DescribeClusterCerts invokes the cs.DescribeClusterCerts API synchronously api document: https://help.aliyun.com/api/cs/describeclustercerts.html
func (*Client) DescribeClusterCertsWithCallback ¶
func (client *Client) DescribeClusterCertsWithCallback(request *DescribeClusterCertsRequest, callback func(response *DescribeClusterCertsResponse, err error)) <-chan int
DescribeClusterCertsWithCallback invokes the cs.DescribeClusterCerts API asynchronously api document: https://help.aliyun.com/api/cs/describeclustercerts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterCertsWithChan ¶
func (client *Client) DescribeClusterCertsWithChan(request *DescribeClusterCertsRequest) (<-chan *DescribeClusterCertsResponse, <-chan error)
DescribeClusterCertsWithChan invokes the cs.DescribeClusterCerts API asynchronously api document: https://help.aliyun.com/api/cs/describeclustercerts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterDetail ¶
func (client *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail invokes the cs.DescribeClusterDetail API synchronously api document: https://help.aliyun.com/api/cs/describeclusterdetail.html
func (*Client) DescribeClusterDetailWithCallback ¶
func (client *Client) DescribeClusterDetailWithCallback(request *DescribeClusterDetailRequest, callback func(response *DescribeClusterDetailResponse, err error)) <-chan int
DescribeClusterDetailWithCallback invokes the cs.DescribeClusterDetail API asynchronously api document: https://help.aliyun.com/api/cs/describeclusterdetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterDetailWithChan ¶
func (client *Client) DescribeClusterDetailWithChan(request *DescribeClusterDetailRequest) (<-chan *DescribeClusterDetailResponse, <-chan error)
DescribeClusterDetailWithChan invokes the cs.DescribeClusterDetail API asynchronously api document: https://help.aliyun.com/api/cs/describeclusterdetail.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterEndpoints ¶
func (client *Client) DescribeClusterEndpoints(request *DescribeClusterEndpointsRequest) (response *DescribeClusterEndpointsResponse, err error)
DescribeClusterEndpoints invokes the cs.DescribeClusterEndpoints API synchronously api document: https://help.aliyun.com/api/cs/describeclusterendpoints.html
func (*Client) DescribeClusterEndpointsWithCallback ¶
func (client *Client) DescribeClusterEndpointsWithCallback(request *DescribeClusterEndpointsRequest, callback func(response *DescribeClusterEndpointsResponse, err error)) <-chan int
DescribeClusterEndpointsWithCallback invokes the cs.DescribeClusterEndpoints API asynchronously api document: https://help.aliyun.com/api/cs/describeclusterendpoints.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterEndpointsWithChan ¶
func (client *Client) DescribeClusterEndpointsWithChan(request *DescribeClusterEndpointsRequest) (<-chan *DescribeClusterEndpointsResponse, <-chan error)
DescribeClusterEndpointsWithChan invokes the cs.DescribeClusterEndpoints API asynchronously api document: https://help.aliyun.com/api/cs/describeclusterendpoints.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterLogs ¶
func (client *Client) DescribeClusterLogs(request *DescribeClusterLogsRequest) (response *DescribeClusterLogsResponse, err error)
DescribeClusterLogs invokes the cs.DescribeClusterLogs API synchronously api document: https://help.aliyun.com/api/cs/describeclusterlogs.html
func (*Client) DescribeClusterLogsWithCallback ¶
func (client *Client) DescribeClusterLogsWithCallback(request *DescribeClusterLogsRequest, callback func(response *DescribeClusterLogsResponse, err error)) <-chan int
DescribeClusterLogsWithCallback invokes the cs.DescribeClusterLogs API asynchronously api document: https://help.aliyun.com/api/cs/describeclusterlogs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterLogsWithChan ¶
func (client *Client) DescribeClusterLogsWithChan(request *DescribeClusterLogsRequest) (<-chan *DescribeClusterLogsResponse, <-chan error)
DescribeClusterLogsWithChan invokes the cs.DescribeClusterLogs API asynchronously api document: https://help.aliyun.com/api/cs/describeclusterlogs.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterNodes ¶
func (client *Client) DescribeClusterNodes(request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)
DescribeClusterNodes invokes the cs.DescribeClusterNodes API synchronously api document: https://help.aliyun.com/api/cs/describeclusternodes.html
func (*Client) DescribeClusterNodesWithCallback ¶
func (client *Client) DescribeClusterNodesWithCallback(request *DescribeClusterNodesRequest, callback func(response *DescribeClusterNodesResponse, err error)) <-chan int
DescribeClusterNodesWithCallback invokes the cs.DescribeClusterNodes API asynchronously api document: https://help.aliyun.com/api/cs/describeclusternodes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterNodesWithChan ¶
func (client *Client) DescribeClusterNodesWithChan(request *DescribeClusterNodesRequest) (<-chan *DescribeClusterNodesResponse, <-chan error)
DescribeClusterNodesWithChan invokes the cs.DescribeClusterNodes API asynchronously api document: https://help.aliyun.com/api/cs/describeclusternodes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterUserKubeconfig ¶
func (client *Client) DescribeClusterUserKubeconfig(request *DescribeClusterUserKubeconfigRequest) (response *DescribeClusterUserKubeconfigResponse, err error)
DescribeClusterUserKubeconfig invokes the cs.DescribeClusterUserKubeconfig API synchronously api document: https://help.aliyun.com/api/cs/describeclusteruserkubeconfig.html
func (*Client) DescribeClusterUserKubeconfigWithCallback ¶
func (client *Client) DescribeClusterUserKubeconfigWithCallback(request *DescribeClusterUserKubeconfigRequest, callback func(response *DescribeClusterUserKubeconfigResponse, err error)) <-chan int
DescribeClusterUserKubeconfigWithCallback invokes the cs.DescribeClusterUserKubeconfig API asynchronously api document: https://help.aliyun.com/api/cs/describeclusteruserkubeconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusterUserKubeconfigWithChan ¶
func (client *Client) DescribeClusterUserKubeconfigWithChan(request *DescribeClusterUserKubeconfigRequest) (<-chan *DescribeClusterUserKubeconfigResponse, <-chan error)
DescribeClusterUserKubeconfigWithChan invokes the cs.DescribeClusterUserKubeconfig API asynchronously api document: https://help.aliyun.com/api/cs/describeclusteruserkubeconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClusters ¶
func (client *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters invokes the cs.DescribeClusters API synchronously api document: https://help.aliyun.com/api/cs/describeclusters.html
func (*Client) DescribeClustersWithCallback ¶
func (client *Client) DescribeClustersWithCallback(request *DescribeClustersRequest, callback func(response *DescribeClustersResponse, err error)) <-chan int
DescribeClustersWithCallback invokes the cs.DescribeClusters API asynchronously api document: https://help.aliyun.com/api/cs/describeclusters.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeClustersWithChan ¶
func (client *Client) DescribeClustersWithChan(request *DescribeClustersRequest) (<-chan *DescribeClustersResponse, <-chan error)
DescribeClustersWithChan invokes the cs.DescribeClusters API asynchronously api document: https://help.aliyun.com/api/cs/describeclusters.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DownloadClusterNodeCerts ¶
func (client *Client) DownloadClusterNodeCerts(request *DownloadClusterNodeCertsRequest) (response *DownloadClusterNodeCertsResponse, err error)
DownloadClusterNodeCerts invokes the cs.DownloadClusterNodeCerts API synchronously api document: https://help.aliyun.com/api/cs/downloadclusternodecerts.html
func (*Client) DownloadClusterNodeCertsWithCallback ¶
func (client *Client) DownloadClusterNodeCertsWithCallback(request *DownloadClusterNodeCertsRequest, callback func(response *DownloadClusterNodeCertsResponse, err error)) <-chan int
DownloadClusterNodeCertsWithCallback invokes the cs.DownloadClusterNodeCerts API asynchronously api document: https://help.aliyun.com/api/cs/downloadclusternodecerts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DownloadClusterNodeCertsWithChan ¶
func (client *Client) DownloadClusterNodeCertsWithChan(request *DownloadClusterNodeCertsRequest) (<-chan *DownloadClusterNodeCertsResponse, <-chan error)
DownloadClusterNodeCertsWithChan invokes the cs.DownloadClusterNodeCerts API asynchronously api document: https://help.aliyun.com/api/cs/downloadclusternodecerts.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetClusterNode ¶
func (client *Client) ResetClusterNode(request *ResetClusterNodeRequest) (response *ResetClusterNodeResponse, err error)
ResetClusterNode invokes the cs.ResetClusterNode API synchronously api document: https://help.aliyun.com/api/cs/resetclusternode.html
func (*Client) ResetClusterNodeWithCallback ¶
func (client *Client) ResetClusterNodeWithCallback(request *ResetClusterNodeRequest, callback func(response *ResetClusterNodeResponse, err error)) <-chan int
ResetClusterNodeWithCallback invokes the cs.ResetClusterNode API asynchronously api document: https://help.aliyun.com/api/cs/resetclusternode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ResetClusterNodeWithChan ¶
func (client *Client) ResetClusterNodeWithChan(request *ResetClusterNodeRequest) (<-chan *ResetClusterNodeResponse, <-chan error)
ResetClusterNodeWithChan invokes the cs.ResetClusterNode API asynchronously api document: https://help.aliyun.com/api/cs/resetclusternode.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RevokeClusterToken ¶
func (client *Client) RevokeClusterToken(request *RevokeClusterTokenRequest) (response *RevokeClusterTokenResponse, err error)
RevokeClusterToken invokes the cs.RevokeClusterToken API synchronously api document: https://help.aliyun.com/api/cs/revokeclustertoken.html
func (*Client) RevokeClusterTokenWithCallback ¶
func (client *Client) RevokeClusterTokenWithCallback(request *RevokeClusterTokenRequest, callback func(response *RevokeClusterTokenResponse, err error)) <-chan int
RevokeClusterTokenWithCallback invokes the cs.RevokeClusterToken API asynchronously api document: https://help.aliyun.com/api/cs/revokeclustertoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RevokeClusterTokenWithChan ¶
func (client *Client) RevokeClusterTokenWithChan(request *RevokeClusterTokenRequest) (<-chan *RevokeClusterTokenResponse, <-chan error)
RevokeClusterTokenWithChan invokes the cs.RevokeClusterToken API asynchronously api document: https://help.aliyun.com/api/cs/revokeclustertoken.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ScaleCluster ¶
func (client *Client) ScaleCluster(request *ScaleClusterRequest) (response *ScaleClusterResponse, err error)
ScaleCluster invokes the cs.ScaleCluster API synchronously api document: https://help.aliyun.com/api/cs/scalecluster.html
func (*Client) ScaleClusterWithCallback ¶
func (client *Client) ScaleClusterWithCallback(request *ScaleClusterRequest, callback func(response *ScaleClusterResponse, err error)) <-chan int
ScaleClusterWithCallback invokes the cs.ScaleCluster API asynchronously api document: https://help.aliyun.com/api/cs/scalecluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ScaleClusterWithChan ¶
func (client *Client) ScaleClusterWithChan(request *ScaleClusterRequest) (<-chan *ScaleClusterResponse, <-chan error)
ScaleClusterWithChan invokes the cs.ScaleCluster API asynchronously api document: https://help.aliyun.com/api/cs/scalecluster.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type CreateClusterRequest ¶
type CreateClusterRequest struct {
*requests.RoaRequest
}
CreateClusterRequest is the request struct for api CreateCluster
func CreateCreateClusterRequest ¶
func CreateCreateClusterRequest() (request *CreateClusterRequest)
CreateCreateClusterRequest creates a request to invoke CreateCluster API
type CreateClusterResponse ¶
type CreateClusterResponse struct {
*responses.BaseResponse
}
CreateClusterResponse is the response struct for api CreateCluster
func CreateCreateClusterResponse ¶
func CreateCreateClusterResponse() (response *CreateClusterResponse)
CreateCreateClusterResponse creates a response to parse from CreateCluster response
type DeleteClusterNodeRequest ¶
type DeleteClusterNodeRequest struct { *requests.RoaRequest ReleaseInstance string `position:"Query" name:"releaseInstance"` Ip string `position:"Path" name:"Ip"` Force string `position:"Query" name:"force"` ClusterId string `position:"Path" name:"ClusterId"` }
DeleteClusterNodeRequest is the request struct for api DeleteClusterNode
func CreateDeleteClusterNodeRequest ¶
func CreateDeleteClusterNodeRequest() (request *DeleteClusterNodeRequest)
CreateDeleteClusterNodeRequest creates a request to invoke DeleteClusterNode API
type DeleteClusterNodeResponse ¶
type DeleteClusterNodeResponse struct {
*responses.BaseResponse
}
DeleteClusterNodeResponse is the response struct for api DeleteClusterNode
func CreateDeleteClusterNodeResponse ¶
func CreateDeleteClusterNodeResponse() (response *DeleteClusterNodeResponse)
CreateDeleteClusterNodeResponse creates a response to parse from DeleteClusterNode response
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
DeleteClusterRequest is the request struct for api DeleteCluster
func CreateDeleteClusterRequest ¶
func CreateDeleteClusterRequest() (request *DeleteClusterRequest)
CreateDeleteClusterRequest creates a request to invoke DeleteCluster API
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
*responses.BaseResponse
}
DeleteClusterResponse is the response struct for api DeleteCluster
func CreateDeleteClusterResponse ¶
func CreateDeleteClusterResponse() (response *DeleteClusterResponse)
CreateDeleteClusterResponse creates a response to parse from DeleteCluster response
type DescribeApiVersionRequest ¶
type DescribeApiVersionRequest struct {
*requests.RoaRequest
}
DescribeApiVersionRequest is the request struct for api DescribeApiVersion
func CreateDescribeApiVersionRequest ¶
func CreateDescribeApiVersionRequest() (request *DescribeApiVersionRequest)
CreateDescribeApiVersionRequest creates a request to invoke DescribeApiVersion API
type DescribeApiVersionResponse ¶
type DescribeApiVersionResponse struct {
*responses.BaseResponse
}
DescribeApiVersionResponse is the response struct for api DescribeApiVersion
func CreateDescribeApiVersionResponse ¶
func CreateDescribeApiVersionResponse() (response *DescribeApiVersionResponse)
CreateDescribeApiVersionResponse creates a response to parse from DescribeApiVersion response
type DescribeClusterCertsRequest ¶
type DescribeClusterCertsRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
DescribeClusterCertsRequest is the request struct for api DescribeClusterCerts
func CreateDescribeClusterCertsRequest ¶
func CreateDescribeClusterCertsRequest() (request *DescribeClusterCertsRequest)
CreateDescribeClusterCertsRequest creates a request to invoke DescribeClusterCerts API
type DescribeClusterCertsResponse ¶
type DescribeClusterCertsResponse struct {
*responses.BaseResponse
}
DescribeClusterCertsResponse is the response struct for api DescribeClusterCerts
func CreateDescribeClusterCertsResponse ¶
func CreateDescribeClusterCertsResponse() (response *DescribeClusterCertsResponse)
CreateDescribeClusterCertsResponse creates a response to parse from DescribeClusterCerts response
type DescribeClusterDetailRequest ¶
type DescribeClusterDetailRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
DescribeClusterDetailRequest is the request struct for api DescribeClusterDetail
func CreateDescribeClusterDetailRequest ¶
func CreateDescribeClusterDetailRequest() (request *DescribeClusterDetailRequest)
CreateDescribeClusterDetailRequest creates a request to invoke DescribeClusterDetail API
type DescribeClusterDetailResponse ¶
type DescribeClusterDetailResponse struct {
*responses.BaseResponse
}
DescribeClusterDetailResponse is the response struct for api DescribeClusterDetail
func CreateDescribeClusterDetailResponse ¶
func CreateDescribeClusterDetailResponse() (response *DescribeClusterDetailResponse)
CreateDescribeClusterDetailResponse creates a response to parse from DescribeClusterDetail response
type DescribeClusterEndpointsRequest ¶
type DescribeClusterEndpointsRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
DescribeClusterEndpointsRequest is the request struct for api DescribeClusterEndpoints
func CreateDescribeClusterEndpointsRequest ¶
func CreateDescribeClusterEndpointsRequest() (request *DescribeClusterEndpointsRequest)
CreateDescribeClusterEndpointsRequest creates a request to invoke DescribeClusterEndpoints API
type DescribeClusterEndpointsResponse ¶
type DescribeClusterEndpointsResponse struct {
*responses.BaseResponse
}
DescribeClusterEndpointsResponse is the response struct for api DescribeClusterEndpoints
func CreateDescribeClusterEndpointsResponse ¶
func CreateDescribeClusterEndpointsResponse() (response *DescribeClusterEndpointsResponse)
CreateDescribeClusterEndpointsResponse creates a response to parse from DescribeClusterEndpoints response
type DescribeClusterLogsRequest ¶
type DescribeClusterLogsRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
DescribeClusterLogsRequest is the request struct for api DescribeClusterLogs
func CreateDescribeClusterLogsRequest ¶
func CreateDescribeClusterLogsRequest() (request *DescribeClusterLogsRequest)
CreateDescribeClusterLogsRequest creates a request to invoke DescribeClusterLogs API
type DescribeClusterLogsResponse ¶
type DescribeClusterLogsResponse struct {
*responses.BaseResponse
}
DescribeClusterLogsResponse is the response struct for api DescribeClusterLogs
func CreateDescribeClusterLogsResponse ¶
func CreateDescribeClusterLogsResponse() (response *DescribeClusterLogsResponse)
CreateDescribeClusterLogsResponse creates a response to parse from DescribeClusterLogs response
type DescribeClusterNodesRequest ¶
type DescribeClusterNodesRequest struct { *requests.RoaRequest PageSize string `position:"Query" name:"pageSize"` ClusterId string `position:"Path" name:"ClusterId"` PageNumber string `position:"Query" name:"pageNumber"` }
DescribeClusterNodesRequest is the request struct for api DescribeClusterNodes
func CreateDescribeClusterNodesRequest ¶
func CreateDescribeClusterNodesRequest() (request *DescribeClusterNodesRequest)
CreateDescribeClusterNodesRequest creates a request to invoke DescribeClusterNodes API
type DescribeClusterNodesResponse ¶
type DescribeClusterNodesResponse struct {
*responses.BaseResponse
}
DescribeClusterNodesResponse is the response struct for api DescribeClusterNodes
func CreateDescribeClusterNodesResponse ¶
func CreateDescribeClusterNodesResponse() (response *DescribeClusterNodesResponse)
CreateDescribeClusterNodesResponse creates a response to parse from DescribeClusterNodes response
type DescribeClusterUserKubeconfigRequest ¶
type DescribeClusterUserKubeconfigRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
DescribeClusterUserKubeconfigRequest is the request struct for api DescribeClusterUserKubeconfig
func CreateDescribeClusterUserKubeconfigRequest ¶
func CreateDescribeClusterUserKubeconfigRequest() (request *DescribeClusterUserKubeconfigRequest)
CreateDescribeClusterUserKubeconfigRequest creates a request to invoke DescribeClusterUserKubeconfig API
type DescribeClusterUserKubeconfigResponse ¶
type DescribeClusterUserKubeconfigResponse struct {
*responses.BaseResponse
}
DescribeClusterUserKubeconfigResponse is the response struct for api DescribeClusterUserKubeconfig
func CreateDescribeClusterUserKubeconfigResponse ¶
func CreateDescribeClusterUserKubeconfigResponse() (response *DescribeClusterUserKubeconfigResponse)
CreateDescribeClusterUserKubeconfigResponse creates a response to parse from DescribeClusterUserKubeconfig response
type DescribeClustersRequest ¶
type DescribeClustersRequest struct { *requests.RoaRequest ClusterType string `position:"Query" name:"clusterType"` Name string `position:"Query" name:"Name"` }
DescribeClustersRequest is the request struct for api DescribeClusters
func CreateDescribeClustersRequest ¶
func CreateDescribeClustersRequest() (request *DescribeClustersRequest)
CreateDescribeClustersRequest creates a request to invoke DescribeClusters API
type DescribeClustersResponse ¶
type DescribeClustersResponse struct {
*responses.BaseResponse
}
DescribeClustersResponse is the response struct for api DescribeClusters
func CreateDescribeClustersResponse ¶
func CreateDescribeClustersResponse() (response *DescribeClustersResponse)
CreateDescribeClustersResponse creates a response to parse from DescribeClusters response
type DownloadClusterNodeCertsRequest ¶
type DownloadClusterNodeCertsRequest struct { *requests.RoaRequest NodeId string `position:"Path" name:"NodeId"` Token string `position:"Path" name:"Token"` }
DownloadClusterNodeCertsRequest is the request struct for api DownloadClusterNodeCerts
func CreateDownloadClusterNodeCertsRequest ¶
func CreateDownloadClusterNodeCertsRequest() (request *DownloadClusterNodeCertsRequest)
CreateDownloadClusterNodeCertsRequest creates a request to invoke DownloadClusterNodeCerts API
type DownloadClusterNodeCertsResponse ¶
type DownloadClusterNodeCertsResponse struct {
*responses.BaseResponse
}
DownloadClusterNodeCertsResponse is the response struct for api DownloadClusterNodeCerts
func CreateDownloadClusterNodeCertsResponse ¶
func CreateDownloadClusterNodeCertsResponse() (response *DownloadClusterNodeCertsResponse)
CreateDownloadClusterNodeCertsResponse creates a response to parse from DownloadClusterNodeCerts response
type ResetClusterNodeRequest ¶
type ResetClusterNodeRequest struct { *requests.RoaRequest InstanceId string `position:"Path" name:"InstanceId"` ClusterId string `position:"Path" name:"ClusterId"` }
ResetClusterNodeRequest is the request struct for api ResetClusterNode
func CreateResetClusterNodeRequest ¶
func CreateResetClusterNodeRequest() (request *ResetClusterNodeRequest)
CreateResetClusterNodeRequest creates a request to invoke ResetClusterNode API
type ResetClusterNodeResponse ¶
type ResetClusterNodeResponse struct {
*responses.BaseResponse
}
ResetClusterNodeResponse is the response struct for api ResetClusterNode
func CreateResetClusterNodeResponse ¶
func CreateResetClusterNodeResponse() (response *ResetClusterNodeResponse)
CreateResetClusterNodeResponse creates a response to parse from ResetClusterNode response
type RevokeClusterTokenRequest ¶
type RevokeClusterTokenRequest struct { *requests.RoaRequest Token string `position:"Path" name:"Token"` }
RevokeClusterTokenRequest is the request struct for api RevokeClusterToken
func CreateRevokeClusterTokenRequest ¶
func CreateRevokeClusterTokenRequest() (request *RevokeClusterTokenRequest)
CreateRevokeClusterTokenRequest creates a request to invoke RevokeClusterToken API
type RevokeClusterTokenResponse ¶
type RevokeClusterTokenResponse struct {
*responses.BaseResponse
}
RevokeClusterTokenResponse is the response struct for api RevokeClusterToken
func CreateRevokeClusterTokenResponse ¶
func CreateRevokeClusterTokenResponse() (response *RevokeClusterTokenResponse)
CreateRevokeClusterTokenResponse creates a response to parse from RevokeClusterToken response
type ScaleClusterRequest ¶
type ScaleClusterRequest struct { *requests.RoaRequest ClusterId string `position:"Path" name:"ClusterId"` }
ScaleClusterRequest is the request struct for api ScaleCluster
func CreateScaleClusterRequest ¶
func CreateScaleClusterRequest() (request *ScaleClusterRequest)
CreateScaleClusterRequest creates a request to invoke ScaleCluster API
type ScaleClusterResponse ¶
type ScaleClusterResponse struct {
*responses.BaseResponse
}
ScaleClusterResponse is the response struct for api ScaleCluster
func CreateScaleClusterResponse ¶
func CreateScaleClusterResponse() (response *ScaleClusterResponse)
CreateScaleClusterResponse creates a response to parse from ScaleCluster response
Source Files ¶
- attach_instances.go
- check_aliyun_cs_service_role.go
- client.go
- create_cluster.go
- delete_cluster.go
- delete_cluster_node.go
- describe_api_version.go
- describe_cluster_certs.go
- describe_cluster_detail.go
- describe_cluster_endpoints.go
- describe_cluster_logs.go
- describe_cluster_nodes.go
- describe_cluster_user_kubeconfig.go
- describe_clusters.go
- download_cluster_node_certs.go
- reset_cluster_node.go
- revoke_cluster_token.go
- scale_cluster.go