user

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(router *mux.Router, userNode User)

Types

type User

type User interface {
	SubmitContainers(ctx context.Context, containersConfigs []types.ContainerConfig) error
	ListContainers(ctx context.Context) []types.ContainerStatus
	StopContainers(ctx context.Context, containersIDs []string) error
	Stop(ctx context.Context)
}

Jump to

Keyboard shortcuts

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