Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator interface { // Translate translates one log line into types.KernelLog. Translate(string) (*types.KernelLog, error) }
Translator translates a log line into types.KernelLog, so that kernel monitor could parse it whatever the original format is.
func NewDefaultTranslator ¶
func NewDefaultTranslator() Translator
NewDefaultTranslator creates a default translator.
Click to show internal directories.
Click to hide internal directories.