restserver

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 16 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Success                      = 0
	UnsupportedNetworkType       = 1
	InvalidParameter             = 2
	UnsupportedEnvironment       = 3
	UnreachableHost              = 4
	ReservationNotFound          = 5
	MalformedSubnet              = 8
	UnreachableDockerDaemon      = 9
	UnspecifiedNetworkName       = 10
	NotFound                     = 14
	AddressUnavailable           = 15
	NetworkContainerNotSpecified = 16
	CallToHostFailed             = 17
	UnknownContainerID           = 18
	UnsupportedOrchestratorType  = 19
	UnexpectedError              = 99
)

Container Network Service remote API Contract.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPService added in v1.0.0

type HTTPService interface {
	common.ServiceAPI
}

HTTPService describes the min API interface that every service should have.

func NewHTTPRestService

func NewHTTPRestService(config *common.ServiceConfig) (HTTPService, error)

NewHTTPRestService creates a new HTTP Service object.

Jump to

Keyboard shortcuts

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