Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogs ¶
ConfigureLogs configures the log file
Types ¶
type Config ¶
type Config struct { Insecure bool Timeout float64 Retry int StreamRetry int SleepDuration time.Duration URL string Args []string LogFile string RequestID string Verbose bool }
Config holds the runner configuration
type LogFields ¶
LogFields stores all the custom fields
type StreamBuffer ¶
type StreamBuffer struct { io.ReadWriter // contains filtered or unexported fields }
StreamBuffer is a buffer which doesn't get closed until we say it is So we can append data to it, and not get an EOF until everything has been sent.
func NewStreamBuffer ¶
func NewStreamBuffer() *StreamBuffer
NewStreamBuffer creates a new StreamBuffer instance
Click to show internal directories.
Click to hide internal directories.