Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogFormatJSON = LogFormat("json-lines") LogFormatText = LogFormat("text") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtractLogOptions ¶
type LogArchive ¶
type LogArchive struct {
// contains filtered or unexported fields
}
func NewLogArchive ¶
func NewLogArchive(logPathPrefix, logFileName string) *LogArchive
func (*LogArchive) CopyLogFromArchive ¶
func (a *LogArchive) CopyLogFromArchive(logContent []byte, dst io.Writer, opts ExtractLogOptions) error
CopyLogFromArchive copies a task run archived log into expected format.
func (*LogArchive) GetLogObjectKey ¶
type LogArchiveInterface ¶
type RunLogEntry ¶
type RunLogEntry struct { Log string `json:"log"` Timestamp time.Time `json:"timestamp,omitempty"` }
Log Archive
Click to show internal directories.
Click to hide internal directories.