Documentation ¶
Index ¶
- func AomClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForBatchImportAgent() *def.HttpRequestDef
- func GenReqDefForBatchUpdateAgent() *def.HttpRequestDef
- func GenReqDefForShowAgentInfos() *def.HttpRequestDef
- type AomClient
- func (c *AomClient) BatchImportAgent(request *model.BatchImportAgentRequest) (*model.BatchImportAgentResponse, error)
- func (c *AomClient) BatchImportAgentInvoker(request *model.BatchImportAgentRequest) *BatchImportAgentInvoker
- func (c *AomClient) BatchUpdateAgent(request *model.BatchUpdateAgentRequest) (*model.BatchUpdateAgentResponse, error)
- func (c *AomClient) BatchUpdateAgentInvoker(request *model.BatchUpdateAgentRequest) *BatchUpdateAgentInvoker
- func (c *AomClient) ShowAgentInfos(request *model.ShowAgentInfosRequest) (*model.ShowAgentInfosResponse, error)
- func (c *AomClient) ShowAgentInfosInvoker(request *model.ShowAgentInfosRequest) *ShowAgentInfosInvoker
- type BatchImportAgentInvoker
- type BatchUpdateAgentInvoker
- type ShowAgentInfosInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AomClientBuilder ¶
func AomClientBuilder() *httpclient.HcHttpClientBuilder
func GenReqDefForBatchImportAgent ¶
func GenReqDefForBatchImportAgent() *def.HttpRequestDef
func GenReqDefForBatchUpdateAgent ¶
func GenReqDefForBatchUpdateAgent() *def.HttpRequestDef
func GenReqDefForShowAgentInfos ¶
func GenReqDefForShowAgentInfos() *def.HttpRequestDef
Types ¶
type AomClient ¶
type AomClient struct {
HcClient *httpclient.HcHttpClient
}
func NewAomClient ¶
func NewAomClient(hcClient *httpclient.HcHttpClient) *AomClient
func (*AomClient) BatchImportAgent ¶
func (c *AomClient) BatchImportAgent(request *model.BatchImportAgentRequest) (*model.BatchImportAgentResponse, error)
BatchImportAgent 下发批量安装UniAgent任务
该接口用于下发批量安装UniAgent任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) BatchImportAgentInvoker ¶
func (c *AomClient) BatchImportAgentInvoker(request *model.BatchImportAgentRequest) *BatchImportAgentInvoker
BatchImportAgentInvoker 下发批量安装UniAgent任务
func (*AomClient) BatchUpdateAgent ¶
func (c *AomClient) BatchUpdateAgent(request *model.BatchUpdateAgentRequest) (*model.BatchUpdateAgentResponse, error)
BatchUpdateAgent 下发批量升级UniAgent任务
该接口用于下发批量升级UniAgent任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) BatchUpdateAgentInvoker ¶
func (c *AomClient) BatchUpdateAgentInvoker(request *model.BatchUpdateAgentRequest) *BatchUpdateAgentInvoker
BatchUpdateAgentInvoker 下发批量升级UniAgent任务
func (*AomClient) ShowAgentInfos ¶
func (c *AomClient) ShowAgentInfos(request *model.ShowAgentInfosRequest) (*model.ShowAgentInfosResponse, error)
ShowAgentInfos 查询UniAgent主机列表信息
该接口用于查询执行过安装UniAgent任务的主机列表信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) ShowAgentInfosInvoker ¶
func (c *AomClient) ShowAgentInfosInvoker(request *model.ShowAgentInfosRequest) *ShowAgentInfosInvoker
ShowAgentInfosInvoker 查询UniAgent主机列表信息
type BatchImportAgentInvoker ¶
type BatchImportAgentInvoker struct {
*invoker.BaseInvoker
}
func (*BatchImportAgentInvoker) GetBaseInvoker ¶
func (i *BatchImportAgentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*BatchImportAgentInvoker) Invoke ¶
func (i *BatchImportAgentInvoker) Invoke() (*model.BatchImportAgentResponse, error)
type BatchUpdateAgentInvoker ¶
type BatchUpdateAgentInvoker struct {
*invoker.BaseInvoker
}
func (*BatchUpdateAgentInvoker) GetBaseInvoker ¶
func (i *BatchUpdateAgentInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*BatchUpdateAgentInvoker) Invoke ¶
func (i *BatchUpdateAgentInvoker) Invoke() (*model.BatchUpdateAgentResponse, error)
type ShowAgentInfosInvoker ¶
type ShowAgentInfosInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAgentInfosInvoker) GetBaseInvoker ¶
func (i *ShowAgentInfosInvoker) GetBaseInvoker() *invoker.BaseInvoker
func (*ShowAgentInfosInvoker) Invoke ¶
func (i *ShowAgentInfosInvoker) Invoke() (*model.ShowAgentInfosResponse, error)
Click to show internal directories.
Click to hide internal directories.