checks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckReport

type CheckReport struct {
	CheckName string
	Message   string
}

type FieldCheck

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

func NewFieldCheck

func NewFieldCheck(logger log.Logger, client *client.Client, comparisons []*types.FieldComparisonSuccessDefinition) (*FieldCheck, error)

func (*FieldCheck) Execute

type SuccessChecks

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

func NewSuccessChecks

func NewSuccessChecks(logger log.Logger, client *client.Client) *SuccessChecks

func (*SuccessChecks) RunChecks

func (c *SuccessChecks) RunChecks(ctx context.Context, successDefs []*types.SuccessDefinition, u *unstructured.Unstructured) error

Jump to

Keyboard shortcuts

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