lint

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePipelineRun added in v0.0.141

func ValidatePipelineRun(ctx context.Context, pr *v1beta1.PipelineRun) *apis.FieldError

func ValidateTaskRunVolumesExist added in v0.0.141

func ValidateTaskRunVolumesExist(ts *v1beta1.TaskSpec) (errs *apis.FieldError)

Types

type Options

type Options struct {
	linter.Options
	lighthouses.ResolverOptions

	Namespace string
	OutFile   string
	Format    string
	Recursive bool
	All       bool
	Resolver  *inrepo.UsesResolver
}

Options contains the command line options

func NewCmdPipelineLint

func NewCmdPipelineLint() (*cobra.Command, *Options)

NewCmdPipelineLint creates the command

func (*Options) ProcessDir

func (o *Options) ProcessDir(dir string) error

func (*Options) ProcessFile added in v0.0.141

func (o *Options) ProcessFile(path string) error

func (*Options) Run

func (o *Options) Run() error

Run implements this command

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies settings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL