Documentation ¶
Index ¶
- Constants
- type SchemaConfig
- func (c SchemaConfig) GetSchemas(sch string, local SchemaConfig, diag *diag.Diagnostics) []interface{}
- func (c SchemaConfig) HasUpdates() bool
- func (c *SchemaConfig) Override(local *SchemaConfig, sch string) error
- func (c SchemaConfig) PrepareCreateRequest(svc *connectors.ConnectorSchemaConfigCreateService) *connectors.ConnectorSchemaConfigCreateService
- func (c SchemaConfig) PrepareRequest(svc *connectors.ConnectorSchemaConfigUpdateService) *connectors.ConnectorSchemaConfigUpdateService
- func (c *SchemaConfig) ReadFromRawSourceData(d []interface{}, sch string)
- func (c *SchemaConfig) ReadFromResponse(response connectors.ConnectorSchemaDetailsResponse)
- func (c SchemaConfig) ValidateSchemas(connectorId string, ...) (error, bool)
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) PrepareCreateRequest ¶ added in v1.2.0
func (c SchemaConfig) PrepareCreateRequest(svc *connectors.ConnectorSchemaConfigCreateService) *connectors.ConnectorSchemaConfigCreateService
func (SchemaConfig) PrepareRequest ¶ added in v1.1.6
func (c SchemaConfig) PrepareRequest(svc *connectors.ConnectorSchemaConfigUpdateService) *connectors.ConnectorSchemaConfigUpdateService
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)
Click to show internal directories.
Click to hide internal directories.