Documentation ¶
Index ¶
- type AICreateSessionMessageBody
- type AICreateSessionMessageBodyContext
- type AICreateSessionMessageRequest
- type AICreateSessionMessageResponse
- 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 NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId 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) AICreateSessionMessage(request *AICreateSessionMessageRequest) (response *AICreateSessionMessageResponse, err error)
- func (client *Client) AICreateSessionMessageWithCallback(request *AICreateSessionMessageRequest, ...) <-chan int
- func (client *Client) AICreateSessionMessageWithChan(request *AICreateSessionMessageRequest) (<-chan *AICreateSessionMessageResponse, <-chan error)
- func (client *Client) CreateDiagnosis(request *CreateDiagnosisRequest) (response *CreateDiagnosisResponse, err error)
- func (client *Client) CreateDiagnosisWithCallback(request *CreateDiagnosisRequest, ...) <-chan int
- func (client *Client) CreateDiagnosisWithChan(request *CreateDiagnosisRequest) (<-chan *CreateDiagnosisResponse, <-chan error)
- func (client *Client) GetCluster(request *GetClusterRequest) (response *GetClusterResponse, err error)
- func (client *Client) GetClusterWarning(request *GetClusterWarningRequest) (response *GetClusterWarningResponse, err error)
- func (client *Client) GetClusterWarningWithCallback(request *GetClusterWarningRequest, ...) <-chan int
- func (client *Client) GetClusterWarningWithChan(request *GetClusterWarningRequest) (<-chan *GetClusterWarningResponse, <-chan error)
- func (client *Client) GetClusterWithCallback(request *GetClusterRequest, ...) <-chan int
- func (client *Client) GetClusterWithChan(request *GetClusterRequest) (<-chan *GetClusterResponse, <-chan error)
- func (client *Client) GetDiagnosisResult(request *GetDiagnosisResultRequest) (response *GetDiagnosisResultResponse, err error)
- func (client *Client) GetDiagnosisResultWithCallback(request *GetDiagnosisResultRequest, ...) <-chan int
- func (client *Client) GetDiagnosisResultWithChan(request *GetDiagnosisResultRequest) (<-chan *GetDiagnosisResultResponse, <-chan error)
- func (client *Client) GetUserClusterWarning(request *GetUserClusterWarningRequest) (response *GetUserClusterWarningResponse, err error)
- func (client *Client) GetUserClusterWarningWithCallback(request *GetUserClusterWarningRequest, ...) <-chan int
- func (client *Client) GetUserClusterWarningWithChan(request *GetUserClusterWarningRequest) (<-chan *GetUserClusterWarningResponse, <-chan error)
- func (client *Client) GetWebshellToken(request *GetWebshellTokenRequest) (response *GetWebshellTokenResponse, err error)
- func (client *Client) GetWebshellTokenWithCallback(request *GetWebshellTokenRequest, ...) <-chan int
- func (client *Client) GetWebshellTokenWithChan(request *GetWebshellTokenRequest) (<-chan *GetWebshellTokenResponse, <-chan error)
- func (client *Client) Hello(request *HelloRequest) (response *HelloResponse, err error)
- func (client *Client) HelloWithCallback(request *HelloRequest, callback func(response *HelloResponse, err error)) <-chan int
- func (client *Client) HelloWithChan(request *HelloRequest) (<-chan *HelloResponse, <-chan error)
- func (client *Client) ListClusterDeprecatedAPI(request *ListClusterDeprecatedAPIRequest) (response *ListClusterDeprecatedAPIResponse, err error)
- func (client *Client) ListClusterDeprecatedAPIWithCallback(request *ListClusterDeprecatedAPIRequest, ...) <-chan int
- func (client *Client) ListClusterDeprecatedAPIWithChan(request *ListClusterDeprecatedAPIRequest) (<-chan *ListClusterDeprecatedAPIResponse, <-chan error)
- func (client *Client) ListClusterImages(request *ListClusterImagesRequest) (response *ListClusterImagesResponse, err error)
- func (client *Client) ListClusterImagesWithCallback(request *ListClusterImagesRequest, ...) <-chan int
- func (client *Client) ListClusterImagesWithChan(request *ListClusterImagesRequest) (<-chan *ListClusterImagesResponse, <-chan error)
- func (client *Client) ListUserClusters(request *ListUserClustersRequest) (response *ListUserClustersResponse, err error)
- func (client *Client) ListUserClustersWithCallback(request *ListUserClustersRequest, ...) <-chan int
- func (client *Client) ListUserClustersWithChan(request *ListUserClustersRequest) (<-chan *ListUserClustersResponse, <-chan error)
- func (client *Client) QueryByInstanceInfo(request *QueryByInstanceInfoRequest) (response *QueryByInstanceInfoResponse, err error)
- func (client *Client) QueryByInstanceInfoWithCallback(request *QueryByInstanceInfoRequest, ...) <-chan int
- func (client *Client) QueryByInstanceInfoWithChan(request *QueryByInstanceInfoRequest) (<-chan *QueryByInstanceInfoResponse, <-chan error)
- func (client *Client) QueryNodeInfo(request *QueryNodeInfoRequest) (response *QueryNodeInfoResponse, err error)
- func (client *Client) QueryNodeInfoWithCallback(request *QueryNodeInfoRequest, ...) <-chan int
- func (client *Client) QueryNodeInfoWithChan(request *QueryNodeInfoRequest) (<-chan *QueryNodeInfoResponse, <-chan error)
- type CreateDiagnosisRequest
- type CreateDiagnosisResponse
- type Data
- type DataInListClusterDeprecatedAPI
- type DataInListClusterImages
- type DataInQueryByInstanceInfo
- type DataInQueryNodeInfo
- type DataItem
- type Datas
- type GetClusterRequest
- type GetClusterResponse
- type GetClusterWarningRequest
- type GetClusterWarningResponse
- type GetDiagnosisResultRequest
- type GetDiagnosisResultResponse
- type GetUserClusterWarningRequest
- type GetUserClusterWarningResponse
- type GetWebshellTokenRequest
- type GetWebshellTokenResponse
- type HelloRequest
- type HelloResponse
- type ListClusterDeprecatedAPIRequest
- type ListClusterDeprecatedAPIResponse
- type ListClusterImagesRequest
- type ListClusterImagesResponse
- type ListUserClustersRequest
- type ListUserClustersResponse
- type QueryByInstanceInfoRequest
- type QueryByInstanceInfoResponse
- type QueryNodeInfoRequest
- type QueryNodeInfoResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AICreateSessionMessageBody ¶
type AICreateSessionMessageBody struct { Context AICreateSessionMessageBodyContext `name:"context" type:"Struct"` SessionId string `name:"session_id"` Language string `name:"language"` Type string `name:"type"` Message string `name:"message"` }
AICreateSessionMessageBody is a repeated param struct in AICreateSessionMessageRequest
type AICreateSessionMessageBodyContext ¶
type AICreateSessionMessageBodyContext struct { ClusterId string `name:"cluster_id"` Kind string `name:"kind"` Namespace string `name:"namespace"` Name string `name:"name"` Error string `name:"error"` Uuid string `name:"uuid"` }
AICreateSessionMessageBodyContext is a repeated param struct in AICreateSessionMessageRequest
type AICreateSessionMessageRequest ¶
type AICreateSessionMessageRequest struct { *requests.RoaRequest EmployeeId string `position:"Query" name:"employee_id"` Body AICreateSessionMessageBody `position:"Body" name:"body" type:"Struct"` }
AICreateSessionMessageRequest is the request struct for api AICreateSessionMessage
func CreateAICreateSessionMessageRequest ¶
func CreateAICreateSessionMessageRequest() (request *AICreateSessionMessageRequest)
CreateAICreateSessionMessageRequest creates a request to invoke AICreateSessionMessage API
type AICreateSessionMessageResponse ¶
type AICreateSessionMessageResponse struct { *responses.BaseResponse Answer string `json:"answer" xml:"answer"` SessionId string `json:"session_id" xml:"session_id"` RequestId string `json:"requestId" xml:"requestId"` Code int64 `json:"code" xml:"code"` Data string `json:"data" xml:"data"` Msg string `json:"msg" xml:"msg"` }
AICreateSessionMessageResponse is the response struct for api AICreateSessionMessage
func CreateAICreateSessionMessageResponse ¶
func CreateAICreateSessionMessageResponse() (response *AICreateSessionMessageResponse)
CreateAICreateSessionMessageResponse creates a response to parse from AICreateSessionMessage 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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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 NewClientWithProvider ¶
func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func NewClientWithRamRoleArnAndPolicy ¶
func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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 usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
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://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
func (*Client) AICreateSessionMessage ¶
func (client *Client) AICreateSessionMessage(request *AICreateSessionMessageRequest) (response *AICreateSessionMessageResponse, err error)
AICreateSessionMessage invokes the qianzhou.AICreateSessionMessage API synchronously
func (*Client) AICreateSessionMessageWithCallback ¶
func (client *Client) AICreateSessionMessageWithCallback(request *AICreateSessionMessageRequest, callback func(response *AICreateSessionMessageResponse, err error)) <-chan int
AICreateSessionMessageWithCallback invokes the qianzhou.AICreateSessionMessage API asynchronously
func (*Client) AICreateSessionMessageWithChan ¶
func (client *Client) AICreateSessionMessageWithChan(request *AICreateSessionMessageRequest) (<-chan *AICreateSessionMessageResponse, <-chan error)
AICreateSessionMessageWithChan invokes the qianzhou.AICreateSessionMessage API asynchronously
func (*Client) CreateDiagnosis ¶
func (client *Client) CreateDiagnosis(request *CreateDiagnosisRequest) (response *CreateDiagnosisResponse, err error)
CreateDiagnosis invokes the qianzhou.CreateDiagnosis API synchronously
func (*Client) CreateDiagnosisWithCallback ¶
func (client *Client) CreateDiagnosisWithCallback(request *CreateDiagnosisRequest, callback func(response *CreateDiagnosisResponse, err error)) <-chan int
CreateDiagnosisWithCallback invokes the qianzhou.CreateDiagnosis API asynchronously
func (*Client) CreateDiagnosisWithChan ¶
func (client *Client) CreateDiagnosisWithChan(request *CreateDiagnosisRequest) (<-chan *CreateDiagnosisResponse, <-chan error)
CreateDiagnosisWithChan invokes the qianzhou.CreateDiagnosis API asynchronously
func (*Client) GetCluster ¶
func (client *Client) GetCluster(request *GetClusterRequest) (response *GetClusterResponse, err error)
GetCluster invokes the qianzhou.GetCluster API synchronously
func (*Client) GetClusterWarning ¶
func (client *Client) GetClusterWarning(request *GetClusterWarningRequest) (response *GetClusterWarningResponse, err error)
GetClusterWarning invokes the qianzhou.GetClusterWarning API synchronously
func (*Client) GetClusterWarningWithCallback ¶
func (client *Client) GetClusterWarningWithCallback(request *GetClusterWarningRequest, callback func(response *GetClusterWarningResponse, err error)) <-chan int
GetClusterWarningWithCallback invokes the qianzhou.GetClusterWarning API asynchronously
func (*Client) GetClusterWarningWithChan ¶
func (client *Client) GetClusterWarningWithChan(request *GetClusterWarningRequest) (<-chan *GetClusterWarningResponse, <-chan error)
GetClusterWarningWithChan invokes the qianzhou.GetClusterWarning API asynchronously
func (*Client) GetClusterWithCallback ¶
func (client *Client) GetClusterWithCallback(request *GetClusterRequest, callback func(response *GetClusterResponse, err error)) <-chan int
GetClusterWithCallback invokes the qianzhou.GetCluster API asynchronously
func (*Client) GetClusterWithChan ¶
func (client *Client) GetClusterWithChan(request *GetClusterRequest) (<-chan *GetClusterResponse, <-chan error)
GetClusterWithChan invokes the qianzhou.GetCluster API asynchronously
func (*Client) GetDiagnosisResult ¶
func (client *Client) GetDiagnosisResult(request *GetDiagnosisResultRequest) (response *GetDiagnosisResultResponse, err error)
GetDiagnosisResult invokes the qianzhou.GetDiagnosisResult API synchronously
func (*Client) GetDiagnosisResultWithCallback ¶
func (client *Client) GetDiagnosisResultWithCallback(request *GetDiagnosisResultRequest, callback func(response *GetDiagnosisResultResponse, err error)) <-chan int
GetDiagnosisResultWithCallback invokes the qianzhou.GetDiagnosisResult API asynchronously
func (*Client) GetDiagnosisResultWithChan ¶
func (client *Client) GetDiagnosisResultWithChan(request *GetDiagnosisResultRequest) (<-chan *GetDiagnosisResultResponse, <-chan error)
GetDiagnosisResultWithChan invokes the qianzhou.GetDiagnosisResult API asynchronously
func (*Client) GetUserClusterWarning ¶
func (client *Client) GetUserClusterWarning(request *GetUserClusterWarningRequest) (response *GetUserClusterWarningResponse, err error)
GetUserClusterWarning invokes the qianzhou.GetUserClusterWarning API synchronously
func (*Client) GetUserClusterWarningWithCallback ¶
func (client *Client) GetUserClusterWarningWithCallback(request *GetUserClusterWarningRequest, callback func(response *GetUserClusterWarningResponse, err error)) <-chan int
GetUserClusterWarningWithCallback invokes the qianzhou.GetUserClusterWarning API asynchronously
func (*Client) GetUserClusterWarningWithChan ¶
func (client *Client) GetUserClusterWarningWithChan(request *GetUserClusterWarningRequest) (<-chan *GetUserClusterWarningResponse, <-chan error)
GetUserClusterWarningWithChan invokes the qianzhou.GetUserClusterWarning API asynchronously
func (*Client) GetWebshellToken ¶
func (client *Client) GetWebshellToken(request *GetWebshellTokenRequest) (response *GetWebshellTokenResponse, err error)
GetWebshellToken invokes the qianzhou.GetWebshellToken API synchronously
func (*Client) GetWebshellTokenWithCallback ¶
func (client *Client) GetWebshellTokenWithCallback(request *GetWebshellTokenRequest, callback func(response *GetWebshellTokenResponse, err error)) <-chan int
GetWebshellTokenWithCallback invokes the qianzhou.GetWebshellToken API asynchronously
func (*Client) GetWebshellTokenWithChan ¶
func (client *Client) GetWebshellTokenWithChan(request *GetWebshellTokenRequest) (<-chan *GetWebshellTokenResponse, <-chan error)
GetWebshellTokenWithChan invokes the qianzhou.GetWebshellToken API asynchronously
func (*Client) Hello ¶
func (client *Client) Hello(request *HelloRequest) (response *HelloResponse, err error)
Hello invokes the qianzhou.Hello API synchronously
func (*Client) HelloWithCallback ¶
func (client *Client) HelloWithCallback(request *HelloRequest, callback func(response *HelloResponse, err error)) <-chan int
HelloWithCallback invokes the qianzhou.Hello API asynchronously
func (*Client) HelloWithChan ¶
func (client *Client) HelloWithChan(request *HelloRequest) (<-chan *HelloResponse, <-chan error)
HelloWithChan invokes the qianzhou.Hello API asynchronously
func (*Client) ListClusterDeprecatedAPI ¶
func (client *Client) ListClusterDeprecatedAPI(request *ListClusterDeprecatedAPIRequest) (response *ListClusterDeprecatedAPIResponse, err error)
ListClusterDeprecatedAPI invokes the qianzhou.ListClusterDeprecatedAPI API synchronously
func (*Client) ListClusterDeprecatedAPIWithCallback ¶
func (client *Client) ListClusterDeprecatedAPIWithCallback(request *ListClusterDeprecatedAPIRequest, callback func(response *ListClusterDeprecatedAPIResponse, err error)) <-chan int
ListClusterDeprecatedAPIWithCallback invokes the qianzhou.ListClusterDeprecatedAPI API asynchronously
func (*Client) ListClusterDeprecatedAPIWithChan ¶
func (client *Client) ListClusterDeprecatedAPIWithChan(request *ListClusterDeprecatedAPIRequest) (<-chan *ListClusterDeprecatedAPIResponse, <-chan error)
ListClusterDeprecatedAPIWithChan invokes the qianzhou.ListClusterDeprecatedAPI API asynchronously
func (*Client) ListClusterImages ¶
func (client *Client) ListClusterImages(request *ListClusterImagesRequest) (response *ListClusterImagesResponse, err error)
ListClusterImages invokes the qianzhou.ListClusterImages API synchronously
func (*Client) ListClusterImagesWithCallback ¶
func (client *Client) ListClusterImagesWithCallback(request *ListClusterImagesRequest, callback func(response *ListClusterImagesResponse, err error)) <-chan int
ListClusterImagesWithCallback invokes the qianzhou.ListClusterImages API asynchronously
func (*Client) ListClusterImagesWithChan ¶
func (client *Client) ListClusterImagesWithChan(request *ListClusterImagesRequest) (<-chan *ListClusterImagesResponse, <-chan error)
ListClusterImagesWithChan invokes the qianzhou.ListClusterImages API asynchronously
func (*Client) ListUserClusters ¶
func (client *Client) ListUserClusters(request *ListUserClustersRequest) (response *ListUserClustersResponse, err error)
ListUserClusters invokes the qianzhou.ListUserClusters API synchronously
func (*Client) ListUserClustersWithCallback ¶
func (client *Client) ListUserClustersWithCallback(request *ListUserClustersRequest, callback func(response *ListUserClustersResponse, err error)) <-chan int
ListUserClustersWithCallback invokes the qianzhou.ListUserClusters API asynchronously
func (*Client) ListUserClustersWithChan ¶
func (client *Client) ListUserClustersWithChan(request *ListUserClustersRequest) (<-chan *ListUserClustersResponse, <-chan error)
ListUserClustersWithChan invokes the qianzhou.ListUserClusters API asynchronously
func (*Client) QueryByInstanceInfo ¶
func (client *Client) QueryByInstanceInfo(request *QueryByInstanceInfoRequest) (response *QueryByInstanceInfoResponse, err error)
QueryByInstanceInfo invokes the qianzhou.QueryByInstanceInfo API synchronously
func (*Client) QueryByInstanceInfoWithCallback ¶
func (client *Client) QueryByInstanceInfoWithCallback(request *QueryByInstanceInfoRequest, callback func(response *QueryByInstanceInfoResponse, err error)) <-chan int
QueryByInstanceInfoWithCallback invokes the qianzhou.QueryByInstanceInfo API asynchronously
func (*Client) QueryByInstanceInfoWithChan ¶
func (client *Client) QueryByInstanceInfoWithChan(request *QueryByInstanceInfoRequest) (<-chan *QueryByInstanceInfoResponse, <-chan error)
QueryByInstanceInfoWithChan invokes the qianzhou.QueryByInstanceInfo API asynchronously
func (*Client) QueryNodeInfo ¶
func (client *Client) QueryNodeInfo(request *QueryNodeInfoRequest) (response *QueryNodeInfoResponse, err error)
QueryNodeInfo invokes the qianzhou.QueryNodeInfo API synchronously
func (*Client) QueryNodeInfoWithCallback ¶
func (client *Client) QueryNodeInfoWithCallback(request *QueryNodeInfoRequest, callback func(response *QueryNodeInfoResponse, err error)) <-chan int
QueryNodeInfoWithCallback invokes the qianzhou.QueryNodeInfo API asynchronously
func (*Client) QueryNodeInfoWithChan ¶
func (client *Client) QueryNodeInfoWithChan(request *QueryNodeInfoRequest) (<-chan *QueryNodeInfoResponse, <-chan error)
QueryNodeInfoWithChan invokes the qianzhou.QueryNodeInfo API asynchronously
type CreateDiagnosisRequest ¶
type CreateDiagnosisRequest struct { *requests.RoaRequest DiagnosisType string `position:"Query" name:"diagnosisType"` ClusterID string `position:"Query" name:"clusterID"` Body string `position:"Body" name:"body"` }
CreateDiagnosisRequest is the request struct for api CreateDiagnosis
func CreateCreateDiagnosisRequest ¶
func CreateCreateDiagnosisRequest() (request *CreateDiagnosisRequest)
CreateCreateDiagnosisRequest creates a request to invoke CreateDiagnosis API
type CreateDiagnosisResponse ¶
type CreateDiagnosisResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Code int64 `json:"code" xml:"code"` Data string `json:"data" xml:"data"` }
CreateDiagnosisResponse is the response struct for api CreateDiagnosis
func CreateCreateDiagnosisResponse ¶
func CreateCreateDiagnosisResponse() (response *CreateDiagnosisResponse)
CreateCreateDiagnosisResponse creates a response to parse from CreateDiagnosis response
type Data ¶
type Data struct { ClusterID string `json:"clusterID" xml:"clusterID"` UserID string `json:"userID" xml:"userID"` CurrentVersion string `json:"currentVersion" xml:"currentVersion"` RegionID string `json:"regionID" xml:"regionID"` Profile string `json:"profile" xml:"profile"` Date string `json:"date" xml:"date"` State string `json:"state" xml:"state"` Spec string `json:"spec" xml:"spec"` Success bool `json:"success" xml:"success"` SecurityGroupId string `json:"securityGroupId" xml:"securityGroupId"` ClusterType string `json:"clusterType" xml:"clusterType"` Name string `json:"name" xml:"name"` }
Data is a nested struct in qianzhou response
type DataInListClusterDeprecatedAPI ¶
type DataInListClusterDeprecatedAPI struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInListClusterDeprecatedAPI is a nested struct in qianzhou response
type DataInListClusterImages ¶
type DataInListClusterImages struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInListClusterImages is a nested struct in qianzhou response
type DataInQueryByInstanceInfo ¶
type DataInQueryByInstanceInfo struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInQueryByInstanceInfo is a nested struct in qianzhou response
type DataInQueryNodeInfo ¶
type DataInQueryNodeInfo struct {
DataItem []DataItem `json:"data" xml:"data"`
}
DataInQueryNodeInfo is a nested struct in qianzhou response
type DataItem ¶
type DataItem struct { ClusterId string `json:"clusterId" xml:"clusterId"` ImageHash string `json:"image_hash" xml:"image_hash"` DeprecatedK8sVersion string `json:"deprecated_k8s_version" xml:"deprecated_k8s_version"` SourceIps string `json:"source_ips" xml:"source_ips"` CurrentVersion string `json:"current_version" xml:"current_version"` RequestUri string `json:"request_uri" xml:"request_uri"` ImageName string `json:"image_name" xml:"image_name"` Namespace string `json:"namespace" xml:"namespace"` Label string `json:"label" xml:"label"` Uid string `json:"uid" xml:"uid"` ControllerType string `json:"controller_type" xml:"controller_type"` Updated string `json:"updated" xml:"updated"` TargetVersion string `json:"target_version" xml:"target_version"` LastTime string `json:"last_time" xml:"last_time"` ControllerName string `json:"controller_name" xml:"controller_name"` Content string `json:"content" xml:"content"` RegionId string `json:"regionId" xml:"regionId"` InstanceId string `json:"instanceId" xml:"instanceId"` Count int `json:"count" xml:"count"` Created string `json:"created" xml:"created"` ClusterName string `json:"clusterName" xml:"clusterName"` Region string `json:"region" xml:"region"` Ds string `json:"ds" xml:"ds"` CluserName string `json:"cluserName" xml:"cluserName"` UserAgent string `json:"user_agent" xml:"user_agent"` }
DataItem is a nested struct in qianzhou response
type Datas ¶
type Datas struct { Current int `json:"current" xml:"current"` Total int `json:"total" xml:"total"` PageSize int `json:"pageSize" xml:"pageSize"` Data []DataItem `json:"data" xml:"data"` }
Datas is a nested struct in qianzhou response
type GetClusterRequest ¶
type GetClusterRequest struct { *requests.RoaRequest ClusterID string `position:"Query" name:"clusterID"` }
GetClusterRequest is the request struct for api GetCluster
func CreateGetClusterRequest ¶
func CreateGetClusterRequest() (request *GetClusterRequest)
CreateGetClusterRequest creates a request to invoke GetCluster API
type GetClusterResponse ¶
type GetClusterResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Data Data `json:"data" xml:"data"` }
GetClusterResponse is the response struct for api GetCluster
func CreateGetClusterResponse ¶
func CreateGetClusterResponse() (response *GetClusterResponse)
CreateGetClusterResponse creates a response to parse from GetCluster response
type GetClusterWarningRequest ¶
type GetClusterWarningRequest struct { *requests.RoaRequest ClusterID string `position:"Query" name:"clusterID"` }
GetClusterWarningRequest is the request struct for api GetClusterWarning
func CreateGetClusterWarningRequest ¶
func CreateGetClusterWarningRequest() (request *GetClusterWarningRequest)
CreateGetClusterWarningRequest creates a request to invoke GetClusterWarning API
type GetClusterWarningResponse ¶
type GetClusterWarningResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` }
GetClusterWarningResponse is the response struct for api GetClusterWarning
func CreateGetClusterWarningResponse ¶
func CreateGetClusterWarningResponse() (response *GetClusterWarningResponse)
CreateGetClusterWarningResponse creates a response to parse from GetClusterWarning response
type GetDiagnosisResultRequest ¶
type GetDiagnosisResultRequest struct { *requests.RoaRequest DiagnosisId string `position:"Query" name:"diagnosisId"` OwnerUid string `position:"Query" name:"ownerUid"` }
GetDiagnosisResultRequest is the request struct for api GetDiagnosisResult
func CreateGetDiagnosisResultRequest ¶
func CreateGetDiagnosisResultRequest() (request *GetDiagnosisResultRequest)
CreateGetDiagnosisResultRequest creates a request to invoke GetDiagnosisResult API
type GetDiagnosisResultResponse ¶
type GetDiagnosisResultResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Data string `json:"data" xml:"data"` Code string `json:"code" xml:"code"` Msg string `json:"msg" xml:"msg"` }
GetDiagnosisResultResponse is the response struct for api GetDiagnosisResult
func CreateGetDiagnosisResultResponse ¶
func CreateGetDiagnosisResultResponse() (response *GetDiagnosisResultResponse)
CreateGetDiagnosisResultResponse creates a response to parse from GetDiagnosisResult response
type GetUserClusterWarningRequest ¶
type GetUserClusterWarningRequest struct { *requests.RoaRequest UserID string `position:"Query" name:"userID"` }
GetUserClusterWarningRequest is the request struct for api GetUserClusterWarning
func CreateGetUserClusterWarningRequest ¶
func CreateGetUserClusterWarningRequest() (request *GetUserClusterWarningRequest)
CreateGetUserClusterWarningRequest creates a request to invoke GetUserClusterWarning API
type GetUserClusterWarningResponse ¶
type GetUserClusterWarningResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` }
GetUserClusterWarningResponse is the response struct for api GetUserClusterWarning
func CreateGetUserClusterWarningResponse ¶
func CreateGetUserClusterWarningResponse() (response *GetUserClusterWarningResponse)
CreateGetUserClusterWarningResponse creates a response to parse from GetUserClusterWarning response
type GetWebshellTokenRequest ¶
type GetWebshellTokenRequest struct {
*requests.RoaRequest
}
GetWebshellTokenRequest is the request struct for api GetWebshellToken
func CreateGetWebshellTokenRequest ¶
func CreateGetWebshellTokenRequest() (request *GetWebshellTokenRequest)
CreateGetWebshellTokenRequest creates a request to invoke GetWebshellToken API
type GetWebshellTokenResponse ¶
type GetWebshellTokenResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` }
GetWebshellTokenResponse is the response struct for api GetWebshellToken
func CreateGetWebshellTokenResponse ¶
func CreateGetWebshellTokenResponse() (response *GetWebshellTokenResponse)
CreateGetWebshellTokenResponse creates a response to parse from GetWebshellToken response
type HelloRequest ¶
type HelloRequest struct { *requests.RoaRequest User string `position:"Query" name:"user"` }
HelloRequest is the request struct for api Hello
func CreateHelloRequest ¶
func CreateHelloRequest() (request *HelloRequest)
CreateHelloRequest creates a request to invoke Hello API
type HelloResponse ¶
type HelloResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Code string `json:"code" xml:"code"` Msg string `json:"msg" xml:"msg"` Data Data `json:"data" xml:"data"` }
HelloResponse is the response struct for api Hello
func CreateHelloResponse ¶
func CreateHelloResponse() (response *HelloResponse)
CreateHelloResponse creates a response to parse from Hello response
type ListClusterDeprecatedAPIRequest ¶
type ListClusterDeprecatedAPIRequest struct { *requests.RoaRequest ClusterId string `position:"Query" name:"cluster_id"` PageNo requests.Integer `position:"Query" name:"page_no"` TargetVersion string `position:"Query" name:"target_version"` PageSize requests.Integer `position:"Query" name:"page_size"` }
ListClusterDeprecatedAPIRequest is the request struct for api ListClusterDeprecatedAPI
func CreateListClusterDeprecatedAPIRequest ¶
func CreateListClusterDeprecatedAPIRequest() (request *ListClusterDeprecatedAPIRequest)
CreateListClusterDeprecatedAPIRequest creates a request to invoke ListClusterDeprecatedAPI API
type ListClusterDeprecatedAPIResponse ¶
type ListClusterDeprecatedAPIResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Code int `json:"code" xml:"code"` Msg string `json:"msg" xml:"msg"` Datas Datas `json:"datas" xml:"datas"` }
ListClusterDeprecatedAPIResponse is the response struct for api ListClusterDeprecatedAPI
func CreateListClusterDeprecatedAPIResponse ¶
func CreateListClusterDeprecatedAPIResponse() (response *ListClusterDeprecatedAPIResponse)
CreateListClusterDeprecatedAPIResponse creates a response to parse from ListClusterDeprecatedAPI response
type ListClusterImagesRequest ¶
type ListClusterImagesRequest struct { *requests.RoaRequest ImageName string `position:"Query" name:"image_name"` Uid string `position:"Query" name:"uid"` ClusterId string `position:"Query" name:"cluster_id"` ImageHash string `position:"Query" name:"image_hash"` PageNo requests.Integer `position:"Query" name:"page_no"` PageSize requests.Integer `position:"Query" name:"page_size"` }
ListClusterImagesRequest is the request struct for api ListClusterImages
func CreateListClusterImagesRequest ¶
func CreateListClusterImagesRequest() (request *ListClusterImagesRequest)
CreateListClusterImagesRequest creates a request to invoke ListClusterImages API
type ListClusterImagesResponse ¶
type ListClusterImagesResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Code int `json:"code" xml:"code"` Msg string `json:"msg" xml:"msg"` Datas Datas `json:"datas" xml:"datas"` }
ListClusterImagesResponse is the response struct for api ListClusterImages
func CreateListClusterImagesResponse ¶
func CreateListClusterImagesResponse() (response *ListClusterImagesResponse)
CreateListClusterImagesResponse creates a response to parse from ListClusterImages response
type ListUserClustersRequest ¶
type ListUserClustersRequest struct { *requests.RoaRequest Current string `position:"Query" name:"current"` PageSize string `position:"Query" name:"pageSize"` UserID string `position:"Query" name:"userID"` }
ListUserClustersRequest is the request struct for api ListUserClusters
func CreateListUserClustersRequest ¶
func CreateListUserClustersRequest() (request *ListUserClustersRequest)
CreateListUserClustersRequest creates a request to invoke ListUserClusters API
type ListUserClustersResponse ¶
type ListUserClustersResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Msg string `json:"msg" xml:"msg"` Data string `json:"data" xml:"data"` Code int64 `json:"code" xml:"code"` }
ListUserClustersResponse is the response struct for api ListUserClusters
func CreateListUserClustersResponse ¶
func CreateListUserClustersResponse() (response *ListUserClustersResponse)
CreateListUserClustersResponse creates a response to parse from ListUserClusters response
type QueryByInstanceInfoRequest ¶
type QueryByInstanceInfoRequest struct { *requests.RoaRequest Body string `position:"Body" name:"body"` }
QueryByInstanceInfoRequest is the request struct for api QueryByInstanceInfo
func CreateQueryByInstanceInfoRequest ¶
func CreateQueryByInstanceInfoRequest() (request *QueryByInstanceInfoRequest)
CreateQueryByInstanceInfoRequest creates a request to invoke QueryByInstanceInfo API
type QueryByInstanceInfoResponse ¶
type QueryByInstanceInfoResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Code int `json:"code" xml:"code"` Msg string `json:"msg" xml:"msg"` Data []DataItem `json:"data" xml:"data"` }
QueryByInstanceInfoResponse is the response struct for api QueryByInstanceInfo
func CreateQueryByInstanceInfoResponse ¶
func CreateQueryByInstanceInfoResponse() (response *QueryByInstanceInfoResponse)
CreateQueryByInstanceInfoResponse creates a response to parse from QueryByInstanceInfo response
type QueryNodeInfoRequest ¶
type QueryNodeInfoRequest struct { *requests.RoaRequest InstanceId string `position:"Query" name:"instanceId"` }
QueryNodeInfoRequest is the request struct for api QueryNodeInfo
func CreateQueryNodeInfoRequest ¶
func CreateQueryNodeInfoRequest() (request *QueryNodeInfoRequest)
CreateQueryNodeInfoRequest creates a request to invoke QueryNodeInfo API
type QueryNodeInfoResponse ¶
type QueryNodeInfoResponse struct { *responses.BaseResponse RequestId string `json:"requestId" xml:"requestId"` Code int `json:"code" xml:"code"` Msg string `json:"msg" xml:"msg"` Data []DataItem `json:"data" xml:"data"` }
QueryNodeInfoResponse is the response struct for api QueryNodeInfo
func CreateQueryNodeInfoResponse ¶
func CreateQueryNodeInfoResponse() (response *QueryNodeInfoResponse)
CreateQueryNodeInfoResponse creates a response to parse from QueryNodeInfo response
Source Files ¶
- ai_create_session_message.go
- client.go
- create_diagnosis.go
- get_cluster.go
- get_cluster_warning.go
- get_diagnosis_result.go
- get_user_cluster_warning.go
- get_webshell_token.go
- hello.go
- list_cluster_deprecated_api.go
- list_cluster_images.go
- list_user_clusters.go
- query_by_instance_info.go
- query_node_info.go
- struct_data.go
- struct_data_in_list_cluster_deprecated_api.go
- struct_data_in_list_cluster_images.go
- struct_data_in_query_by_instance_info.go
- struct_data_in_query_node_info.go
- struct_data_item.go
- struct_datas.go