Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Frontend config.Frontend `yaml:"frontend"` Backend struct { NetworkName string `yaml:"network_name"` Services struct { Poll app.ServicePollerConfig `yaml:"poll"` } `yaml:"services"` Images struct { Poll app.ImagePollerConfig `yaml:"poll"` } `yaml:"images"` Volumes struct { Poll app.VolumePollerConfig `yaml:"poll"` } `yaml:"volumes"` } `yaml:"backend"` Parameters struct { LogLevel string `yaml:"log_level"` } `yaml:"parameters"` }
func InitConfig ¶
func InitConfig() *Config
type Container ¶
type Container struct { DockerClient *client.Client Services struct { Monitor *monitor.Monitor Repository *repository.ServiceRepository Poller *application.ServicePoller } Images struct { Monitor *imgmonitor.Monitor Repository *repository.ImageRepository Poller *application.ImagePoller PollRequestsChannel chan bool } Volumes struct { Monitor *vlmmonitor.Monitor Repository *repository.VolumeRepository Poller *application.VolumePoller PollRequestsChannel chan bool } Presentation struct { View struct { Renderer *view.Renderer } HTTP struct { Handlers struct { HomePageHandler http.Handler ContainerKillHandler http.Handler ImageListHandler http.Handler ImageRemoveHandler http.Handler ImageRefreshHandler http.Handler VolumeListHandler http.Handler VolumeRefreshHandler http.Handler } } } }
func InitContainer ¶
func InitContainer() *Container
type Environment ¶
func InitEnvironment ¶
func InitEnvironment() *Environment
Click to show internal directories.
Click to hide internal directories.