Documentation
¶
Overview ¶
Package delivery writes review output to local destinations.
Index ¶
Constants ¶
View Source
const ( MaxPayloadBytes int64 = 16 << 20 MaxClipboardStdoutBytes int64 = 64 << 10 MaxClipboardStderrBytes int64 = 1 << 20 // MaxClipboardErrorConstructionBytes includes captured stderr plus bounded // terminal-safe retained and formatted error representations. MaxClipboardErrorConstructionBytes int64 = MaxClipboardStderrBytes + 2*(16<<10) + 256 )
MaxPayloadBytes defines the supported payload bytes limit.
Variables ¶
View Source
var ( ErrBusy = errors.New("delivery destination already has an active operation") ErrUnknown = errors.New("delivery may have committed and is fenced") ErrLimited = errors.New("delivery command output exceeded its limit") )
ErrUnavailable identifies an unavailable failure.
Functions ¶
This section is empty.
Types ¶
type CommitState ¶
type CommitState uint8
CommitState describes commit state.
const ( CommitFailedBeforeWrite CommitState = iota + 1 CommitSucceeded CommitUnknown )
CommitFailedBeforeWrite identifies a supported commit failed before write value.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager represents manager.
type Payload ¶
type Payload struct {
// contains filtered or unexported fields
}
Payload represents payload.
func NewPayload ¶
NewPayload constructs and validates payload.
Click to show internal directories.
Click to hide internal directories.