Documentation ¶
Index ¶
- type Result
- type Summary
- func (s *Summary) AddFailedService(org, space, serviceName, serviceType string, err error)
- func (s *Summary) AddSkippedService(org, space, serviceName, serviceType string, err error)
- func (s *Summary) AddSuccessfulService(org, space, serviceName, serviceType string)
- func (s *Summary) Display()
- func (s *Summary) Results() []Result
- func (s *Summary) ServiceFailureCount() int
- func (s *Summary) ServiceSkippedCount() int
- func (s *Summary) ServiceSuccessCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { OrgName string SpaceName string ServiceName string Service string Message string }
Result is a specific service migration result: success or failure
type Summary ¶
Summary is a thread safe sink of execution results for service migrations
func NewSummary ¶
NewSummary creates a new initialized summary instance
func (*Summary) AddFailedService ¶
AddFailedService adds a failed service along with its error to the summary result
func (*Summary) AddSkippedService ¶
AddSkippedService adds a skipped service along with its error to the summary result
func (*Summary) AddSuccessfulService ¶
AddSuccessfulService adds a successful service and increments the count of successful services
func (*Summary) ServiceFailureCount ¶
ServiceFailureCount is the number of total service failures that have occurred
func (*Summary) ServiceSkippedCount ¶
ServiceSkippedCount is the number of total service skipped that have occurred
func (*Summary) ServiceSuccessCount ¶
ServiceSuccessCount is the number of total service successes that have occurred