Documentation ¶
Index ¶
- func ExecCommand(outputPrefix, dir, command string, arg ...string) error
- type Aggregator
- func (a *Aggregator) Commit() error
- func (a *Aggregator) CreateDockerContainer() (id string, err error)
- func (a *Aggregator) Fetch() error
- func (a *Aggregator) FindDockerContainer() (string, bool, error)
- func (a *Aggregator) LoadConfig(configPath string) error
- func (a *Aggregator) PullDockerImage() (err error)
- func (a *Aggregator) RemoveDockerContainer(id string) (err error)
- func (a *Aggregator) Run() error
- func (a *Aggregator) Start() error
- func (a *Aggregator) StartDocker() error
- func (a *Aggregator) StartDockerContainer(id string) (err error)
- func (a *Aggregator) StopDockerContainer(id string) (err error)
- func (a *Aggregator) WriteHTML() error
- func (a *Aggregator) WriteRSS() error
- type Config
- type Organization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
Types ¶
type Aggregator ¶
type Aggregator struct { Config *Config Content map[string]*feeds.Feed // contains filtered or unexported fields }
func NewAggregator ¶
func NewAggregator(configPath string) (a *Aggregator, err error)
func (*Aggregator) Commit ¶
func (a *Aggregator) Commit() error
func (*Aggregator) CreateDockerContainer ¶
func (a *Aggregator) CreateDockerContainer() (id string, err error)
func (*Aggregator) Fetch ¶
func (a *Aggregator) Fetch() error
func (*Aggregator) FindDockerContainer ¶
func (a *Aggregator) FindDockerContainer() (string, bool, error)
func (*Aggregator) LoadConfig ¶
func (a *Aggregator) LoadConfig(configPath string) error
func (*Aggregator) PullDockerImage ¶
func (a *Aggregator) PullDockerImage() (err error)
func (*Aggregator) RemoveDockerContainer ¶
func (a *Aggregator) RemoveDockerContainer(id string) (err error)
func (*Aggregator) Run ¶
func (a *Aggregator) Run() error
func (*Aggregator) Start ¶
func (a *Aggregator) Start() error
func (*Aggregator) StartDocker ¶
func (a *Aggregator) StartDocker() error
func (*Aggregator) StartDockerContainer ¶
func (a *Aggregator) StartDockerContainer(id string) (err error)
func (*Aggregator) StopDockerContainer ¶
func (a *Aggregator) StopDockerContainer(id string) (err error)
func (*Aggregator) WriteHTML ¶
func (a *Aggregator) WriteHTML() error
func (*Aggregator) WriteRSS ¶
func (a *Aggregator) WriteRSS() error
Click to show internal directories.
Click to hide internal directories.