Documentation
¶
Index ¶
- type Config
- type Manager
- func (mgt *Manager) Backup(backuper backup.Backup)
- func (mgt *Manager) DNS(registry dns.DNS)
- func (mgt *Manager) Encrypt(encryptor cryptor.Cryptor)
- func (mgt *Manager) Logger(logger internal.Logger)
- func (mgt *Manager) Name(u url.URL) string
- func (mgt *Manager) Network() packs.Network
- func (mgt *Manager) Ready() <-chan remote.Source
- func (mgt *Manager) Router(router router.Router)
- func (mgt *Manager) Run(ctx context.Context, source remote.Source, env map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Domain string // (optional) root domain
Network string // docker network name that will be used for communication. Will be created if not exists
Directory string // directory for cloning repos
FQDN bool // generate project name based on full repo URL, otherwise only last past of path will be used
Poll time.Duration // poll interval
Shutdown time.Duration // graceful shutdown
Backup time.Duration // backup interval
EventBuffer int // ready events buffer
}
Click to show internal directories.
Click to hide internal directories.