Documentation ¶
Index ¶
- func DgcClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCancelScript() *def.HttpRequestDef
- func GenReqDefForCreateConnection() *def.HttpRequestDef
- func GenReqDefForCreateJob() *def.HttpRequestDef
- func GenReqDefForCreateResource() *def.HttpRequestDef
- func GenReqDefForCreateScript() *def.HttpRequestDef
- func GenReqDefForDeleteConnction() *def.HttpRequestDef
- func GenReqDefForDeleteJob() *def.HttpRequestDef
- func GenReqDefForDeleteResource() *def.HttpRequestDef
- func GenReqDefForDeleteScript() *def.HttpRequestDef
- func GenReqDefForExecuteScript() *def.HttpRequestDef
- func GenReqDefForExportConnections() *def.HttpRequestDef
- func GenReqDefForExportJob() *def.HttpRequestDef
- func GenReqDefForExportJobList() *def.HttpRequestDef
- func GenReqDefForImportConnections() *def.HttpRequestDef
- func GenReqDefForImportJob() *def.HttpRequestDef
- func GenReqDefForListConnections() *def.HttpRequestDef
- func GenReqDefForListJobInstances() *def.HttpRequestDef
- func GenReqDefForListJobs() *def.HttpRequestDef
- func GenReqDefForListResources() *def.HttpRequestDef
- func GenReqDefForListScriptResults() *def.HttpRequestDef
- func GenReqDefForListScripts() *def.HttpRequestDef
- func GenReqDefForListSystemTasks() *def.HttpRequestDef
- func GenReqDefForRestoreJobInstance() *def.HttpRequestDef
- func GenReqDefForRunOnce() *def.HttpRequestDef
- func GenReqDefForShowConnection() *def.HttpRequestDef
- func GenReqDefForShowFileInfo() *def.HttpRequestDef
- func GenReqDefForShowJob() *def.HttpRequestDef
- func GenReqDefForShowJobInstance() *def.HttpRequestDef
- func GenReqDefForShowJobStatus() *def.HttpRequestDef
- func GenReqDefForShowResource() *def.HttpRequestDef
- func GenReqDefForShowScript() *def.HttpRequestDef
- func GenReqDefForStartJob() *def.HttpRequestDef
- func GenReqDefForStopJob() *def.HttpRequestDef
- func GenReqDefForStopJobInstance() *def.HttpRequestDef
- func GenReqDefForUpdateConnection() *def.HttpRequestDef
- func GenReqDefForUpdateJob() *def.HttpRequestDef
- func GenReqDefForUpdateResource() *def.HttpRequestDef
- func GenReqDefForUpdateScript() *def.HttpRequestDef
- type DgcClient
- func (c *DgcClient) CancelScript(request *model.CancelScriptRequest) (*model.CancelScriptResponse, error)
- func (c *DgcClient) CreateConnection(request *model.CreateConnectionRequest) (*model.CreateConnectionResponse, error)
- func (c *DgcClient) CreateJob(request *model.CreateJobRequest) (*model.CreateJobResponse, error)
- func (c *DgcClient) CreateResource(request *model.CreateResourceRequest) (*model.CreateResourceResponse, error)
- func (c *DgcClient) CreateScript(request *model.CreateScriptRequest) (*model.CreateScriptResponse, error)
- func (c *DgcClient) DeleteConnction(request *model.DeleteConnctionRequest) (*model.DeleteConnctionResponse, error)
- func (c *DgcClient) DeleteJob(request *model.DeleteJobRequest) (*model.DeleteJobResponse, error)
- func (c *DgcClient) DeleteResource(request *model.DeleteResourceRequest) (*model.DeleteResourceResponse, error)
- func (c *DgcClient) DeleteScript(request *model.DeleteScriptRequest) (*model.DeleteScriptResponse, error)
- func (c *DgcClient) ExecuteScript(request *model.ExecuteScriptRequest) (*model.ExecuteScriptResponse, error)
- func (c *DgcClient) ExportConnections(request *model.ExportConnectionsRequest) (*model.ExportConnectionsResponse, error)
- func (c *DgcClient) ExportJob(request *model.ExportJobRequest) (*model.ExportJobResponse, error)
- func (c *DgcClient) ExportJobList(request *model.ExportJobListRequest) (*model.ExportJobListResponse, error)
- func (c *DgcClient) ImportConnections(request *model.ImportConnectionsRequest) (*model.ImportConnectionsResponse, error)
- func (c *DgcClient) ImportJob(request *model.ImportJobRequest) (*model.ImportJobResponse, error)
- func (c *DgcClient) ListConnections(request *model.ListConnectionsRequest) (*model.ListConnectionsResponse, error)
- func (c *DgcClient) ListJobInstances(request *model.ListJobInstancesRequest) (*model.ListJobInstancesResponse, error)
- func (c *DgcClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
- func (c *DgcClient) ListResources(request *model.ListResourcesRequest) (*model.ListResourcesResponse, error)
- func (c *DgcClient) ListScriptResults(request *model.ListScriptResultsRequest) (*model.ListScriptResultsResponse, error)
- func (c *DgcClient) ListScripts(request *model.ListScriptsRequest) (*model.ListScriptsResponse, error)
- func (c *DgcClient) ListSystemTasks(request *model.ListSystemTasksRequest) (*model.ListSystemTasksResponse, error)
- func (c *DgcClient) RestoreJobInstance(request *model.RestoreJobInstanceRequest) (*model.RestoreJobInstanceResponse, error)
- func (c *DgcClient) RunOnce(request *model.RunOnceRequest) (*model.RunOnceResponse, error)
- func (c *DgcClient) ShowConnection(request *model.ShowConnectionRequest) (*model.ShowConnectionResponse, error)
- func (c *DgcClient) ShowFileInfo(request *model.ShowFileInfoRequest) (*model.ShowFileInfoResponse, error)
- func (c *DgcClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
- func (c *DgcClient) ShowJobInstance(request *model.ShowJobInstanceRequest) (*model.ShowJobInstanceResponse, error)
- func (c *DgcClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
- func (c *DgcClient) ShowResource(request *model.ShowResourceRequest) (*model.ShowResourceResponse, error)
- func (c *DgcClient) ShowScript(request *model.ShowScriptRequest) (*model.ShowScriptResponse, error)
- func (c *DgcClient) StartJob(request *model.StartJobRequest) (*model.StartJobResponse, error)
- func (c *DgcClient) StopJob(request *model.StopJobRequest) (*model.StopJobResponse, error)
- func (c *DgcClient) StopJobInstance(request *model.StopJobInstanceRequest) (*model.StopJobInstanceResponse, error)
- func (c *DgcClient) UpdateConnection(request *model.UpdateConnectionRequest) (*model.UpdateConnectionResponse, error)
- func (c *DgcClient) UpdateJob(request *model.UpdateJobRequest) (*model.UpdateJobResponse, error)
- func (c *DgcClient) UpdateResource(request *model.UpdateResourceRequest) (*model.UpdateResourceResponse, error)
- func (c *DgcClient) UpdateScript(request *model.UpdateScriptRequest) (*model.UpdateScriptResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DgcClientBuilder ¶
func DgcClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCancelScript ¶
func GenReqDefForCancelScript() *def.HttpRequestDef
func GenReqDefForCreateConnection ¶
func GenReqDefForCreateConnection() *def.HttpRequestDef
func GenReqDefForCreateJob ¶
func GenReqDefForCreateJob() *def.HttpRequestDef
func GenReqDefForCreateResource ¶
func GenReqDefForCreateResource() *def.HttpRequestDef
func GenReqDefForCreateScript ¶
func GenReqDefForCreateScript() *def.HttpRequestDef
func GenReqDefForDeleteConnction ¶
func GenReqDefForDeleteConnction() *def.HttpRequestDef
func GenReqDefForDeleteJob ¶
func GenReqDefForDeleteJob() *def.HttpRequestDef
func GenReqDefForDeleteResource ¶
func GenReqDefForDeleteResource() *def.HttpRequestDef
func GenReqDefForDeleteScript ¶
func GenReqDefForDeleteScript() *def.HttpRequestDef
func GenReqDefForExecuteScript ¶
func GenReqDefForExecuteScript() *def.HttpRequestDef
func GenReqDefForExportConnections ¶
func GenReqDefForExportConnections() *def.HttpRequestDef
func GenReqDefForExportJob ¶
func GenReqDefForExportJob() *def.HttpRequestDef
func GenReqDefForExportJobList ¶
func GenReqDefForExportJobList() *def.HttpRequestDef
func GenReqDefForImportConnections ¶
func GenReqDefForImportConnections() *def.HttpRequestDef
func GenReqDefForImportJob ¶
func GenReqDefForImportJob() *def.HttpRequestDef
func GenReqDefForListConnections ¶
func GenReqDefForListConnections() *def.HttpRequestDef
func GenReqDefForListJobInstances ¶
func GenReqDefForListJobInstances() *def.HttpRequestDef
func GenReqDefForListJobs ¶
func GenReqDefForListJobs() *def.HttpRequestDef
func GenReqDefForListResources ¶
func GenReqDefForListResources() *def.HttpRequestDef
func GenReqDefForListScriptResults ¶
func GenReqDefForListScriptResults() *def.HttpRequestDef
func GenReqDefForListScripts ¶
func GenReqDefForListScripts() *def.HttpRequestDef
func GenReqDefForListSystemTasks ¶
func GenReqDefForListSystemTasks() *def.HttpRequestDef
func GenReqDefForRestoreJobInstance ¶
func GenReqDefForRestoreJobInstance() *def.HttpRequestDef
func GenReqDefForRunOnce ¶
func GenReqDefForRunOnce() *def.HttpRequestDef
func GenReqDefForShowConnection ¶
func GenReqDefForShowConnection() *def.HttpRequestDef
func GenReqDefForShowFileInfo ¶
func GenReqDefForShowFileInfo() *def.HttpRequestDef
func GenReqDefForShowJob ¶
func GenReqDefForShowJob() *def.HttpRequestDef
func GenReqDefForShowJobInstance ¶
func GenReqDefForShowJobInstance() *def.HttpRequestDef
func GenReqDefForShowJobStatus ¶
func GenReqDefForShowJobStatus() *def.HttpRequestDef
func GenReqDefForShowResource ¶
func GenReqDefForShowResource() *def.HttpRequestDef
func GenReqDefForShowScript ¶
func GenReqDefForShowScript() *def.HttpRequestDef
func GenReqDefForStartJob ¶
func GenReqDefForStartJob() *def.HttpRequestDef
func GenReqDefForStopJob ¶
func GenReqDefForStopJob() *def.HttpRequestDef
func GenReqDefForStopJobInstance ¶
func GenReqDefForStopJobInstance() *def.HttpRequestDef
func GenReqDefForUpdateConnection ¶
func GenReqDefForUpdateConnection() *def.HttpRequestDef
func GenReqDefForUpdateJob ¶
func GenReqDefForUpdateJob() *def.HttpRequestDef
func GenReqDefForUpdateResource ¶
func GenReqDefForUpdateResource() *def.HttpRequestDef
func GenReqDefForUpdateScript ¶
func GenReqDefForUpdateScript() *def.HttpRequestDef
Types ¶
type DgcClient ¶
type DgcClient struct {
HcClient *http_client.HcHttpClient
}
func NewDgcClient ¶
func NewDgcClient(hcClient *http_client.HcHttpClient) *DgcClient
func (*DgcClient) CancelScript ¶
func (c *DgcClient) CancelScript(request *model.CancelScriptRequest) (*model.CancelScriptResponse, error)
停止脚本实例的执行
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) CreateConnection ¶
func (c *DgcClient) CreateConnection(request *model.CreateConnectionRequest) (*model.CreateConnectionResponse, error)
创建连接
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) CreateJob ¶
func (c *DgcClient) CreateJob(request *model.CreateJobRequest) (*model.CreateJobResponse, error)
创建作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) CreateResource ¶
func (c *DgcClient) CreateResource(request *model.CreateResourceRequest) (*model.CreateResourceResponse, error)
创建资源
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) CreateScript ¶
func (c *DgcClient) CreateScript(request *model.CreateScriptRequest) (*model.CreateScriptResponse, error)
创建脚本
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) DeleteConnction ¶
func (c *DgcClient) DeleteConnction(request *model.DeleteConnctionRequest) (*model.DeleteConnctionResponse, error)
删除连接
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) DeleteJob ¶
func (c *DgcClient) DeleteJob(request *model.DeleteJobRequest) (*model.DeleteJobResponse, error)
删除作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) DeleteResource ¶
func (c *DgcClient) DeleteResource(request *model.DeleteResourceRequest) (*model.DeleteResourceResponse, error)
删除资源
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) DeleteScript ¶
func (c *DgcClient) DeleteScript(request *model.DeleteScriptRequest) (*model.DeleteScriptResponse, error)
删除脚本
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ExecuteScript ¶
func (c *DgcClient) ExecuteScript(request *model.ExecuteScriptRequest) (*model.ExecuteScriptResponse, error)
执行脚本
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ExportConnections ¶
func (c *DgcClient) ExportConnections(request *model.ExportConnectionsRequest) (*model.ExportConnectionsResponse, error)
导出连接
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ExportJob ¶
func (c *DgcClient) ExportJob(request *model.ExportJobRequest) (*model.ExportJobResponse, error)
导出作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ExportJobList ¶
func (c *DgcClient) ExportJobList(request *model.ExportJobListRequest) (*model.ExportJobListResponse, error)
批量导出作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ImportConnections ¶
func (c *DgcClient) ImportConnections(request *model.ImportConnectionsRequest) (*model.ImportConnectionsResponse, error)
导入连接
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ImportJob ¶
func (c *DgcClient) ImportJob(request *model.ImportJobRequest) (*model.ImportJobResponse, error)
导入作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ListConnections ¶
func (c *DgcClient) ListConnections(request *model.ListConnectionsRequest) (*model.ListConnectionsResponse, error)
查询连接列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ListJobInstances ¶
func (c *DgcClient) ListJobInstances(request *model.ListJobInstancesRequest) (*model.ListJobInstancesResponse, error)
查询作业实例列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ListJobs ¶
func (c *DgcClient) ListJobs(request *model.ListJobsRequest) (*model.ListJobsResponse, error)
查询作业列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ListResources ¶
func (c *DgcClient) ListResources(request *model.ListResourcesRequest) (*model.ListResourcesResponse, error)
查询资源列表
func (*DgcClient) ListScriptResults ¶
func (c *DgcClient) ListScriptResults(request *model.ListScriptResultsRequest) (*model.ListScriptResultsResponse, error)
查询脚本实例执行结果
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ListScripts ¶
func (c *DgcClient) ListScripts(request *model.ListScriptsRequest) (*model.ListScriptsResponse, error)
查询脚本列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ListSystemTasks ¶
func (c *DgcClient) ListSystemTasks(request *model.ListSystemTasksRequest) (*model.ListSystemTasksResponse, error)
查询系统任务详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) RestoreJobInstance ¶
func (c *DgcClient) RestoreJobInstance(request *model.RestoreJobInstanceRequest) (*model.RestoreJobInstanceResponse, error)
重跑作业实例
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) RunOnce ¶
func (c *DgcClient) RunOnce(request *model.RunOnceRequest) (*model.RunOnceResponse, error)
单次执行作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowConnection ¶
func (c *DgcClient) ShowConnection(request *model.ShowConnectionRequest) (*model.ShowConnectionResponse, error)
查询连接详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowFileInfo ¶
func (c *DgcClient) ShowFileInfo(request *model.ShowFileInfoRequest) (*model.ShowFileInfoResponse, error)
检查导入作业文件中的作业和脚本
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowJob ¶
func (c *DgcClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
查询作业详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowJobInstance ¶
func (c *DgcClient) ShowJobInstance(request *model.ShowJobInstanceRequest) (*model.ShowJobInstanceResponse, error)
查询作业实例详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowJobStatus ¶
func (c *DgcClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
查询实时作业的运行状态
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowResource ¶
func (c *DgcClient) ShowResource(request *model.ShowResourceRequest) (*model.ShowResourceResponse, error)
查询资源详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) ShowScript ¶
func (c *DgcClient) ShowScript(request *model.ShowScriptRequest) (*model.ShowScriptResponse, error)
查询脚本信息
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) StartJob ¶
func (c *DgcClient) StartJob(request *model.StartJobRequest) (*model.StartJobResponse, error)
启动作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) StopJob ¶
func (c *DgcClient) StopJob(request *model.StopJobRequest) (*model.StopJobResponse, error)
停止作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) StopJobInstance ¶
func (c *DgcClient) StopJobInstance(request *model.StopJobInstanceRequest) (*model.StopJobInstanceResponse, error)
停止作业实例
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) UpdateConnection ¶
func (c *DgcClient) UpdateConnection(request *model.UpdateConnectionRequest) (*model.UpdateConnectionResponse, error)
修改连接
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) UpdateJob ¶
func (c *DgcClient) UpdateJob(request *model.UpdateJobRequest) (*model.UpdateJobResponse, error)
修改作业
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) UpdateResource ¶
func (c *DgcClient) UpdateResource(request *model.UpdateResourceRequest) (*model.UpdateResourceResponse, error)
修改资源
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*DgcClient) UpdateScript ¶
func (c *DgcClient) UpdateScript(request *model.UpdateScriptRequest) (*model.UpdateScriptResponse, error)
修改脚本内容
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.