Documentation ¶
Index ¶
Constants ¶
View Source
const ReadByUserGroup = 0640
ReadByUserGroup defines linux permission to read files by the user and group owner/s
View Source
const ReadWriteByUser = 0660
ReadWriteByUser defines linux permission to read and write files for the owner user
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
type Filesystem interface { filesystem.Filesystem }
Filesystem is an interface that we can use to mock various filesystem operations
func NewFakeFS ¶
func NewFakeFS() (Filesystem, error)
NewFakeFS creates an in-memory filesystem with all the required paths used by the ingress controller. This allows running test without polluting the local machine.
func NewLocalFS ¶
func NewLocalFS() (Filesystem, error)
NewLocalFS implements Filesystem using same-named functions from "os" and "io/ioutil".
Click to show internal directories.
Click to hide internal directories.