Documentation ¶
Overview ¶
Package baseobject contains the library routines for base stuff of an object
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseObject ¶
type BaseObject struct { FirstCollected time.Time // the first collection time (for relative data) LastCollected time.Time // the last collection time // contains filtered or unexported fields }
BaseObject holds colllection times and a config
func (*BaseObject) DatabaseFilter ¶ added in v1.0.3
func (o *BaseObject) DatabaseFilter() *filter.DatabaseFilter
DatabaseFilter returns the config's DatabaseFilter()
func (*BaseObject) SetConfig ¶ added in v1.1.7
func (o *BaseObject) SetConfig(cfg *config.Config)
SetConfig sets the config in this object which can be used later. - it should always be defined (!= nil)
func (BaseObject) Variables ¶ added in v0.7.6
func (o BaseObject) Variables() *global.Variables
Variables returns a pointer to the global variables
func (BaseObject) WantRelativeStats ¶
func (o BaseObject) WantRelativeStats() bool
WantRelativeStats indicates whether we want relative stats or not - FIXME and optmise me away
Click to show internal directories.
Click to hide internal directories.