Documentation ¶
Index ¶
- type AppResults
- type Message
- func (m *Message) AddNewApp(ctx context.Context, app string)
- func (m *Message) AddToAppMessage(ctx context.Context, app string, result Result)
- func (m *Message) BuildComment(ctx context.Context) string
- func (m *Message) RemoveApp(app string)
- func (m *Message) SetFooter(start time.Time, commitSHA, labelFilter string, showDebugInfo bool)
- func (m *Message) WorstState() pkg.CommitState
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppResults ¶
type AppResults struct {
// contains filtered or unexported fields
}
func (*AppResults) AddCheckResult ¶
func (ar *AppResults) AddCheckResult(result Result)
type Message ¶
type Message struct { Name string Owner string CheckID int NoteID int // contains filtered or unexported fields }
Message type that allows concurrent updates Has a reference to the owner/repo (ie zapier/kubechecks), the PR/MR id, and the actual messsage
func NewMessage ¶
func (*Message) AddToAppMessage ¶
func (*Message) WorstState ¶
func (m *Message) WorstState() pkg.CommitState
type Result ¶
type Result struct { State pkg.CommitState Summary, Details string }
Click to show internal directories.
Click to hide internal directories.