package
0.2.2
Repository: https://github.com/winchman/builder-core.git
Documentation: pkg.go.dev

# Functions

NewLogEntry produces a log entry that can be sent on a LogChan.
NewLogEntryWriter returns a log entry writer initialized with the provided channel.
NewReporter returns a reporter that is initialized with the provided channels.

# Constants

BuildCompletedEvent is for when a `docker build` command completes.
BuildEvent is for when a `docker build` command starts.
CompletedEvent is for whe nthe entire build finishes (corresopnds to a RequestedEvent).
PushCompletedEvent is for when a `docker push` command finishes.
PushEvent is for when a `docker push` command starts.
RequestedEvent is for when a build is initially requested.
TagCompletedEvent is for when a `docker tag` command finishes.
TagEvent is for when a `docker tag` command starts.

# Structs

EventOptions are the options when telling a Reporter to trigger an event.
Reporter is type for sending messages on log and/or status channels.

# Interfaces

Event is the type that will be sent over the event channel.
LogEntry is a convenient, extensible way to ship logrus log entries.
LogEntryWriter is a type for implementing the io.Writer interface.

# Type aliases

EventType is a type for constants that indicate the type of event reported.