server

package
v0.0.0-...-cd71283 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartSampleAdapterServer

func NewCommandStartSampleAdapterServer(out, errOut io.Writer, stopCh <-chan struct{}, maxRetrievedEvents int, sinceMillis int64) *cobra.Command

NewCommandStartSampleAdapterServer provides a CLI handler for 'start master' command

Types

type SampleAdapterServerOptions

type SampleAdapterServerOptions struct {
	*server.EventsAdapterServerOptions
	// RemoteKubeConfigFile is the config used to list pods from the master API server
	RemoteKubeConfigFile string
}

SampleAdapterServerOptions contains sample EventsAdapterServerOptions

func (SampleAdapterServerOptions) RunEventsAdapterServer

func (o SampleAdapterServerOptions) RunEventsAdapterServer(stopCh <-chan struct{}, maxRetrievedEvents int, sinceMillis int64) error

RunEventsAdapterServer runs Events adapter API server

Jump to

Keyboard shortcuts

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