heapsterk8s.io/heapster/common/honeycomb Index | Files

package honeycomb

import "k8s.io/heapster/common/honeycomb"

Index

Variables

var Config = config{
	Dataset:  "fake",
	WriteKey: "fakekey",
	APIHost:  "fakehost",
}

Functions

func BuildConfig

func BuildConfig(uri *url.URL) (*config, error)

Types

type Batch

type Batch []*BatchPoint

type BatchPoint

type BatchPoint struct {
	Data      interface{}
	Timestamp time.Time
}

type BatchPointsSavedToHoneycomb

type BatchPointsSavedToHoneycomb struct {
	BatchPoint *BatchPoint
}

type Client

type Client interface {
	SendBatch(batch Batch) error
}

type FakeHoneycombClient

type FakeHoneycombClient struct {
	BatchPoints []*BatchPoint
}

func NewFakeHoneycombClient

func NewFakeHoneycombClient() *FakeHoneycombClient

func (*FakeHoneycombClient) SendBatch

func (client *FakeHoneycombClient) SendBatch(batch Batch) error

type HoneycombClient

type HoneycombClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(uri *url.URL) (*HoneycombClient, error)

func (*HoneycombClient) SendBatch

func (c *HoneycombClient) SendBatch(batch Batch) error

Source Files

dummy_honeycomb.go honeycomb.go

Version
v1.5.4 (latest)
Published
Jul 26, 2018
Platform
linux/amd64
Imports
11 packages
Last checked
3 days ago

Tools for package owners.