Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader interface { // Load loads and returns the AuditConfiguration from the storage layer, or an error if a configuration could not be loaded Load() (*auditconfig.AuditConfiguration, error) }
Loader loads configuration from a storage layer
func NewFsLoader ¶
func NewFsLoader(fs utilfs.Filesystem, auditFile string) (Loader, error)
NewFsLoader returns a Loader that loads a AuditConfiguration from the `auditFile`
Click to show internal directories.
Click to hide internal directories.