Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HumanizeResourceEvents ¶
func HumanizeResourceEvents(orderedTexts []progress.Text, resourceEvents []deploy.ResourceEvent, matcher map[progress.Text]ResourceMatcher, wantedCount map[progress.Text]int) []progress.TabRow
HumanizeResourceEvents groups raw deploy events under human-friendly tab-separated texts that can be passed into the Events() method. Every text to display starts with status in progress. For every resource event that belongs to a text, we preserve failure events if there was one. Otherwise, the text remains in progress until the expected number of resources reach the complete status.
Types ¶
type ResourceMatcher ¶
ResourceMatcher is a function that returns true if the resource event matches a criteria.
Click to show internal directories.
Click to hide internal directories.