ehpc

package
v1.61.1773 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.61.31

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.61.31

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.61.31

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.61.31

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AddNodesRequest

type AddNodesRequest struct {
	*requests.RpcRequest
	ImageId               string           `position:"Query" name:"ImageId"`
	Count                 requests.Integer `position:"Query" name:"Count"`
	ClusterId             string           `position:"Query" name:"ClusterId"`
	ComputeSpotStrategy   string           `position:"Query" name:"ComputeSpotStrategy"`
	ImageOwnerAlias       string           `position:"Query" name:"ImageOwnerAlias"`
	ComputeSpotPriceLimit string           `position:"Query" name:"ComputeSpotPriceLimit"`
}

AddNodesRequest is the request struct for api AddNodes

func CreateAddNodesRequest

func CreateAddNodesRequest() (request *AddNodesRequest)

CreateAddNodesRequest creates a request to invoke AddNodes API

type AddNodesResponse

type AddNodesResponse struct {
	*responses.BaseResponse
	RequestId   string      `json:"RequestId" xml:"RequestId"`
	InstanceIds InstanceIds `json:"InstanceIds" xml:"InstanceIds"`
}

AddNodesResponse is the response struct for api AddNodes

func CreateAddNodesResponse

func CreateAddNodesResponse() (response *AddNodesResponse)

CreateAddNodesResponse creates a response to parse from AddNodes response

type AddUsersRequest

type AddUsersRequest struct {
	*requests.RpcRequest
	ClusterId       string           `position:"Query" name:"ClusterId"`
	ReleaseInstance requests.Boolean `position:"Query" name:"ReleaseInstance"`
	User            *[]AddUsersUser  `position:"Query" name:"User"  type:"Repeated"`
}

AddUsersRequest is the request struct for api AddUsers

func CreateAddUsersRequest

func CreateAddUsersRequest() (request *AddUsersRequest)

CreateAddUsersRequest creates a request to invoke AddUsers API

type AddUsersResponse

type AddUsersResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

AddUsersResponse is the response struct for api AddUsers

func CreateAddUsersResponse

func CreateAddUsersResponse() (response *AddUsersResponse)

CreateAddUsersResponse creates a response to parse from AddUsers response

type AddUsersUser

type AddUsersUser struct {
	Password string `name:"Password"`
	Name     string `name:"Name"`
	Group    string `name:"Group"`
}

AddUsersUser is a repeated param struct in AddUsersRequest

type ApplicationInfo

type ApplicationInfo struct {
	Name     string `json:"Name" xml:"Name"`
	Tag      string `json:"Tag" xml:"Tag"`
	Version  string `json:"Version" xml:"Version"`
	Required bool   `json:"Required" xml:"Required"`
}

ApplicationInfo is a nested struct in ehpc response

type ApplicationsInDescribeCluster

type ApplicationsInDescribeCluster struct {
	ApplicationInfo []ApplicationInfo `json:"ApplicationInfo" xml:"ApplicationInfo"`
}

ApplicationsInDescribeCluster is a nested struct in ehpc response

type ApplicationsInListSoftwares

type ApplicationsInListSoftwares struct {
	ApplicationInfo []ApplicationInfo `json:"ApplicationInfo" xml:"ApplicationInfo"`
}

ApplicationsInListSoftwares is a nested struct in ehpc response

type BaseOsTag

type BaseOsTag struct {
	Platform     string `json:"Platform" xml:"Platform"`
	OsTag        string `json:"OsTag" xml:"OsTag"`
	Version      string `json:"Version" xml:"Version"`
	Architecture string `json:"Architecture" xml:"Architecture"`
}

BaseOsTag is a nested struct in ehpc response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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) AddNodes

func (client *Client) AddNodes(request *AddNodesRequest) (response *AddNodesResponse, err error)

AddNodes invokes the ehpc.AddNodes API synchronously

func (*Client) AddNodesWithCallback

func (client *Client) AddNodesWithCallback(request *AddNodesRequest, callback func(response *AddNodesResponse, err error)) <-chan int

AddNodesWithCallback invokes the ehpc.AddNodes API asynchronously

func (*Client) AddNodesWithChan

func (client *Client) AddNodesWithChan(request *AddNodesRequest) (<-chan *AddNodesResponse, <-chan error)

AddNodesWithChan invokes the ehpc.AddNodes API asynchronously

func (*Client) AddUsers

func (client *Client) AddUsers(request *AddUsersRequest) (response *AddUsersResponse, err error)

AddUsers invokes the ehpc.AddUsers API synchronously

func (*Client) AddUsersWithCallback

func (client *Client) AddUsersWithCallback(request *AddUsersRequest, callback func(response *AddUsersResponse, err error)) <-chan int

AddUsersWithCallback invokes the ehpc.AddUsers API asynchronously

func (*Client) AddUsersWithChan

func (client *Client) AddUsersWithChan(request *AddUsersRequest) (<-chan *AddUsersResponse, <-chan error)

AddUsersWithChan invokes the ehpc.AddUsers API asynchronously

func (*Client) CreateCluster

func (client *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)

CreateCluster invokes the ehpc.CreateCluster API synchronously

func (*Client) CreateClusterWithCallback

func (client *Client) CreateClusterWithCallback(request *CreateClusterRequest, callback func(response *CreateClusterResponse, err error)) <-chan int

CreateClusterWithCallback invokes the ehpc.CreateCluster API asynchronously

func (*Client) CreateClusterWithChan

func (client *Client) CreateClusterWithChan(request *CreateClusterRequest) (<-chan *CreateClusterResponse, <-chan error)

CreateClusterWithChan invokes the ehpc.CreateCluster API asynchronously

func (*Client) CreateJobTemplate

func (client *Client) CreateJobTemplate(request *CreateJobTemplateRequest) (response *CreateJobTemplateResponse, err error)

CreateJobTemplate invokes the ehpc.CreateJobTemplate API synchronously

func (*Client) CreateJobTemplateWithCallback

func (client *Client) CreateJobTemplateWithCallback(request *CreateJobTemplateRequest, callback func(response *CreateJobTemplateResponse, err error)) <-chan int

CreateJobTemplateWithCallback invokes the ehpc.CreateJobTemplate API asynchronously

func (*Client) CreateJobTemplateWithChan

func (client *Client) CreateJobTemplateWithChan(request *CreateJobTemplateRequest) (<-chan *CreateJobTemplateResponse, <-chan error)

CreateJobTemplateWithChan invokes the ehpc.CreateJobTemplate API asynchronously

func (*Client) DeleteCluster

func (client *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)

DeleteCluster invokes the ehpc.DeleteCluster API synchronously

func (*Client) DeleteClusterWithCallback

func (client *Client) DeleteClusterWithCallback(request *DeleteClusterRequest, callback func(response *DeleteClusterResponse, err error)) <-chan int

DeleteClusterWithCallback invokes the ehpc.DeleteCluster API asynchronously

func (*Client) DeleteClusterWithChan

func (client *Client) DeleteClusterWithChan(request *DeleteClusterRequest) (<-chan *DeleteClusterResponse, <-chan error)

DeleteClusterWithChan invokes the ehpc.DeleteCluster API asynchronously

func (*Client) DeleteJobTemplates

func (client *Client) DeleteJobTemplates(request *DeleteJobTemplatesRequest) (response *DeleteJobTemplatesResponse, err error)

DeleteJobTemplates invokes the ehpc.DeleteJobTemplates API synchronously

func (*Client) DeleteJobTemplatesWithCallback

func (client *Client) DeleteJobTemplatesWithCallback(request *DeleteJobTemplatesRequest, callback func(response *DeleteJobTemplatesResponse, err error)) <-chan int

DeleteJobTemplatesWithCallback invokes the ehpc.DeleteJobTemplates API asynchronously

func (*Client) DeleteJobTemplatesWithChan

func (client *Client) DeleteJobTemplatesWithChan(request *DeleteJobTemplatesRequest) (<-chan *DeleteJobTemplatesResponse, <-chan error)

DeleteJobTemplatesWithChan invokes the ehpc.DeleteJobTemplates API asynchronously

func (*Client) DeleteJobs

func (client *Client) DeleteJobs(request *DeleteJobsRequest) (response *DeleteJobsResponse, err error)

DeleteJobs invokes the ehpc.DeleteJobs API synchronously

func (*Client) DeleteJobsWithCallback

func (client *Client) DeleteJobsWithCallback(request *DeleteJobsRequest, callback func(response *DeleteJobsResponse, err error)) <-chan int

DeleteJobsWithCallback invokes the ehpc.DeleteJobs API asynchronously

func (*Client) DeleteJobsWithChan

func (client *Client) DeleteJobsWithChan(request *DeleteJobsRequest) (<-chan *DeleteJobsResponse, <-chan error)

DeleteJobsWithChan invokes the ehpc.DeleteJobs API asynchronously

func (*Client) DeleteNodes

func (client *Client) DeleteNodes(request *DeleteNodesRequest) (response *DeleteNodesResponse, err error)

DeleteNodes invokes the ehpc.DeleteNodes API synchronously

func (*Client) DeleteNodesWithCallback

func (client *Client) DeleteNodesWithCallback(request *DeleteNodesRequest, callback func(response *DeleteNodesResponse, err error)) <-chan int

DeleteNodesWithCallback invokes the ehpc.DeleteNodes API asynchronously

func (*Client) DeleteNodesWithChan

func (client *Client) DeleteNodesWithChan(request *DeleteNodesRequest) (<-chan *DeleteNodesResponse, <-chan error)

DeleteNodesWithChan invokes the ehpc.DeleteNodes API asynchronously

func (*Client) DeleteUsers

func (client *Client) DeleteUsers(request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)

DeleteUsers invokes the ehpc.DeleteUsers API synchronously

func (*Client) DeleteUsersWithCallback

func (client *Client) DeleteUsersWithCallback(request *DeleteUsersRequest, callback func(response *DeleteUsersResponse, err error)) <-chan int

DeleteUsersWithCallback invokes the ehpc.DeleteUsers API asynchronously

func (*Client) DeleteUsersWithChan

func (client *Client) DeleteUsersWithChan(request *DeleteUsersRequest) (<-chan *DeleteUsersResponse, <-chan error)

DeleteUsersWithChan invokes the ehpc.DeleteUsers API asynchronously

func (*Client) DescribeCluster

func (client *Client) DescribeCluster(request *DescribeClusterRequest) (response *DescribeClusterResponse, err error)

DescribeCluster invokes the ehpc.DescribeCluster API synchronously

func (*Client) DescribeClusterWithCallback

