Documentation ¶
Index ¶
- type CommonConfig
- func (cfg *CommonConfig) AddCleanUpFn(f func() error)
- func (cfg *CommonConfig) CleanUp()
- func (cfg *CommonConfig) FatalExit()
- func (cfg *CommonConfig) FlagDefinition()
- func (cfg CommonConfig) GetInspectData() string
- func (cfg *CommonConfig) Initialize(version string, buildtimestamp string) *CommonConfig
- func (cfg CommonConfig) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonConfig ¶
type CommonConfig struct { BuildTimeStamp time.Time GitVersion string ShowVersion bool ActiveLogLevel log.LogLevel LogFileName string Logger *log.Logger WorkingDirectory string // contains filtered or unexported fields }
func (*CommonConfig) AddCleanUpFn ¶
func (cfg *CommonConfig) AddCleanUpFn(f func() error)
func (*CommonConfig) CleanUp ¶
func (cfg *CommonConfig) CleanUp()
func (*CommonConfig) FatalExit ¶
func (cfg *CommonConfig) FatalExit()
func (*CommonConfig) FlagDefinition ¶
func (cfg *CommonConfig) FlagDefinition()
func (CommonConfig) GetInspectData ¶
func (cfg CommonConfig) GetInspectData() string
GetInspectData offers some additional debugging information
func (*CommonConfig) Initialize ¶
func (cfg *CommonConfig) Initialize(version string, buildtimestamp string) *CommonConfig
func (CommonConfig) String ¶
func (cfg CommonConfig) String() string
Click to show internal directories.
Click to hide internal directories.