Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶ added in v0.7.11
type APIClient interface {
IndicatorDocuments() ([]registry.APIDocumentResponse, error)
}
type Controller ¶
type Controller struct {
Config ControllerConfig
}
func NewController ¶
func NewController(c ControllerConfig) *Controller
func (*Controller) Start ¶
func (c *Controller) Start()
func (*Controller) Update ¶
func (c *Controller) Update() error
type ControllerConfig ¶
type ControllerConfig struct {
RegistryAPIClient APIClient
Filesystem billy.Filesystem
OutputDirectory string
UpdateFrequency time.Duration
DocType string
Converter DocumentConverter
Reloader Reloader
}
type DocumentConverter ¶
Click to show internal directories.
Click to hide internal directories.