handlers

package
v7.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RespondWithError

func RespondWithError(w http.ResponseWriter, code int, message string)

RespondWithError is a shared function to have handler respond with error

Types

type Metadata

type Metadata struct{}

Metadata is exported for access to handler methods

func (*Metadata) Get

func (meta *Metadata) Get(w http.ResponseWriter, r *http.Request)

Get returns Containership and node metadata

type Terminate

type Terminate struct{}

Terminate is exported for access to handler methods

func (*Terminate) Delete

func (terminate *Terminate) Delete(w http.ResponseWriter, r *http.Request)

Delete stops cloud synchronization and requests cleanup and termination

Jump to

Keyboard shortcuts

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