sinks

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

This package implements the various storage backends supported by heapster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalSinkManager

type ExternalSinkManager interface {
	Store(input interface{}) error
	DebugInfo() string
}

TODO: Once in-memory storage is implemented, make the manager extract data from the in-memory store periodically.

func NewBigQuerySink

func NewBigQuerySink() (ExternalSinkManager, error)

Create a new bigquery storage driver.

func NewExternalSinkManager added in v0.11.0

func NewExternalSinkManager(externalSinks []sink_api.ExternalSink) (ExternalSinkManager, error)

NewExternalSinkManager returns an external sink manager that will manage pushing data to all the sinks in 'externalSinks', which is a map of sink name to ExternalSink object.

func NewMemorySink

func NewMemorySink() ExternalSinkManager

type MemorySink

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

func (*MemorySink) DebugInfo

func (self *MemorySink) DebugInfo() string

func (*MemorySink) Store

func (self *MemorySink) Store(data interface{}) error

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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