func (client *Client) DescribeClusterWithCallback(request *DescribeClusterRequest, callback func(response *DescribeClusterResponse, err error)) <-chan int

DescribeClusterWithCallback invokes the ehpc.DescribeCluster API asynchronously

func (*Client) DescribeClusterWithChan

func (client *Client) DescribeClusterWithChan(request *DescribeClusterRequest) (<-chan *DescribeClusterResponse, <-chan error)

DescribeClusterWithChan invokes the ehpc.DescribeCluster API asynchronously

func (*Client) EditJobTemplate

func (client *Client) EditJobTemplate(request *EditJobTemplateRequest) (response *EditJobTemplateResponse, err error)

EditJobTemplate invokes the ehpc.EditJobTemplate API synchronously

func (*Client) EditJobTemplateWithCallback

func (client *Client) EditJobTemplateWithCallback(request *EditJobTemplateRequest, callback func(response *EditJobTemplateResponse, err error)) <-chan int

EditJobTemplateWithCallback invokes the ehpc.EditJobTemplate API asynchronously

func (*Client) EditJobTemplateWithChan

func (client *Client) EditJobTemplateWithChan(request *EditJobTemplateRequest) (<-chan *EditJobTemplateResponse, <-chan error)

EditJobTemplateWithChan invokes the ehpc.EditJobTemplate API asynchronously

func (*Client) GetAutoScaleConfig

func (client *Client) GetAutoScaleConfig(request *GetAutoScaleConfigRequest) (response *GetAutoScaleConfigResponse, err error)

GetAutoScaleConfig invokes the ehpc.GetAutoScaleConfig API synchronously

func (*Client) GetAutoScaleConfigWithCallback

func (client *Client) GetAutoScaleConfigWithCallback(request *GetAutoScaleConfigRequest, callback func(response *GetAutoScaleConfigResponse, err error)) <-chan int

GetAutoScaleConfigWithCallback invokes the ehpc.GetAutoScaleConfig API asynchronously

func (*Client) GetAutoScaleConfigWithChan

func (client *Client) GetAutoScaleConfigWithChan(request *GetAutoScaleConfigRequest) (<-chan *GetAutoScaleConfigResponse, <-chan error)

GetAutoScaleConfigWithChan invokes the ehpc.GetAutoScaleConfig API asynchronously

func (*Client) ListClusterLogs

func (client *Client) ListClusterLogs(request *ListClusterLogsRequest) (response *ListClusterLogsResponse, err error)

ListClusterLogs invokes the ehpc.ListClusterLogs API synchronously

func (*Client) ListClusterLogsWithCallback

func (client *Client) ListClusterLogsWithCallback(request *ListClusterLogsRequest, callback func(response *ListClusterLogsResponse, err error)) <-chan int

ListClusterLogsWithCallback invokes the ehpc.ListClusterLogs API asynchronously

func (*Client) ListClusterLogsWithChan

func (client *Client) ListClusterLogsWithChan(request *ListClusterLogsRequest) (<-chan *ListClusterLogsResponse, <-chan error)

ListClusterLogsWithChan invokes the ehpc.ListClusterLogs API asynchronously

func (*Client) ListClusters

func (client *Client) ListClusters(request *ListClustersRequest) (response *ListClustersResponse, err error)

ListClusters invokes the ehpc.ListClusters API synchronously

func (*Client) ListClustersWithCallback

func (client *Client) ListClustersWithCallback(request *ListClustersRequest, callback func(response *ListClustersResponse, err error)) <-chan int

ListClustersWithCallback invokes the ehpc.ListClusters API asynchronously

func (*Client) ListClustersWithChan

func (client *Client) ListClustersWithChan(request *ListClustersRequest) (<-chan *ListClustersResponse, <-chan error)

ListClustersWithChan invokes the ehpc.ListClusters API asynchronously

func (*Client) ListCurrentClientVersion

func (client *Client) ListCurrentClientVersion(request *ListCurrentClientVersionRequest) (response *ListCurrentClientVersionResponse, err error)

ListCurrentClientVersion invokes the ehpc.ListCurrentClientVersion API synchronously

func (*Client) ListCurrentClientVersionWithCallback

func (client *Client) ListCurrentClientVersionWithCallback(request *ListCurrentClientVersionRequest, callback func(response *ListCurrentClientVersionResponse, err error)) <-chan int

ListCurrentClientVersionWithCallback invokes the ehpc.ListCurrentClientVersion API asynchronously

func (*Client) ListCurrentClientVersionWithChan

func (client *Client) ListCurrentClientVersionWithChan(request *ListCurrentClientVersionRequest) (<-chan *ListCurrentClientVersionResponse, <-chan error)

ListCurrentClientVersionWithChan invokes the ehpc.ListCurrentClientVersion API asynchronously

func (*Client) ListCustomImages

func (client *Client) ListCustomImages(request *ListCustomImagesRequest) (response *ListCustomImagesResponse, err error)

ListCustomImages invokes the ehpc.ListCustomImages API synchronously

func (*Client) ListCustomImagesWithCallback

func (client *Client) ListCustomImagesWithCallback(request *ListCustomImagesRequest, callback func(response *ListCustomImagesResponse, err error)) <-chan int

ListCustomImagesWithCallback invokes the ehpc.ListCustomImages API asynchronously

func (*Client) ListCustomImagesWithChan

func (client *Client) ListCustomImagesWithChan(request *ListCustomImagesRequest) (<-chan *ListCustomImagesResponse, <-chan error)

ListCustomImagesWithChan invokes the ehpc.ListCustomImages API asynchronously

func (*Client) ListImages

func (client *Client) ListImages(request *ListImagesRequest) (response *ListImagesResponse, err error)

ListImages invokes the ehpc.ListImages API synchronously

func (*Client) ListImagesWithCallback

func (client *Client) ListImagesWithCallback(request *ListImagesRequest, callback func(response *ListImagesResponse, err error)) <-chan int

ListImagesWithCallback invokes the ehpc.ListImages API asynchronously

func (*Client) ListImagesWithChan

func (client *Client) ListImagesWithChan(request *ListImagesRequest) (<-chan *ListImagesResponse, <-chan error)

ListImagesWithChan invokes the ehpc.ListImages API asynchronously

func (*Client) ListJobTemplates

func (client *Client) ListJobTemplates(request *ListJobTemplatesRequest) (response *ListJobTemplatesResponse, err error)

ListJobTemplates invokes the ehpc.ListJobTemplates API synchronously

func (*Client) ListJobTemplatesWithCallback

func (client *Client) ListJobTemplatesWithCallback(request *ListJobTemplatesRequest, callback func(response *ListJobTemplatesResponse, err error)) <-chan int

ListJobTemplatesWithCallback invokes the ehpc.ListJobTemplates API asynchronously

func (*Client) ListJobTemplatesWithChan

func (client *Client) ListJobTemplatesWithChan(request *ListJobTemplatesRequest) (<-chan *ListJobTemplatesResponse, <-chan error)

ListJobTemplatesWithChan invokes the ehpc.ListJobTemplates API asynchronously

func (*Client) ListJobs

func (client *Client) ListJobs(request *ListJobsRequest) (response *ListJobsResponse, err error)

ListJobs invokes the ehpc.ListJobs API synchronously

func (*Client) ListJobsWithCallback

func (client *Client) ListJobsWithCallback(request *ListJobsRequest, callback func(response *ListJobsResponse, err error)) <-chan int

ListJobsWithCallback invokes the ehpc.ListJobs API asynchronously

func (*Client) ListJobsWithChan

func (client *Client) ListJobsWithChan(request *ListJobsRequest) (<-chan *ListJobsResponse, <-chan error)

ListJobsWithChan invokes the ehpc.ListJobs API asynchronously

func (*Client) ListNodes

func (client *Client) ListNodes(request *ListNodesRequest) (response *ListNodesResponse, err error)

ListNodes invokes the ehpc.ListNodes API synchronously

func (*Client) ListNodesNoPaging

func (client *Client) ListNodesNoPaging(request *ListNodesNoPagingRequest) (response *ListNodesNoPagingResponse, err error)

ListNodesNoPaging invokes the ehpc.ListNodesNoPaging API synchronously

func (*Client) ListNodesNoPagingWithCallback

func (client *Client) ListNodesNoPagingWithCallback(request *ListNodesNoPagingRequest, callback func(response *ListNodesNoPagingResponse, err error)) <-chan int

ListNodesNoPagingWithCallback invokes the ehpc.ListNodesNoPaging API asynchronously

func (*Client) ListNodesNoPagingWithChan

func (client *Client) ListNodesNoPagingWithChan(request *ListNodesNoPagingRequest) (<-chan *ListNodesNoPagingResponse, <-chan error)

ListNodesNoPagingWithChan invokes the ehpc.ListNodesNoPaging API asynchronously

func (*Client) ListNodesWithCallback

func (client *Client) ListNodesWithCallback(request *ListNodesRequest, callback func(response *ListNodesResponse, err error)) <-chan int

ListNodesWithCallback invokes the ehpc.ListNodes API asynchronously

func (*Client) ListNodesWithChan

func (client *Client) ListNodesWithChan(request *ListNodesRequest) (<-chan *ListNodesResponse, <-chan error)

ListNodesWithChan invokes the ehpc.ListNodes API asynchronously

func (*Client) ListPreferredEcsTypes

func (client *Client) ListPreferredEcsTypes(request *ListPreferredEcsTypesRequest) (response *ListPreferredEcsTypesResponse, err error)

ListPreferredEcsTypes invokes the ehpc.ListPreferredEcsTypes API synchronously

func (*Client) ListPreferredEcsTypesWithCallback

func (client *Client) ListPreferredEcsTypesWithCallback(request *ListPreferredEcsTypesRequest, callback func(response *ListPreferredEcsTypesResponse, err error)) <-chan int

ListPreferredEcsTypesWithCallback invokes the ehpc.ListPreferredEcsTypes API asynchronously

func (*Client) ListPreferredEcsTypesWithChan

func (client *Client) ListPreferredEcsTypesWithChan(request *ListPreferredEcsTypesRequest) (<-chan *ListPreferredEcsTypesResponse, <-chan error)

ListPreferredEcsTypesWithChan invokes the ehpc.ListPreferredEcsTypes API asynchronously

func (*Client) ListRegions

func (client *Client) ListRegions(request *ListRegionsRequest) (response *ListRegionsResponse, err error)

ListRegions invokes the ehpc.ListRegions API synchronously

func (*Client) ListRegionsWithCallback

func (client *Client) ListRegionsWithCallback(request *ListRegionsRequest, callback func(response *ListRegionsResponse, err error)) <-chan int

