Documentation ¶
Index ¶
- func IsObjectStorageDestination(destType string) bool
- func IsWarehouseDestination(destType string) bool
- type AsyncPoll
- type AsyncStatusResponse
- type BatchedJobs
- type Connection
- type DestinationJobs
- type ErrorResponse
- type Factory
- type Handle
- type JobParameters
- type ObjectStorageDefinition
- type UploadResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsObjectStorageDestination ¶ added in v0.1.10
func IsWarehouseDestination ¶ added in v0.1.10
Types ¶
type AsyncStatusResponse ¶ added in v0.1.10
type BatchedJobs ¶ added in v1.9.0
type BatchedJobs struct { Jobs []*jobsdb.JobT Connection *Connection TimeWindow time.Time }
type Connection ¶ added in v1.9.0
type Connection struct { Source backendconfig.SourceT Destination backendconfig.DestinationT }
type DestinationJobs ¶ added in v1.9.0
type DestinationJobs struct {
// contains filtered or unexported fields
}
type ErrorResponse ¶ added in v1.9.0
type ErrorResponse struct {
Error string
}
type Factory ¶ added in v0.1.10
type Factory struct { Reporting types.ReportingI Multitenant multitenant.MultiTenantI BackendConfig backendconfig.BackendConfig RouterDB jobsdb.JobsDB ProcErrorDB jobsdb.JobsDB TransientSources transientsource.Service RsourcesService rsources.JobService Debugger destinationdebugger.DestinationDebugger AdaptiveLimit func(int64) int64 }
type Handle ¶ added in v1.9.0
type Handle struct { Diagnostics diagnostics.DiagnosticsI // contains filtered or unexported fields }
func (*Handle) GetWorkspaceIDForDestID ¶ added in v1.9.0
func (*Handle) Setup ¶ added in v1.9.0
func (brt *Handle) Setup( destType string, backendConfig backendconfig.BackendConfig, jobsDB, errorDB jobsdb.JobsDB, reporting types.ReportingI, multitenantStat multitenant.MultiTenantI, transientSources transientsource.Service, rsourcesService rsources.JobService, debugger destinationdebugger.DestinationDebugger, )
Setup initializes the batch router
type JobParameters ¶ added in v1.9.0
type JobParameters struct { SourceID string `json:"source_id"` DestinationID string `json:"destination_id"` ReceivedAt string `json:"received_at"` TransformAt string `json:"transform_at"` SourceTaskRunID string `json:"source_task_run_id"` SourceJobID string `json:"source_job_id"` SourceJobRunID string `json:"source_job_run_id"` SourceDefinitionID string `json:"source_definition_id"` DestinationDefinitionID string `json:"destination_definition_id"` SourceCategory string `json:"source_category"` EventName string `json:"event_name"` EventType string `json:"event_type"` MessageID string `json:"message_id"` }
type ObjectStorageDefinition ¶ added in v1.9.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.