Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureOutput ¶
func CaptureOutput(f func()) string
CaptureOutput calls the specified function capturing and returning all logged messages.
Types ¶
type FormatLayoutType ¶
type FormatLayoutType string
FormatLayoutType the layout kind
const ( // FormatLayoutJSON uses JSON layout FormatLayoutJSON FormatLayoutType = "json" // FormatLayoutText uses classic colorful Jenkins X layout FormatLayoutText FormatLayoutType = "text" // FormatLayoutStackdriver uses a custom formatter for stackdriver FormatLayoutStackdriver FormatLayoutType = "stackdriver" )
type JenkinsXTextFormat ¶
JenkinsXTextFormat lets use a custom text format
func NewJenkinsXTextFormat ¶
func NewJenkinsXTextFormat() *JenkinsXTextFormat
NewJenkinsXTextFormat creates the default Jenkins X text formatter
Click to show internal directories.
Click to hide internal directories.