ansisql

package
v0.11.23 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRunner

type CheckRunner interface {
	Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
}

type ColumnCheckOperator

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

func NewColumnCheckOperator

func NewColumnCheckOperator(checks map[string]CheckRunner) *ColumnCheckOperator

func (ColumnCheckOperator) Run

type CountableQueryCheck

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

func NewCountableQueryCheck

func NewCountableQueryCheck(conn connectionFetcher, expectedQueryResult int64, queryInstance *query.Query, checkName string, customError func(count int64) error) *CountableQueryCheck

func (*CountableQueryCheck) Check

func (*CountableQueryCheck) CustomCheck

type CustomCheck

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

func NewCustomCheck

func NewCustomCheck(conn connectionFetcher) *CustomCheck

func (*CustomCheck) Check

type CustomCheckOperator

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

func NewCustomCheckOperator

func NewCustomCheckOperator(manager connectionFetcher, r *jinja.Renderer) *CustomCheckOperator

func (*CustomCheckOperator) Run

type CustomCheckRunner

type CustomCheckRunner interface {
	Check(ctx context.Context, ti *scheduler.CustomCheckInstance) error
}

type NegativeCheck added in v0.10.1

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

func NewNegativeCheck added in v0.10.1

func NewNegativeCheck(conn connectionFetcher) *NegativeCheck

func (*NegativeCheck) Check added in v0.10.1

type NonNegativeCheck

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

func NewNonNegativeCheck

func NewNonNegativeCheck(conn connectionFetcher) *NonNegativeCheck

func (*NonNegativeCheck) Check

type NotNullCheck

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

func NewNotNullCheck

func NewNotNullCheck(conn connectionFetcher) *NotNullCheck

func (*NotNullCheck) Check

type PositiveCheck

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

func NewPositiveCheck

func NewPositiveCheck(conn connectionFetcher) *PositiveCheck

func (*PositiveCheck) Check

type UniqueCheck

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

func NewUniqueCheck

func NewUniqueCheck(conn connectionFetcher) *UniqueCheck

func (*UniqueCheck) Check

Jump to

Keyboard shortcuts

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