Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RequestBuilder ¶
type RequestBuilder struct {
// contains filtered or unexported fields
}
RequestBuilder builds Zally specific requests
func NewRequestBuilder ¶
func NewRequestBuilder(baseURL string, token string, app *cli.App) *RequestBuilder
NewRequestBuilder creates an instance of RequestBuilder
type ResultPrinter ¶
type ResultPrinter struct {
// contains filtered or unexported fields
}
ResultPrinter helps to print results to the CLI
func NewResultPrinter ¶
func NewResultPrinter(buffer io.Writer, formatter formatters.Formatter) ResultPrinter
NewResultPrinter creates an instance of ResultPrinter
func (*ResultPrinter) PrintRules ¶
func (r *ResultPrinter) PrintRules(rules *domain.Rules)
PrintRules prints a list of supported rules
func (*ResultPrinter) PrintViolations ¶
func (r *ResultPrinter) PrintViolations(violations *domain.Violations)
PrintViolations creates string representation of Violation
Click to show internal directories.
Click to hide internal directories.