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