Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoopUpdateFunc = func(*model.Work) {}
View Source
var TermLoggerFunc = func(line *build.Line) { fmt.Println(line) }
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type LoggerFunc ¶
LoggerFunc handles buid pipeline logging updates.
func NewClientLogger ¶
func NewClientLogger(client *stomp.Client, id int64, limit int64) LoggerFunc
type SecretReplacer ¶
type SecretReplacer interface { // Replace conceals instances of secrets found in s. Replace(s string) string }
SecretReplacer hides secrets from being exposed by the build output.
func NewSecretReplacer ¶
func NewSecretReplacer(secrets []*model.Secret) SecretReplacer
NewSecretReplacer creates a SecretReplacer based on whether any value in secrets requests it be hidden.
type UpdateFunc ¶
UpdateFunc handles buid pipeline status updates.
func NewClientUpdater ¶
func NewClientUpdater(client *stomp.Client) UpdateFunc
NewClientUpdater returns an updater that sends updated build details to the drone server.
Click to show internal directories.
Click to hide internal directories.