bls

package
v0.9.91 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_SERVICE_DOMAIN = "bls-log.bj.baidubce.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlsClientConfiguration

type BlsClientConfiguration struct {
	Ak       string
	Sk       string
	Endpoint string
}

type Client

type Client struct {
	*bce.BceClient
}

func NewClient

func NewClient(ak, sk, endpoint string) (*Client, error)

func NewClientWithConfig

func NewClientWithConfig(config *BlsClientConfiguration) (*Client, error)

func (*Client) BulkDeleteLogShipper added in v0.9.83

func (c *Client) BulkDeleteLogShipper(args *api.BulkDeleteShipperCondition) error

func (*Client) BulkSetLogShipperStatus added in v0.9.83

func (c *Client) BulkSetLogShipperStatus(args *api.BulkSetShipperStatusCondition) error

func (*Client) CreateFastQuery

func (c *Client) CreateFastQuery(args *api.CreateFastQueryBody) error

FastQuery opts

func (*Client) CreateIndex

func (c *Client) CreateIndex(logStore string, fulltext bool, fields map[string]api.LogField) error

Index opts

func (*Client) CreateLogShipper added in v0.9.83

func (c *Client) CreateLogShipper(args *api.CreateLogShipperBody) (string, error)

func (*Client) CreateLogStore

func (c *Client) CreateLogStore(logStore string, retention int) error

LogStore opts

func (*Client) DeleteFastQuery

func (c *Client) DeleteFastQuery(fastQueryName string) error

func (*Client) DeleteIndex

func (c *Client) DeleteIndex(logStore string) error

func (*Client) DeleteLogStore

func (c *Client) DeleteLogStore(logStore string) error

func (*Client) DeleteSingleLogShipper added in v0.9.83

func (c *Client) DeleteSingleLogShipper(logShipperID string) error

func (*Client) DescribeFastQuery

func (c *Client) DescribeFastQuery(fastQueryName string) (*api.FastQuery, error)

func (*Client) DescribeIndex

func (c *Client) DescribeIndex(logStore string) (*api.IndexFields, error)

func (*Client) DescribeLogStore

func (c *Client) DescribeLogStore(logStore string) (*api.LogStore, error)

func (*Client) GetLogShipper added in v0.9.83

func (c *Client) GetLogShipper(logShipperID string) (*api.LogShipper, error)

func (*Client) ListFastQuery

func (c *Client) ListFastQuery(args *api.QueryConditions) (*api.ListFastQueryResult, error)

func (*Client) ListLogShipper added in v0.9.83

func (c *Client) ListLogShipper(args *api.ListLogShipperCondition) (*api.ListShipperResult, error)

LogShipper opts

func (*Client) ListLogShipperRecord added in v0.9.83

func (c *Client) ListLogShipperRecord(logShipperID string, args *api.ListShipperRecordCondition) (*api.ListShipperRecordResult, error)

func (*Client) ListLogStore

func (c *Client) ListLogStore(args *api.QueryConditions) (*api.ListLogStoreResult, error)

func (*Client) ListLogStream

func (c *Client) ListLogStream(logStore string, args *api.QueryConditions) (*api.ListLogStreamResult, error)

LogStream opt

func (*Client) PullLogRecord

func (c *Client) PullLogRecord(logStore string, args *api.PullLogRecordArgs) (*api.PullLogRecordResult, error)

func (*Client) PushLogRecord

func (c *Client) PushLogRecord(logStore string, logStream string, logType string, logRecords []api.LogRecord) error

LogRecord opts

func (*Client) QueryLogRecord

func (c *Client) QueryLogRecord(logStore string, args *api.QueryLogRecordArgs) (*api.QueryLogResult, error)

func (*Client) SetSingleLogShipperStatus added in v0.9.83

func (c *Client) SetSingleLogShipperStatus(logShipperID string, args *api.SetSingleShipperStatusCondition) error

func (*Client) UpdateFastQuery

func (c *Client) UpdateFastQuery(fastQueryName string, args *api.UpdateFastQueryBody) error

func (*Client) UpdateIndex

func (c *Client) UpdateIndex(logStore string, fulltext bool, fields map[string]api.LogField) error

func (*Client) UpdateLogShipper added in v0.9.83

func (c *Client) UpdateLogShipper(logShipperID string, args *api.UpdateLogShipperBody) error

func (*Client) UpdateLogStore

func (c *Client) UpdateLogStore(logStore string, retention int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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