generator

package
v2.0.0-...-23b1c8a Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLabelPrefix = "caddy"

DefaultLabelPrefix for caddy labels in docker

Variables

This section is empty.

Functions

This section is empty.

Types

type CaddyfileGenerator

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

CaddyfileGenerator generates caddyfile from docker configuration

func CreateGenerator

func CreateGenerator(dockerClient docker.Client, dockerUtils docker.Utils, options *config.Options) *CaddyfileGenerator

CreateGenerator creates a new generator

func (*CaddyfileGenerator) GenerateCaddyfile

func (g *CaddyfileGenerator) GenerateCaddyfile() ([]byte, string, []string)

GenerateCaddyfile generates a caddy file config from docker metadata

Jump to

Keyboard shortcuts

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