Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
Filesystem is an interface used to mock out calls to ReadFile
func NewRealFS ¶
func NewRealFS() Filesystem
NewRealFS builds a Filesystem that wraps around `os.ReadFile`.
type Loader ¶
type Loader interface {
Load() (*config.WebhookConfiguration, error)
}
func NewFSLoader ¶
func NewFSLoader(fs Filesystem, name string) (Loader, error)
Click to show internal directories.
Click to hide internal directories.