ListRegionsWithCallback invokes the ehpc.ListRegions API asynchronously

func (*Client) ListRegionsWithChan

func (client *Client) ListRegionsWithChan(request *ListRegionsRequest) (<-chan *ListRegionsResponse, <-chan error)

ListRegionsWithChan invokes the ehpc.ListRegions API asynchronously

func (*Client) ListSoftwares

func (client *Client) ListSoftwares(request *ListSoftwaresRequest) (response *ListSoftwaresResponse, err error)

ListSoftwares invokes the ehpc.ListSoftwares API synchronously

func (*Client) ListSoftwaresWithCallback

func (client *Client) ListSoftwaresWithCallback(request *ListSoftwaresRequest, callback func(response *ListSoftwaresResponse, err error)) <-chan int

ListSoftwaresWithCallback invokes the ehpc.ListSoftwares API asynchronously

func (*Client) ListSoftwaresWithChan

func (client *Client) ListSoftwaresWithChan(request *ListSoftwaresRequest) (<-chan *ListSoftwaresResponse, <-chan error)

ListSoftwaresWithChan invokes the ehpc.ListSoftwares API asynchronously

func (*Client) ListUsers

func (client *Client) ListUsers(request *ListUsersRequest) (response *ListUsersResponse, err error)

ListUsers invokes the ehpc.ListUsers API synchronously

func (*Client) ListUsersWithCallback

func (client *Client) ListUsersWithCallback(request *ListUsersRequest, callback func(response *ListUsersResponse, err error)) <-chan int

ListUsersWithCallback invokes the ehpc.ListUsers API asynchronously

func (*Client) ListUsersWithChan

func (client *Client) ListUsersWithChan(request *ListUsersRequest) (<-chan *ListUsersResponse, <-chan error)

ListUsersWithChan invokes the ehpc.ListUsers API asynchronously

func (*Client) ListVolumes

func (client *Client) ListVolumes(request *ListVolumesRequest) (response *ListVolumesResponse, err error)

ListVolumes invokes the ehpc.ListVolumes API synchronously

func (*Client) ListVolumesWithCallback

func (client *Client) ListVolumesWithCallback(request *ListVolumesRequest, callback func(response *ListVolumesResponse, err error)) <-chan int

ListVolumesWithCallback invokes the ehpc.ListVolumes API asynchronously

func (*Client) ListVolumesWithChan

func (client *Client) ListVolumesWithChan(request *ListVolumesRequest) (<-chan *ListVolumesResponse, <-chan error)

ListVolumesWithChan invokes the ehpc.ListVolumes API asynchronously

func (*Client) ModifyClusterAttributes

func (client *Client) ModifyClusterAttributes(request *ModifyClusterAttributesRequest) (response *ModifyClusterAttributesResponse, err error)

ModifyClusterAttributes invokes the ehpc.ModifyClusterAttributes API synchronously

func (*Client) ModifyClusterAttributesWithCallback

func (client *Client) ModifyClusterAttributesWithCallback(request *ModifyClusterAttributesRequest, callback func(response *ModifyClusterAttributesResponse, err error)) <-chan int

ModifyClusterAttributesWithCallback invokes the ehpc.ModifyClusterAttributes API asynchronously

func (*Client) ModifyClusterAttributesWithChan

func (client *Client) ModifyClusterAttributesWithChan(request *ModifyClusterAttributesRequest) (<-chan *ModifyClusterAttributesResponse, <-chan error)

ModifyClusterAttributesWithChan invokes the ehpc.ModifyClusterAttributes API asynchronously

func (*Client) ModifyUserGroups

func (client *Client) ModifyUserGroups(request *ModifyUserGroupsRequest) (response *ModifyUserGroupsResponse, err error)

ModifyUserGroups invokes the ehpc.ModifyUserGroups API synchronously

func (*Client) ModifyUserGroupsWithCallback

func (client *Client) ModifyUserGroupsWithCallback(request *ModifyUserGroupsRequest, callback func(response *ModifyUserGroupsResponse, err error)) <-chan int

ModifyUserGroupsWithCallback invokes the ehpc.ModifyUserGroups API asynchronously

func (*Client) ModifyUserGroupsWithChan

func (client *Client) ModifyUserGroupsWithChan(request *ModifyUserGroupsRequest) (<-chan *ModifyUserGroupsResponse, <-chan error)

ModifyUserGroupsWithChan invokes the ehpc.ModifyUserGroups API asynchronously

func (*Client) ModifyUserPasswords

func (client *Client) ModifyUserPasswords(request *ModifyUserPasswordsRequest) (response *ModifyUserPasswordsResponse, err error)

ModifyUserPasswords invokes the ehpc.ModifyUserPasswords API synchronously

func (*Client) ModifyUserPasswordsWithCallback

func (client *Client) ModifyUserPasswordsWithCallback(request *ModifyUserPasswordsRequest, callback func(response *ModifyUserPasswordsResponse, err error)) <-chan int

ModifyUserPasswordsWithCallback invokes the ehpc.ModifyUserPasswords API asynchronously

func (*Client) ModifyUserPasswordsWithChan

func (client *Client) ModifyUserPasswordsWithChan(request *ModifyUserPasswordsRequest) (<-chan *ModifyUserPasswordsResponse, <-chan error)

ModifyUserPasswordsWithChan invokes the ehpc.ModifyUserPasswords API asynchronously

func (*Client) RerunJobs

func (client *Client) RerunJobs(request *RerunJobsRequest) (response *RerunJobsResponse, err error)

RerunJobs invokes the ehpc.RerunJobs API synchronously

func (*Client) RerunJobsWithCallback

func (client *Client) RerunJobsWithCallback(request *RerunJobsRequest, callback func(response *RerunJobsResponse, err error)) <-chan int

RerunJobsWithCallback invokes the ehpc.RerunJobs API asynchronously

func (*Client) RerunJobsWithChan

func (client *Client) RerunJobsWithChan(request *RerunJobsRequest) (<-chan *RerunJobsResponse, <-chan error)

RerunJobsWithChan invokes the ehpc.RerunJobs API asynchronously

func (*Client) ResetNodes

func (client *Client) ResetNodes(request *ResetNodesRequest) (response *ResetNodesResponse, err error)

ResetNodes invokes the ehpc.ResetNodes API synchronously

func (*Client) ResetNodesWithCallback

func (client *Client) ResetNodesWithCallback(request *ResetNodesRequest, callback func(response *ResetNodesResponse, err error)) <-chan int

ResetNodesWithCallback invokes the ehpc.ResetNodes API asynchronously

func (*Client) ResetNodesWithChan

func (client *Client) ResetNodesWithChan(request *ResetNodesRequest) (<-chan *ResetNodesResponse, <-chan error)

ResetNodesWithChan invokes the ehpc.ResetNodes API asynchronously

func (*Client) SetAutoScaleConfig

func (client *Client) SetAutoScaleConfig(request *SetAutoScaleConfigRequest) (response *SetAutoScaleConfigResponse, err error)

SetAutoScaleConfig invokes the ehpc.SetAutoScaleConfig API synchronously

func (*Client) SetAutoScaleConfigWithCallback

func (client *Client) SetAutoScaleConfigWithCallback(request *SetAutoScaleConfigRequest, callback func(response *SetAutoScaleConfigResponse, err error)) <-chan int

SetAutoScaleConfigWithCallback invokes the ehpc.SetAutoScaleConfig API asynchronously

func (*Client) SetAutoScaleConfigWithChan

func (client *Client) SetAutoScaleConfigWithChan(request *SetAutoScaleConfigRequest) (<-chan *SetAutoScaleConfigResponse, <-chan error)

SetAutoScaleConfigWithChan invokes the ehpc.SetAutoScaleConfig API asynchronously

func (*Client) SetJobUser

func (client *Client) SetJobUser(request *SetJobUserRequest) (response *SetJobUserResponse, err error)

SetJobUser invokes the ehpc.SetJobUser API synchronously

func (*Client) SetJobUserWithCallback

func (client *Client) SetJobUserWithCallback(request *SetJobUserRequest, callback func(response *SetJobUserResponse, err error)) <-chan int

SetJobUserWithCallback invokes the ehpc.SetJobUser API asynchronously

func (*Client) SetJobUserWithChan

func (client *Client) SetJobUserWithChan(request *SetJobUserRequest) (<-chan *SetJobUserResponse, <-chan error)

SetJobUserWithChan invokes the ehpc.SetJobUser API asynchronously

func (*Client) StopJobs

func (client *Client) StopJobs(request *StopJobsRequest) (response *StopJobsResponse, err error)

StopJobs invokes the ehpc.StopJobs API synchronously

func (*Client) StopJobsWithCallback

func (client *Client) StopJobsWithCallback(request *StopJobsRequest, callback func(response *StopJobsResponse, err error)) <-chan int

StopJobsWithCallback invokes the ehpc.StopJobs API asynchronously

func (*Client) StopJobsWithChan

func (client *Client) StopJobsWithChan(request *StopJobsRequest) (<-chan *StopJobsResponse, <-chan error)

StopJobsWithChan invokes the ehpc.StopJobs API asynchronously

func (*Client) SubmitJob

func (client *Client) SubmitJob(request *SubmitJobRequest) (response *SubmitJobResponse, err error)

SubmitJob invokes the ehpc.SubmitJob API synchronously

func (*Client) SubmitJobWithCallback

func (client *Client) SubmitJobWithCallback(request *SubmitJobRequest, callback func(response *SubmitJobResponse, err error)) <-chan int

SubmitJobWithCallback invokes the ehpc.SubmitJob API asynchronously

func (*Client) SubmitJobWithChan

func (client *Client) SubmitJobWithChan(request *SubmitJobRequest) (<-chan *SubmitJobResponse, <-chan error)

SubmitJobWithChan invokes the ehpc.SubmitJob API asynchronously

func (*Client) UpgradeClient

func (client *Client) UpgradeClient(request *UpgradeClientRequest) (response *UpgradeClientResponse, err error)

UpgradeClient invokes the ehpc.UpgradeClient API synchronously

func (*Client) UpgradeClientWithCallback

func (client *Client) UpgradeClientWithCallback(request *UpgradeClientRequest, callback func(response *UpgradeClientResponse, err error)) <-chan int

UpgradeClientWithCallback invokes the ehpc.UpgradeClient API asynchronously

func (*Client) UpgradeClientWithChan

func (client *Client) UpgradeClientWithChan(request *UpgradeClientRequest) (<-chan *UpgradeClientResponse, <-chan error)

UpgradeClientWithChan invokes the ehpc.UpgradeClient API asynchronously

