Documentation
¶
Index ¶
- type Config
- type Connector
- func (c *Connector) BatchInsert(ctx context.Context, rawEvents []streaming.RawEvent) error
- func (c *Connector) CountEvents(ctx context.Context, namespace string, params streaming.CountEventsParams) ([]streaming.CountEventRow, error)
- func (c *Connector) CreateMeter(ctx context.Context, namespace string, meter meterpkg.Meter) error
- func (c *Connector) CreateNamespace(ctx context.Context, namespace string) error
- func (c *Connector) DeleteMeter(ctx context.Context, namespace string, meter meterpkg.Meter) error
- func (c *Connector) DeleteNamespace(ctx context.Context, namespace string) error
- func (c *Connector) ListEvents(ctx context.Context, namespace string, params meterevent.ListEventsParams) ([]streaming.RawEvent, error)
- func (c *Connector) ListEventsV2(ctx context.Context, params meterevent.ListEventsV2Params) ([]streaming.RawEvent, error)
- func (c *Connector) ListMeterSubjects(ctx context.Context, namespace string, meter meterpkg.Meter, ...) ([]string, error)
- func (c *Connector) QueryMeter(ctx context.Context, namespace string, meter meterpkg.Meter, ...) ([]meterpkg.MeterQueryRow, error)
- func (c *Connector) UpdateMeter(ctx context.Context, namespace string, meter meterpkg.Meter) error
- func (c *Connector) ValidateJSONPath(ctx context.Context, jsonPath string) (bool, error)
- type InsertEventsQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector implements `ingest.Connector“ and `namespace.Handler interfaces.
func (*Connector) BatchInsert ¶
func (*Connector) CountEvents ¶
func (c *Connector) CountEvents(ctx context.Context, namespace string, params streaming.CountEventsParams) ([]streaming.CountEventRow, error)
func (*Connector) CreateMeter ¶
func (*Connector) CreateNamespace ¶
func (*Connector) DeleteMeter ¶
func (*Connector) DeleteNamespace ¶
func (*Connector) ListEvents ¶
func (c *Connector) ListEvents(ctx context.Context, namespace string, params meterevent.ListEventsParams) ([]streaming.RawEvent, error)
func (*Connector) ListEventsV2 ¶
func (c *Connector) ListEventsV2(ctx context.Context, params meterevent.ListEventsV2Params) ([]streaming.RawEvent, error)
func (*Connector) ListMeterSubjects ¶
func (*Connector) QueryMeter ¶
func (*Connector) UpdateMeter ¶
Click to show internal directories.
Click to hide internal directories.