Documentation
¶
Overview ¶
Package logs handles log output from a run
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(opts Options) *service
Types ¶
type Client ¶
type Client struct {
internal.JSONAPIClient
}
type LogsService ¶
type LogsService = Service
type PhaseWriter ¶
type PhaseWriter struct {
internal.PutChunkService // for uploading logs to server
// contains filtered or unexported fields
}
PhaseWriter writes logs on behalf of a run phase.
func NewPhaseWriter ¶
func NewPhaseWriter(ctx context.Context, opts PhaseWriterOptions) *PhaseWriter
func (*PhaseWriter) Close ¶
func (w *PhaseWriter) Close() error
Close must be called to complete writing job logs
type PhaseWriterOptions ¶
type PhaseWriterOptions struct {
RunID string
Phase internal.PhaseType
Writer internal.PutChunkService
}
Click to show internal directories.
Click to hide internal directories.