Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Chroot string SnapshotPath string SnapshotRoot string SnapshotExclusive bool // contains filtered or unexported fields }
Concrete merged set of configuration switches that act as an execution context when calling internal discovery methods
func FromEnv ¶
func FromEnv() *Context
FromEnv returns an Option that has been populated from the environs or default options values
func (*Context) Setup ¶
Setup prepares the extra optional data a Context may use. `Context`s are ready to use once returned by `New`. Optional features, like snapshot unpacking, may require extra steps. Run `Setup` to perform them. You should call `Setup` just once. It is safe to call `Setup` if you don't make use of optional extra features - `Setup` will do nothing.
Click to show internal directories.
Click to hide internal directories.