client

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogsClient

type LogsClient struct {
	core.JDCloudClient
}

func NewLogsClient

func NewLogsClient(credential *core.Credential) *LogsClient

func (*LogsClient) DescribeInstanceCollectConfs

查询当前实例的采集配置列表:此接口会生成agent心跳监控数据,用以表征agent的可用性。请求中若添加了X-Jdcloud-Logs-md5的header,将按照md5的方式处理返回值。

func (*LogsClient) DescribeLogdCA

func (c *LogsClient) DescribeLogdCA(request *logs.DescribeLogdCARequest) (*logs.DescribeLogdCAResponse, error)

返回特定有效期的证书

func (*LogsClient) Put

func (c *LogsClient) Put(request *logs.PutRequest) (*logs.PutResponse, error)

自定义日志上报。

func (*LogsClient) SetConfig

func (c *LogsClient) SetConfig(config *core.Config)

func (*LogsClient) SetLogger

func (c *LogsClient) SetLogger(logger core.Logger)

Jump to

Keyboard shortcuts

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