app

package
v1.3.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package app does all of the work necessary to create a Heapster APIServer by binding together the Master Metrics API. It can be configured and called directly or via the hyperkube framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIServerCommand

func NewAPIServerCommand() *cobra.Command

NewAPIServerCommand creates a *cobra.Command object with default parameters

Types

type HeapsterAPIServer

type HeapsterAPIServer struct {
	*genericapiserver.GenericAPIServer
	// contains filtered or unexported fields
}

func NewHeapsterApiServer

func NewHeapsterApiServer(s *options.HeapsterRunOptions, metricSink *metricsink.MetricSink,
	nodeLister *cache.StoreToNodeLister, podLister *cache.StoreToPodLister) (*HeapsterAPIServer, error)

func (*HeapsterAPIServer) RunServer

func (h *HeapsterAPIServer) RunServer() error

Run runs the specified APIServer. This should never exit.

Jump to

Keyboard shortcuts

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