type ClusterInfo

type ClusterInfo struct {
	Status           string                        `json:"Status" xml:"Status"`
	SchedulerType    string                        `json:"SchedulerType" xml:"SchedulerType"`
	KeyPairName      string                        `json:"KeyPairName" xml:"KeyPairName"`
	EcsChargeType    string                        `json:"EcsChargeType" xml:"EcsChargeType"`
	SccClusterId     string                        `json:"SccClusterId" xml:"SccClusterId"`
	SecurityGroupId  string                        `json:"SecurityGroupId" xml:"SecurityGroupId"`
	CreateTime       string                        `json:"CreateTime" xml:"CreateTime"`
	ImageOwnerAlias  string                        `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
	RemoteDirectory  string                        `json:"RemoteDirectory" xml:"RemoteDirectory"`
	VolumeMountpoint string                        `json:"VolumeMountpoint" xml:"VolumeMountpoint"`
	OsTag            string                        `json:"OsTag" xml:"OsTag"`
	AccountType      string                        `json:"AccountType" xml:"AccountType"`
	VolumeProtocol   string                        `json:"VolumeProtocol" xml:"VolumeProtocol"`
	RegionId         string                        `json:"RegionId" xml:"RegionId"`
	VSwitchId        string                        `json:"VSwitchId" xml:"VSwitchId"`
	Description      string                        `json:"Description" xml:"Description"`
	VolumeId         string                        `json:"VolumeId" xml:"VolumeId"`
	HaEnable         bool                          `json:"HaEnable" xml:"HaEnable"`
	Name             string                        `json:"Name" xml:"Name"`
	ImageId          string                        `json:"ImageId" xml:"ImageId"`
	VolumeType       string                        `json:"VolumeType" xml:"VolumeType"`
	Id               string                        `json:"Id" xml:"Id"`
	ClientVersion    string                        `json:"ClientVersion" xml:"ClientVersion"`
	EcsInfo          EcsInfo                       `json:"EcsInfo" xml:"EcsInfo"`
	Applications     ApplicationsInDescribeCluster `json:"Applications" xml:"Applications"`
}

ClusterInfo is a nested struct in ehpc response

type ClusterInfoSimple

type ClusterInfoSimple struct {
	Status          string         `json:"Status" xml:"Status"`
	SchedulerType   string         `json:"SchedulerType" xml:"SchedulerType"`
	CreateTime      string         `json:"CreateTime" xml:"CreateTime"`
	ImageOwnerAlias string         `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
	OsTag           string         `json:"OsTag" xml:"OsTag"`
	InstanceType    string         `json:"InstanceType" xml:"InstanceType"`
	AccountType     string         `json:"AccountType" xml:"AccountType"`
	Count           int            `json:"Count" xml:"Count"`
	RegionId        string         `json:"RegionId" xml:"RegionId"`
	Description     string         `json:"Description" xml:"Description"`
	ZoneId          string         `json:"ZoneId" xml:"ZoneId"`
	LoginNodes      string         `json:"LoginNodes" xml:"LoginNodes"`
	Name            string         `json:"Name" xml:"Name"`
	ImageId         string         `json:"ImageId" xml:"ImageId"`
	Id              string         `json:"Id" xml:"Id"`
	Managers        Managers       `json:"Managers" xml:"Managers"`
	Computes        Computes       `json:"Computes" xml:"Computes"`
	TotalResources  TotalResources `json:"TotalResources" xml:"TotalResources"`
	UsedResources   UsedResources  `json:"UsedResources" xml:"UsedResources"`
}

ClusterInfoSimple is a nested struct in ehpc response

type Clusters added in v1.61.1770

type Clusters struct {
	ClusterInfoSimple []ClusterInfoSimple `json:"ClusterInfoSimple" xml:"ClusterInfoSimple"`
}

Clusters is a nested struct in ehpc response

type Compute

type Compute struct {
	Count        int    `json:"Count" xml:"Count"`
	InstanceType string `json:"InstanceType" xml:"InstanceType"`
}

Compute is a nested struct in ehpc response

type ComputeInListPreferredEcsTypes

type ComputeInListPreferredEcsTypes struct {
	InstanceTypeId []string `json:"InstanceTypeId" xml:"InstanceTypeId"`
}

ComputeInListPreferredEcsTypes is a nested struct in ehpc response

type Computes

type Computes struct {
	ExceptionCount int `json:"ExceptionCount" xml:"ExceptionCount"`
	Total          int `json:"Total" xml:"Total"`
	NormalCount    int `json:"NormalCount" xml:"NormalCount"`
}

Computes is a nested struct in ehpc response

type CreateClusterApplication

type CreateClusterApplication struct {
	Tag string `name:"Tag"`
}

CreateClusterApplication is a repeated param struct in CreateClusterRequest

type CreateClusterRequest

type CreateClusterRequest struct {
	*requests.RpcRequest
	SccClusterId                string                      `position:"Query" name:"SccClusterId"`
	ImageId                     string                      `position:"Query" name:"ImageId"`
	EcsOrderManagerInstanceType string                      `position:"Query" name:"EcsOrder.Manager.InstanceType"`
	EhpcVersion                 string                      `position:"Query" name:"EhpcVersion"`
	AccountType                 string                      `position:"Query" name:"AccountType"`
	SecurityGroupId             string                      `position:"Query" name:"SecurityGroupId"`
	Description                 string                      `position:"Query" name:"Description"`
	KeyPairName                 string                      `position:"Query" name:"KeyPairName"`
	SecurityGroupName           string                      `position:"Query" name:"SecurityGroupName"`
	EcsOrderComputeInstanceType string                      `position:"Query" name:"EcsOrder.Compute.InstanceType"`
	ImageOwnerAlias             string                      `position:"Query" name:"ImageOwnerAlias"`
	VolumeType                  string                      `position:"Query" name:"VolumeType"`
	EcsOrderManagerCount        requests.Integer            `position:"Query" name:"EcsOrder.Manager.Count"`
	Password                    string                      `position:"Query" name:"Password"`
	EcsOrderLoginCount          requests.Integer            `position:"Query" name:"EcsOrder.Login.Count"`
	ComputeSpotPriceLimit       string                      `position:"Query" name:"ComputeSpotPriceLimit"`
	VolumeProtocol              string                      `position:"Query" name:"VolumeProtocol"`
	OsTag                       string                      `position:"Query" name:"OsTag"`
	RemoteDirectory             string                      `position:"Query" name:"RemoteDirectory"`
	EcsOrderComputeCount        requests.Integer            `position:"Query" name:"EcsOrder.Compute.Count"`
	ComputeSpotStrategy         string                      `position:"Query" name:"ComputeSpotStrategy"`
	VSwitchId                   string                      `position:"Query" name:"VSwitchId"`
	Application                 *[]CreateClusterApplication `position:"Query" name:"Application"  type:"Repeated"`
	EcsChargeType               string                      `position:"Query" name:"EcsChargeType"`
	VpcId                       string                      `position:"Query" name:"VpcId"`
	HaEnable                    requests.Boolean            `position:"Query" name:"HaEnable"`
	Name                        string                      `position:"Query" name:"Name"`
	SchedulerType               string                      `position:"Query" name:"SchedulerType"`
	VolumeId                    string                      `position:"Query" name:"VolumeId"`
	VolumeMountpoint            string                      `position:"Query" name:"VolumeMountpoint"`
	EcsOrderLoginInstanceType   string                      `position:"Query" name:"EcsOrder.Login.InstanceType"`
	ZoneId                      string                      `position:"Query" name:"ZoneId"`
}

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
	ClusterId string `json:"ClusterId" xml:"ClusterId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateClusterResponse is the response struct for api CreateCluster

func CreateCreateClusterResponse

func CreateCreateClusterResponse() (response *CreateClusterResponse)

CreateCreateClusterResponse creates a response to parse from CreateCluster response

type CreateJobTemplateRequest

type CreateJobTemplateRequest struct {
	*requests.RpcRequest
	StderrRedirectPath string           `position:"Query" name:"StderrRedirectPath"`
	CommandLine        string           `position:"Query" name:"CommandLine"`
	ArrayRequest       string           `position:"Query" name:"ArrayRequest"`
	PackagePath        string           `position:"Query" name:"PackagePath"`
	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
	Variables          string           `position:"Query" name:"Variables"`
	RunasUser          string           `position:"Query" name:"RunasUser"`
	ReRunable          requests.Boolean `position:"Query" name:"ReRunable"`
	Priority           requests.Integer `position:"Query" name:"Priority"`
	Name               string           `position:"Query" name:"Name"`
}

CreateJobTemplateRequest is the request struct for api CreateJobTemplate

func CreateCreateJobTemplateRequest

func CreateCreateJobTemplateRequest() (request *CreateJobTemplateRequest)

CreateCreateJobTemplateRequest creates a request to invoke CreateJobTemplate API

type CreateJobTemplateResponse

type CreateJobTemplateResponse struct {
	*responses.BaseResponse
	TemplateId string `json:"TemplateId" xml:"TemplateId"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
}

CreateJobTemplateResponse is the response struct for api CreateJobTemplate

func CreateCreateJobTemplateResponse

func CreateCreateJobTemplateResponse() (response *CreateJobTemplateResponse)

CreateCreateJobTemplateResponse creates a response to parse from CreateJobTemplate response

type DeleteClusterRequest

type DeleteClusterRequest struct {
	*requests.RpcRequest
	ClusterId       string `position:"Query" name:"ClusterId"`
	ReleaseInstance string `position:"Query" name:"ReleaseInstance"`
}

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 DeleteJobTemplatesRequest

type DeleteJobTemplatesRequest struct {
	*requests.RpcRequest
	Templates string `position:"Query" name:"Templates"`
}

DeleteJobTemplatesRequest is the request struct for api DeleteJobTemplates

func CreateDeleteJobTemplatesRequest

func CreateDeleteJobTemplatesRequest() (request *DeleteJobTemplatesRequest)

CreateDeleteJobTemplatesRequest creates a request to invoke DeleteJobTemplates API

type DeleteJobTemplatesResponse

type DeleteJobTemplatesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteJobTemplatesResponse is the response struct for api DeleteJobTemplates

func CreateDeleteJobTemplatesResponse

func CreateDeleteJobTemplatesResponse() (response *DeleteJobTemplatesResponse)

CreateDeleteJobTemplatesResponse creates a response to parse from DeleteJobTemplates response

type DeleteJobsRequest

type DeleteJobsRequest struct {
	*requests.RpcRequest
	Jobs      string `position:"Query" name:"Jobs"`
	ClusterId string `position:"Query" name:"ClusterId"`
}

