plugin

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCaddyFile

func GenerateCaddyFile(dockerClient *client.Client) []byte

GenerateCaddyFile generates a caddy file config from docker swarm

func ReloadCaddy

func ReloadCaddy()

Types

type DockerLoader

type DockerLoader struct {
	Input caddy.CaddyfileInput
	// contains filtered or unexported fields
}

DockerLoader generates caddy files from docker swarm information

func CreateDockerLoader

func CreateDockerLoader() *DockerLoader

CreateDockerLoader creates a docker loader

func (*DockerLoader) Load

func (dockerLoader *DockerLoader) Load(serverType string) (caddy.Input, error)

Load returns the current caddy file input

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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