generator

package
v2.0.0-...-95a88d9 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultLabelPrefix = "caddy"

DefaultLabelPrefix for caddy labels in docker

View Source
const IngressNetworkLabel = "caddy_ingress_network"

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