Documentation
¶
Index ¶
Constants ¶
View Source
const ( ImageStatusNew = ImageStatus("new") ImageStatusUpdate = ImageStatus("update") ImageStatusUnchange = ImageStatus("unchange") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db struct {
Path string `yaml:"path,omitempty"`
}
Db holds data necessary for database configuration
type Image ¶ added in v1.0.0
type Image struct {
Name string `yaml:"name,omitempty" json:",omitempty"`
Os string `yaml:"os,omitempty" json:",omitempty"`
Arch string `yaml:"arch,omitempty" json:",omitempty"`
RegOptsID string `yaml:"regopts_id,omitempty" json:",omitempty"`
WatchRepo bool `yaml:"watch_repo,omitempty" json:",omitempty"`
MaxTags int `yaml:"max_tags,omitempty" json:",omitempty"`
IncludeTags []string `yaml:"include_tags,omitempty" json:",omitempty"`
ExcludeTags []string `yaml:"exclude_tags,omitempty" json:",omitempty"`
RegOpts RegOpts `yaml:"-" json:"-"`
}
Image holds image configuration
type Mail ¶
type Mail struct {
Enable bool `yaml:"enable,omitempty"`
Host string `yaml:"host,omitempty"`
Port int `yaml:"port,omitempty"`
SSL bool `yaml:"ssl,omitempty"`
InsecureSkipVerify bool `yaml:"insecure_skip_verify,omitempty"`
Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"`
From string `yaml:"from,omitempty"`
To string `yaml:"to,omitempty"`
}
Mail holds mail notification configuration details
type NotifEntry ¶
type NotifEntry struct {
Status ImageStatus `json:"status,omitempty"`
Image registry.Image `json:"image,omitempty"`
Manifest docker.Manifest `json:"manifest,omitempty"`
}
NotifEntry represents a notification entry
type RegOpts ¶ added in v1.0.0
type RegOpts struct {
Username string `yaml:"username,omitempty" json:",omitempty"`
Password string `yaml:"password,omitempty" json:",omitempty"`
InsecureTLS bool `yaml:"insecure_tls,omitempty" json:",omitempty"`
Timeout int `yaml:"timeout,omitempty" json:",omitempty"`
}
RegOpts holds registry options configuration
type Watch ¶
type Watch struct {
Workers int `yaml:"workers,omitempty"`
Schedule string `yaml:"schedule,omitempty"`
}
Watch holds data necessary for watch configuration
type Webhook ¶
type Webhook struct {
Enable bool `yaml:"enable,omitempty"`
Endpoint string `yaml:"endpoint,omitempty"`
Method string `yaml:"method,omitempty"`
Headers map[string]string `yaml:"headers,omitempty"`
Timeout int `yaml:"timeout,omitempty"`
}
Webhook holds webhook notification configuration details
Click to show internal directories.
Click to hide internal directories.