Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + const APIVersion + const Kind + func GetCommandName(entry MachineEventLogEntry) string + func OutputError(machineOutput interface{}) + func OutputSuccess(machineOutput interface{}) + func OutputSuccessUnindented(machineOutput interface{}) + func TimestampNow() string + type AbstractLogEvent struct + Timestamp string + func (c AbstractLogEvent) GetTimestamp() string + type ConsoleMachineEventLoggingClient struct + func NewConsoleMachineEventLoggingClient() *ConsoleMachineEventLoggingClient + func (c *ConsoleMachineEventLoggingClient) CreateContainerOutputWriter() (*io.PipeWriter, chan interface{}, *io.PipeWriter, chan interface{}) + func (c *ConsoleMachineEventLoggingClient) DevFileCommandExecutionBegin(commandID string, componentName string, commandLine string, groupKind string, ...) + func (c *ConsoleMachineEventLoggingClient) DevFileCommandExecutionComplete(commandID string, componentName string, commandLine string, groupKind string, ...) + func (c *ConsoleMachineEventLoggingClient) ReportError(errorVal error, timestamp string) + type DevFileCommandExecutionBegin struct + CommandID string + CommandLine string + ComponentName string + GroupKind string + func (c DevFileCommandExecutionBegin) GetType() MachineEventLogEntryType + type DevFileCommandExecutionComplete struct + Error string + func (c DevFileCommandExecutionComplete) GetType() MachineEventLogEntryType + type GenericError struct + Message string + type GenericSuccess struct + Message string + type LogText struct + Stream string + Text string + func (c LogText) GetType() MachineEventLogEntryType + type MachineEventLogEntry interface + GetTimestamp func() string + GetType func() MachineEventLogEntryType + type MachineEventLogEntryType int + const TypeDevFileCommandExecutionBegin + const TypeDevFileCommandExecutionComplete + const TypeLogText + const TypeReportError + type MachineEventLoggingClient interface + CreateContainerOutputWriter func() (*io.PipeWriter, chan interface{}, *io.PipeWriter, chan interface{}) + DevFileCommandExecutionBegin func(commandID string, componentName string, commandLine string, groupKind string, ...) + DevFileCommandExecutionComplete func(commandID string, componentName string, commandLine string, groupKind string, ...) + ReportError func(errorVal error, timestamp string) + func NewMachineEventLoggingClient() MachineEventLoggingClient + type MachineEventWrapper struct + DevFileCommandExecutionBegin *DevFileCommandExecutionBegin + DevFileCommandExecutionComplete *DevFileCommandExecutionComplete + LogText *LogText + ReportError *ReportError + func (w MachineEventWrapper) GetEntry() (MachineEventLogEntry, error) + type NoOpMachineEventLoggingClient struct + func NewNoOpMachineEventLoggingClient() *NoOpMachineEventLoggingClient + func (c *NoOpMachineEventLoggingClient) CreateContainerOutputWriter() (*io.PipeWriter, chan interface{}, *io.PipeWriter, chan interface{}) + func (c *NoOpMachineEventLoggingClient) DevFileCommandExecutionBegin(commandID string, componentName string, commandLine string, groupKind string, ...) + func (c *NoOpMachineEventLoggingClient) DevFileCommandExecutionComplete(commandID string, componentName string, commandLine string, groupKind string, ...) + func (c *NoOpMachineEventLoggingClient) ReportError(errorVal error, timestamp string) + type RegistryListOutput struct + RegistryList *[]preference.Registry + func NewRegistryListOutput(registryList *[]preference.Registry) RegistryListOutput + type ReportError struct + Error string + func (c ReportError) GetType() MachineEventLogEntryType