api

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply added in v0.3.0

func Apply(apiAddress string) error

func NewAPI

func NewAPI(sigChan chan os.Signal, resetNamespaceFn func(namespaces *corev1.NamespaceList) error, isReadyFn func() bool, apply chan struct{}) *http.Server

NewAPI returns the API HTTP server

func ResetNamespace added in v0.3.0

func ResetNamespace(apiAddress, namespace string) error

Types

type HandlerAPI

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

HandlerAPI handles the API calls

Jump to

Keyboard shortcuts

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