Documentation ¶
Index ¶
- func CloudDeployClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateDeployTaskByTemplate() *def.HttpRequestDef
- func GenReqDefForCreateDeploymentGroup() *def.HttpRequestDef
- func GenReqDefForCreateDeploymentHost() *def.HttpRequestDef
- func GenReqDefForDeleteDeployTask() *def.HttpRequestDef
- func GenReqDefForDeleteDeploymentGroup() *def.HttpRequestDef
- func GenReqDefForDeleteDeploymentHost() *def.HttpRequestDef
- func GenReqDefForListHostGroups() *def.HttpRequestDef
- func GenReqDefForListHosts() *def.HttpRequestDef
- func GenReqDefForShowDeployTaskDetail() *def.HttpRequestDef
- func GenReqDefForShowDeploymentGroupDetail() *def.HttpRequestDef
- func GenReqDefForShowDeploymentHostDetail() *def.HttpRequestDef
- func GenReqDefForStartDeployTask() *def.HttpRequestDef
- func GenReqDefForUpdateDeploymentGroup() *def.HttpRequestDef
- func GenReqDefForUpdateDeploymentHost() *def.HttpRequestDef
- type CloudDeployClient
- func (c *CloudDeployClient) CreateDeployTaskByTemplate(request *model.CreateDeployTaskByTemplateRequest) (*model.CreateDeployTaskByTemplateResponse, error)
- func (c *CloudDeployClient) CreateDeploymentGroup(request *model.CreateDeploymentGroupRequest) (*model.CreateDeploymentGroupResponse, error)
- func (c *CloudDeployClient) CreateDeploymentHost(request *model.CreateDeploymentHostRequest) (*model.CreateDeploymentHostResponse, error)
- func (c *CloudDeployClient) DeleteDeployTask(request *model.DeleteDeployTaskRequest) (*model.DeleteDeployTaskResponse, error)
- func (c *CloudDeployClient) DeleteDeploymentGroup(request *model.DeleteDeploymentGroupRequest) (*model.DeleteDeploymentGroupResponse, error)
- func (c *CloudDeployClient) DeleteDeploymentHost(request *model.DeleteDeploymentHostRequest) (*model.DeleteDeploymentHostResponse, error)
- func (c *CloudDeployClient) ListHostGroups(request *model.ListHostGroupsRequest) (*model.ListHostGroupsResponse, error)
- func (c *CloudDeployClient) ListHosts(request *model.ListHostsRequest) (*model.ListHostsResponse, error)
- func (c *CloudDeployClient) ShowDeployTaskDetail(request *model.ShowDeployTaskDetailRequest) (*model.ShowDeployTaskDetailResponse, error)
- func (c *CloudDeployClient) ShowDeploymentGroupDetail(request *model.ShowDeploymentGroupDetailRequest) (*model.ShowDeploymentGroupDetailResponse, error)
- func (c *CloudDeployClient) ShowDeploymentHostDetail(request *model.ShowDeploymentHostDetailRequest) (*model.ShowDeploymentHostDetailResponse, error)
- func (c *CloudDeployClient) StartDeployTask(request *model.StartDeployTaskRequest) (*model.StartDeployTaskResponse, error)
- func (c *CloudDeployClient) UpdateDeploymentGroup(request *model.UpdateDeploymentGroupRequest) (*model.UpdateDeploymentGroupResponse, error)
- func (c *CloudDeployClient) UpdateDeploymentHost(request *model.UpdateDeploymentHostRequest) (*model.UpdateDeploymentHostResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudDeployClientBuilder ¶
func CloudDeployClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateDeployTaskByTemplate ¶
func GenReqDefForCreateDeployTaskByTemplate() *def.HttpRequestDef
func GenReqDefForCreateDeploymentGroup ¶
func GenReqDefForCreateDeploymentGroup() *def.HttpRequestDef
func GenReqDefForCreateDeploymentHost ¶
func GenReqDefForCreateDeploymentHost() *def.HttpRequestDef
func GenReqDefForDeleteDeployTask ¶
func GenReqDefForDeleteDeployTask() *def.HttpRequestDef
func GenReqDefForDeleteDeploymentGroup ¶
func GenReqDefForDeleteDeploymentGroup() *def.HttpRequestDef
func GenReqDefForDeleteDeploymentHost ¶
func GenReqDefForDeleteDeploymentHost() *def.HttpRequestDef
func GenReqDefForListHostGroups ¶
func GenReqDefForListHostGroups() *def.HttpRequestDef
func GenReqDefForListHosts ¶
func GenReqDefForListHosts() *def.HttpRequestDef
func GenReqDefForShowDeployTaskDetail ¶
func GenReqDefForShowDeployTaskDetail() *def.HttpRequestDef
func GenReqDefForShowDeploymentGroupDetail ¶
func GenReqDefForShowDeploymentGroupDetail() *def.HttpRequestDef
func GenReqDefForShowDeploymentHostDetail ¶
func GenReqDefForShowDeploymentHostDetail() *def.HttpRequestDef
func GenReqDefForStartDeployTask ¶
func GenReqDefForStartDeployTask() *def.HttpRequestDef
func GenReqDefForUpdateDeploymentGroup ¶
func GenReqDefForUpdateDeploymentGroup() *def.HttpRequestDef
func GenReqDefForUpdateDeploymentHost ¶
func GenReqDefForUpdateDeploymentHost() *def.HttpRequestDef
Types ¶
type CloudDeployClient ¶
type CloudDeployClient struct {
HcClient *http_client.HcHttpClient
}
func NewCloudDeployClient ¶
func NewCloudDeployClient(hcClient *http_client.HcHttpClient) *CloudDeployClient
func (*CloudDeployClient) CreateDeployTaskByTemplate ¶
func (c *CloudDeployClient) CreateDeployTaskByTemplate(request *model.CreateDeployTaskByTemplateRequest) (*model.CreateDeployTaskByTemplateResponse, error)
通过模板新建部署任务cloudpipeline流水线调用
func (*CloudDeployClient) CreateDeploymentGroup ¶
func (c *CloudDeployClient) CreateDeploymentGroup(request *model.CreateDeploymentGroupRequest) (*model.CreateDeploymentGroupResponse, error)
新建主机组
func (*CloudDeployClient) CreateDeploymentHost ¶
func (c *CloudDeployClient) CreateDeploymentHost(request *model.CreateDeploymentHostRequest) (*model.CreateDeploymentHostResponse, error)
在指定主机组下新建主机
func (*CloudDeployClient) DeleteDeployTask ¶
func (c *CloudDeployClient) DeleteDeployTask(request *model.DeleteDeployTaskRequest) (*model.DeleteDeployTaskResponse, error)
Delete Task by id
func (*CloudDeployClient) DeleteDeploymentGroup ¶
func (c *CloudDeployClient) DeleteDeploymentGroup(request *model.DeleteDeploymentGroupRequest) (*model.DeleteDeploymentGroupResponse, error)
根据主机组id删除主机组
func (*CloudDeployClient) DeleteDeploymentHost ¶
func (c *CloudDeployClient) DeleteDeploymentHost(request *model.DeleteDeploymentHostRequest) (*model.DeleteDeploymentHostResponse, error)
根据主机id删除主机
func (*CloudDeployClient) ListHostGroups ¶
func (c *CloudDeployClient) ListHostGroups(request *model.ListHostGroupsRequest) (*model.ListHostGroupsResponse, error)
查询主机组列表
func (*CloudDeployClient) ListHosts ¶
func (c *CloudDeployClient) ListHosts(request *model.ListHostsRequest) (*model.ListHostsResponse, error)
查询指定主机组下的主机列表
func (*CloudDeployClient) ShowDeployTaskDetail ¶
func (c *CloudDeployClient) ShowDeployTaskDetail(request *model.ShowDeployTaskDetailRequest) (*model.ShowDeployTaskDetailResponse, error)
Get Task Detail By Id
func (*CloudDeployClient) ShowDeploymentGroupDetail ¶
func (c *CloudDeployClient) ShowDeploymentGroupDetail(request *model.ShowDeploymentGroupDetailRequest) (*model.ShowDeploymentGroupDetailResponse, error)
根据主机组id查询主机组详情
func (*CloudDeployClient) ShowDeploymentHostDetail ¶
func (c *CloudDeployClient) ShowDeploymentHostDetail(request *model.ShowDeploymentHostDetailRequest) (*model.ShowDeploymentHostDetailResponse, error)
根据主机id查询主机详情
func (*CloudDeployClient) StartDeployTask ¶
func (c *CloudDeployClient) StartDeployTask(request *model.StartDeployTaskRequest) (*model.StartDeployTaskResponse, error)
Deploy Task Start
func (*CloudDeployClient) UpdateDeploymentGroup ¶
func (c *CloudDeployClient) UpdateDeploymentGroup(request *model.UpdateDeploymentGroupRequest) (*model.UpdateDeploymentGroupResponse, error)
修改主机组信息
func (*CloudDeployClient) UpdateDeploymentHost ¶
func (c *CloudDeployClient) UpdateDeploymentHost(request *model.UpdateDeploymentHostRequest) (*model.UpdateDeploymentHostResponse, error)
修改主机信息
Click to show internal directories.
Click to hide internal directories.