Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InSecretsGroup ¶
Types ¶
type Context ¶
type Context struct {
Configd bool
Auth auth.Auther
Pid int32
Uid uint32
User string
UserHome string
Groups []string
Superuser bool
Config *Config
Dlog *log.Logger
Elog *log.Logger
Wlog *log.Logger
CompMgr schema.ComponentManager
Noexec bool
}
func (*Context) DropPrivileges ¶
func (c *Context) DropPrivileges()
func (*Context) RaisePrivileges ¶
func (c *Context) RaisePrivileges()
Raising privileges should be done sparingly as it bypasses things like ACM, secret redaction etc. however it is occasionally necessary.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
args2cpath
command
|
|
|
callrpc
command
|
|
|
cfgcli
command
|
|
|
cfgcli-args-encoder
command
|
|
|
cfgcmds
command
|
|
|
cfgdbg
command
|
|
|
cfgdiff
command
|
|
|
cfgparse
command
|
|
|
cfgread
command
|
|
|
configd
command
configd is a daemon that manages run-time configuration based on YANG definition files.
|
configd is a daemon that manages run-time configuration based on YANG definition files. |
|
configdcaps
command
|
|
|
featcaps
command
|
|
|
gettree
command
|
|
|
normalize
command
|
|
|
platform-setup
command
|
|
|
yang2path
command
|
|
|
yang2rev
command
|
|
|
yangc
command
|
|
|
yanggraph
command
|
|
Click to show internal directories.
Click to hide internal directories.