Documentation
¶
Overview ¶
Package statusinterface describes status methods required in logs agent modules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status interface {
// AddGlobalWarning keeps track of a warning message to display on the status.
AddGlobalWarning(key string, warning string)
// RemoveGlobalWarning loses track of a warning message
// that does not need to be displayed on the status anymore.
RemoveGlobalWarning(key string)
}
Status is the type for status methods
func NewNoopStatusProvider ¶ added in v0.63.0
func NewNoopStatusProvider() Status
NewNoopStatusProvider returns a mock instance of statusinterface to be used in tests
func NewStatusProviderMock ¶
func NewStatusProviderMock() Status
NewStatusProviderMock returns a mock instance of statusinterface to be used in tests
Click to show internal directories.
Click to hide internal directories.