DeleteJobsRequest is the request struct for api DeleteJobs

func CreateDeleteJobsRequest

func CreateDeleteJobsRequest() (request *DeleteJobsRequest)

CreateDeleteJobsRequest creates a request to invoke DeleteJobs API

type DeleteJobsResponse

type DeleteJobsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteJobsResponse is the response struct for api DeleteJobs

func CreateDeleteJobsResponse

func CreateDeleteJobsResponse() (response *DeleteJobsResponse)

CreateDeleteJobsResponse creates a response to parse from DeleteJobs response

type DeleteNodesInstance

type DeleteNodesInstance struct {
	Id string `name:"Id"`
}

DeleteNodesInstance is a repeated param struct in DeleteNodesRequest

type DeleteNodesRequest

type DeleteNodesRequest struct {
	*requests.RpcRequest
	Instance        *[]DeleteNodesInstance `position:"Query" name:"Instance"  type:"Repeated"`
	ClusterId       string                 `position:"Query" name:"ClusterId"`
	ReleaseInstance requests.Boolean       `position:"Query" name:"ReleaseInstance"`
}

DeleteNodesRequest is the request struct for api DeleteNodes

func CreateDeleteNodesRequest

func CreateDeleteNodesRequest() (request *DeleteNodesRequest)

CreateDeleteNodesRequest creates a request to invoke DeleteNodes API

type DeleteNodesResponse

type DeleteNodesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteNodesResponse is the response struct for api DeleteNodes

func CreateDeleteNodesResponse

func CreateDeleteNodesResponse() (response *DeleteNodesResponse)

CreateDeleteNodesResponse creates a response to parse from DeleteNodes response

type DeleteUsersRequest

type DeleteUsersRequest struct {
	*requests.RpcRequest
	ClusterId string             `position:"Query" name:"ClusterId"`
	User      *[]DeleteUsersUser `position:"Query" name:"User"  type:"Repeated"`
}

DeleteUsersRequest is the request struct for api DeleteUsers

func CreateDeleteUsersRequest

func CreateDeleteUsersRequest() (request *DeleteUsersRequest)

CreateDeleteUsersRequest creates a request to invoke DeleteUsers API

type DeleteUsersResponse

type DeleteUsersResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteUsersResponse is the response struct for api DeleteUsers

func CreateDeleteUsersResponse

func CreateDeleteUsersResponse() (response *DeleteUsersResponse)

CreateDeleteUsersResponse creates a response to parse from DeleteUsers response

type DeleteUsersUser

type DeleteUsersUser struct {
	Name string `name:"Name"`
}

DeleteUsersUser is a repeated param struct in DeleteUsersRequest

type DescribeClusterRequest

type DescribeClusterRequest struct {
	*requests.RpcRequest
	ClusterId string `position:"Query" 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"`
	ClusterInfo ClusterInfo `json:"ClusterInfo" xml:"ClusterInfo"`
}

DescribeClusterResponse is the response struct for api DescribeCluster

func CreateDescribeClusterResponse

func CreateDescribeClusterResponse() (response *DescribeClusterResponse)

CreateDescribeClusterResponse creates a response to parse from DescribeCluster response

type EcsInfo

type EcsInfo struct {
	Manager Manager `json:"Manager" xml:"Manager"`
	Compute Compute `json:"Compute" xml:"Compute"`
	Login   Login   `json:"Login" xml:"Login"`
}

EcsInfo is a nested struct in ehpc response

type EditJobTemplateRequest

type EditJobTemplateRequest struct {
	*requests.RpcRequest
	StderrRedirectPath string           `position:"Query" name:"StderrRedirectPath"`
	CommandLine        string           `position:"Query" name:"CommandLine"`
	ArrayRequest       string           `position:"Query" name:"ArrayRequest"`
	PackagePath        string           `position:"Query" name:"PackagePath"`
	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
	Variables          string           `position:"Query" name:"Variables"`
	RunasUser          string           `position:"Query" name:"RunasUser"`
	ReRunable          requests.Boolean `position:"Query" name:"ReRunable"`
	TemplateId         string           `position:"Query" name:"TemplateId"`
	Priority           requests.Integer `position:"Query" name:"Priority"`
	Name               string           `position:"Query" name:"Name"`
}

EditJobTemplateRequest is the request struct for api EditJobTemplate

func CreateEditJobTemplateRequest

func CreateEditJobTemplateRequest() (request *EditJobTemplateRequest)

CreateEditJobTemplateRequest creates a request to invoke EditJobTemplate API

type EditJobTemplateResponse

type EditJobTemplateResponse struct {
	*responses.BaseResponse
	TemplateId string `json:"TemplateId" xml:"TemplateId"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
}

EditJobTemplateResponse is the response struct for api EditJobTemplate

func CreateEditJobTemplateResponse

func CreateEditJobTemplateResponse() (response *EditJobTemplateResponse)

CreateEditJobTemplateResponse creates a response to parse from EditJobTemplate response

type GetAutoScaleConfigRequest

type GetAutoScaleConfigRequest struct {
	*requests.RpcRequest
	ClusterId string `position:"Query" name:"ClusterId"`
}

GetAutoScaleConfigRequest is the request struct for api GetAutoScaleConfig

func CreateGetAutoScaleConfigRequest

func CreateGetAutoScaleConfigRequest() (request *GetAutoScaleConfigRequest)

CreateGetAutoScaleConfigRequest creates a request to invoke GetAutoScaleConfig API

type GetAutoScaleConfigResponse

type GetAutoScaleConfigResponse struct {
	*responses.BaseResponse
	MaxNodesInCluster       int    `json:"MaxNodesInCluster" xml:"MaxNodesInCluster"`
	GrowTimeoutInMinutes    int    `json:"GrowTimeoutInMinutes" xml:"GrowTimeoutInMinutes"`
	RequestId               string `json:"RequestId" xml:"RequestId"`
	EnableAutoShrink        bool   `json:"EnableAutoShrink" xml:"EnableAutoShrink"`
	ClusterType             string `json:"ClusterType" xml:"ClusterType"`
	EnableAutoGrow          bool   `json:"EnableAutoGrow" xml:"EnableAutoGrow"`
	ExcludeNodes            string `json:"ExcludeNodes" xml:"ExcludeNodes"`
	GrowIntervalInMinutes   int    `json:"GrowIntervalInMinutes" xml:"GrowIntervalInMinutes"`
	ShrinkIntervalInMinutes int    `json:"ShrinkIntervalInMinutes" xml:"ShrinkIntervalInMinutes"`
	ShrinkIdleTimes         int    `json:"ShrinkIdleTimes" xml:"ShrinkIdleTimes"`
	ExtraNodesGrowRatio     int    `json:"ExtraNodesGrowRatio" xml:"ExtraNodesGrowRatio"`
	GrowRatio               int    `json:"GrowRatio" xml:"GrowRatio"`
	Uid                     string `json:"Uid" xml:"Uid"`
	ClusterId               string `json:"ClusterId" xml:"ClusterId"`
}

GetAutoScaleConfigResponse is the response struct for api GetAutoScaleConfig

func CreateGetAutoScaleConfigResponse

func CreateGetAutoScaleConfigResponse() (response *GetAutoScaleConfigResponse)

CreateGetAutoScaleConfigResponse creates a response to parse from GetAutoScaleConfig response

type ImageInfo

type ImageInfo struct {
	ImageName       string    `json:"ImageName" xml:"ImageName"`
	ImageOwnerAlias string    `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
	Description     string    `json:"Description" xml:"Description"`
	ImageId         string    `json:"ImageId" xml:"ImageId"`
	BaseOsTag       BaseOsTag `json:"BaseOsTag" xml:"BaseOsTag"`
}

ImageInfo is a nested struct in ehpc response

type Images added in v1.61.1770

type Images struct {
	ImageInfo []ImageInfo `json:"ImageInfo" xml:"ImageInfo"`
}

Images is a nested struct in ehpc response

type InstanceIds added in v1.61.1770

type InstanceIds struct {
	InstanceId []string `json:"InstanceId" xml:"InstanceId"`
}

InstanceIds is a nested struct in ehpc response

type JobInfo

type JobInfo struct {
	Owner          string    `json:"Owner" xml:"Owner"`
	Comment        string    `json:"Comment" xml:"Comment"`
	State          string    `json:"State" xml:"State"`
	Stderr         string    `json:"Stderr" xml:"Stderr"`
	Priority       int       `json:"Priority" xml:"Priority"`
	ShellPath      string    `json:"ShellPath" xml:"ShellPath"`
	Stdout         string    `json:"Stdout" xml:"Stdout"`
	ArrayRequest   string    `json:"ArrayRequest" xml:"ArrayRequest"`
	StartTime      string    `json:"StartTime" xml:"StartTime"`
	LastModifyTime string    `json:"LastModifyTime" xml:"LastModifyTime"`
	Name           string    `json:"Name" xml:"Name"`
	Id             string    `json:"Id" xml:"Id"`
	SubmitTime     string    `json:"SubmitTime" xml:"SubmitTime"`
	Resources      Resources `json:"Resources" xml:"Resources"`
}

JobInfo is a nested struct in ehpc response

type JobTemplates

type JobTemplates struct {
	StdoutRedirectPath string `json:"StdoutRedirectPath" xml:"StdoutRedirectPath"`
	Variables          string `json:"Variables" xml:"Variables"`
	CommandLine        string `json:"CommandLine" xml:"CommandLine"`
	PackagePath        string `json:"PackagePath" xml:"PackagePath"`
	Priority           int    `json:"Priority" xml:"Priority"`
	ReRunable          bool   `json:"ReRunable" xml:"ReRunable"`
	Name               string `json:"Name" xml:"Name"`
	ArrayRequest       string `json:"ArrayRequest" xml:"ArrayRequest"`
	Id                 string `json:"Id" xml:"Id"`
	StderrRedirectPath string `json:"StderrRedirectPath" xml:"StderrRedirectPath"`
	RunasUser          string `json:"RunasUser" xml:"RunasUser"`
}

JobTemplates is a nested struct in ehpc response

type Jobs

type Jobs struct {
	JobInfo []JobInfo `json:"JobInfo" xml:"JobInfo"`
}

Jobs is a nested struct in ehpc response

type ListClusterLogsRequest

