v2

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCreateLogDumpObs

func GenReqDefForCreateLogDumpObs() *def.HttpRequestDef

func GenReqDefForCreateLogGroup

func GenReqDefForCreateLogGroup() *def.HttpRequestDef

func GenReqDefForCreateLogStream

func GenReqDefForCreateLogStream() *def.HttpRequestDef

func GenReqDefForDeleteLogGroup

func GenReqDefForDeleteLogGroup() *def.HttpRequestDef

func GenReqDefForDeleteLogStream

func GenReqDefForDeleteLogStream() *def.HttpRequestDef

func GenReqDefForDisableLogCollection

func GenReqDefForDisableLogCollection() *def.HttpRequestDef

func GenReqDefForEnableLogCollection

func GenReqDefForEnableLogCollection() *def.HttpRequestDef

func GenReqDefForListLogGroups

func GenReqDefForListLogGroups() *def.HttpRequestDef

func GenReqDefForListLogStream

func GenReqDefForListLogStream() *def.HttpRequestDef

func GenReqDefForListLogs added in v0.0.51

func GenReqDefForListLogs() *def.HttpRequestDef

func GenReqDefForListQueryStructuredLogs added in v0.0.51

func GenReqDefForListQueryStructuredLogs() *def.HttpRequestDef

func GenReqDefForListStructuredLogsWithTimeRange added in v0.0.51

func GenReqDefForListStructuredLogsWithTimeRange() *def.HttpRequestDef

func GenReqDefForUpdateLogGroup

func GenReqDefForUpdateLogGroup() *def.HttpRequestDef

func LtsClientBuilder

func LtsClientBuilder() *http_client.HcHttpClientBuilder

Types

type LtsClient

type LtsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewLtsClient

func NewLtsClient(hcClient *http_client.HcHttpClient) *LtsClient

func (*LtsClient) CreateLogDumpObs

func (c *LtsClient) CreateLogDumpObs(request *model.CreateLogDumpObsRequest) (*model.CreateLogDumpObsResponse, error)

该接口用于将指定的一个或多个日志流的日志转储到OBS服务。

func (*LtsClient) CreateLogGroup

func (c *LtsClient) CreateLogGroup(request *model.CreateLogGroupRequest) (*model.CreateLogGroupResponse, error)

该接口用于创建一个日志组

func (*LtsClient) CreateLogStream

func (c *LtsClient) CreateLogStream(request *model.CreateLogStreamRequest) (*model.CreateLogStreamResponse, error)

该接口用于创建某个指定日志组下的日志流

func (*LtsClient) DeleteLogGroup

func (c *LtsClient) DeleteLogGroup(request *model.DeleteLogGroupRequest) (*model.DeleteLogGroupResponse, error)

该接口用于删除指定日志组。当日志组中的日志流配置了日志转储,需要取消日志转储后才可删除。

func (*LtsClient) DeleteLogStream

func (c *LtsClient) DeleteLogStream(request *model.DeleteLogStreamRequest) (*model.DeleteLogStreamResponse, error)

该接口用于删除指定日志组下的指定日志流。当该日志流配置了日志转储,需要取消日志转储后才可删除。

func (*LtsClient) DisableLogCollection

该接口用于将超额采集日志功能关闭。

func (*LtsClient) EnableLogCollection

该接口用于将超额采集日志功能打开。

func (*LtsClient) ListLogGroups

func (c *LtsClient) ListLogGroups(request *model.ListLogGroupsRequest) (*model.ListLogGroupsResponse, error)

该接口用于查询账号下所有日志组。

func (*LtsClient) ListLogStream

func (c *LtsClient) ListLogStream(request *model.ListLogStreamRequest) (*model.ListLogStreamResponse, error)

该接口用于查询指定日志组下的所有日志流信息。

func (*LtsClient) ListLogs added in v0.0.51

func (c *LtsClient) ListLogs(request *model.ListLogsRequest) (*model.ListLogsResponse, error)

该接口用于查询指定日志流下的日志内容。

func (*LtsClient) ListQueryStructuredLogs added in v0.0.51

该接口用于查询指定日志流下的结构化日志内容。

func (*LtsClient) ListStructuredLogsWithTimeRange added in v0.0.51

该接口用于查询指定日志流下的结构化日志内容(新版)。

func (*LtsClient) UpdateLogGroup

func (c *LtsClient) UpdateLogGroup(request *model.UpdateLogGroupRequest) (*model.UpdateLogGroupResponse, error)

该接口用于修改指定日志组下的日志存储时长。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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