Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2016 Changes in this version + type Client struct + func NewClient(ctx context.Context, projectID string, opts ...option.ClientOption) (*Client, error) + func (c *Client) Close() error + func (c *Client) CreateMetric(ctx context.Context, m *Metric) error + func (c *Client) CreateSink(ctx context.Context, sink *Sink) (*Sink, error) + func (c *Client) DeleteLog(ctx context.Context, logID string) error + func (c *Client) DeleteMetric(ctx context.Context, metricID string) error + func (c *Client) DeleteSink(ctx context.Context, sinkID string) error + func (c *Client) Entries(ctx context.Context, opts ...EntriesOption) *EntryIterator + func (c *Client) Metric(ctx context.Context, metricID string) (*Metric, error) + func (c *Client) Metrics(ctx context.Context) *MetricIterator + func (c *Client) ResourceDescriptors(ctx context.Context) *ResourceDescriptorIterator + func (c *Client) Sink(ctx context.Context, sinkID string) (*Sink, error) + func (c *Client) Sinks(ctx context.Context) *SinkIterator + func (c *Client) UpdateMetric(ctx context.Context, m *Metric) error + func (c *Client) UpdateSink(ctx context.Context, sink *Sink) (*Sink, error) + type EntriesOption interface + func Filter(f string) EntriesOption + func NewestFirst() EntriesOption + func OrderBy(ob string) EntriesOption + func ProjectIDs(pids []string) EntriesOption + type EntryIterator struct + func (it *EntryIterator) Next() (*logging.Entry, error) + func (it *EntryIterator) PageInfo() *iterator.PageInfo + type Metric struct + Description string + Filter string + ID string + type MetricIterator struct + func (it *MetricIterator) Next() (*Metric, error) + func (it *MetricIterator) PageInfo() *iterator.PageInfo + type ResourceDescriptorIterator struct + func (it *ResourceDescriptorIterator) Next() (*mrpb.MonitoredResourceDescriptor, error) + type Sink struct + Destination string + Filter string + ID string + type SinkIterator struct + func (it *SinkIterator) Next() (*Sink, error) + func (it *SinkIterator) PageInfo() *iterator.PageInfo