Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastResultToInteger ¶ added in v0.4.7
Types ¶
type AcceptedValuesCheck ¶ added in v0.2.0
type AcceptedValuesCheck struct {
// contains filtered or unexported fields
}
func (*AcceptedValuesCheck) Check ¶ added in v0.2.0
func (c *AcceptedValuesCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type BasicOperator ¶ added in v0.2.0
type BasicOperator struct {
// contains filtered or unexported fields
}
func NewBasicOperator ¶ added in v0.2.0
func NewBasicOperator(conn connectionFetcher, extractor queryExtractor, materializer materializer) *BasicOperator
func (BasicOperator) Run ¶ added in v0.2.0
func (o BasicOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type ColumnCheckOperator ¶ added in v0.2.0
type ColumnCheckOperator struct {
// contains filtered or unexported fields
}
func NewColumnCheckOperator ¶ added in v0.2.0
func NewColumnCheckOperator(manager connectionFetcher) (*ColumnCheckOperator, error)
func (ColumnCheckOperator) Run ¶ added in v0.2.0
func (o ColumnCheckOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type Config ¶
type Config struct { Account string `envconfig:"SNOWFLAKE_ACCOUNT"` Username string `envconfig:"SNOWFLAKE_USERNAME"` Password string `envconfig:"SNOWFLAKE_PASSWORD"` Region string `envconfig:"SNOWFLAKE_REGION"` Role string `envconfig:"SNOWFLAKE_ROLE"` Database string `envconfig:"SNOWFLAKE_DATABASE"` Schema string `envconfig:"SNOWFLAKE_SCHEMA"` Warehouse string `envconfig:"SNOWFLAKE_WAREHOUSE"` }
type CustomCheck ¶ added in v0.4.0
type CustomCheck struct {
// contains filtered or unexported fields
}
func (*CustomCheck) Check ¶ added in v0.4.0
func (c *CustomCheck) Check(ctx context.Context, ti *scheduler.CustomCheckInstance) error
type CustomCheckOperator ¶ added in v0.4.0
type CustomCheckOperator struct {
// contains filtered or unexported fields
}
func NewCustomCheckOperator ¶ added in v0.4.0
func NewCustomCheckOperator(manager connectionFetcher) (*CustomCheckOperator, error)
func (*CustomCheckOperator) Run ¶ added in v0.4.0
func (o *CustomCheckOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) RunQueryWithoutResult ¶ added in v0.2.0
type Materializer ¶ added in v0.2.0
type Materializer struct{}
type NotNullCheck ¶ added in v0.2.0
type NotNullCheck struct {
// contains filtered or unexported fields
}
func (*NotNullCheck) Check ¶ added in v0.2.0
func (c *NotNullCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type PositiveCheck ¶ added in v0.2.0
type PositiveCheck struct {
// contains filtered or unexported fields
}
func (*PositiveCheck) Check ¶ added in v0.2.0
func (c *PositiveCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
type QuerySensor ¶ added in v0.4.7
type QuerySensor struct {
// contains filtered or unexported fields
}
func NewQuerySensor ¶ added in v0.4.7
func NewQuerySensor(conn connectionFetcher, renderer renderer, secondsToSleep int64) *QuerySensor
func (*QuerySensor) Run ¶ added in v0.4.7
func (o *QuerySensor) Run(ctx context.Context, ti scheduler.TaskInstance) error
type UniqueCheck ¶ added in v0.2.0
type UniqueCheck struct {
// contains filtered or unexported fields
}
func (*UniqueCheck) Check ¶ added in v0.2.0
func (c *UniqueCheck) Check(ctx context.Context, ti *scheduler.ColumnCheckInstance) error
Click to show internal directories.
Click to hide internal directories.