Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Formatter ¶
type Formatter interface {
Format(*LintResult) string
Summarize(*LintResults) string
}
func GetFormatter ¶
type LintOptions ¶
type LintResult ¶
LintResult represents the result of linting objects from a single source
type LintResults ¶
type LintResults struct {
Results []*LintResult
Success bool
// contains filtered or unexported fields
}
LintResults represents the result of linting objects from multiple sources
func Lint ¶
func Lint(ctx context.Context, opts *LintOptions) (*LintResults, error)
Lint reads all files, returns linting errors of all of the enitities of the specified kinds. Entities of other kinds are ignored.
func (*LintResults) Msg ¶
func (l *LintResults) Msg() string
type ServiceClients ¶
type ServiceClients struct {
WorkflowsClient workflowpkg.WorkflowServiceClient
WorkflowTemplatesClient workflowtemplatepkg.WorkflowTemplateServiceClient
CronWorkflowsClient cronworkflowpkg.CronWorkflowServiceClient
ClusterWorkflowTemplateClient clusterworkflowtemplatepkg.ClusterWorkflowTemplateServiceClient
}
Click to show internal directories.
Click to hide internal directories.