fake

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeValidator

func NewFakeValidator(ctx context.Context, numberOfViolations int) common.Validator

Types

type FakeValidator

type FakeValidator struct {
	// contains filtered or unexported fields
}

func (*FakeValidator) GetName

func (v *FakeValidator) GetName() string

func (*FakeValidator) Validate

func (v *FakeValidator) Validate(ctx context.Context, resources []unstructured.Unstructured) (violations []common.Violation, err error)

*

Jump to

Keyboard shortcuts

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