sinks

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2015 License: Apache-2.0 Imports: 19 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 {
	Sink
	// SetSinks changes the sinks to be used and registers/unregisters
	// them accordingly.
	SetSinks([]v1.ExternalSink) error
}

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.

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

type Sink added in v0.17.0

type Sink 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() (Sink, error)

Create a new bigquery storage driver.

func NewMemorySink

func NewMemorySink() Sink

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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