v2

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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 GenReqDefForUpdateLogContents

func GenReqDefForUpdateLogContents() *def.HttpRequestDef

func GenReqDefForUpdateLogContents2

func GenReqDefForUpdateLogContents2() *def.HttpRequestDef

func GenReqDefForUpdateLogContents3

func GenReqDefForUpdateLogContents3() *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) UpdateLogContents

func (c *LtsClient) UpdateLogContents(request *model.UpdateLogContentsRequest) (*model.UpdateLogContentsResponse, error)

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

func (*LtsClient) UpdateLogContents2

func (c *LtsClient) UpdateLogContents2(request *model.UpdateLogContents2Request) (*model.UpdateLogContents2Response, error)

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

func (*LtsClient) UpdateLogContents3

func (c *LtsClient) UpdateLogContents3(request *model.UpdateLogContents3Request) (*model.UpdateLogContents3Response, error)

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

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