server

package
Version: v0.0.0-...-b984a18 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL