Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorGroup ¶
ErrorGroup groups errors that can be recoverable (the execution can continue) or not
func (*ErrorGroup) Append ¶
func (g *ErrorGroup) Append(errs ...error)
Append appends the errors passed as argument to the errors slice of the receiver object.
func (ErrorGroup) String ¶
func (g ErrorGroup) String() string
String shows a comma-separated string representation of all the error messages
type FetchFunc ¶
type FetchFunc func() (definition.RawGroups, error)
FetchFunc fetches data from a source.
type Grouper ¶
type Grouper interface {
Group(definition.SpecGroups) (definition.RawGroups, *ErrorGroup)
}
Grouper groups raw data by any desired label such object (pod, container...).
type PopulateResult ¶
PopulateResult represents an error or a bunch of errors during populate.
func (PopulateResult) Error ¶
func (e PopulateResult) Error() string
Error implements error interface
type Populator ¶
type Populator interface {
Populate(definition.RawGroups, definition.SpecGroups, *sdk.IntegrationProtocol2, string, *version.Info) PopulateResult
}
Populator populates a given integration with grouped raw data.
Click to show internal directories.
Click to hide internal directories.