auditlog

package
v3.0.8-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 7 Imported by: 0

README

log desc key description


OpDesc多语言版本用作翻译key。 语言包中没有相应的值。 显示OpDesc当前内容。

key 中文含义
create host 新加主机到资源池
move host to resource pool 转移主机到资源池
host module change 主机模块变化
distribution host to app 分配主机到业务
host to idle module 转移主机到空闲机
host to fault module 转移主机到故障机
delete host 上交主机
update host 修改主机
import host 导入主机
delete app 删除业务
update app 修改业务信息
create app 创建业务
create inst 新建实例
update inst 修改实例
delete inst 删除实例
update proces 修改进程信息
delete process 删除进程
create process 创建进程
delete set 删除集群
create set 新建集群
update set 修改集群
create module 创建模块
delete module 删除模块
update module 更新模块信息

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	httpClient.Client
}

func NewClient

func NewClient(address string) *Client

NewClient 创建审计日志操作接口 log OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditAppLog

func (cli *Client) AuditAppLog(id interface{}, Content interface{}, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditAppLog 新加业务操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditHostLog

func (cli *Client) AuditHostLog(id interface{}, Content interface{}, OpDesc string, InnerIP, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditHostLog 新加主机操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditHostsLog

func (cli *Client) AuditHostsLog(Content []auditoplog.AuditLogExt, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditHostsLog 批量新加主机操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditModuleLog

func (cli *Client) AuditModuleLog(id interface{}, Content interface{}, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditModuleLog 新加模块操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditModulesLog

func (cli *Client) AuditModulesLog(Content []auditoplog.AuditLogContext, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditModulesLog 批量新加模块操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditObjLog

func (cli *Client) AuditObjLog(id interface{}, Content interface{}, OpDesc, opTarget string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditObjLog 新加对象操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditObjsLog

func (cli *Client) AuditObjsLog(Content []auditoplog.AuditLogContext, OpDesc, opTarget string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditObjsLog 批量新加对象操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditProcLog

func (cli *Client) AuditProcLog(id interface{}, Content interface{}, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditProcLog 新加进程操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditProcsLog

func (cli *Client) AuditProcsLog(Content []auditoplog.AuditLogContext, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditProcsLog 批量新加进程操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditSetLog

func (cli *Client) AuditSetLog(id interface{}, Content interface{}, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditSetLog 新加集群操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) AuditSetsLog

func (cli *Client) AuditSetsLog(Content []auditoplog.AuditLogContext, OpDesc string, ownerID, appID, user string, OpType auditoplog.AuditOpType) (interface{}, error)

AuditSetsLog 批量新加集群操作日志 OpDesc The multi-language version is used as the translation key. There is no corresponding value in the language pack. The current content is displayed.

func (*Client) GetAuditlogs

func (cli *Client) GetAuditlogs(input commondata.ObjQueryInput) (interface{}, error)

AuditHostsLog 批量新加主机操作日志

Jump to

Keyboard shortcuts

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