schema

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 4 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) []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) ToStateObject added in v1.1.6

func (c SchemaConfig) ToStateObject(sch string, local SchemaConfig) map[string]interface{}

Jump to

Keyboard shortcuts

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