config

package
v0.0.0-...-3eda0a4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: MIT Imports: 3 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 {
	Template               string
	Dest                   string
	Watch                  bool
	Wait                   *Wait
	NotifyCmd              string
	NotifyOutput           bool
	NotifyContainers       map[string]int
	NotifyContainersFilter map[string][]string
	NotifyContainersSignal int
	OnlyExposed            bool
	OnlyPublished          bool
	IncludeStopped         bool
	Interval               int
	KeepBlankLines         bool
}

type ConfigFile

type ConfigFile struct {
	Config []Config
}

func (*ConfigFile) FilterWatches

func (c *ConfigFile) FilterWatches() ConfigFile

type Wait

type Wait struct {
	Min time.Duration
	Max time.Duration
}

func ParseWait

func ParseWait(s string) (*Wait, error)

func (*Wait) UnmarshalText

func (w *Wait) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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