Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitTag = "" GitCommit = "" )
Functions ¶
Types ¶
type CommitState ¶ added in v1.1.1
type CommitState uint8
CommitState is an enum for represnting the state of a commit for posting via CommitStatus
const ( StateNone CommitState = iota StateSkip StateSuccess StateRunning StateWarning StateFailure StateError StatePanic )
must be in order of best to worst, in order for WorstState to work
func BestState ¶ added in v1.5.1
func BestState(l1, l2 CommitState) CommitState
func ParseCommitState ¶ added in v1.5.1
func ParseCommitState(s string) (CommitState, error)
func WorstState ¶ added in v1.1.1
func WorstState(l1, l2 CommitState) CommitState
func (CommitState) BareString ¶ added in v1.1.1
func (s CommitState) BareString() string
Click to show internal directories.
Click to hide internal directories.