Package gofer :: Package agent :: Module config
[hide private]
[frames] | no frames]

Module config

source code

Classes [hide private]
  Base
Base configuration.
  Config
The gofer agent configuration.
  Properties
Import property specification.
  Import
Represents an import directive.
  Reader
File reader.
Functions [hide private]
 
_undefined(self, name) source code
 
ndef(x)
Section/property not defined.
source code
 
nvl(x, d=None)
Not define value.
source code
str
_cnfvalue(macro)
configuration macro resolver
source code
Variables [hide private]
  log = getLogger(__name__)
  __package__ = 'gofer.agent'
Function Details [hide private]

ndef(x)

source code 

Section/property not defined.

Parameters:
  • x (A section or property object.) - A section/property
Returns:
True if not defined.

nvl(x, d=None)

source code 

Not define value.

Parameters:
  • x (A section/property) - An object to check.
Returns:
d if not defined, else x.

_cnfvalue(macro)

source code 

configuration macro resolver

Returns: str
The resolved configuration value