Documentation
¶
Index ¶
- type Result
- type Summary
- func (s *Summary) AddFailedApp(org, space, app string, err error)
- func (s *Summary) AddSuccessfulApp(org, space, app string)
- func (s *Summary) AppFailureCount() int
- func (s *Summary) AppSuccessCount() int
- func (s *Summary) Display()
- func (s *Summary) Duration() time.Duration
- func (s *Summary) Results() []Result
- func (s *Summary) SetDuration(duration time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Summary ¶
Summary is a thread safe sink of execution results for app migrations
func NewSummary ¶
NewSummary creates a new initialized summary instance
func (*Summary) AddFailedApp ¶
AddFailedApp adds a failed app along with its error to the summary result
func (*Summary) AddSuccessfulApp ¶
AddSuccessfulApp adds a successful app and increments the count of successful apps
func (*Summary) AppFailureCount ¶
AppFailureCount is the number of total app failures that have occurred
func (*Summary) AppSuccessCount ¶
AppSuccessCount is the number of total app successes that have occurred
func (*Summary) SetDuration ¶
Click to show internal directories.
Click to hide internal directories.