type ListClusterLogsRequest struct {
	*requests.RpcRequest
	ClusterId  string           `position:"Query" name:"ClusterId"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListClusterLogsRequest is the request struct for api ListClusterLogs

func CreateListClusterLogsRequest

func CreateListClusterLogsRequest() (request *ListClusterLogsRequest)

CreateListClusterLogsRequest creates a request to invoke ListClusterLogs API

type ListClusterLogsResponse

type ListClusterLogsResponse struct {
	*responses.BaseResponse
	PageSize   int    `json:"PageSize" xml:"PageSize"`
	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
	ClusterId  string `json:"ClusterId" xml:"ClusterId"`
	Logs       Logs   `json:"Logs" xml:"Logs"`
}

ListClusterLogsResponse is the response struct for api ListClusterLogs

func CreateListClusterLogsResponse

func CreateListClusterLogsResponse() (response *ListClusterLogsResponse)

CreateListClusterLogsResponse creates a response to parse from ListClusterLogs response

type ListClustersRequest

type ListClustersRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

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
	PageSize   int      `json:"PageSize" xml:"PageSize"`
	RequestId  string   `json:"RequestId" xml:"RequestId"`
	PageNumber int      `json:"PageNumber" xml:"PageNumber"`
	TotalCount int      `json:"TotalCount" xml:"TotalCount"`
	Clusters   Clusters `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 ListCurrentClientVersionRequest

type ListCurrentClientVersionRequest struct {
	*requests.RpcRequest
}

ListCurrentClientVersionRequest is the request struct for api ListCurrentClientVersion

func CreateListCurrentClientVersionRequest

func CreateListCurrentClientVersionRequest() (request *ListCurrentClientVersionRequest)

CreateListCurrentClientVersionRequest creates a request to invoke ListCurrentClientVersion API

type ListCurrentClientVersionResponse

type ListCurrentClientVersionResponse struct {
	*responses.BaseResponse
	ClientVersion string `json:"ClientVersion" xml:"ClientVersion"`
	RequestId     string `json:"RequestId" xml:"RequestId"`
}

ListCurrentClientVersionResponse is the response struct for api ListCurrentClientVersion

func CreateListCurrentClientVersionResponse

func CreateListCurrentClientVersionResponse() (response *ListCurrentClientVersionResponse)

CreateListCurrentClientVersionResponse creates a response to parse from ListCurrentClientVersion response

type ListCustomImagesRequest

type ListCustomImagesRequest struct {
	*requests.RpcRequest
	ImageOwnerAlias string `position:"Query" name:"ImageOwnerAlias"`
	BaseOsTag       string `position:"Query" name:"BaseOsTag"`
}

ListCustomImagesRequest is the request struct for api ListCustomImages

func CreateListCustomImagesRequest

func CreateListCustomImagesRequest() (request *ListCustomImagesRequest)

CreateListCustomImagesRequest creates a request to invoke ListCustomImages API

type ListCustomImagesResponse

type ListCustomImagesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Images    Images `json:"Images" xml:"Images"`
}

ListCustomImagesResponse is the response struct for api ListCustomImages

func CreateListCustomImagesResponse

func CreateListCustomImagesResponse() (response *ListCustomImagesResponse)

CreateListCustomImagesResponse creates a response to parse from ListCustomImages response

type ListImagesRequest

type ListImagesRequest struct {
	*requests.RpcRequest
}

ListImagesRequest is the request struct for api ListImages

func CreateListImagesRequest

func CreateListImagesRequest() (request *ListImagesRequest)

CreateListImagesRequest creates a request to invoke ListImages API

type ListImagesResponse

type ListImagesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	OsTags    OsTags `json:"OsTags" xml:"OsTags"`
}

ListImagesResponse is the response struct for api ListImages

func CreateListImagesResponse

func CreateListImagesResponse() (response *ListImagesResponse)

CreateListImagesResponse creates a response to parse from ListImages response

type ListJobTemplatesRequest

type ListJobTemplatesRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	Name       string           `position:"Query" name:"Name"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListJobTemplatesRequest is the request struct for api ListJobTemplates

func CreateListJobTemplatesRequest

func CreateListJobTemplatesRequest() (request *ListJobTemplatesRequest)

CreateListJobTemplatesRequest creates a request to invoke ListJobTemplates API

type ListJobTemplatesResponse

type ListJobTemplatesResponse struct {
	*responses.BaseResponse
	PageSize   int       `json:"PageSize" xml:"PageSize"`
	RequestId  string    `json:"RequestId" xml:"RequestId"`
	PageNumber int       `json:"PageNumber" xml:"PageNumber"`
	TotalCount int       `json:"TotalCount" xml:"TotalCount"`
	Templates  Templates `json:"Templates" xml:"Templates"`
}

ListJobTemplatesResponse is the response struct for api ListJobTemplates

func CreateListJobTemplatesResponse

func CreateListJobTemplatesResponse() (response *ListJobTemplatesResponse)

CreateListJobTemplatesResponse creates a response to parse from ListJobTemplates response

type ListJobsRequest

type ListJobsRequest struct {
	*requests.RpcRequest
	Owner      string           `position:"Query" name:"Owner"`
	ClusterId  string           `position:"Query" name:"ClusterId"`
	Rerunable  string           `position:"Query" name:"Rerunable"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
	State      string           `position:"Query" name:"State"`
}

ListJobsRequest is the request struct for api ListJobs

func CreateListJobsRequest

func CreateListJobsRequest() (request *ListJobsRequest)

CreateListJobsRequest creates a request to invoke ListJobs API

type ListJobsResponse

