Documentation ¶
Index ¶
- func AppName() string
- func Executable() string
- func ExecutableFolder() string
- type Context
- func (ctx *Context) ConfigDir() string
- func (ctx *Context) Debug() bool
- func (ctx *Context) EtcDir() string
- func (ctx *Context) ImageStore() string
- func (ctx *Context) JSON() bool
- func (ctx *Context) NormalizeOnDiskLayout() (err error)
- func (ctx *Context) RunDir() string
- func (ctx *Context) SetNetworkContext() (err error)
- func (ctx *Context) TmpDir() string
- type Network
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Executable ¶
func Executable() string
func ExecutableFolder ¶
func ExecutableFolder() string
Types ¶
type Context ¶
type Context struct { Privileged bool `json:"-"` Meta *release.Info `json:"-"` CmdLine *viper.Viper `json:"-"` ServerAddress string *user.User `json:"User"` *Network `json:"Network"` }
Context ...
func (*Context) NormalizeOnDiskLayout ¶
NormalizeOnDiskLayout ...
func (*Context) SetNetworkContext ¶ added in v0.7.1
Click to show internal directories.
Click to hide internal directories.