apiserver

package
v0.0.0-...-b258b02 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server holds the internal state for the server

func (*Server) Initialise

func (server *Server) Initialise(startupOptions *commands.StartupOptions,
	defaultMaxRunTime, maxRunTime, defaultMemory, maxMemory int64,
	runDockerImage string, version string) error

Initialise the server's state

func (*Server) InitialiseRoutes

func (server *Server) InitialiseRoutes()

InitialiseRoutes sets up the routes

func (*Server) Run

func (server *Server) Run(addr string)

Run runs the server. This blocks until the server quits

Jump to

Keyboard shortcuts

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