Documentation ¶
Index ¶
Constants ¶
View Source
const RegexpPrefix = "regex:"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListerConfig ¶
type Location ¶
type Location struct { Registry string `yaml:"registry"` Auth string `yaml:"auth"` SkipTLSVerify bool `yaml:"skip-tls-verify"` AuthRefresh *time.Duration `yaml:"auth-refresh"` ListerConfig map[string]string `yaml:"lister"` ListerType registry.ListSourceType // contains filtered or unexported fields }
func (*Location) RefreshAuth ¶
type Relay ¶
type Relay interface { Prepare() error Dispose() error Sync(opt *relays.SyncOptions) error }
type Sync ¶
type Sync struct {
// contains filtered or unexported fields
}
func New ¶
func New(conf *SyncConfig) (*Sync, error)
func (*Sync) SyncFromConfig ¶
func (s *Sync) SyncFromConfig(conf *SyncConfig, taskFilter string) (bool, error)
func (*Sync) WaitForTick ¶
func (s *Sync) WaitForTick()
type SyncConfig ¶
type SyncConfig struct { Relay string `yaml:"relay"` Docker *docker.RelayConfig `yaml:"docker"` Skopeo *skopeo.RelayConfig `yaml:"skopeo"` DockerHost string `yaml:"dockerhost"` // DEPRECATED APIVersion string `yaml:"api-version"` // DEPRECATED Lister *ListerConfig `yaml:"lister"` Tasks []*Task `yaml:"tasks"` Watch *bool `yaml:"watch,omitempty"` // contains filtered or unexported fields }
func LoadConfig ¶
func LoadConfig(file string) (*SyncConfig, error)
func (*SyncConfig) ValidateSupport ¶
func (c *SyncConfig) ValidateSupport(s relays.Support) error
Click to show internal directories.
Click to hide internal directories.