generator

package
v2.9.9 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 17 Imported by: 2

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(dockerClients []docker.Client, dockerUtils docker.Utils, options *config.Options) *CaddyfileGenerator

CreateGenerator creates a new generator

func (*CaddyfileGenerator) GenerateCaddyfile

func (g *CaddyfileGenerator) GenerateCaddyfile(logger *zap.Logger) ([]byte, []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