standalone

package
v0.0.0-...-43d1ab5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server

func Server(opts ServerOptions) error

Server initializes and runs a standalone http Server that serves the Stacks API, and sets up the Stacks reconciler. A docker API client, accessible as a unix socket via the DockerSocketPath option, provides access to the downstream set of Swarmkit required for the reconciler.

Types

type ServerOptions

type ServerOptions struct {
	Debug            bool
	DockerSocketPath string
	ServerPort       int
}

ServerOptions is the set of options required for the creation of a standalone.Server instance.

Jump to

Keyboard shortcuts

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