Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorReport ¶
func ErrorReport(name string, err error) interfaces.DependencyReport
ErrorReport creates a report for error cases
Types ¶
type DeploymentReport ¶
type DeploymentReport []NodeReport
DeploymentReport is a full report of the status of deployment
func (DeploymentReport) AsText ¶
func (d DeploymentReport) AsText(indent int) []string
AsText returns a human-readable representation of the report as a slice
type NodeReport ¶
type NodeReport struct { Dependent string Blocked bool Ready bool Dependencies []interfaces.DependencyReport }
NodeReport is a report of a node in graph
func (NodeReport) AsText ¶
func (n NodeReport) AsText(indent int) []string
AsText returns a human-readable representation of the report as a slice
type SimpleReporter ¶
type SimpleReporter struct {
interfaces.BaseResource
}
SimpleReporter creates report for simple binary cases
func (SimpleReporter) GetDependencyReport ¶
func (r SimpleReporter) GetDependencyReport(meta map[string]string) interfaces.DependencyReport
GetDependencyReport returns a dependency report for this reporter
func (SimpleReporter) GetResource ¶
func (r SimpleReporter) GetResource() interfaces.BaseResource
GetResource returns the underlying resource
Click to show internal directories.
Click to hide internal directories.