schema

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID           = "id"
	CONNECTOR_ID = "connector_id"

	ALLOW_ALL     = "ALLOW_ALL"
	ALLOW_COLUMNS = "ALLOW_COLUMNS"
	BLOCK_ALL     = "BLOCK_ALL"
	SOFT_DELETE   = "SOFT_DELETE"
	HISTORY       = "HISTORY"
	LIVE          = "LIVE"

	SCHEMA_CHANGE_HANDLING = "schema_change_handling"
	SCHEMA                 = "schema"
	TABLE                  = "table"
	COLUMN                 = "column"
	NAME                   = "name"
	ENABLED                = "enabled"
	HASHED                 = "hashed"
	SYNC_MODE              = "sync_mode"

	HANDLED       = "handled"
	EXCLUDED      = "excluded"
	PATCH_ALLOWED = "patch_allowed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaConfig added in v1.1.6

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

func (SchemaConfig) GetSchemas added in v1.1.6

func (c SchemaConfig) GetSchemas(sch string, local SchemaConfig, diag *diag.Diagnostics) []interface{}

func (SchemaConfig) HasUpdates added in v1.1.6

func (c SchemaConfig) HasUpdates() bool

func (*SchemaConfig) Override added in v1.1.6

func (c *SchemaConfig) Override(local *SchemaConfig, sch string) error

func (*SchemaConfig) ReadFromRawSourceData added in v1.1.6

func (c *SchemaConfig) ReadFromRawSourceData(d []interface{}, sch string)

func (*SchemaConfig) ReadFromResponse added in v1.1.6

func (c *SchemaConfig) ReadFromResponse(response connectors.ConnectorSchemaDetailsResponse)

func (SchemaConfig) ValidateSchemas added in v1.2.0

func (c SchemaConfig) ValidateSchemas(
	connectorId string,
	schemas map[string]*connectors.ConnectorSchemaConfigSchemaResponse,
	client fivetran.Client,
	ctx context.Context,
	validateColumns bool) (error, bool)

Jump to

Keyboard shortcuts

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