Documentation ¶
Index ¶
- type Emitter
- func (e *Emitter) TryEmitDurationFrom(logger lager.Logger, name string, from time.Time)
- func (e *Emitter) TryEmitError(logger lager.Logger, command string, err error, exitCode int32)
- func (e *Emitter) TryEmitUsage(logger lager.Logger, name string, usage int64, units string)
- func (e *Emitter) TryIncrementRunCount(command string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct{}
func NewEmitter ¶
func NewEmitter() *Emitter
func (*Emitter) TryEmitDurationFrom ¶
func (*Emitter) TryEmitError ¶
func (*Emitter) TryEmitUsage ¶
func (*Emitter) TryIncrementRunCount ¶
Click to show internal directories.
Click to hide internal directories.