Documentation ¶
Index ¶
- type AgentStatusInfo
- type AgentStatusInfoUniagentStatus
- type AgentStatusInfoUniagentStatusEnum
- type BatchCreateAgentInvocationsRequest
- type BatchCreateAgentInvocationsResponse
- type BatchCreateInvocationInfo
- type BatchCreateInvocationInfoRetStatus
- type BatchCreateInvocationInfoRetStatusEnum
- type BatchCreateInvocationRequestBody
- type BatchCreateInvocationRequestBodyInvocationTarget
- type BatchCreateInvocationRequestBodyInvocationTargetEnum
- type BatchCreateInvocationRequestBodyInvocationType
- type BatchCreateInvocationRequestBodyInvocationTypeEnum
- type BatchCreateInvocationRequestBodyOrigin
- type BatchCreateInvocationRequestBodyOriginEnum
- type BatchCreateInvocationRequestBodyVersionType
- type BatchCreateInvocationRequestBodyVersionTypeEnum
- type ExtensionInfo
- type ExtensionInfoStatus
- type ExtensionInfoStatusEnum
- type InvocationInfo
- type InvocationInfoInstanceType
- type InvocationInfoInstanceTypeEnum
- type InvocationInfoInvocationStatus
- type InvocationInfoInvocationStatusEnum
- type InvocationInfoInvocationTarget
- type InvocationInfoInvocationTargetEnum
- type InvocationInfoInvocationType
- type InvocationInfoInvocationTypeEnum
- type ListAgentInvocationsRequest
- type ListAgentInvocationsRequestInstanceType
- type ListAgentInvocationsRequestInstanceTypeEnum
- type ListAgentInvocationsRequestInvocationTarget
- type ListAgentInvocationsRequestInvocationTargetEnum
- type ListAgentInvocationsRequestInvocationType
- type ListAgentInvocationsRequestInvocationTypeEnum
- type ListAgentInvocationsResponse
- type ListAgentStatusRequest
- type ListAgentStatusRequestBody
- type ListAgentStatusRequestBodyExtensionName
- type ListAgentStatusRequestBodyExtensionNameEnum
- type ListAgentStatusRequestBodyExtensionStatus
- type ListAgentStatusRequestBodyExtensionStatusEnum
- type ListAgentStatusRequestBodyUniagentStatus
- type ListAgentStatusRequestBodyUniagentStatusEnum
- type ListAgentStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentStatusInfo ¶
type AgentStatusInfo struct { // 机器id InstanceId *string `json:"instance_id,omitempty"` // uniagent运行状态,none无,running运行中,silent静默中,unknown故障 UniagentStatus *AgentStatusInfoUniagentStatus `json:"uniagent_status,omitempty"` // 插件信息列表 Extensions *[]ExtensionInfo `json:"extensions,omitempty"` }
func (AgentStatusInfo) String ¶
func (o AgentStatusInfo) String() string
type AgentStatusInfoUniagentStatus ¶
type AgentStatusInfoUniagentStatus struct {
// contains filtered or unexported fields
}
func (AgentStatusInfoUniagentStatus) MarshalJSON ¶
func (c AgentStatusInfoUniagentStatus) MarshalJSON() ([]byte, error)
func (*AgentStatusInfoUniagentStatus) UnmarshalJSON ¶
func (c *AgentStatusInfoUniagentStatus) UnmarshalJSON(b []byte) error
func (AgentStatusInfoUniagentStatus) Value ¶
func (c AgentStatusInfoUniagentStatus) Value() string
type AgentStatusInfoUniagentStatusEnum ¶
type AgentStatusInfoUniagentStatusEnum struct { NONE AgentStatusInfoUniagentStatus RUNNING AgentStatusInfoUniagentStatus SILENT AgentStatusInfoUniagentStatus UNKNOWN AgentStatusInfoUniagentStatus }
func GetAgentStatusInfoUniagentStatusEnum ¶
func GetAgentStatusInfoUniagentStatusEnum() AgentStatusInfoUniagentStatusEnum
type BatchCreateAgentInvocationsRequest ¶
type BatchCreateAgentInvocationsRequest struct {
Body *BatchCreateInvocationRequestBody `json:"body,omitempty"`
}
BatchCreateAgentInvocationsRequest Request Object
func (BatchCreateAgentInvocationsRequest) String ¶
func (o BatchCreateAgentInvocationsRequest) String() string
type BatchCreateAgentInvocationsResponse ¶
type BatchCreateAgentInvocationsResponse struct { // 创建任务的信息列表 Invocations *[]BatchCreateInvocationInfo `json:"invocations,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateAgentInvocationsResponse Response Object
func (BatchCreateAgentInvocationsResponse) String ¶
func (o BatchCreateAgentInvocationsResponse) String() string
type BatchCreateInvocationInfo ¶
type BatchCreateInvocationInfo struct { // 机器id InstanceId *string `json:"instance_id,omitempty"` // 任务id InvocationId *string `json:"invocation_id,omitempty"` // 任务结果, successful成功,error失败 RetStatus *BatchCreateInvocationInfoRetStatus `json:"ret_status,omitempty"` // 错误码 ErrorCode *string `json:"error_code,omitempty"` // 错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
func (BatchCreateInvocationInfo) String ¶
func (o BatchCreateInvocationInfo) String() string
type BatchCreateInvocationInfoRetStatus ¶
type BatchCreateInvocationInfoRetStatus struct {
// contains filtered or unexported fields
}
func (BatchCreateInvocationInfoRetStatus) MarshalJSON ¶
func (c BatchCreateInvocationInfoRetStatus) MarshalJSON() ([]byte, error)
func (*BatchCreateInvocationInfoRetStatus) UnmarshalJSON ¶
func (c *BatchCreateInvocationInfoRetStatus) UnmarshalJSON(b []byte) error
func (BatchCreateInvocationInfoRetStatus) Value ¶
func (c BatchCreateInvocationInfoRetStatus) Value() string
type BatchCreateInvocationInfoRetStatusEnum ¶
type BatchCreateInvocationInfoRetStatusEnum struct { SUCCESSFUL BatchCreateInvocationInfoRetStatus ERROR BatchCreateInvocationInfoRetStatus }
func GetBatchCreateInvocationInfoRetStatusEnum ¶
func GetBatchCreateInvocationInfoRetStatusEnum() BatchCreateInvocationInfoRetStatusEnum
type BatchCreateInvocationRequestBody ¶
type BatchCreateInvocationRequestBody struct { // 主机id列表(INSTALL和UPDATE时必须) InstanceIds *[]string `json:"instance_ids,omitempty"` // 任务类型,INSTALL 安装,UPDATE升级,ROLLBACK回退,RETRY重试 InvocationType BatchCreateInvocationRequestBodyInvocationType `json:"invocation_type"` // 任务对象,目前仅支持telescope InvocationTarget *BatchCreateInvocationRequestBodyInvocationTarget `json:"invocation_target,omitempty"` // 任务ID列表(ROLLBACK和RETRY时必须) InvocationIds *[]string `json:"invocation_ids,omitempty"` // 插件升级时需要选择升级“基础版本”还是“增强版本”,传值“BASIC_VERSION”表示升级成基础版本,传值“ADVANCE_VERSION”表示升级成增强版本 VersionType *BatchCreateInvocationRequestBodyVersionType `json:"version_type,omitempty"` // Agent任务接口调用源,CES表示由Console调用,APICOM_BMS表示由裸金属服务器调用,ADMIN_SERVER表示由运维平台调用 Origin *BatchCreateInvocationRequestBodyOrigin `json:"origin,omitempty"` }
func (BatchCreateInvocationRequestBody) String ¶
func (o BatchCreateInvocationRequestBody) String() string
type BatchCreateInvocationRequestBodyInvocationTarget ¶
type BatchCreateInvocationRequestBodyInvocationTarget struct {
// contains filtered or unexported fields
}
func (BatchCreateInvocationRequestBodyInvocationTarget) MarshalJSON ¶
func (c BatchCreateInvocationRequestBodyInvocationTarget) MarshalJSON() ([]byte, error)
func (*BatchCreateInvocationRequestBodyInvocationTarget) UnmarshalJSON ¶
func (c *BatchCreateInvocationRequestBodyInvocationTarget) UnmarshalJSON(b []byte) error
func (BatchCreateInvocationRequestBodyInvocationTarget) Value ¶
func (c BatchCreateInvocationRequestBodyInvocationTarget) Value() string
type BatchCreateInvocationRequestBodyInvocationTargetEnum ¶
type BatchCreateInvocationRequestBodyInvocationTargetEnum struct {
TELESCOPE BatchCreateInvocationRequestBodyInvocationTarget
}
func GetBatchCreateInvocationRequestBodyInvocationTargetEnum ¶
func GetBatchCreateInvocationRequestBodyInvocationTargetEnum() BatchCreateInvocationRequestBodyInvocationTargetEnum
type BatchCreateInvocationRequestBodyInvocationType ¶
type BatchCreateInvocationRequestBodyInvocationType struct {
// contains filtered or unexported fields
}
func (BatchCreateInvocationRequestBodyInvocationType) MarshalJSON ¶
func (c BatchCreateInvocationRequestBodyInvocationType) MarshalJSON() ([]byte, error)
func (*BatchCreateInvocationRequestBodyInvocationType) UnmarshalJSON ¶
func (c *BatchCreateInvocationRequestBodyInvocationType) UnmarshalJSON(b []byte) error
func (BatchCreateInvocationRequestBodyInvocationType) Value ¶
func (c BatchCreateInvocationRequestBodyInvocationType) Value() string
type BatchCreateInvocationRequestBodyInvocationTypeEnum ¶
type BatchCreateInvocationRequestBodyInvocationTypeEnum struct { INSTALL BatchCreateInvocationRequestBodyInvocationType UPDATE BatchCreateInvocationRequestBodyInvocationType ROLLBACK BatchCreateInvocationRequestBodyInvocationType RETRY BatchCreateInvocationRequestBodyInvocationType }
func GetBatchCreateInvocationRequestBodyInvocationTypeEnum ¶
func GetBatchCreateInvocationRequestBodyInvocationTypeEnum() BatchCreateInvocationRequestBodyInvocationTypeEnum
type BatchCreateInvocationRequestBodyOrigin ¶
type BatchCreateInvocationRequestBodyOrigin struct {
// contains filtered or unexported fields
}
func (BatchCreateInvocationRequestBodyOrigin) MarshalJSON ¶
func (c BatchCreateInvocationRequestBodyOrigin) MarshalJSON() ([]byte, error)
func (*BatchCreateInvocationRequestBodyOrigin) UnmarshalJSON ¶
func (c *BatchCreateInvocationRequestBodyOrigin) UnmarshalJSON(b []byte) error
func (BatchCreateInvocationRequestBodyOrigin) Value ¶
func (c BatchCreateInvocationRequestBodyOrigin) Value() string
type BatchCreateInvocationRequestBodyOriginEnum ¶
type BatchCreateInvocationRequestBodyOriginEnum struct { CES BatchCreateInvocationRequestBodyOrigin APICOM_BMS BatchCreateInvocationRequestBodyOrigin ADMIN_SERVER BatchCreateInvocationRequestBodyOrigin }
func GetBatchCreateInvocationRequestBodyOriginEnum ¶
func GetBatchCreateInvocationRequestBodyOriginEnum() BatchCreateInvocationRequestBodyOriginEnum
type BatchCreateInvocationRequestBodyVersionType ¶
type BatchCreateInvocationRequestBodyVersionType struct {
// contains filtered or unexported fields
}
func (BatchCreateInvocationRequestBodyVersionType) MarshalJSON ¶
func (c BatchCreateInvocationRequestBodyVersionType) MarshalJSON() ([]byte, error)
func (*BatchCreateInvocationRequestBodyVersionType) UnmarshalJSON ¶
func (c *BatchCreateInvocationRequestBodyVersionType) UnmarshalJSON(b []byte) error
func (BatchCreateInvocationRequestBodyVersionType) Value ¶
func (c BatchCreateInvocationRequestBodyVersionType) Value() string
type BatchCreateInvocationRequestBodyVersionTypeEnum ¶
type BatchCreateInvocationRequestBodyVersionTypeEnum struct { BASIC_VERSION BatchCreateInvocationRequestBodyVersionType ADVANCE_VERSION BatchCreateInvocationRequestBodyVersionType }
func GetBatchCreateInvocationRequestBodyVersionTypeEnum ¶
func GetBatchCreateInvocationRequestBodyVersionTypeEnum() BatchCreateInvocationRequestBodyVersionTypeEnum
type ExtensionInfo ¶
type ExtensionInfo struct { // 插件名称 Name *string `json:"name,omitempty"` // 插件状态, none未安装,running运行中,stopped已停止,fault故障(进程异常),unknown故障(连接异常) Status *ExtensionInfoStatus `json:"status,omitempty"` }
func (ExtensionInfo) String ¶
func (o ExtensionInfo) String() string
type ExtensionInfoStatus ¶
type ExtensionInfoStatus struct {
// contains filtered or unexported fields
}
func (ExtensionInfoStatus) MarshalJSON ¶
func (c ExtensionInfoStatus) MarshalJSON() ([]byte, error)
func (*ExtensionInfoStatus) UnmarshalJSON ¶
func (c *ExtensionInfoStatus) UnmarshalJSON(b []byte) error
func (ExtensionInfoStatus) Value ¶
func (c ExtensionInfoStatus) Value() string
type ExtensionInfoStatusEnum ¶
type ExtensionInfoStatusEnum struct { NONE ExtensionInfoStatus RUNNING ExtensionInfoStatus STOPPED ExtensionInfoStatus FAULT ExtensionInfoStatus UNKNOWN ExtensionInfoStatus }
func GetExtensionInfoStatusEnum ¶
func GetExtensionInfoStatusEnum() ExtensionInfoStatusEnum
type InvocationInfo ¶
type InvocationInfo struct { // 任务id InvocationId *string `json:"invocation_id,omitempty"` // 主机id InstanceId *string `json:"instance_id,omitempty"` // 主机名称 InstanceName *string `json:"instance_name,omitempty"` // 主机类型,ECS弹性云服务器,BMS裸金属服务器 InstanceType *InvocationInfoInstanceType `json:"instance_type,omitempty"` // 内网ip列表 IntranetIps *[]string `json:"intranet_ips,omitempty"` // 弹性公网ip列表 ElasticIps *[]string `json:"elastic_ips,omitempty"` // 任务类型(INSTALL 安装,UPDATE升级,ROLLBACK回滚) InvocationType *InvocationInfoInvocationType `json:"invocation_type,omitempty"` // 任务状态,PENDING 待执行,RUNNING 运行中,TIMEOUT 超时,FAILED 失败,SUCCEEDED 成功,CANCELED 取消,ROLLBACKED已回退 InvocationStatus *InvocationInfoInvocationStatus `json:"invocation_status,omitempty"` // 任务对象,目前仅支持telescope InvocationTarget *InvocationInfoInvocationTarget `json:"invocation_target,omitempty"` // 任务创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 任务更新时间 UpdateTime *int64 `json:"update_time,omitempty"` // 当前版本 CurrentVersion *string `json:"current_version,omitempty"` // 目标版本 TargetVersion *string `json:"target_version,omitempty"` }
func (InvocationInfo) String ¶
func (o InvocationInfo) String() string
type InvocationInfoInstanceType ¶
type InvocationInfoInstanceType struct {
// contains filtered or unexported fields
}
func (InvocationInfoInstanceType) MarshalJSON ¶
func (c InvocationInfoInstanceType) MarshalJSON() ([]byte, error)
func (*InvocationInfoInstanceType) UnmarshalJSON ¶
func (c *InvocationInfoInstanceType) UnmarshalJSON(b []byte) error
func (InvocationInfoInstanceType) Value ¶
func (c InvocationInfoInstanceType) Value() string
type InvocationInfoInstanceTypeEnum ¶
type InvocationInfoInstanceTypeEnum struct { ECS InvocationInfoInstanceType BMS InvocationInfoInstanceType }
func GetInvocationInfoInstanceTypeEnum ¶
func GetInvocationInfoInstanceTypeEnum() InvocationInfoInstanceTypeEnum
type InvocationInfoInvocationStatus ¶
type InvocationInfoInvocationStatus struct {
// contains filtered or unexported fields
}
func (InvocationInfoInvocationStatus) MarshalJSON ¶
func (c InvocationInfoInvocationStatus) MarshalJSON() ([]byte, error)
func (*InvocationInfoInvocationStatus) UnmarshalJSON ¶
func (c *InvocationInfoInvocationStatus) UnmarshalJSON(b []byte) error
func (InvocationInfoInvocationStatus) Value ¶
func (c InvocationInfoInvocationStatus) Value() string
type InvocationInfoInvocationStatusEnum ¶
type InvocationInfoInvocationStatusEnum struct { PENDING InvocationInfoInvocationStatus RUNNING InvocationInfoInvocationStatus TIMEOUT InvocationInfoInvocationStatus FAILED InvocationInfoInvocationStatus SUCCEEDED InvocationInfoInvocationStatus CANCELED InvocationInfoInvocationStatus ROLLBACKED InvocationInfoInvocationStatus }
func GetInvocationInfoInvocationStatusEnum ¶
func GetInvocationInfoInvocationStatusEnum() InvocationInfoInvocationStatusEnum
type InvocationInfoInvocationTarget ¶
type InvocationInfoInvocationTarget struct {
// contains filtered or unexported fields
}
func (InvocationInfoInvocationTarget) MarshalJSON ¶
func (c InvocationInfoInvocationTarget) MarshalJSON() ([]byte, error)
func (*InvocationInfoInvocationTarget) UnmarshalJSON ¶
func (c *InvocationInfoInvocationTarget) UnmarshalJSON(b []byte) error
func (InvocationInfoInvocationTarget) Value ¶
func (c InvocationInfoInvocationTarget) Value() string
type InvocationInfoInvocationTargetEnum ¶
type InvocationInfoInvocationTargetEnum struct {
TELESCOPE InvocationInfoInvocationTarget
}
func GetInvocationInfoInvocationTargetEnum ¶
func GetInvocationInfoInvocationTargetEnum() InvocationInfoInvocationTargetEnum
type InvocationInfoInvocationType ¶
type InvocationInfoInvocationType struct {
// contains filtered or unexported fields
}
func (InvocationInfoInvocationType) MarshalJSON ¶
func (c InvocationInfoInvocationType) MarshalJSON() ([]byte, error)
func (*InvocationInfoInvocationType) UnmarshalJSON ¶
func (c *InvocationInfoInvocationType) UnmarshalJSON(b []byte) error
func (InvocationInfoInvocationType) Value ¶
func (c InvocationInfoInvocationType) Value() string
type InvocationInfoInvocationTypeEnum ¶
type InvocationInfoInvocationTypeEnum struct { INSTALL InvocationInfoInvocationType UPDATE InvocationInfoInvocationType ROLLBACK InvocationInfoInvocationType }
func GetInvocationInfoInvocationTypeEnum ¶
func GetInvocationInfoInvocationTypeEnum() InvocationInfoInvocationTypeEnum
type ListAgentInvocationsRequest ¶
type ListAgentInvocationsRequest struct { // 主机id InstanceId *string `json:"instance_id,omitempty"` // 主机名称 InstanceName *string `json:"instance_name,omitempty"` // 主机类型,ECS弹性云服务器,BMS裸金属服务器 InstanceType *ListAgentInvocationsRequestInstanceType `json:"instance_type,omitempty"` // 任务id InvocationId *string `json:"invocation_id,omitempty"` // 任务类型,INSTALL 安装,UPDATE 升级,ROLLBACK 回退 InvocationType *ListAgentInvocationsRequestInvocationType `json:"invocation_type,omitempty"` // 任务对象,目前仅支持telescope InvocationTarget *ListAgentInvocationsRequestInvocationTarget `json:"invocation_target,omitempty"` // 分页偏移量 Offset *int32 `json:"offset,omitempty"` // 分页大小 Limit *int32 `json:"limit,omitempty"` }
ListAgentInvocationsRequest Request Object
func (ListAgentInvocationsRequest) String ¶
func (o ListAgentInvocationsRequest) String() string
type ListAgentInvocationsRequestInstanceType ¶
type ListAgentInvocationsRequestInstanceType struct {
// contains filtered or unexported fields
}
func (ListAgentInvocationsRequestInstanceType) MarshalJSON ¶
func (c ListAgentInvocationsRequestInstanceType) MarshalJSON() ([]byte, error)
func (*ListAgentInvocationsRequestInstanceType) UnmarshalJSON ¶
func (c *ListAgentInvocationsRequestInstanceType) UnmarshalJSON(b []byte) error
func (ListAgentInvocationsRequestInstanceType) Value ¶
func (c ListAgentInvocationsRequestInstanceType) Value() string
type ListAgentInvocationsRequestInstanceTypeEnum ¶
type ListAgentInvocationsRequestInstanceTypeEnum struct { ECS ListAgentInvocationsRequestInstanceType BMS ListAgentInvocationsRequestInstanceType }
func GetListAgentInvocationsRequestInstanceTypeEnum ¶
func GetListAgentInvocationsRequestInstanceTypeEnum() ListAgentInvocationsRequestInstanceTypeEnum
type ListAgentInvocationsRequestInvocationTarget ¶
type ListAgentInvocationsRequestInvocationTarget struct {
// contains filtered or unexported fields
}
func (ListAgentInvocationsRequestInvocationTarget) MarshalJSON ¶
func (c ListAgentInvocationsRequestInvocationTarget) MarshalJSON() ([]byte, error)
func (*ListAgentInvocationsRequestInvocationTarget) UnmarshalJSON ¶
func (c *ListAgentInvocationsRequestInvocationTarget) UnmarshalJSON(b []byte) error
func (ListAgentInvocationsRequestInvocationTarget) Value ¶
func (c ListAgentInvocationsRequestInvocationTarget) Value() string
type ListAgentInvocationsRequestInvocationTargetEnum ¶
type ListAgentInvocationsRequestInvocationTargetEnum struct {
TELESCOPE ListAgentInvocationsRequestInvocationTarget
}
func GetListAgentInvocationsRequestInvocationTargetEnum ¶
func GetListAgentInvocationsRequestInvocationTargetEnum() ListAgentInvocationsRequestInvocationTargetEnum
type ListAgentInvocationsRequestInvocationType ¶
type ListAgentInvocationsRequestInvocationType struct {
// contains filtered or unexported fields
}
func (ListAgentInvocationsRequestInvocationType) MarshalJSON ¶
func (c ListAgentInvocationsRequestInvocationType) MarshalJSON() ([]byte, error)
func (*ListAgentInvocationsRequestInvocationType) UnmarshalJSON ¶
func (c *ListAgentInvocationsRequestInvocationType) UnmarshalJSON(b []byte) error
func (ListAgentInvocationsRequestInvocationType) Value ¶
func (c ListAgentInvocationsRequestInvocationType) Value() string
type ListAgentInvocationsRequestInvocationTypeEnum ¶
type ListAgentInvocationsRequestInvocationTypeEnum struct { INSTALL ListAgentInvocationsRequestInvocationType UPDATE ListAgentInvocationsRequestInvocationType ROLLBACK ListAgentInvocationsRequestInvocationType }
func GetListAgentInvocationsRequestInvocationTypeEnum ¶
func GetListAgentInvocationsRequestInvocationTypeEnum() ListAgentInvocationsRequestInvocationTypeEnum
type ListAgentInvocationsResponse ¶
type ListAgentInvocationsResponse struct { // 任务列表 Invocations *[]InvocationInfo `json:"invocations,omitempty"` // 任务列表总量 Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
ListAgentInvocationsResponse Response Object
func (ListAgentInvocationsResponse) String ¶
func (o ListAgentInvocationsResponse) String() string
type ListAgentStatusRequest ¶
type ListAgentStatusRequest struct {
Body *ListAgentStatusRequestBody `json:"body,omitempty"`
}
ListAgentStatusRequest Request Object
func (ListAgentStatusRequest) String ¶
func (o ListAgentStatusRequest) String() string
type ListAgentStatusRequestBody ¶
type ListAgentStatusRequestBody struct { // 机器实例id列表 InstanceIds []string `json:"instance_ids"` // uniagent运行状态,不传查所有状态,none无,running运行中,silent静默中,unknown故障 UniagentStatus *ListAgentStatusRequestBodyUniagentStatus `json:"uniagent_status,omitempty"` // 插件名称,不传查所有插件,目前仅支持telescope ExtensionName *ListAgentStatusRequestBodyExtensionName `json:"extension_name,omitempty"` // 插件状态,不传查所有状态, none未安装,running运行中,stopped已停止,fault故障(进程异常),unknown故障(连接异常) ExtensionStatus *ListAgentStatusRequestBodyExtensionStatus `json:"extension_status,omitempty"` }
func (ListAgentStatusRequestBody) String ¶
func (o ListAgentStatusRequestBody) String() string
type ListAgentStatusRequestBodyExtensionName ¶
type ListAgentStatusRequestBodyExtensionName struct {
// contains filtered or unexported fields
}
func (ListAgentStatusRequestBodyExtensionName) MarshalJSON ¶
func (c ListAgentStatusRequestBodyExtensionName) MarshalJSON() ([]byte, error)
func (*ListAgentStatusRequestBodyExtensionName) UnmarshalJSON ¶
func (c *ListAgentStatusRequestBodyExtensionName) UnmarshalJSON(b []byte) error
func (ListAgentStatusRequestBodyExtensionName) Value ¶
func (c ListAgentStatusRequestBodyExtensionName) Value() string
type ListAgentStatusRequestBodyExtensionNameEnum ¶
type ListAgentStatusRequestBodyExtensionNameEnum struct {
TELESCOPE ListAgentStatusRequestBodyExtensionName
}
func GetListAgentStatusRequestBodyExtensionNameEnum ¶
func GetListAgentStatusRequestBodyExtensionNameEnum() ListAgentStatusRequestBodyExtensionNameEnum
type ListAgentStatusRequestBodyExtensionStatus ¶
type ListAgentStatusRequestBodyExtensionStatus struct {
// contains filtered or unexported fields
}
func (ListAgentStatusRequestBodyExtensionStatus) MarshalJSON ¶
func (c ListAgentStatusRequestBodyExtensionStatus) MarshalJSON() ([]byte, error)
func (*ListAgentStatusRequestBodyExtensionStatus) UnmarshalJSON ¶
func (c *ListAgentStatusRequestBodyExtensionStatus) UnmarshalJSON(b []byte) error
func (ListAgentStatusRequestBodyExtensionStatus) Value ¶
func (c ListAgentStatusRequestBodyExtensionStatus) Value() string
type ListAgentStatusRequestBodyExtensionStatusEnum ¶
type ListAgentStatusRequestBodyExtensionStatusEnum struct { NONE ListAgentStatusRequestBodyExtensionStatus RUNNING ListAgentStatusRequestBodyExtensionStatus STOPPED ListAgentStatusRequestBodyExtensionStatus FAULT ListAgentStatusRequestBodyExtensionStatus UNKNOWN ListAgentStatusRequestBodyExtensionStatus }
func GetListAgentStatusRequestBodyExtensionStatusEnum ¶
func GetListAgentStatusRequestBodyExtensionStatusEnum() ListAgentStatusRequestBodyExtensionStatusEnum
type ListAgentStatusRequestBodyUniagentStatus ¶
type ListAgentStatusRequestBodyUniagentStatus struct {
// contains filtered or unexported fields
}
func (ListAgentStatusRequestBodyUniagentStatus) MarshalJSON ¶
func (c ListAgentStatusRequestBodyUniagentStatus) MarshalJSON() ([]byte, error)
func (*ListAgentStatusRequestBodyUniagentStatus) UnmarshalJSON ¶
func (c *ListAgentStatusRequestBodyUniagentStatus) UnmarshalJSON(b []byte) error
func (ListAgentStatusRequestBodyUniagentStatus) Value ¶
func (c ListAgentStatusRequestBodyUniagentStatus) Value() string
type ListAgentStatusRequestBodyUniagentStatusEnum ¶
type ListAgentStatusRequestBodyUniagentStatusEnum struct { NONE ListAgentStatusRequestBodyUniagentStatus RUNNING ListAgentStatusRequestBodyUniagentStatus SILENT ListAgentStatusRequestBodyUniagentStatus UNKNOWN ListAgentStatusRequestBodyUniagentStatus }
func GetListAgentStatusRequestBodyUniagentStatusEnum ¶
func GetListAgentStatusRequestBodyUniagentStatusEnum() ListAgentStatusRequestBodyUniagentStatusEnum
type ListAgentStatusResponse ¶
type ListAgentStatusResponse struct { // agent插件状态列表 AgentStatus *[]AgentStatusInfo `json:"agent_status,omitempty"` HttpStatusCode int `json:"-"` }
ListAgentStatusResponse Response Object
func (ListAgentStatusResponse) String ¶
func (o ListAgentStatusResponse) String() string
Source Files ¶
- model_agent_status_info.go
- model_batch_create_agent_invocations_request.go
- model_batch_create_agent_invocations_response.go
- model_batch_create_invocation_info.go
- model_batch_create_invocation_request_body.go
- model_extension_info.go
- model_invocation_info.go
- model_list_agent_invocations_request.go
- model_list_agent_invocations_response.go
- model_list_agent_status_request.go
- model_list_agent_status_request_body.go
- model_list_agent_status_response.go
Click to show internal directories.
Click to hide internal directories.