mock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-3.0 Imports: 8 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{}

Server for mocking.

func (Server) Exec

func (s Server) Exec(w http.ResponseWriter, r *http.Request)

Exec bash (shell) inside a container.

func (Server) List

func (s Server) List(w http.ResponseWriter, r *http.Request)

List returns a list of environments.

func (Server) Logs

func (s Server) Logs(w http.ResponseWriter, r *http.Request)

Logs returns a stream of logs from a container.

Jump to

Keyboard shortcuts

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