Documentation ¶
Index ¶
- type ChangeResourceGroupRequest
- type ChangeResourceGroupResponse
- 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) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
- func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, ...) <-chan int
- func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-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) DeleteClusterWithCallback(request *DeleteClusterRequest, ...) <-chan int
- func (client *Client) DeleteClusterWithChan(request *DeleteClusterRequest) (<-chan *DeleteClusterResponse, <-chan error)
- func (client *Client) DescribeCluster(request *DescribeClusterRequest) (response *DescribeClusterResponse, err error)
- func (client *Client) DescribeClusterWithCallback(request *DescribeClusterRequest, ...) <-chan int
- func (client *Client) DescribeClusterWithChan(request *DescribeClusterRequest) (<-chan *DescribeClusterResponse, <-chan error)
- func (client *Client) DescribeNode(request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
- func (client *Client) DescribeNodeWithCallback(request *DescribeNodeRequest, ...) <-chan int
- func (client *Client) DescribeNodeWithChan(request *DescribeNodeRequest) (<-chan *DescribeNodeResponse, <-chan error)
- func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, ...) <-chan int
- func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
- func (client *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
- func (client *Client) DescribeTaskWithCallback(request *DescribeTaskRequest, ...) <-chan int
- func (client *Client) DescribeTaskWithChan(request *DescribeTaskRequest) (<-chan *DescribeTaskResponse, <-chan error)
- func (client *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (client *Client) DescribeZonesWithCallback(request *DescribeZonesRequest, ...) <-chan int
- func (client *Client) DescribeZonesWithChan(request *DescribeZonesRequest) (<-chan *DescribeZonesResponse, <-chan error)
- func (client *Client) ExtendCluster(request *ExtendClusterRequest) (response *ExtendClusterResponse, err error)
- func (client *Client) ExtendClusterWithCallback(request *ExtendClusterRequest, ...) <-chan int
- func (client *Client) ExtendClusterWithChan(request *ExtendClusterRequest) (<-chan *ExtendClusterResponse, <-chan error)
- func (client *Client) ListClusterNodes(request *ListClusterNodesRequest) (response *ListClusterNodesResponse, err error)
- func (client *Client) ListClusterNodesWithCallback(request *ListClusterNodesRequest, ...) <-chan int
- func (client *Client) ListClusterNodesWithChan(request *ListClusterNodesRequest) (<-chan *ListClusterNodesResponse, <-chan error)
- func (client *Client) ListClusters(request *ListClustersRequest) (response *ListClustersResponse, err error)
- func (client *Client) ListClustersWithCallback(request *ListClustersRequest, ...) <-chan int
- func (client *Client) ListClustersWithChan(request *ListClustersRequest) (<-chan *ListClustersResponse, <-chan error)
- func (client *Client) ListFreeNodes(request *ListFreeNodesRequest) (response *ListFreeNodesResponse, err error)
- func (client *Client) ListFreeNodesWithCallback(request *ListFreeNodesRequest, ...) <-chan int
- func (client *Client) ListFreeNodesWithChan(request *ListFreeNodesRequest) (<-chan *ListFreeNodesResponse, <-chan error)
- func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
- func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, ...) <-chan int
- func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
- func (client *Client) RebootNodes(request *RebootNodesRequest) (response *RebootNodesResponse, err error)
- func (client *Client) RebootNodesWithCallback(request *RebootNodesRequest, ...) <-chan int
- func (client *Client) RebootNodesWithChan(request *RebootNodesRequest) (<-chan *RebootNodesResponse, <-chan error)
- func (client *Client) ReimageNodes(request *ReimageNodesRequest) (response *ReimageNodesResponse, err error)
- func (client *Client) ReimageNodesWithCallback(request *ReimageNodesRequest, ...) <-chan int
- func (client *Client) ReimageNodesWithChan(request *ReimageNodesRequest) (<-chan *ReimageNodesResponse, <-chan error)
- func (client *Client) ShrinkCluster(request *ShrinkClusterRequest) (response *ShrinkClusterResponse, err error)
- func (client *Client) ShrinkClusterWithCallback(request *ShrinkClusterRequest, ...) <-chan int
- func (client *Client) ShrinkClusterWithChan(request *ShrinkClusterRequest) (<-chan *ShrinkClusterResponse, <-chan error)
- func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
- func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, ...) <-chan int
- func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)
- func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)
- func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, ...) <-chan int
- func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)
- type Clusters
- type ClustersItem
- type Components
- type ComponentsItem
- type CreateClusterComponents
- type CreateClusterComponentsComponentConfig
- type CreateClusterNetworks
- type CreateClusterNetworksNewVpdInfo
- type CreateClusterNetworksNewVpdInfoVpdSubnetsItem
- type CreateClusterNodeGroups
- type CreateClusterNodeGroupsNodesItem
- type CreateClusterRequest
- type CreateClusterResponse
- type CreateClusterTag
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DescribeClusterRequest
- type DescribeClusterResponse
- type DescribeNodeRequest
- type DescribeNodeResponse
- type DescribeRegionsRequest
- type DescribeRegionsResponse
- type DescribeTaskRequest
- type DescribeTaskResponse
- type DescribeZonesRequest
- type DescribeZonesResponse
- type ExtendClusterNodeGroups
- type ExtendClusterNodeGroupsNodesItem
- type ExtendClusterRequest
- type ExtendClusterResponse
- type ListClusterNodesRequest
- type ListClusterNodesResponse
- type ListClustersRequest
- type ListClustersResponse
- type ListFreeNodesRequest
- type ListFreeNodesResponse
- type ListTagResourcesRequest
- type ListTagResourcesResponse
- type ListTagResourcesTag
- type NetworksInDescribeCluster
- type NetworksInDescribeNode
- type NetworksInListClusterNodes
- type NetworksItem
- type NodesInListClusterNodes
- type NodesInListFreeNodes
- type NodesItem
- type RebootNodesRequest
- type RebootNodesResponse
- type Regions
- type RegionsItem
- type ReimageNodesNodes
- type ReimageNodesRequest
- type ReimageNodesResponse
- type ShrinkClusterNodeGroups
- type ShrinkClusterNodeGroupsNodesItem
- type ShrinkClusterRequest
- type ShrinkClusterResponse
- type Steps
- type StepsItem
- type SubTasks
- type SubTasksItem
- type TagResource
- type TagResources
- type TagResourcesRequest
- type TagResourcesResponse
- type TagResourcesTag
- type UntagResourcesRequest
- type UntagResourcesResponse
- type Zones
- type ZonesItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeResourceGroupRequest ¶
type ChangeResourceGroupRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Query" name:"ResourceGroupId"` ResourceRegionId string `position:"Query" name:"ResourceRegionId"` ResourceId string `position:"Query" name:"ResourceId"` ResourceType string `position:"Query" name:"ResourceType"` Service string `position:"Query" name:"Service"` }
ChangeResourceGroupRequest is the request struct for api ChangeResourceGroup
func CreateChangeResourceGroupRequest ¶
func CreateChangeResourceGroupRequest() (request *ChangeResourceGroupRequest)
CreateChangeResourceGroupRequest creates a request to invoke ChangeResourceGroup API
type ChangeResourceGroupResponse ¶
type ChangeResourceGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ChangeResourceGroupResponse is the response struct for api ChangeResourceGroup
func CreateChangeResourceGroupResponse ¶
func CreateChangeResourceGroupResponse() (response *ChangeResourceGroupResponse)
CreateChangeResourceGroupResponse creates a response to parse from ChangeResourceGroup 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) ChangeResourceGroup ¶
func (client *Client) ChangeResourceGroup(request *ChangeResourceGroupRequest) (response *ChangeResourceGroupResponse, err error)
ChangeResourceGroup invokes the eflo_controller.ChangeResourceGroup API synchronously
func (*Client) ChangeResourceGroupWithCallback ¶
func (client *Client) ChangeResourceGroupWithCallback(request *ChangeResourceGroupRequest, callback func(response *ChangeResourceGroupResponse, err error)) <-chan int
ChangeResourceGroupWithCallback invokes the eflo_controller.ChangeResourceGroup API asynchronously
func (*Client) ChangeResourceGroupWithChan ¶
func (client *Client) ChangeResourceGroupWithChan(request *ChangeResourceGroupRequest) (<-chan *ChangeResourceGroupResponse, <-chan error)
ChangeResourceGroupWithChan invokes the eflo_controller.ChangeResourceGroup API asynchronously
func (*Client) CreateCluster ¶
func (client *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster invokes the eflo_controller.CreateCluster API synchronously
func (*Client) CreateClusterWithCallback ¶
func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, callback func(response *CreateClusterResponse, err error)) <-chan int
CreateClusterWithCallback invokes the eflo_controller.CreateCluster API asynchronously
func (*Client) CreateClusterWithChan ¶
func (client *Client) CreateClusterWithChan(request *CreateClusterRequest) (<-chan *CreateClusterResponse, <-chan error)
CreateClusterWithChan invokes the eflo_controller.CreateCluster API asynchronously
func (*Client) DeleteCluster ¶
func (client *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
DeleteCluster invokes the eflo_controller.DeleteCluster API synchronously
func (*Client) DeleteClusterWithCallback ¶
func (client *Client) DeleteClusterWithCallback(request *DeleteClusterRequest, callback func(response *DeleteClusterResponse, err error)) <-chan int
DeleteClusterWithCallback invokes the eflo_controller.DeleteCluster API asynchronously
func (*Client) DeleteClusterWithChan ¶
func (client *Client) DeleteClusterWithChan(request *DeleteClusterRequest) (<-chan *DeleteClusterResponse, <-chan error)
DeleteClusterWithChan invokes the eflo_controller.DeleteCluster API asynchronously
func (*Client) DescribeCluster ¶
func (client *Client) DescribeCluster(request *DescribeClusterRequest) (response *DescribeClusterResponse, err error)
DescribeCluster invokes the eflo_controller.DescribeCluster API synchronously
func (*Client) DescribeClusterWithCallback ¶
func (client *Client) DescribeClusterWithCallback(request *DescribeClusterRequest, callback func(response *DescribeClusterResponse, err error)) <-chan int
DescribeClusterWithCallback invokes the eflo_controller.DescribeCluster API asynchronously
func (*Client) DescribeClusterWithChan ¶
func (client *Client) DescribeClusterWithChan(request *DescribeClusterRequest) (<-chan *DescribeClusterResponse, <-chan error)
DescribeClusterWithChan invokes the eflo_controller.DescribeCluster API asynchronously
func (*Client) DescribeNode ¶
func (client *Client) DescribeNode(request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)
DescribeNode invokes the eflo_controller.DescribeNode API synchronously
func (*Client) DescribeNodeWithCallback ¶
func (client *Client) DescribeNodeWithCallback(request *DescribeNodeRequest, callback func(response *DescribeNodeResponse, err error)) <-chan int
DescribeNodeWithCallback invokes the eflo_controller.DescribeNode API asynchronously
func (*Client) DescribeNodeWithChan ¶
func (client *Client) DescribeNodeWithChan(request *DescribeNodeRequest) (<-chan *DescribeNodeResponse, <-chan error)
DescribeNodeWithChan invokes the eflo_controller.DescribeNode API asynchronously
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions invokes the eflo_controller.DescribeRegions API synchronously
func (*Client) DescribeRegionsWithCallback ¶
func (client *Client) DescribeRegionsWithCallback(request *DescribeRegionsRequest, callback func(response *DescribeRegionsResponse, err error)) <-chan int
DescribeRegionsWithCallback invokes the eflo_controller.DescribeRegions API asynchronously
func (*Client) DescribeRegionsWithChan ¶
func (client *Client) DescribeRegionsWithChan(request *DescribeRegionsRequest) (<-chan *DescribeRegionsResponse, <-chan error)
DescribeRegionsWithChan invokes the eflo_controller.DescribeRegions API asynchronously
func (*Client) DescribeTask ¶
func (client *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)
DescribeTask invokes the eflo_controller.DescribeTask API synchronously
func (*Client) DescribeTaskWithCallback ¶
func (client *Client) DescribeTaskWithCallback(request *DescribeTaskRequest, callback func(response *DescribeTaskResponse, err error)) <-chan int
DescribeTaskWithCallback invokes the eflo_controller.DescribeTask API asynchronously
func (*Client) DescribeTaskWithChan ¶
func (client *Client) DescribeTaskWithChan(request *DescribeTaskRequest) (<-chan *DescribeTaskResponse, <-chan error)
DescribeTaskWithChan invokes the eflo_controller.DescribeTask API asynchronously
func (*Client) DescribeZones ¶
func (client *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones invokes the eflo_controller.DescribeZones API synchronously
func (*Client) DescribeZonesWithCallback ¶
func (client *Client) DescribeZonesWithCallback(request *DescribeZonesRequest, callback func(response *DescribeZonesResponse, err error)) <-chan int
DescribeZonesWithCallback invokes the eflo_controller.DescribeZones API asynchronously
func (*Client) DescribeZonesWithChan ¶
func (client *Client) DescribeZonesWithChan(request *DescribeZonesRequest) (<-chan *DescribeZonesResponse, <-chan error)
DescribeZonesWithChan invokes the eflo_controller.DescribeZones API asynchronously
func (*Client) ExtendCluster ¶
func (client *Client) ExtendCluster(request *ExtendClusterRequest) (response *ExtendClusterResponse, err error)
ExtendCluster invokes the eflo_controller.ExtendCluster API synchronously
func (*Client) ExtendClusterWithCallback ¶
func (client *Client) ExtendClusterWithCallback(request *ExtendClusterRequest, callback func(response *ExtendClusterResponse, err error)) <-chan int
ExtendClusterWithCallback invokes the eflo_controller.ExtendCluster API asynchronously
func (*Client) ExtendClusterWithChan ¶
func (client *Client) ExtendClusterWithChan(request *ExtendClusterRequest) (<-chan *ExtendClusterResponse, <-chan error)
ExtendClusterWithChan invokes the eflo_controller.ExtendCluster API asynchronously
func (*Client) ListClusterNodes ¶
func (client *Client) ListClusterNodes(request *ListClusterNodesRequest) (response *ListClusterNodesResponse, err error)
ListClusterNodes invokes the eflo_controller.ListClusterNodes API synchronously
func (*Client) ListClusterNodesWithCallback ¶
func (client *Client) ListClusterNodesWithCallback(request *ListClusterNodesRequest, callback func(response *ListClusterNodesResponse, err error)) <-chan int
ListClusterNodesWithCallback invokes the eflo_controller.ListClusterNodes API asynchronously
func (*Client) ListClusterNodesWithChan ¶
func (client *Client) ListClusterNodesWithChan(request *ListClusterNodesRequest) (<-chan *ListClusterNodesResponse, <-chan error)
ListClusterNodesWithChan invokes the eflo_controller.ListClusterNodes API asynchronously
func (*Client) ListClusters ¶
func (client *Client) ListClusters(request *ListClustersRequest) (response *ListClustersResponse, err error)
ListClusters invokes the eflo_controller.ListClusters API synchronously
func (*Client) ListClustersWithCallback ¶
func (client *Client) ListClustersWithCallback(request *ListClustersRequest, callback func(response *ListClustersResponse, err error)) <-chan int
ListClustersWithCallback invokes the eflo_controller.ListClusters API asynchronously
func (*Client) ListClustersWithChan ¶
func (client *Client) ListClustersWithChan(request *ListClustersRequest) (<-chan *ListClustersResponse, <-chan error)
ListClustersWithChan invokes the eflo_controller.ListClusters API asynchronously
func (*Client) ListFreeNodes ¶
func (client *Client) ListFreeNodes(request *ListFreeNodesRequest) (response *ListFreeNodesResponse, err error)
ListFreeNodes invokes the eflo_controller.ListFreeNodes API synchronously
func (*Client) ListFreeNodesWithCallback ¶
func (client *Client) ListFreeNodesWithCallback(request *ListFreeNodesRequest, callback func(response *ListFreeNodesResponse, err error)) <-chan int
ListFreeNodesWithCallback invokes the eflo_controller.ListFreeNodes API asynchronously
func (*Client) ListFreeNodesWithChan ¶
func (client *Client) ListFreeNodesWithChan(request *ListFreeNodesRequest) (<-chan *ListFreeNodesResponse, <-chan error)
ListFreeNodesWithChan invokes the eflo_controller.ListFreeNodes API asynchronously
func (*Client) ListTagResources ¶
func (client *Client) ListTagResources(request *ListTagResourcesRequest) (response *ListTagResourcesResponse, err error)
ListTagResources invokes the eflo_controller.ListTagResources API synchronously
func (*Client) ListTagResourcesWithCallback ¶
func (client *Client) ListTagResourcesWithCallback(request *ListTagResourcesRequest, callback func(response *ListTagResourcesResponse, err error)) <-chan int
ListTagResourcesWithCallback invokes the eflo_controller.ListTagResources API asynchronously
func (*Client) ListTagResourcesWithChan ¶
func (client *Client) ListTagResourcesWithChan(request *ListTagResourcesRequest) (<-chan *ListTagResourcesResponse, <-chan error)
ListTagResourcesWithChan invokes the eflo_controller.ListTagResources API asynchronously
func (*Client) RebootNodes ¶
func (client *Client) RebootNodes(request *RebootNodesRequest) (response *RebootNodesResponse, err error)
RebootNodes invokes the eflo_controller.RebootNodes API synchronously
func (*Client) RebootNodesWithCallback ¶
func (client *Client) RebootNodesWithCallback(request *RebootNodesRequest, callback func(response *RebootNodesResponse, err error)) <-chan int
RebootNodesWithCallback invokes the eflo_controller.RebootNodes API asynchronously
func (*Client) RebootNodesWithChan ¶
func (client *Client) RebootNodesWithChan(request *RebootNodesRequest) (<-chan *RebootNodesResponse, <-chan error)
RebootNodesWithChan invokes the eflo_controller.RebootNodes API asynchronously
func (*Client) ReimageNodes ¶
func (client *Client) ReimageNodes(request *ReimageNodesRequest) (response *ReimageNodesResponse, err error)
ReimageNodes invokes the eflo_controller.ReimageNodes API synchronously
func (*Client) ReimageNodesWithCallback ¶
func (client *Client) ReimageNodesWithCallback(request *ReimageNodesRequest, callback func(response *ReimageNodesResponse, err error)) <-chan int
ReimageNodesWithCallback invokes the eflo_controller.ReimageNodes API asynchronously
func (*Client) ReimageNodesWithChan ¶
func (client *Client) ReimageNodesWithChan(request *ReimageNodesRequest) (<-chan *ReimageNodesResponse, <-chan error)
ReimageNodesWithChan invokes the eflo_controller.ReimageNodes API asynchronously
func (*Client) ShrinkCluster ¶
func (client *Client) ShrinkCluster(request *ShrinkClusterRequest) (response *ShrinkClusterResponse, err error)
ShrinkCluster invokes the eflo_controller.ShrinkCluster API synchronously
func (*Client) ShrinkClusterWithCallback ¶
func (client *Client) ShrinkClusterWithCallback(request *ShrinkClusterRequest, callback func(response *ShrinkClusterResponse, err error)) <-chan int
ShrinkClusterWithCallback invokes the eflo_controller.ShrinkCluster API asynchronously
func (*Client) ShrinkClusterWithChan ¶
func (client *Client) ShrinkClusterWithChan(request *ShrinkClusterRequest) (<-chan *ShrinkClusterResponse, <-chan error)
ShrinkClusterWithChan invokes the eflo_controller.ShrinkCluster API asynchronously
func (*Client) TagResources ¶
func (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error)
TagResources invokes the eflo_controller.TagResources API synchronously
func (*Client) TagResourcesWithCallback ¶
func (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int
TagResourcesWithCallback invokes the eflo_controller.TagResources API asynchronously
func (*Client) TagResourcesWithChan ¶
func (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error)
TagResourcesWithChan invokes the eflo_controller.TagResources API asynchronously
func (*Client) UntagResources ¶
func (client *Client) UntagResources(request *UntagResourcesRequest) (response *UntagResourcesResponse, err error)
UntagResources invokes the eflo_controller.UntagResources API synchronously
func (*Client) UntagResourcesWithCallback ¶
func (client *Client) UntagResourcesWithCallback(request *UntagResourcesRequest, callback func(response *UntagResourcesResponse, err error)) <-chan int
UntagResourcesWithCallback invokes the eflo_controller.UntagResources API asynchronously
func (*Client) UntagResourcesWithChan ¶
func (client *Client) UntagResourcesWithChan(request *UntagResourcesRequest) (<-chan *UntagResourcesResponse, <-chan error)
UntagResourcesWithChan invokes the eflo_controller.UntagResources API asynchronously
type Clusters ¶
type Clusters struct {
ClustersItem []ClustersItem `json:"Clusters" xml:"Clusters"`
}
Clusters is a nested struct in eflo_controller response
type ClustersItem ¶
type ClustersItem struct { Components string `json:"Components" xml:"Components"` ClusterId string `json:"ClusterId" xml:"ClusterId"` ClusterName string `json:"ClusterName" xml:"ClusterName"` OperatingState string `json:"OperatingState" xml:"OperatingState"` TaskId string `json:"TaskId" xml:"TaskId"` ClusterType string `json:"ClusterType" xml:"ClusterType"` NodeCount int64 `json:"NodeCount" xml:"NodeCount"` NodeGroupCount int64 `json:"NodeGroupCount" xml:"NodeGroupCount"` CreateTime string `json:"CreateTime" xml:"CreateTime"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` ClusterDescription string `json:"ClusterDescription" xml:"ClusterDescription"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` }
ClustersItem is a nested struct in eflo_controller response
type Components ¶
type Components struct {
ComponentsItem []ComponentsItem `json:"Components" xml:"Components"`
}
Components is a nested struct in eflo_controller response
type ComponentsItem ¶
type ComponentsItem struct { ComponentType string `json:"ComponentType" xml:"ComponentType"` ComponentId string `json:"ComponentId" xml:"ComponentId"` }
ComponentsItem is a nested struct in eflo_controller response
type CreateClusterComponents ¶
type CreateClusterComponents struct { ComponentType string `name:"ComponentType"` ComponentConfig CreateClusterComponentsComponentConfig `name:"ComponentConfig" type:"Struct"` }
CreateClusterComponents is a repeated param struct in CreateClusterRequest
type CreateClusterComponentsComponentConfig ¶
type CreateClusterComponentsComponentConfig struct { BasicArgs string `name:"BasicArgs"` NodeUnits *[]string `name:"NodeUnits" type:"Repeated"` }
CreateClusterComponentsComponentConfig is a repeated param struct in CreateClusterRequest
type CreateClusterNetworks ¶
type CreateClusterNetworks struct {
NewVpdInfo CreateClusterNetworksNewVpdInfo `name:"NewVpdInfo" type:"Struct"`
}
CreateClusterNetworks is a repeated param struct in CreateClusterRequest
type CreateClusterNetworksNewVpdInfo ¶
type CreateClusterNetworksNewVpdInfo struct { MonitorVswitchId string `name:"MonitorVswitchId"` VpdSubnets *[]CreateClusterNetworksNewVpdInfoVpdSubnetsItem `name:"VpdSubnets" type:"Repeated"` CloudLinkId string `name:"CloudLinkId"` VpdCidr string `name:"VpdCidr"` CloudLinkCidr string `name:"CloudLinkCidr"` CenId string `name:"CenId"` MonitorVpcId string `name:"MonitorVpcId"` }
CreateClusterNetworksNewVpdInfo is a repeated param struct in CreateClusterRequest
type CreateClusterNetworksNewVpdInfoVpdSubnetsItem ¶
type CreateClusterNetworksNewVpdInfoVpdSubnetsItem struct { SubnetType string `name:"SubnetType"` ZoneId string `name:"ZoneId"` SubnetCidr string `name:"SubnetCidr"` }
CreateClusterNetworksNewVpdInfoVpdSubnetsItem is a repeated param struct in CreateClusterRequest
type CreateClusterNodeGroups ¶
type CreateClusterNodeGroups struct { NodeGroupName string `name:"NodeGroupName"` Nodes *[]CreateClusterNodeGroupsNodesItem `name:"Nodes" type:"Repeated"` ImageId string `name:"ImageId"` NodeGroupDescription string `name:"NodeGroupDescription"` ZoneId string `name:"ZoneId"` MachineType string `name:"MachineType"` }
CreateClusterNodeGroups is a repeated param struct in CreateClusterRequest
type CreateClusterNodeGroupsNodesItem ¶
type CreateClusterNodeGroupsNodesItem struct { Hostname string `name:"Hostname"` LoginPassword string `name:"LoginPassword"` NodeId string `name:"NodeId"` }
CreateClusterNodeGroupsNodesItem is a repeated param struct in CreateClusterRequest
type CreateClusterRequest ¶
type CreateClusterRequest struct { *requests.RpcRequest Components *[]CreateClusterComponents `position:"Body" name:"Components" type:"Json"` ClusterName string `position:"Body" name:"ClusterName"` Networks CreateClusterNetworks `position:"Body" name:"Networks" type:"Struct"` ResourceGroupId string `position:"Body" name:"ResourceGroupId"` ClusterDescription string `position:"Body" name:"ClusterDescription"` NodeGroups *[]CreateClusterNodeGroups `position:"Body" name:"NodeGroups" type:"Json"` Tag *[]CreateClusterTag `position:"Query" name:"Tag" type:"Repeated"` IgnoreFailedNodeTasks requests.Boolean `position:"Body" name:"IgnoreFailedNodeTasks"` ClusterType string `position:"Body" name:"ClusterType"` }
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 RequestId string `json:"RequestId" xml:"RequestId"` ClusterId string `json:"ClusterId" xml:"ClusterId"` TaskId string `json:"TaskId" xml:"TaskId"` }
CreateClusterResponse is the response struct for api CreateCluster
func CreateCreateClusterResponse ¶
func CreateCreateClusterResponse() (response *CreateClusterResponse)
CreateCreateClusterResponse creates a response to parse from CreateCluster response
type CreateClusterTag ¶
CreateClusterTag is a repeated param struct in CreateClusterRequest
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { *requests.RpcRequest ClusterId string `position:"Body" 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 RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteClusterResponse is the response struct for api DeleteCluster
func CreateDeleteClusterResponse ¶
func CreateDeleteClusterResponse() (response *DeleteClusterResponse)
CreateDeleteClusterResponse creates a response to parse from DeleteCluster response
type DescribeClusterRequest ¶
type DescribeClusterRequest struct { *requests.RpcRequest ClusterId string `position:"Body" name:"ClusterId"` }
DescribeClusterRequest is the request struct for api DescribeCluster
func CreateDescribeClusterRequest ¶
func CreateDescribeClusterRequest() (request *DescribeClusterRequest)
CreateDescribeClusterRequest creates a request to invoke DescribeCluster API
type DescribeClusterResponse ¶
type DescribeClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` NodeCount int64 `json:"NodeCount" xml:"NodeCount"` NodeGroupCount int64 `json:"NodeGroupCount" xml:"NodeGroupCount"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` ClusterDescription string `json:"ClusterDescription" xml:"ClusterDescription"` OperatingState string `json:"OperatingState" xml:"OperatingState"` ClusterId string `json:"ClusterId" xml:"ClusterId"` ClusterName string `json:"ClusterName" xml:"ClusterName"` TaskId string `json:"TaskId" xml:"TaskId"` ClusterType string `json:"ClusterType" xml:"ClusterType"` ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` Components []ComponentsItem `json:"Components" xml:"Components"` Networks []NetworksItem `json:"Networks" xml:"Networks"` }
DescribeClusterResponse is the response struct for api DescribeCluster
func CreateDescribeClusterResponse ¶
func CreateDescribeClusterResponse() (response *DescribeClusterResponse)
CreateDescribeClusterResponse creates a response to parse from DescribeCluster response
type DescribeNodeRequest ¶
type DescribeNodeRequest struct { *requests.RpcRequest NodeId string `position:"Body" name:"NodeId"` }
DescribeNodeRequest is the request struct for api DescribeNode
func CreateDescribeNodeRequest ¶
func CreateDescribeNodeRequest() (request *DescribeNodeRequest)
CreateDescribeNodeRequest creates a request to invoke DescribeNode API
type DescribeNodeResponse ¶
type DescribeNodeResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NodeGroupName string `json:"NodeGroupName" xml:"NodeGroupName"` ClusterId string `json:"ClusterId" xml:"ClusterId"` ClusterName string `json:"ClusterName" xml:"ClusterName"` ZoneId string `json:"ZoneId" xml:"ZoneId"` CreateTime string `json:"CreateTime" xml:"CreateTime"` NodeGroupId string `json:"NodeGroupId" xml:"NodeGroupId"` Hostname string `json:"Hostname" xml:"Hostname"` ImageId string `json:"ImageId" xml:"ImageId"` MachineType string `json:"MachineType" xml:"MachineType"` NodeId string `json:"NodeId" xml:"NodeId"` Sn string `json:"Sn" xml:"Sn"` OperatingState string `json:"OperatingState" xml:"OperatingState"` ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"` Networks []NetworksItem `json:"Networks" xml:"Networks"` }
DescribeNodeResponse is the response struct for api DescribeNode
func CreateDescribeNodeResponse ¶
func CreateDescribeNodeResponse() (response *DescribeNodeResponse)
CreateDescribeNodeResponse creates a response to parse from DescribeNode response
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct { *requests.RpcRequest AcceptLanguage string `position:"Body" name:"AcceptLanguage"` }
DescribeRegionsRequest is the request struct for api DescribeRegions
func CreateDescribeRegionsRequest ¶
func CreateDescribeRegionsRequest() (request *DescribeRegionsRequest)
CreateDescribeRegionsRequest creates a request to invoke DescribeRegions API
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Regions []RegionsItem `json:"Regions" xml:"Regions"` }
DescribeRegionsResponse is the response struct for api DescribeRegions
func CreateDescribeRegionsResponse ¶
func CreateDescribeRegionsResponse() (response *DescribeRegionsResponse)
CreateDescribeRegionsResponse creates a response to parse from DescribeRegions response
type DescribeTaskRequest ¶
type DescribeTaskRequest struct { *requests.RpcRequest TaskId string `position:"Body" name:"TaskId"` }
DescribeTaskRequest is the request struct for api DescribeTask
func CreateDescribeTaskRequest ¶
func CreateDescribeTaskRequest() (request *DescribeTaskRequest)
CreateDescribeTaskRequest creates a request to invoke DescribeTask API
type DescribeTaskResponse ¶
type DescribeTaskResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` ClusterId string `json:"ClusterId" xml:"ClusterId"` ClusterName string `json:"ClusterName" xml:"ClusterName"` TaskState string `json:"TaskState" xml:"TaskState"` TaskType string `json:"TaskType" xml:"TaskType"` Message string `json:"Message" xml:"Message"` CreateTime string `json:"CreateTime" xml:"CreateTime"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` Steps []StepsItem `json:"Steps" xml:"Steps"` }
DescribeTaskResponse is the response struct for api DescribeTask
func CreateDescribeTaskResponse ¶
func CreateDescribeTaskResponse() (response *DescribeTaskResponse)
CreateDescribeTaskResponse creates a response to parse from DescribeTask response
type DescribeZonesRequest ¶
type DescribeZonesRequest struct { *requests.RpcRequest AcceptLanguage string `position:"Body" name:"AcceptLanguage"` }
DescribeZonesRequest is the request struct for api DescribeZones
func CreateDescribeZonesRequest ¶
func CreateDescribeZonesRequest() (request *DescribeZonesRequest)
CreateDescribeZonesRequest creates a request to invoke DescribeZones API
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Zones []ZonesItem `json:"Zones" xml:"Zones"` }
DescribeZonesResponse is the response struct for api DescribeZones
func CreateDescribeZonesResponse ¶
func CreateDescribeZonesResponse() (response *DescribeZonesResponse)
CreateDescribeZonesResponse creates a response to parse from DescribeZones response
type ExtendClusterNodeGroups ¶
type ExtendClusterNodeGroups struct { Nodes *[]ExtendClusterNodeGroupsNodesItem `name:"Nodes" type:"Repeated"` NodeGroupId string `name:"NodeGroupId"` }
ExtendClusterNodeGroups is a repeated param struct in ExtendClusterRequest
type ExtendClusterNodeGroupsNodesItem ¶
type ExtendClusterNodeGroupsNodesItem struct { Hostname string `name:"Hostname"` LoginPassword string `name:"LoginPassword"` NodeId string `name:"NodeId"` }
ExtendClusterNodeGroupsNodesItem is a repeated param struct in ExtendClusterRequest
type ExtendClusterRequest ¶
type ExtendClusterRequest struct { *requests.RpcRequest IgnoreFailedNodeTasks requests.Boolean `position:"Body" name:"IgnoreFailedNodeTasks"` ClusterId string `position:"Body" name:"ClusterId"` NodeGroups *[]ExtendClusterNodeGroups `position:"Body" name:"NodeGroups" type:"Json"` }
ExtendClusterRequest is the request struct for api ExtendCluster
func CreateExtendClusterRequest ¶
func CreateExtendClusterRequest() (request *ExtendClusterRequest)
CreateExtendClusterRequest creates a request to invoke ExtendCluster API
type ExtendClusterResponse ¶
type ExtendClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TaskId string `json:"TaskId" xml:"TaskId"` }
ExtendClusterResponse is the response struct for api ExtendCluster
func CreateExtendClusterResponse ¶
func CreateExtendClusterResponse() (response *ExtendClusterResponse)
CreateExtendClusterResponse creates a response to parse from ExtendCluster response
type ListClusterNodesRequest ¶
type ListClusterNodesRequest struct { *requests.RpcRequest ClusterId string `position:"Body" name:"ClusterId"` NodeGroupId string `position:"Body" name:"NodeGroupId"` NextToken string `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` }
ListClusterNodesRequest is the request struct for api ListClusterNodes
func CreateListClusterNodesRequest ¶
func CreateListClusterNodesRequest() (request *ListClusterNodesRequest)
CreateListClusterNodesRequest creates a request to invoke ListClusterNodes API
type ListClusterNodesResponse ¶
type ListClusterNodesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` Nodes []NodesItem `json:"Nodes" xml:"Nodes"` }
ListClusterNodesResponse is the response struct for api ListClusterNodes
func CreateListClusterNodesResponse ¶
func CreateListClusterNodesResponse() (response *ListClusterNodesResponse)
CreateListClusterNodesResponse creates a response to parse from ListClusterNodes response
type ListClustersRequest ¶
type ListClustersRequest struct { *requests.RpcRequest ResourceGroupId string `position:"Body" name:"ResourceGroupId"` NextToken string `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` }
ListClustersRequest is the request struct for api ListClusters
func CreateListClustersRequest ¶
func CreateListClustersRequest() (request *ListClustersRequest)
CreateListClustersRequest creates a request to invoke ListClusters API
type ListClustersResponse ¶
type ListClustersResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` Clusters []ClustersItem `json:"Clusters" xml:"Clusters"` }
ListClustersResponse is the response struct for api ListClusters
func CreateListClustersResponse ¶
func CreateListClustersResponse() (response *ListClustersResponse)
CreateListClustersResponse creates a response to parse from ListClusters response
type ListFreeNodesRequest ¶
type ListFreeNodesRequest struct { *requests.RpcRequest MachineType string `position:"Body" name:"MachineType"` NextToken string `position:"Body" name:"NextToken"` MaxResults requests.Integer `position:"Body" name:"MaxResults"` }
ListFreeNodesRequest is the request struct for api ListFreeNodes
func CreateListFreeNodesRequest ¶
func CreateListFreeNodesRequest() (request *ListFreeNodesRequest)
CreateListFreeNodesRequest creates a request to invoke ListFreeNodes API
type ListFreeNodesResponse ¶
type ListFreeNodesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` Nodes []NodesItem `json:"Nodes" xml:"Nodes"` }
ListFreeNodesResponse is the response struct for api ListFreeNodes
func CreateListFreeNodesResponse ¶
func CreateListFreeNodesResponse() (response *ListFreeNodesResponse)
CreateListFreeNodesResponse creates a response to parse from ListFreeNodes response
type ListTagResourcesRequest ¶
type ListTagResourcesRequest struct { *requests.RpcRequest NextToken string `position:"Query" name:"NextToken"` Tag *[]ListTagResourcesTag `position:"Query" name:"Tag" type:"Repeated"` ResourceId *[]string `position:"Query" name:"ResourceId" type:"Repeated"` ResourceType string `position:"Query" name:"ResourceType"` Service string `position:"Query" name:"Service"` }
ListTagResourcesRequest is the request struct for api ListTagResources
func CreateListTagResourcesRequest ¶
func CreateListTagResourcesRequest() (request *ListTagResourcesRequest)
CreateListTagResourcesRequest creates a request to invoke ListTagResources API
type ListTagResourcesResponse ¶
type ListTagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` NextToken string `json:"NextToken" xml:"NextToken"` TagResources TagResources `json:"TagResources" xml:"TagResources"` }
ListTagResourcesResponse is the response struct for api ListTagResources
func CreateListTagResourcesResponse ¶
func CreateListTagResourcesResponse() (response *ListTagResourcesResponse)
CreateListTagResourcesResponse creates a response to parse from ListTagResources response
type ListTagResourcesTag ¶
ListTagResourcesTag is a repeated param struct in ListTagResourcesRequest
type NetworksInDescribeCluster ¶
type NetworksInDescribeCluster struct {
NetworksItem []NetworksItem `json:"Networks" xml:"Networks"`
}
NetworksInDescribeCluster is a nested struct in eflo_controller response
type NetworksInDescribeNode ¶
type NetworksInDescribeNode struct {
NetworksItem []NetworksItem `json:"Networks" xml:"Networks"`
}
NetworksInDescribeNode is a nested struct in eflo_controller response
type NetworksInListClusterNodes ¶
type NetworksInListClusterNodes struct {
NetworksItem []NetworksItem `json:"Networks" xml:"Networks"`
}
NetworksInListClusterNodes is a nested struct in eflo_controller response
type NetworksItem ¶
type NetworksItem struct { VpdId string `json:"VpdId" xml:"VpdId"` Ip string `json:"Ip" xml:"Ip"` SubnetId string `json:"SubnetId" xml:"SubnetId"` BondName string `json:"BondName" xml:"BondName"` }
NetworksItem is a nested struct in eflo_controller response
type NodesInListClusterNodes ¶
type NodesInListClusterNodes struct {
NodesItem []NodesItem `json:"Nodes" xml:"Nodes"`
}
NodesInListClusterNodes is a nested struct in eflo_controller response
type NodesInListFreeNodes ¶
type NodesInListFreeNodes struct {
NodesItem []NodesItem `json:"nodes" xml:"nodes"`
}
NodesInListFreeNodes is a nested struct in eflo_controller response
type NodesItem ¶
type NodesItem struct { NodeId string `json:"NodeId" xml:"NodeId"` ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"` Hostname string `json:"Hostname" xml:"Hostname"` ZoneId string `json:"ZoneId" xml:"ZoneId"` ImageId string `json:"ImageId" xml:"ImageId"` NodeGroupId string `json:"NodeGroupId" xml:"NodeGroupId"` NodeGroupName string `json:"NodeGroupName" xml:"NodeGroupName"` MachineType string `json:"MachineType" xml:"MachineType"` CreateTime string `json:"CreateTime" xml:"CreateTime"` OperatingState string `json:"OperatingState" xml:"OperatingState"` Sn string `json:"Sn" xml:"Sn"` Networks []NetworksItem `json:"Networks" xml:"Networks"` }
NodesItem is a nested struct in eflo_controller response
type RebootNodesRequest ¶
type RebootNodesRequest struct { *requests.RpcRequest IgnoreFailedNodeTasks requests.Boolean `position:"Body" name:"IgnoreFailedNodeTasks"` ClusterId string `position:"Body" name:"ClusterId"` Nodes *[]string `position:"Body" name:"Nodes" type:"Json"` }
RebootNodesRequest is the request struct for api RebootNodes
func CreateRebootNodesRequest ¶
func CreateRebootNodesRequest() (request *RebootNodesRequest)
CreateRebootNodesRequest creates a request to invoke RebootNodes API
type RebootNodesResponse ¶
type RebootNodesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TaskId string `json:"TaskId" xml:"TaskId"` }
RebootNodesResponse is the response struct for api RebootNodes
func CreateRebootNodesResponse ¶
func CreateRebootNodesResponse() (response *RebootNodesResponse)
CreateRebootNodesResponse creates a response to parse from RebootNodes response
type Regions ¶
type Regions struct {
RegionsItem []RegionsItem `json:"Regions" xml:"Regions"`
}
Regions is a nested struct in eflo_controller response
type RegionsItem ¶
type RegionsItem struct { LocalName string `json:"LocalName" xml:"LocalName"` RegionId string `json:"RegionId" xml:"RegionId"` }
RegionsItem is a nested struct in eflo_controller response
type ReimageNodesNodes ¶
type ReimageNodesNodes struct { Hostname string `name:"Hostname"` ImageId string `name:"ImageId"` LoginPassword string `name:"LoginPassword"` NodeId string `name:"NodeId"` }
ReimageNodesNodes is a repeated param struct in ReimageNodesRequest
type ReimageNodesRequest ¶
type ReimageNodesRequest struct { *requests.RpcRequest IgnoreFailedNodeTasks requests.Boolean `position:"Body" name:"IgnoreFailedNodeTasks"` ClusterId string `position:"Body" name:"ClusterId"` Nodes *[]ReimageNodesNodes `position:"Body" name:"Nodes" type:"Json"` }
ReimageNodesRequest is the request struct for api ReimageNodes
func CreateReimageNodesRequest ¶
func CreateReimageNodesRequest() (request *ReimageNodesRequest)
CreateReimageNodesRequest creates a request to invoke ReimageNodes API
type ReimageNodesResponse ¶
type ReimageNodesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TaskId string `json:"TaskId" xml:"TaskId"` }
ReimageNodesResponse is the response struct for api ReimageNodes
func CreateReimageNodesResponse ¶
func CreateReimageNodesResponse() (response *ReimageNodesResponse)
CreateReimageNodesResponse creates a response to parse from ReimageNodes response
type ShrinkClusterNodeGroups ¶
type ShrinkClusterNodeGroups struct { Nodes *[]ShrinkClusterNodeGroupsNodesItem `name:"Nodes" type:"Repeated"` NodeGroupId string `name:"NodeGroupId"` }
ShrinkClusterNodeGroups is a repeated param struct in ShrinkClusterRequest
type ShrinkClusterNodeGroupsNodesItem ¶
type ShrinkClusterNodeGroupsNodesItem struct {
NodeId string `name:"NodeId"`
}
ShrinkClusterNodeGroupsNodesItem is a repeated param struct in ShrinkClusterRequest
type ShrinkClusterRequest ¶
type ShrinkClusterRequest struct { *requests.RpcRequest IgnoreFailedNodeTasks requests.Boolean `position:"Body" name:"IgnoreFailedNodeTasks"` ClusterId string `position:"Body" name:"ClusterId"` NodeGroups *[]ShrinkClusterNodeGroups `position:"Body" name:"NodeGroups" type:"Json"` }
ShrinkClusterRequest is the request struct for api ShrinkCluster
func CreateShrinkClusterRequest ¶
func CreateShrinkClusterRequest() (request *ShrinkClusterRequest)
CreateShrinkClusterRequest creates a request to invoke ShrinkCluster API
type ShrinkClusterResponse ¶
type ShrinkClusterResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TaskId string `json:"TaskId" xml:"TaskId"` }
ShrinkClusterResponse is the response struct for api ShrinkCluster
func CreateShrinkClusterResponse ¶
func CreateShrinkClusterResponse() (response *ShrinkClusterResponse)
CreateShrinkClusterResponse creates a response to parse from ShrinkCluster response
type Steps ¶
type Steps struct {
StepsItem []StepsItem `json:"Steps" xml:"Steps"`
}
Steps is a nested struct in eflo_controller response
type StepsItem ¶
type StepsItem struct { StepName string `json:"StepName" xml:"StepName"` StepState string `json:"StepState" xml:"StepState"` StepType string `json:"StepType" xml:"StepType"` StageTag string `json:"StageTag" xml:"StageTag"` Message string `json:"Message" xml:"Message"` StartTime string `json:"StartTime" xml:"StartTime"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` SubTasks []SubTasksItem `json:"SubTasks" xml:"SubTasks"` }
StepsItem is a nested struct in eflo_controller response
type SubTasks ¶
type SubTasks struct {
SubTasksItem []SubTasksItem `json:"SubTasks" xml:"SubTasks"`
}
SubTasks is a nested struct in eflo_controller response
type SubTasksItem ¶
type SubTasksItem struct { TaskId string `json:"TaskId" xml:"TaskId"` TaskType string `json:"TaskType" xml:"TaskType"` CreateTime string `json:"CreateTime" xml:"CreateTime"` UpdateTime string `json:"UpdateTime" xml:"UpdateTime"` Message string `json:"Message" xml:"Message"` TaskState string `json:"TaskState" xml:"TaskState"` }
SubTasksItem is a nested struct in eflo_controller response
type TagResource ¶
type TagResource struct { TagKey string `json:"TagKey" xml:"TagKey"` TagValue string `json:"TagValue" xml:"TagValue"` ResourceId string `json:"ResourceId" xml:"ResourceId"` ResourceType string `json:"ResourceType" xml:"ResourceType"` }
TagResource is a nested struct in eflo_controller response
type TagResources ¶
type TagResources struct {
TagResource []TagResource `json:"TagResource" xml:"TagResource"`
}
TagResources is a nested struct in eflo_controller response
type TagResourcesRequest ¶
type TagResourcesRequest struct { *requests.RpcRequest Tag *[]TagResourcesTag `position:"Query" name:"Tag" type:"Repeated"` ResourceId *[]string `position:"Query" name:"ResourceId" type:"Repeated"` ResourceType string `position:"Query" name:"ResourceType"` Service string `position:"Query" name:"Service"` }
TagResourcesRequest is the request struct for api TagResources
func CreateTagResourcesRequest ¶
func CreateTagResourcesRequest() (request *TagResourcesRequest)
CreateTagResourcesRequest creates a request to invoke TagResources API
type TagResourcesResponse ¶
type TagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
TagResourcesResponse is the response struct for api TagResources
func CreateTagResourcesResponse ¶
func CreateTagResourcesResponse() (response *TagResourcesResponse)
CreateTagResourcesResponse creates a response to parse from TagResources response
type TagResourcesTag ¶
TagResourcesTag is a repeated param struct in TagResourcesRequest
type UntagResourcesRequest ¶
type UntagResourcesRequest struct { *requests.RpcRequest All requests.Boolean `position:"Query" name:"All"` ResourceId *[]string `position:"Query" name:"ResourceId" type:"Repeated"` ResourceType string `position:"Query" name:"ResourceType"` Service string `position:"Query" name:"Service"` TagKey *[]string `position:"Query" name:"TagKey" type:"Repeated"` }
UntagResourcesRequest is the request struct for api UntagResources
func CreateUntagResourcesRequest ¶
func CreateUntagResourcesRequest() (request *UntagResourcesRequest)
CreateUntagResourcesRequest creates a request to invoke UntagResources API
type UntagResourcesResponse ¶
type UntagResourcesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UntagResourcesResponse is the response struct for api UntagResources
func CreateUntagResourcesResponse ¶
func CreateUntagResourcesResponse() (response *UntagResourcesResponse)
CreateUntagResourcesResponse creates a response to parse from UntagResources response
Source Files ¶
- change_resource_group.go
- client.go
- create_cluster.go
- delete_cluster.go
- describe_cluster.go
- describe_node.go
- describe_regions.go
- describe_task.go
- describe_zones.go
- extend_cluster.go
- list_cluster_nodes.go
- list_clusters.go
- list_free_nodes.go
- list_tag_resources.go
- reboot_nodes.go
- reimage_nodes.go
- shrink_cluster.go
- struct_clusters.go
- struct_clusters_item.go
- struct_components.go
- struct_components_item.go
- struct_networks_in_describe_cluster.go
- struct_networks_in_describe_node.go
- struct_networks_in_list_cluster_nodes.go
- struct_networks_item.go
- struct_nodes_in_list_cluster_nodes.go
- struct_nodes_in_list_free_nodes.go
- struct_nodes_item.go
- struct_regions.go
- struct_regions_item.go
- struct_steps.go
- struct_steps_item.go
- struct_sub_tasks.go
- struct_sub_tasks_item.go
- struct_tag_resource.go
- struct_tag_resources.go
- struct_zones.go
- struct_zones_item.go
- tag_resources.go
- untag_resources.go