type ListJobsResponse struct {
	*responses.BaseResponse
	PageSize   int    `json:"PageSize" xml:"PageSize"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
	Jobs       Jobs   `json:"Jobs" xml:"Jobs"`
}

ListJobsResponse is the response struct for api ListJobs

func CreateListJobsResponse

func CreateListJobsResponse() (response *ListJobsResponse)

CreateListJobsResponse creates a response to parse from ListJobs response

type ListNodesNoPagingRequest

type ListNodesNoPagingRequest struct {
	*requests.RpcRequest
	Role         string           `position:"Query" name:"Role"`
	ClusterId    string           `position:"Query" name:"ClusterId"`
	HostName     string           `position:"Query" name:"HostName"`
	OnlyDetached requests.Boolean `position:"Query" name:"OnlyDetached"`
}

ListNodesNoPagingRequest is the request struct for api ListNodesNoPaging

func CreateListNodesNoPagingRequest

func CreateListNodesNoPagingRequest() (request *ListNodesNoPagingRequest)

CreateListNodesNoPagingRequest creates a request to invoke ListNodesNoPaging API

type ListNodesNoPagingResponse

type ListNodesNoPagingResponse struct {
	*responses.BaseResponse
	PageSize   int                      `json:"PageSize" xml:"PageSize"`
	RequestId  string                   `json:"RequestId" xml:"RequestId"`
	PageNumber int                      `json:"PageNumber" xml:"PageNumber"`
	TotalCount int                      `json:"TotalCount" xml:"TotalCount"`
	Nodes      NodesInListNodesNoPaging `json:"Nodes" xml:"Nodes"`
}

ListNodesNoPagingResponse is the response struct for api ListNodesNoPaging

func CreateListNodesNoPagingResponse

func CreateListNodesNoPagingResponse() (response *ListNodesNoPagingResponse)

CreateListNodesNoPagingResponse creates a response to parse from ListNodesNoPaging response

type ListNodesRequest

type ListNodesRequest struct {
	*requests.RpcRequest
	Role       string           `position:"Query" name:"Role"`
	ClusterId  string           `position:"Query" name:"ClusterId"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	HostName   string           `position:"Query" name:"HostName"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListNodesRequest is the request struct for api ListNodes

func CreateListNodesRequest

func CreateListNodesRequest() (request *ListNodesRequest)

CreateListNodesRequest creates a request to invoke ListNodes API

type ListNodesResponse

type ListNodesResponse struct {
	*responses.BaseResponse
	PageSize   int              `json:"PageSize" xml:"PageSize"`
	RequestId  string           `json:"RequestId" xml:"RequestId"`
	PageNumber int              `json:"PageNumber" xml:"PageNumber"`
	TotalCount int              `json:"TotalCount" xml:"TotalCount"`
	Nodes      NodesInListNodes `json:"Nodes" xml:"Nodes"`
}

ListNodesResponse is the response struct for api ListNodes

func CreateListNodesResponse

func CreateListNodesResponse() (response *ListNodesResponse)

CreateListNodesResponse creates a response to parse from ListNodes response

type ListPreferredEcsTypesRequest

type ListPreferredEcsTypesRequest struct {
	*requests.RpcRequest
	SpotStrategy string `position:"Query" name:"SpotStrategy"`
	ZoneId       string `position:"Query" name:"ZoneId"`
}

ListPreferredEcsTypesRequest is the request struct for api ListPreferredEcsTypes

func CreateListPreferredEcsTypesRequest

func CreateListPreferredEcsTypesRequest() (request *ListPreferredEcsTypesRequest)

CreateListPreferredEcsTypesRequest creates a request to invoke ListPreferredEcsTypes API

type ListPreferredEcsTypesResponse

type ListPreferredEcsTypesResponse struct {
	*responses.BaseResponse
	SupportSpotInstance bool   `json:"SupportSpotInstance" xml:"SupportSpotInstance"`
	RequestId           string `json:"RequestId" xml:"RequestId"`
	Series              Series `json:"Series" xml:"Series"`
}

ListPreferredEcsTypesResponse is the response struct for api ListPreferredEcsTypes

func CreateListPreferredEcsTypesResponse

func CreateListPreferredEcsTypesResponse() (response *ListPreferredEcsTypesResponse)

CreateListPreferredEcsTypesResponse creates a response to parse from ListPreferredEcsTypes response

type ListRegionsRequest

type ListRegionsRequest struct {
	*requests.RpcRequest
}

ListRegionsRequest is the request struct for api ListRegions

func CreateListRegionsRequest

func CreateListRegionsRequest() (request *ListRegionsRequest)

CreateListRegionsRequest creates a request to invoke ListRegions API

type ListRegionsResponse

type ListRegionsResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	Regions   Regions `json:"Regions" xml:"Regions"`
}

ListRegionsResponse is the response struct for api ListRegions

func CreateListRegionsResponse

func CreateListRegionsResponse() (response *ListRegionsResponse)

CreateListRegionsResponse creates a response to parse from ListRegions response

type ListSoftwaresRequest

type ListSoftwaresRequest struct {
	*requests.RpcRequest
	EhpcVersion string `position:"Query" name:"EhpcVersion"`
}

ListSoftwaresRequest is the request struct for api ListSoftwares

func CreateListSoftwaresRequest

func CreateListSoftwaresRequest() (request *ListSoftwaresRequest)

CreateListSoftwaresRequest creates a request to invoke ListSoftwares API

type ListSoftwaresResponse

type ListSoftwaresResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	Softwares Softwares `json:"Softwares" xml:"Softwares"`
}

ListSoftwaresResponse is the response struct for api ListSoftwares

func CreateListSoftwaresResponse

func CreateListSoftwaresResponse() (response *ListSoftwaresResponse)

CreateListSoftwaresResponse creates a response to parse from ListSoftwares response

type ListUsersRequest

type ListUsersRequest struct {
	*requests.RpcRequest
	ClusterId  string           `position:"Query" name:"ClusterId"`
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListUsersRequest is the request struct for api ListUsers

func CreateListUsersRequest

func CreateListUsersRequest() (request *ListUsersRequest)

CreateListUsersRequest creates a request to invoke ListUsers API

type ListUsersResponse

type ListUsersResponse struct {
	*responses.BaseResponse
	PageSize   int    `json:"PageSize" xml:"PageSize"`
	RequestId  string `json:"RequestId" xml:"RequestId"`
	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
	Users      Users  `json:"Users" xml:"Users"`
}

ListUsersResponse is the response struct for api ListUsers

func CreateListUsersResponse

func CreateListUsersResponse() (response *ListUsersResponse)

CreateListUsersResponse creates a response to parse from ListUsers response

type ListVolumesRequest

type ListVolumesRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListVolumesRequest is the request struct for api ListVolumes

func CreateListVolumesRequest

func CreateListVolumesRequest() (request *ListVolumesRequest)

CreateListVolumesRequest creates a request to invoke ListVolumes API

type ListVolumesResponse

type ListVolumesResponse struct {
	*responses.BaseResponse
	PageSize   int     `json:"PageSize" xml:"PageSize"`
	RequestId  string  `json:"RequestId" xml:"RequestId"`
	PageNumber int     `json:"PageNumber" xml:"PageNumber"`
	TotalCount int     `json:"TotalCount" xml:"TotalCount"`
	Volumes    Volumes `json:"Volumes" xml:"Volumes"`
}

ListVolumesResponse is the response struct for api ListVolumes

func CreateListVolumesResponse

func CreateListVolumesResponse() (response *ListVolumesResponse)

CreateListVolumesResponse creates a response to parse from ListVolumes response

type LogInfo

type LogInfo struct {
	Operation  string `json:"Operation" xml:"Operation"`
	Message    string `json:"Message" xml:"Message"`
	CreateTime string `json:"CreateTime" xml:"CreateTime"`
	Level      string `json:"Level" xml:"Level"`
}

LogInfo is a nested struct in ehpc response

type Login

type Login struct {
	Count        int    `json:"Count" xml:"Count"`
	InstanceType string `json:"InstanceType" xml:"InstanceType"`
}

Login is a nested struct in ehpc response

type LoginInListPreferredEcsTypes

type LoginInListPreferredEcsTypes struct {
	InstanceTypeId []string `json:"InstanceTypeId" xml:"InstanceTypeId"`
}

LoginInListPreferredEcsTypes is a nested struct in ehpc response

type Logs

type Logs struct {
	LogInfo []LogInfo `json:"LogInfo" xml:"LogInfo"`
}

Logs is a nested struct in ehpc response

type Manager

type Manager struct {
	Count        int    `json:"Count" xml:"Count"`
	InstanceType string `json:"InstanceType" xml:"InstanceType"`
}

Manager is a nested struct in ehpc response

type ManagerInListPreferredEcsTypes

type ManagerInListPreferredEcsTypes struct {
	InstanceTypeId []string `json:"InstanceTypeId" xml:"InstanceTypeId"`
}

ManagerInListPreferredEcsTypes is a nested struct in ehpc response

type Managers

type Managers struct {
	ExceptionCount int `json:"ExceptionCount" xml:"ExceptionCount"`
	Total          int `json:"Total" xml:"Total"`
	NormalCount    int `json:"NormalCount" xml:"NormalCount"`
}

Managers is a nested struct in ehpc response

type ModifyClusterAttributesRequest

type ModifyClusterAttributesRequest struct {
	*requests.RpcRequest
	Description string `position:"Query" name:"Description"`
	ClusterId   string `position:"Query" name:"ClusterId"`
	Name        string `position:"Query" name:"Name"`
}

ModifyClusterAttributesRequest is the request struct for api ModifyClusterAttributes

func CreateModifyClusterAttributesRequest

func CreateModifyClusterAttributesRequest() (request *ModifyClusterAttributesRequest)

CreateModifyClusterAttributesRequest creates a request to invoke ModifyClusterAttributes API

type ModifyClusterAttributesResponse

type ModifyClusterAttributesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyClusterAttributesResponse is the response struct for api ModifyClusterAttributes

func CreateModifyClusterAttributesResponse

func CreateModifyClusterAttributesResponse() (response *ModifyClusterAttributesResponse)

CreateModifyClusterAttributesResponse creates a response to parse from ModifyClusterAttributes response

type ModifyUserGroupsRequest

type ModifyUserGroupsRequest struct {
	*requests.RpcRequest
	ClusterId string                  `position:"Query" name:"ClusterId"`
	User      *[]ModifyUserGroupsUser `position:"Query" name:"User"  type:"Repeated"`
}

ModifyUserGroupsRequest is the request struct for api ModifyUserGroups

func CreateModifyUserGroupsRequest

func CreateModifyUserGroupsRequest() (request *ModifyUserGroupsRequest)

CreateModifyUserGroupsRequest creates a request to invoke ModifyUserGroups API

type ModifyUserGroupsResponse

type ModifyUserGroupsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyUserGroupsResponse is the response struct for api ModifyUserGroups

func CreateModifyUserGroupsResponse

func CreateModifyUserGroupsResponse() (response *ModifyUserGroupsResponse)

CreateModifyUserGroupsResponse creates a response to parse from ModifyUserGroups response

type ModifyUserGroupsUser

type ModifyUserGroupsUser struct {
	Name  string `name:"Name"`
	Group string `name:"Group"`
}

ModifyUserGroupsUser is a repeated param struct in ModifyUserGroupsRequest

type ModifyUserPasswordsRequest

type ModifyUserPasswordsRequest struct {
	*requests.RpcRequest
	ClusterId string                     `position:"Query" name:"ClusterId"`
	User      *[]ModifyUserPasswordsUser `position:"Query" name:"User"  type:"Repeated"`
}

ModifyUserPasswordsRequest is the request struct for api ModifyUserPasswords

func CreateModifyUserPasswordsRequest

func CreateModifyUserPasswordsRequest() (request *ModifyUserPasswordsRequest)

CreateModifyUserPasswordsRequest creates a request to invoke ModifyUserPasswords API

type ModifyUserPasswordsResponse

type ModifyUserPasswordsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ModifyUserPasswordsResponse is the response struct for api ModifyUserPasswords

func CreateModifyUserPasswordsResponse

func CreateModifyUserPasswordsResponse() (response *ModifyUserPasswordsResponse)

CreateModifyUserPasswordsResponse creates a response to parse from ModifyUserPasswords response

type ModifyUserPasswordsUser

type ModifyUserPasswordsUser struct {
	Password string `name:"Password"`
	Name     string `name:"Name"`
}

ModifyUserPasswordsUser is a repeated param struct in ModifyUserPasswordsRequest

type NodeInfo

type NodeInfo struct {
	LockReason      string         `json:"LockReason" xml:"LockReason"`
	Expired         bool           `json:"Expired" xml:"Expired"`
	ExpiredTime     string         `json:"ExpiredTime" xml:"ExpiredTime"`
	ImageId         string         `json:"ImageId" xml:"ImageId"`
	ImageOwnerAlias string         `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
	RegionId        string         `json:"RegionId" xml:"RegionId"`
	Role            string         `json:"Role" xml:"Role"`
	CreatedByEhpc   bool           `json:"CreatedByEhpc" xml:"CreatedByEhpc"`
	Id              string         `json:"Id" xml:"Id"`
	Status          string         `json:"Status" xml:"Status"`
	SpotStrategy    string         `json:"SpotStrategy" xml:"SpotStrategy"`
	AddTime         string         `json:"AddTime" xml:"AddTime"`
	TotalResources  TotalResources `json:"TotalResources" xml:"TotalResources"`
	UsedResources   UsedResources  `json:"UsedResources" xml:"UsedResources"`
}

NodeInfo is a nested struct in ehpc response

type NodesInListNodes

type NodesInListNodes struct {
	NodeInfo []NodeInfo `json:"NodeInfo" xml:"NodeInfo"`
}

NodesInListNodes is a nested struct in ehpc response

type NodesInListNodesNoPaging

type NodesInListNodesNoPaging struct {
	NodeInfo []NodeInfo `json:"NodeInfo" xml:"NodeInfo"`
}

NodesInListNodesNoPaging is a nested struct in ehpc response

type OsInfo

type OsInfo struct {
	Platform     string `json:"Platform" xml:"Platform"`
	OsTag        string `json:"OsTag" xml:"OsTag"`
	Version      string `json:"Version" xml:"Version"`
	Architecture string `json:"Architecture" xml:"Architecture"`
}

OsInfo is a nested struct in ehpc response

type OsTags

type OsTags struct {
	OsInfo []OsInfo `json:"OsInfo" xml:"OsInfo"`
}

OsTags is a nested struct in ehpc response

type RegionInfo

type RegionInfo struct {
	LocalName string `json:"LocalName" xml:"LocalName"`
	RegionId  string `json:"RegionId" xml:"RegionId"`
}

RegionInfo is a nested struct in ehpc response

type Regions

type Regions struct {
	RegionInfo []RegionInfo `json:"RegionInfo" xml:"RegionInfo"`
}

Regions is a nested struct in ehpc response

type RerunJobsRequest

type RerunJobsRequest struct {
	*requests.RpcRequest
	Jobs      string `position:"Query" name:"Jobs"`
	ClusterId string `position:"Query" name:"ClusterId"`
}

RerunJobsRequest is the request struct for api RerunJobs

func CreateRerunJobsRequest

func CreateRerunJobsRequest() (request *RerunJobsRequest)

CreateRerunJobsRequest creates a request to invoke RerunJobs API

type RerunJobsResponse

type RerunJobsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

RerunJobsResponse is the response struct for api RerunJobs

func CreateRerunJobsResponse

func CreateRerunJobsResponse() (response *RerunJobsResponse)

CreateRerunJobsResponse creates a response to parse from RerunJobs response

type ResetNodesInstance

type ResetNodesInstance struct {
	Id string `name:"Id"`
}

ResetNodesInstance is a repeated param struct in ResetNodesRequest

