configurator

package
v0.0.0-...-474187c Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Events <-chan *container.Container
}

Config stores Caddy configuration.

type Configurator

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

Configurator generates Caddy configurations from running containers and runs the server.

func New

func New(cfg *Config) *Configurator

New creates a new configurator from the specified configuration.

func (*Configurator) Close

func (c *Configurator) Close()

Close shuts down the configurator.

func (*Configurator) Containers

func (c *Configurator) Containers() []*container.Container

Containers returns a list of containers.

Jump to

Keyboard shortcuts

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