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, start time.Time, commitSHA, labelFilter string, ...) string
- func (m *Message) RemoveApp(app string)
- 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) BuildComment ¶
func (m *Message) BuildComment(ctx context.Context, start time.Time, commitSHA, labelFilter string, showDebugInfo bool) string
BuildComment iterates the map of all apps in this message, building a final comment from their current state
func (*Message) WorstState ¶
func (m *Message) WorstState() pkg.CommitState
Click to show internal directories.
Click to hide internal directories.