type ResetNodesRequest

type ResetNodesRequest struct {
	*requests.RpcRequest
	Instance  *[]ResetNodesInstance `position:"Query" name:"Instance"  type:"Repeated"`
	ClusterId string                `position:"Query" name:"ClusterId"`
}

ResetNodesRequest is the request struct for api ResetNodes

func CreateResetNodesRequest

func CreateResetNodesRequest() (request *ResetNodesRequest)

CreateResetNodesRequest creates a request to invoke ResetNodes API

type ResetNodesResponse

type ResetNodesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

ResetNodesResponse is the response struct for api ResetNodes

func CreateResetNodesResponse

func CreateResetNodesResponse() (response *ResetNodesResponse)

CreateResetNodesResponse creates a response to parse from ResetNodes response

type Resources

type Resources struct {
	Nodes int `json:"Nodes" xml:"Nodes"`
	Cores int `json:"Cores" xml:"Cores"`
}

Resources is a nested struct in ehpc response

type Roles

type Roles struct {
	Manager ManagerInListPreferredEcsTypes `json:"Manager" xml:"Manager"`
	Compute ComputeInListPreferredEcsTypes `json:"Compute" xml:"Compute"`
	Login   LoginInListPreferredEcsTypes   `json:"Login" xml:"Login"`
}

Roles is a nested struct in ehpc response

type Series

type Series struct {
	SeriesInfo []SeriesInfo `json:"SeriesInfo" xml:"SeriesInfo"`
}

Series is a nested struct in ehpc response

type SeriesInfo

type SeriesInfo struct {
	SeriesName string `json:"SeriesName" xml:"SeriesName"`
	SeriesId   string `json:"SeriesId" xml:"SeriesId"`
	Roles      Roles  `json:"Roles" xml:"Roles"`
}

SeriesInfo is a nested struct in ehpc response

type SetAutoScaleConfigRequest

type SetAutoScaleConfigRequest struct {
	*requests.RpcRequest
	ExcludeNodes            string           `position:"Query" name:"ExcludeNodes"`
	ExtraNodesGrowRatio     requests.Integer `position:"Query" name:"ExtraNodesGrowRatio"`
	ShrinkIdleTimes         requests.Integer `position:"Query" name:"ShrinkIdleTimes"`
	GrowTimeoutInMinutes    requests.Integer `position:"Query" name:"GrowTimeoutInMinutes"`
	ClusterId               string           `position:"Query" name:"ClusterId"`
	EnableAutoGrow          requests.Boolean `position:"Query" name:"EnableAutoGrow"`
	EnableAutoShrink        requests.Boolean `position:"Query" name:"EnableAutoShrink"`
	MaxNodesInCluster       requests.Integer `position:"Query" name:"MaxNodesInCluster"`
	ShrinkIntervalInMinutes requests.Integer `position:"Query" name:"ShrinkIntervalInMinutes"`
	GrowIntervalInMinutes   requests.Integer `position:"Query" name:"GrowIntervalInMinutes"`
	GrowRatio               requests.Integer `position:"Query" name:"GrowRatio"`
}

SetAutoScaleConfigRequest is the request struct for api SetAutoScaleConfig

func CreateSetAutoScaleConfigRequest

func CreateSetAutoScaleConfigRequest() (request *SetAutoScaleConfigRequest)

CreateSetAutoScaleConfigRequest creates a request to invoke SetAutoScaleConfig API

type SetAutoScaleConfigResponse

type SetAutoScaleConfigResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SetAutoScaleConfigResponse is the response struct for api SetAutoScaleConfig

func CreateSetAutoScaleConfigResponse

func CreateSetAutoScaleConfigResponse() (response *SetAutoScaleConfigResponse)

CreateSetAutoScaleConfigResponse creates a response to parse from SetAutoScaleConfig response

type SetJobUserRequest

type SetJobUserRequest struct {
	*requests.RpcRequest
	RunasUserPassword string `position:"Query" name:"RunasUserPassword"`
	RunasUser         string `position:"Query" name:"RunasUser"`
	ClusterId         string `position:"Query" name:"ClusterId"`
}

SetJobUserRequest is the request struct for api SetJobUser

func CreateSetJobUserRequest

func CreateSetJobUserRequest() (request *SetJobUserRequest)

CreateSetJobUserRequest creates a request to invoke SetJobUser API

type SetJobUserResponse

type SetJobUserResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SetJobUserResponse is the response struct for api SetJobUser

func CreateSetJobUserResponse

func CreateSetJobUserResponse() (response *SetJobUserResponse)

CreateSetJobUserResponse creates a response to parse from SetJobUser response

type SoftwareInfo

type SoftwareInfo struct {
	SchedulerType    string                      `json:"SchedulerType" xml:"SchedulerType"`
	OsTag            string                      `json:"OsTag" xml:"OsTag"`
	SchedulerVersion string                      `json:"SchedulerVersion" xml:"SchedulerVersion"`
	AccountVersion   string                      `json:"AccountVersion" xml:"AccountVersion"`
	AccountType      string                      `json:"AccountType" xml:"AccountType"`
	EhpcVersion      string                      `json:"EhpcVersion" xml:"EhpcVersion"`
	Applications     ApplicationsInListSoftwares `json:"Applications" xml:"Applications"`
}

SoftwareInfo is a nested struct in ehpc response

type Softwares

type Softwares struct {
	SoftwareInfo []SoftwareInfo `json:"SoftwareInfo" xml:"SoftwareInfo"`
}

Softwares is a nested struct in ehpc response

type StopJobsRequest

type StopJobsRequest struct {
	*requests.RpcRequest
	Jobs      string `position:"Query" name:"Jobs"`
	ClusterId string `position:"Query" name:"ClusterId"`
}

StopJobsRequest is the request struct for api StopJobs

func CreateStopJobsRequest

func CreateStopJobsRequest() (request *StopJobsRequest)

CreateStopJobsRequest creates a request to invoke StopJobs API

type StopJobsResponse

type StopJobsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

StopJobsResponse is the response struct for api StopJobs

func CreateStopJobsResponse

func CreateStopJobsResponse() (response *StopJobsResponse)

CreateStopJobsResponse creates a response to parse from StopJobs response

type SubmitJobRequest

type SubmitJobRequest struct {
	*requests.RpcRequest
	StderrRedirectPath string           `position:"Query" name:"StderrRedirectPath"`
	RunasUserPassword  string           `position:"Query" name:"RunasUserPassword"`
	CommandLine        string           `position:"Query" name:"CommandLine"`
	ArrayRequest       string           `position:"Query" name:"ArrayRequest"`
	PackagePath        string           `position:"Query" name:"PackagePath"`
	StdoutRedirectPath string           `position:"Query" name:"StdoutRedirectPath"`
	Variables          string           `position:"Query" name:"Variables"`
	RunasUser          string           `position:"Query" name:"RunasUser"`
	ClusterId          string           `position:"Query" name:"ClusterId"`
	ReRunable          requests.Boolean `position:"Query" name:"ReRunable"`
	Priority           requests.Integer `position:"Query" name:"Priority"`
	Name               string           `position:"Query" name:"Name"`
}

SubmitJobRequest is the request struct for api SubmitJob

func CreateSubmitJobRequest

func CreateSubmitJobRequest() (request *SubmitJobRequest)

CreateSubmitJobRequest creates a request to invoke SubmitJob API

type SubmitJobResponse

type SubmitJobResponse struct {
	*responses.BaseResponse
	JobId     string `json:"JobId" xml:"JobId"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

SubmitJobResponse is the response struct for api SubmitJob

func CreateSubmitJobResponse

func CreateSubmitJobResponse() (response *SubmitJobResponse)

CreateSubmitJobResponse creates a response to parse from SubmitJob response

type Templates

type Templates struct {
	JobTemplates []JobTemplates `json:"JobTemplates" xml:"JobTemplates"`
}

Templates is a nested struct in ehpc response

type TotalResources

type TotalResources struct {
	Gpu    int `json:"Gpu" xml:"Gpu"`
	Memory int `json:"Memory" xml:"Memory"`
	Cpu    int `json:"Cpu" xml:"Cpu"`
}

TotalResources is a nested struct in ehpc response

type UpgradeClientRequest

type UpgradeClientRequest struct {
	*requests.RpcRequest
	ClientVersion string `position:"Query" name:"ClientVersion"`
	ClusterId     string `position:"Query" name:"ClusterId"`
}

UpgradeClientRequest is the request struct for api UpgradeClient

func CreateUpgradeClientRequest

func CreateUpgradeClientRequest() (request *UpgradeClientRequest)

CreateUpgradeClientRequest creates a request to invoke UpgradeClient API

type UpgradeClientResponse

type UpgradeClientResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpgradeClientResponse is the response struct for api UpgradeClient

func CreateUpgradeClientResponse

func CreateUpgradeClientResponse() (response *UpgradeClientResponse)

CreateUpgradeClientResponse creates a response to parse from UpgradeClient response

type UsedResources

type UsedResources struct {
	Gpu    int `json:"Gpu" xml:"Gpu"`
	Memory int `json:"Memory" xml:"Memory"`
	Cpu    int `json:"Cpu" xml:"Cpu"`
}

UsedResources is a nested struct in ehpc response

type UserInfo

type UserInfo struct {
	Name    string `json:"Name" xml:"Name"`
	AddTime string `json:"AddTime" xml:"AddTime"`
	Group   string `json:"Group" xml:"Group"`
}

UserInfo is a nested struct in ehpc response

type Users

type Users struct {
	UserInfo []UserInfo `json:"UserInfo" xml:"UserInfo"`
}

Users is a nested struct in ehpc response

type VolumeInfo

type VolumeInfo struct {
	VolumeId         string `json:"VolumeId" xml:"VolumeId"`
	ClusterName      string `json:"ClusterName" xml:"ClusterName"`
	RemoteDirectory  string `json:"RemoteDirectory" xml:"RemoteDirectory"`
	VolumeMountpoint string `json:"VolumeMountpoint" xml:"VolumeMountpoint"`
	VolumeType       string `json:"VolumeType" xml:"VolumeType"`
	VolumeProtocol   string `json:"VolumeProtocol" xml:"VolumeProtocol"`
	RegionId         string `json:"RegionId" xml:"RegionId"`
	ClusterId        string `json:"ClusterId" xml:"ClusterId"`
}

VolumeInfo is a nested struct in ehpc response

type Volumes added in v1.61.1770

type Volumes struct {
	VolumeInfo []VolumeInfo `json:"VolumeInfo" xml:"VolumeInfo"`
}

Volumes is a nested struct in ehpc response

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL