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
Click to show internal directories.
Click to hide internal directories.