package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev

# Functions

FormatTime returns time in UTC Unix Epoch Seconds and then the microsecond portion of that time.
NewConsoleMachineEventLoggingClient creates a new instance of ConsoleMachineEventLoggingClient, which will output events as JSON to the console.
NewMachineEventLoggingClient creates the appropriate client based on whether we are in machine logging mode or not.
NewNoOpMachineEventLoggingClient creates a new instance of NoOpMachineEventLoggingClient, which will ignore any provided events.
No description provided by the author
OutputError outputs a "successful" machine-readable output format in json.
OutputSuccess outputs a "successful" machine-readable output format in json.
OutputSuccessUnindented outputs a "successful" machine-readable output format in unindented json.
TimestampNow returns timestamp in format of (seconds since UTC Unix epoch).(microseconds time component).

# Constants

APIVersion is the current API version used in the machine readable output.
ListKind is the kind used for all lists in the machine readable output.
TypeContainerStatus is the entry type for that event.
TypeDevFileCommandExecutionBegin is the entry type for that event.
TypeDevFileCommandExecutionComplete is the entry type for that event.
TypeKubernetesPodStatus is the entry type for that event.
TypeLogText is the entry type for that event.
TypeReportError is the entry type for that event.
TypeURLReachable is the entry type for that event.

# Structs

AbstractLogEvent is the base struct for all events; all events must at a minimum contain a timestamp.
ConsoleMachineEventLoggingClient will output all events to the console as JSON.
ContainerStatus is the JSON event that is emitted to indicate odo-managed Docker container status.
ContainerStatusEntry is an individual container's status.
DevFileCommandExecutionBegin is the JSON event that is emitted when a dev file command begins execution.
DevFileCommandExecutionComplete is the JSON event that is emitted when a dev file command completes execution.
KubernetesPodStatus is the JSON event that emitted to indicate the status of pods in an odo-managed deployment.
KubernetesPodStatusEntry is an individual pod's information.
LogText is the JSON event that is emitted when a dev file action outputs text to the console.
MachineEventWrapper - a single line of machine-readable event console output must contain only one of these commands; the MachineEventWrapper is used to create (and parse, for tests) these lines.
NoOpMachineEventLoggingClient will ignore (eg not output) all events passed to it.
No description provided by the author
ReportError is the JSON event that is emitted when an error occurs during push command.
URLReachable is the JSON event that is emitted to indicate whether one of the component's URL's could be reached.

# Interfaces

MachineEventLogEntry contains the expected methods for every event that is emitted.
MachineEventLoggingClient is an interface which is used by consuming code to output machine-readable event JSON to the console.

# Type aliases

MachineEventLogEntryType indicates the machine-readable event type from an ODO operation.