Documentation
¶
Index ¶
- Constants
- Variables
- func PosFromProto(pos *Pos) hcl.Pos
- func RangeFromProto(r *Range) hcl.Range
- func RegisterTailpipePluginServer(s grpc.ServiceRegistrar, srv TailpipePluginServer)
- type ArtifactInfo
- func (*ArtifactInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactInfo) GetLocalName() string
- func (x *ArtifactInfo) GetOriginalName() string
- func (x *ArtifactInfo) GetSourceEnrichment() *SourceEnrichment
- func (*ArtifactInfo) ProtoMessage()
- func (x *ArtifactInfo) ProtoReflect() protoreflect.Message
- func (x *ArtifactInfo) Reset()
- func (x *ArtifactInfo) String() string
- type ArtifactSourceConfig
- func (*ArtifactSourceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactSourceConfig) GetFileLayout() string
- func (x *ArtifactSourceConfig) GetFilters() []string
- func (x *ArtifactSourceConfig) GetPatterns() map[string]string
- func (*ArtifactSourceConfig) ProtoMessage()
- func (x *ArtifactSourceConfig) ProtoReflect() protoreflect.Message
- func (x *ArtifactSourceConfig) Reset()
- func (x *ArtifactSourceConfig) String() string
- type CollectRequest
- func (*CollectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectRequest) GetCollectionStatePath() string
- func (x *CollectRequest) GetCollectionTempDir() string
- func (x *CollectRequest) GetConnectionData() *ConfigData
- func (x *CollectRequest) GetCustomTableSchema() *Schema
- func (x *CollectRequest) GetExecutionId() string
- func (x *CollectRequest) GetFromTime() *timestamppb.Timestamp
- func (x *CollectRequest) GetPartitionName() string
- func (x *CollectRequest) GetRecollect() bool
- func (x *CollectRequest) GetSourceData() *ConfigData
- func (x *CollectRequest) GetSourceFormat() *FormatData
- func (x *CollectRequest) GetSourcePlugin() *SourcePluginReattach
- func (x *CollectRequest) GetTableName() string
- func (x *CollectRequest) GetTempDirMaxMb() int64
- func (x *CollectRequest) GetToTime() *timestamppb.Timestamp
- func (*CollectRequest) ProtoMessage()
- func (x *CollectRequest) ProtoReflect() protoreflect.Message
- func (x *CollectRequest) Reset()
- func (x *CollectRequest) String() string
- func (x *CollectRequest) Validate() error
- type CollectResponse
- func (*CollectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectResponse) GetExecutionId() string
- func (x *CollectResponse) GetFromTime() *ResolvedFromTime
- func (x *CollectResponse) GetSchema() *Schema
- func (*CollectResponse) ProtoMessage()
- func (x *CollectResponse) ProtoReflect() protoreflect.Message
- func (x *CollectResponse) Reset()
- func (x *CollectResponse) String() string
- type ColumnSchema
- func (*ColumnSchema) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnSchema) GetChildFields() []*ColumnSchema
- func (x *ColumnSchema) GetColumnName() string
- func (x *ColumnSchema) GetDescription() string
- func (x *ColumnSchema) GetNullValue() string
- func (x *ColumnSchema) GetRequired() bool
- func (x *ColumnSchema) GetSourceName() string
- func (x *ColumnSchema) GetTransform() string
- func (x *ColumnSchema) GetType() string
- func (*ColumnSchema) ProtoMessage()
- func (x *ColumnSchema) ProtoReflect() protoreflect.Message
- func (x *ColumnSchema) Reset()
- func (x *ColumnSchema) String() string
- type ConfigData
- func (*ConfigData) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigData) GetHcl() []byte
- func (x *ConfigData) GetRange() *Range
- func (x *ConfigData) GetTarget() string
- func (*ConfigData) ProtoMessage()
- func (x *ConfigData) ProtoReflect() protoreflect.Message
- func (x *ConfigData) Reset()
- func (x *ConfigData) String() string
- type DescribeRequest
- func (*DescribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRequest) GetCustomFormats() []*FormatData
- func (x *DescribeRequest) GetCustomFormatsOnly() bool
- func (*DescribeRequest) ProtoMessage()
- func (x *DescribeRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeRequest) Reset()
- func (x *DescribeRequest) String() string
- type DescribeResponse
- func (*DescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeResponse) GetCustomFormats() map[string]*FormatDescription
- func (x *DescribeResponse) GetFormatTypes() []string
- func (x *DescribeResponse) GetFormatsPresets() map[string]*FormatDescription
- func (x *DescribeResponse) GetSchemas() map[string]*Schema
- func (x *DescribeResponse) GetSources() map[string]*SourceMetadata
- func (*DescribeResponse) ProtoMessage()
- func (x *DescribeResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeResponse) Reset()
- func (x *DescribeResponse) String() string
- type DownloadedArtifactInfo
- func (*DownloadedArtifactInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadedArtifactInfo) GetLocalName() string
- func (x *DownloadedArtifactInfo) GetOriginalName() string
- func (x *DownloadedArtifactInfo) GetSize() int64
- func (x *DownloadedArtifactInfo) GetSourceEnrichment() *SourceEnrichment
- func (*DownloadedArtifactInfo) ProtoMessage()
- func (x *DownloadedArtifactInfo) ProtoReflect() protoreflect.Message
- func (x *DownloadedArtifactInfo) Reset()
- func (x *DownloadedArtifactInfo) String() string
- type Empty
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetArtifactDiscoveredEvent() *EventArtifactDiscovered
- func (x *Event) GetArtifactDownloadedEvent() *EventArtifactDownloaded
- func (x *Event) GetArtifactExtractedEvent() *EventArtifactExtracted
- func (x *Event) GetChunkWrittenEvent() *EventChunkWritten
- func (x *Event) GetCompleteEvent() *EventComplete
- func (x *Event) GetErrorEvent() *EventError
- func (x *Event) GetEvent() isEvent_Event
- func (x *Event) GetHeaderEvent() *EventHeader
- func (x *Event) GetSourceCompleteEvent() *EventSourceComplete
- func (x *Event) GetStartedEvent() *EventStarted
- func (x *Event) GetStatusEvent() *EventStatus
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventArtifactDiscovered
- func (*EventArtifactDiscovered) Descriptor() ([]byte, []int)deprecated
- func (x *EventArtifactDiscovered) GetArtifactInfo() *ArtifactInfo
- func (x *EventArtifactDiscovered) GetExecutionId() string
- func (*EventArtifactDiscovered) ProtoMessage()
- func (x *EventArtifactDiscovered) ProtoReflect() protoreflect.Message
- func (x *EventArtifactDiscovered) Reset()
- func (x *EventArtifactDiscovered) String() string
- type EventArtifactDownloaded
- func (*EventArtifactDownloaded) Descriptor() ([]byte, []int)deprecated
- func (x *EventArtifactDownloaded) GetArtifactInfo() *DownloadedArtifactInfo
- func (x *EventArtifactDownloaded) GetExecutionId() string
- func (x *EventArtifactDownloaded) GetSize() int64
- func (*EventArtifactDownloaded) ProtoMessage()
- func (x *EventArtifactDownloaded) ProtoReflect() protoreflect.Message
- func (x *EventArtifactDownloaded) Reset()
- func (x *EventArtifactDownloaded) String() string
- type EventArtifactExtracted
- func (*EventArtifactExtracted) Descriptor() ([]byte, []int)deprecated
- func (x *EventArtifactExtracted) GetArtifactInfo() *DownloadedArtifactInfo
- func (x *EventArtifactExtracted) GetExecutionId() string
- func (*EventArtifactExtracted) ProtoMessage()
- func (x *EventArtifactExtracted) ProtoReflect() protoreflect.Message
- func (x *EventArtifactExtracted) Reset()
- func (x *EventArtifactExtracted) String() string
- type EventChunkWritten
- func (*EventChunkWritten) Descriptor() ([]byte, []int)deprecated
- func (x *EventChunkWritten) GetChunkNumber() int32
- func (x *EventChunkWritten) GetExecutionId() string
- func (*EventChunkWritten) ProtoMessage()
- func (x *EventChunkWritten) ProtoReflect() protoreflect.Message
- func (x *EventChunkWritten) Reset()
- func (x *EventChunkWritten) String() string
- type EventComplete
- func (*EventComplete) Descriptor() ([]byte, []int)deprecated
- func (x *EventComplete) GetChunkCount() int32
- func (x *EventComplete) GetError() string
- func (x *EventComplete) GetExecutionId() string
- func (x *EventComplete) GetMetadata() map[string]string
- func (x *EventComplete) GetRowCount() int64
- func (*EventComplete) ProtoMessage()
- func (x *EventComplete) ProtoReflect() protoreflect.Message
- func (x *EventComplete) Reset()
- func (x *EventComplete) String() string
- type EventError
- type EventHeader
- func (*EventHeader) Descriptor() ([]byte, []int)deprecated
- func (x *EventHeader) GetArtifactInfo() *ArtifactInfo
- func (x *EventHeader) GetExecutionId() string
- func (x *EventHeader) GetHeader() []string
- func (*EventHeader) ProtoMessage()
- func (x *EventHeader) ProtoReflect() protoreflect.Message
- func (x *EventHeader) Reset()
- func (x *EventHeader) String() string
- type EventSourceComplete
- func (*EventSourceComplete) Descriptor() ([]byte, []int)deprecated
- func (x *EventSourceComplete) GetError() string
- func (x *EventSourceComplete) GetExecutionId() string
- func (*EventSourceComplete) ProtoMessage()
- func (x *EventSourceComplete) ProtoReflect() protoreflect.Message
- func (x *EventSourceComplete) Reset()
- func (x *EventSourceComplete) String() string
- type EventStarted
- type EventStatus
- func (*EventStatus) Descriptor() ([]byte, []int)deprecated
- func (x *EventStatus) GetArtifactErrors() int64
- func (x *EventStatus) GetArtifactsDiscovered() int64
- func (x *EventStatus) GetArtifactsDownloaded() int64
- func (x *EventStatus) GetArtifactsDownloadedBytes() int64
- func (x *EventStatus) GetArtifactsExtracted() int64
- func (x *EventStatus) GetErrors() int64
- func (x *EventStatus) GetLatestArtifactPath() string
- func (x *EventStatus) GetRowErrors() *RowErrors
- func (x *EventStatus) GetRowsEnriched() int64
- func (x *EventStatus) GetRowsReceived() int64
- func (x *EventStatus) GetSourceErrors() []string
- func (*EventStatus) ProtoMessage()
- func (x *EventStatus) ProtoReflect() protoreflect.Message
- func (x *EventStatus) Reset()
- func (x *EventStatus) String() string
- type Event_ArtifactDiscoveredEvent
- type Event_ArtifactDownloadedEvent
- type Event_ArtifactExtractedEvent
- type Event_ChunkWrittenEvent
- type Event_CompleteEvent
- type Event_ErrorEvent
- type Event_HeaderEvent
- type Event_SourceCompleteEvent
- type Event_StartedEvent
- type Event_StatusEvent
- type FormatData
- func (*FormatData) Descriptor() ([]byte, []int)deprecated
- func (x *FormatData) GetConfig() *ConfigData
- func (x *FormatData) GetName() string
- func (x *FormatData) GetPresetName() string
- func (x *FormatData) GetRegex() string
- func (*FormatData) ProtoMessage()
- func (x *FormatData) ProtoReflect() protoreflect.Message
- func (x *FormatData) Reset()
- func (x *FormatData) String() string
- type FormatDescription
- func (*FormatDescription) Descriptor() ([]byte, []int)deprecated
- func (x *FormatDescription) GetDescription() string
- func (x *FormatDescription) GetName() string
- func (x *FormatDescription) GetProperties() map[string]string
- func (x *FormatDescription) GetRegex() string
- func (x *FormatDescription) GetType() string
- func (*FormatDescription) ProtoMessage()
- func (x *FormatDescription) ProtoReflect() protoreflect.Message
- func (x *FormatDescription) Reset()
- func (x *FormatDescription) String() string
- type GetSupportedOperationsResponse
- func (*GetSupportedOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSupportedOperationsResponse) GetTimeRanges() bool
- func (*GetSupportedOperationsResponse) ProtoMessage()
- func (x *GetSupportedOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSupportedOperationsResponse) Reset()
- func (x *GetSupportedOperationsResponse) String() string
- type InitSourceRequest
- func (*InitSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitSourceRequest) GetDefaultConfig() *ArtifactSourceConfig
- func (x *InitSourceRequest) GetSourceParams() *RowSourceParams
- func (*InitSourceRequest) ProtoMessage()
- func (x *InitSourceRequest) ProtoReflect() protoreflect.Message
- func (x *InitSourceRequest) Reset()
- func (x *InitSourceRequest) String() string
- type InitSourceResponse
- func (*InitSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitSourceResponse) GetFromTime() *ResolvedFromTime
- func (*InitSourceResponse) ProtoMessage()
- func (x *InitSourceResponse) ProtoReflect() protoreflect.Message
- func (x *InitSourceResponse) Reset()
- func (x *InitSourceResponse) String() string
- type NetAddr
- type OperationErrorAggregate
- func (*OperationErrorAggregate) Descriptor() ([]byte, []int)deprecated
- func (x *OperationErrorAggregate) GetCount() int64
- func (x *OperationErrorAggregate) GetInvalidFields() []string
- func (x *OperationErrorAggregate) GetMessages() []string
- func (x *OperationErrorAggregate) GetMissingFields() []string
- func (*OperationErrorAggregate) ProtoMessage()
- func (x *OperationErrorAggregate) ProtoReflect() protoreflect.Message
- func (x *OperationErrorAggregate) Reset()
- func (x *OperationErrorAggregate) String() string
- type Pos
- type PropertyMetadata
- func (*PropertyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PropertyMetadata) GetDefault() string
- func (x *PropertyMetadata) GetDescription() string
- func (x *PropertyMetadata) GetRequired() bool
- func (x *PropertyMetadata) GetType() string
- func (*PropertyMetadata) ProtoMessage()
- func (x *PropertyMetadata) ProtoReflect() protoreflect.Message
- func (x *PropertyMetadata) Reset()
- func (x *PropertyMetadata) String() string
- type Range
- type ReattachConfig
- func (*ReattachConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReattachConfig) GetAddr() *NetAddr
- func (x *ReattachConfig) GetPid() int64
- func (x *ReattachConfig) GetProtocol() string
- func (x *ReattachConfig) GetProtocolVersion() int64
- func (*ReattachConfig) ProtoMessage()
- func (x *ReattachConfig) ProtoReflect() protoreflect.Message
- func (x *ReattachConfig) Reset()
- func (x *ReattachConfig) String() string
- func (r *ReattachConfig) ToPluginReattach() *plugin.ReattachConfig
- type ResolvedFromTime
- func (*ResolvedFromTime) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedFromTime) GetFromTime() *timestamppb.Timestamp
- func (x *ResolvedFromTime) GetSource() string
- func (*ResolvedFromTime) ProtoMessage()
- func (x *ResolvedFromTime) ProtoReflect() protoreflect.Message
- func (x *ResolvedFromTime) Reset()
- func (x *ResolvedFromTime) String() string
- type RowErrors
- func (*RowErrors) Descriptor() ([]byte, []int)deprecated
- func (x *RowErrors) GetErrors() map[string]*RowErrorsByOperation
- func (x *RowErrors) GetTotal() int64
- func (*RowErrors) ProtoMessage()
- func (x *RowErrors) ProtoReflect() protoreflect.Message
- func (x *RowErrors) Reset()
- func (x *RowErrors) String() string
- type RowErrorsByOperation
- func (*RowErrorsByOperation) Descriptor() ([]byte, []int)deprecated
- func (x *RowErrorsByOperation) GetOperationErrors() map[string]*OperationErrorAggregate
- func (*RowErrorsByOperation) ProtoMessage()
- func (x *RowErrorsByOperation) ProtoReflect() protoreflect.Message
- func (x *RowErrorsByOperation) Reset()
- func (x *RowErrorsByOperation) String() string
- type RowSourceParams
- func (*RowSourceParams) Descriptor() ([]byte, []int)deprecated
- func (x *RowSourceParams) GetCollectionStatePath() string
- func (x *RowSourceParams) GetCollectionTempDir() string
- func (x *RowSourceParams) GetConnectionData() *ConfigData
- func (x *RowSourceParams) GetFromTime() *timestamppb.Timestamp
- func (x *RowSourceParams) GetOverwrite() bool
- func (x *RowSourceParams) GetSourceData() *ConfigData
- func (x *RowSourceParams) GetToTime() *timestamppb.Timestamp
- func (*RowSourceParams) ProtoMessage()
- func (x *RowSourceParams) ProtoReflect() protoreflect.Message
- func (x *RowSourceParams) Reset()
- func (x *RowSourceParams) String() string
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetAutomapSourceFields() booldeprecated
- func (x *Schema) GetColumns() []*ColumnSchema
- func (x *Schema) GetDescription() string
- func (x *Schema) GetExcludeSourceFields() []stringdeprecated
- func (x *Schema) GetMapFields() []string
- func (x *Schema) GetName() string
- func (x *Schema) GetNullValue() string
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type SimpleAddr
- type SourceCollectRequest
- func (*SourceCollectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SourceCollectRequest) GetExecutionId() string
- func (*SourceCollectRequest) ProtoMessage()
- func (x *SourceCollectRequest) ProtoReflect() protoreflect.Message
- func (x *SourceCollectRequest) Reset()
- func (x *SourceCollectRequest) String() string
- type SourceEnrichment
- func (*SourceEnrichment) Descriptor() ([]byte, []int)deprecated
- func (x *SourceEnrichment) GetCommonFields() map[string]string
- func (x *SourceEnrichment) GetMetadata() map[string]string
- func (*SourceEnrichment) ProtoMessage()
- func (x *SourceEnrichment) ProtoReflect() protoreflect.Message
- func (x *SourceEnrichment) Reset()
- func (x *SourceEnrichment) String() string
- type SourceMetadata
- func (*SourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SourceMetadata) GetDescription() string
- func (x *SourceMetadata) GetName() string
- func (x *SourceMetadata) GetProperties() map[string]*PropertyMetadata
- func (*SourceMetadata) ProtoMessage()
- func (x *SourceMetadata) ProtoReflect() protoreflect.Message
- func (x *SourceMetadata) Reset()
- func (x *SourceMetadata) String() string
- type SourcePluginReattach
- func (*SourcePluginReattach) Descriptor() ([]byte, []int)deprecated
- func (x *SourcePluginReattach) GetPlugin() string
- func (x *SourcePluginReattach) GetReattachConfig() *ReattachConfig
- func (x *SourcePluginReattach) GetSourceType() string
- func (*SourcePluginReattach) ProtoMessage()
- func (x *SourcePluginReattach) ProtoReflect() protoreflect.Message
- func (x *SourcePluginReattach) Reset()
- func (x *SourcePluginReattach) String() string
- type TailpipePluginClient
- type TailpipePluginServer
- type TailpipePlugin_AddObserverClient
- type TailpipePlugin_AddObserverServer
- type UnimplementedTailpipePluginServer
- func (UnimplementedTailpipePluginServer) AddObserver(*Empty, grpc.ServerStreamingServer[Event]) error
- func (UnimplementedTailpipePluginServer) CloseSource(context.Context, *Empty) (*Empty, error)
- func (UnimplementedTailpipePluginServer) Collect(context.Context, *CollectRequest) (*CollectResponse, error)
- func (UnimplementedTailpipePluginServer) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
- func (UnimplementedTailpipePluginServer) GetSupportedOperations(context.Context, *Empty) (*GetSupportedOperationsResponse, error)
- func (UnimplementedTailpipePluginServer) InitSource(context.Context, *InitSourceRequest) (*InitSourceResponse, error)
- func (UnimplementedTailpipePluginServer) SaveCollectionState(context.Context, *Empty) (*Empty, error)
- func (UnimplementedTailpipePluginServer) SourceCollect(context.Context, *SourceCollectRequest) (*Empty, error)
- func (UnimplementedTailpipePluginServer) SourceCollectionComplete(context.Context, *Empty) (*Empty, error)
- func (UnimplementedTailpipePluginServer) SourcePause(context.Context, *Empty) (*Empty, error)
- func (UnimplementedTailpipePluginServer) SourceResume(context.Context, *Empty) (*Empty, error)
- func (UnimplementedTailpipePluginServer) UpdateCollectionState(context.Context, *UpdateCollectionStateRequest) (*Empty, error)
- type UnsafeTailpipePluginServer
- type UpdateCollectionStateRequest
- func (*UpdateCollectionStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionStateRequest) GetCollectionStatePath() string
- func (x *UpdateCollectionStateRequest) GetFromTime() *timestamppb.Timestamp
- func (x *UpdateCollectionStateRequest) GetSourceData() *ConfigData
- func (*UpdateCollectionStateRequest) ProtoMessage()
- func (x *UpdateCollectionStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionStateRequest) Reset()
- func (x *UpdateCollectionStateRequest) String() string
Constants ¶
const ( TailpipePlugin_Describe_FullMethodName = "/proto.TailpipePlugin/Describe" TailpipePlugin_AddObserver_FullMethodName = "/proto.TailpipePlugin/AddObserver" TailpipePlugin_Collect_FullMethodName = "/proto.TailpipePlugin/Collect" TailpipePlugin_InitSource_FullMethodName = "/proto.TailpipePlugin/InitSource" TailpipePlugin_UpdateCollectionState_FullMethodName = "/proto.TailpipePlugin/UpdateCollectionState" TailpipePlugin_CloseSource_FullMethodName = "/proto.TailpipePlugin/CloseSource" TailpipePlugin_SaveCollectionState_FullMethodName = "/proto.TailpipePlugin/SaveCollectionState" TailpipePlugin_SourceCollect_FullMethodName = "/proto.TailpipePlugin/SourceCollect" TailpipePlugin_SourcePause_FullMethodName = "/proto.TailpipePlugin/SourcePause" TailpipePlugin_SourceResume_FullMethodName = "/proto.TailpipePlugin/SourceResume" TailpipePlugin_SourceCollectionComplete_FullMethodName = "/proto.TailpipePlugin/SourceCollectionComplete" TailpipePlugin_GetSupportedOperations_FullMethodName = "/proto.TailpipePlugin/GetSupportedOperations" )
Variables ¶
var File_plugin_proto protoreflect.FileDescriptor
var TailpipePlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.TailpipePlugin", HandlerType: (*TailpipePluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Describe", Handler: _TailpipePlugin_Describe_Handler, }, { MethodName: "Collect", Handler: _TailpipePlugin_Collect_Handler, }, { MethodName: "InitSource", Handler: _TailpipePlugin_InitSource_Handler, }, { MethodName: "UpdateCollectionState", Handler: _TailpipePlugin_UpdateCollectionState_Handler, }, { MethodName: "CloseSource", Handler: _TailpipePlugin_CloseSource_Handler, }, { MethodName: "SaveCollectionState", Handler: _TailpipePlugin_SaveCollectionState_Handler, }, { MethodName: "SourceCollect", Handler: _TailpipePlugin_SourceCollect_Handler, }, { MethodName: "SourcePause", Handler: _TailpipePlugin_SourcePause_Handler, }, { MethodName: "SourceResume", Handler: _TailpipePlugin_SourceResume_Handler, }, { MethodName: "SourceCollectionComplete", Handler: _TailpipePlugin_SourceCollectionComplete_Handler, }, { MethodName: "GetSupportedOperations", Handler: _TailpipePlugin_GetSupportedOperations_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "AddObserver", Handler: _TailpipePlugin_AddObserver_Handler, ServerStreams: true, }, }, Metadata: "plugin.proto", }
TailpipePlugin_ServiceDesc is the grpc.ServiceDesc for TailpipePlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func PosFromProto ¶
func PosFromProto(pos *Pos) hcl.Pos
func RangeFromProto ¶
func RangeFromProto(r *Range) hcl.Range
func RegisterTailpipePluginServer ¶
func RegisterTailpipePluginServer(s grpc.ServiceRegistrar, srv TailpipePluginServer)
Types ¶
type ArtifactInfo ¶
type ArtifactInfo struct {
// The local path of the downloaded artifact.
LocalName string `protobuf:"bytes,1,opt,name=local_name,json=localName,proto3" json:"local_name,omitempty"`
// The original path of the artifact.
OriginalName string `protobuf:"bytes,2,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"`
// Any enrichment fields provided by the source.
SourceEnrichment *SourceEnrichment `protobuf:"bytes,3,opt,name=source_enrichment,json=sourceEnrichment,proto3" json:"source_enrichment,omitempty"`
// contains filtered or unexported fields
}
ArtifactInfo is a message representing artifact metadata.
func (*ArtifactInfo) Descriptor
deprecated
func (*ArtifactInfo) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactInfo.ProtoReflect.Descriptor instead.
func (*ArtifactInfo) GetLocalName ¶
func (x *ArtifactInfo) GetLocalName() string
func (*ArtifactInfo) GetOriginalName ¶
func (x *ArtifactInfo) GetOriginalName() string
func (*ArtifactInfo) GetSourceEnrichment ¶
func (x *ArtifactInfo) GetSourceEnrichment() *SourceEnrichment
func (*ArtifactInfo) ProtoMessage ¶
func (*ArtifactInfo) ProtoMessage()
func (*ArtifactInfo) ProtoReflect ¶
func (x *ArtifactInfo) ProtoReflect() protoreflect.Message
func (*ArtifactInfo) Reset ¶
func (x *ArtifactInfo) Reset()
func (*ArtifactInfo) String ¶
func (x *ArtifactInfo) String() string
type ArtifactSourceConfig ¶
type ArtifactSourceConfig struct {
// File layout grok string defining the file layout and allowing metadata extraction.
FileLayout string `protobuf:"bytes,1,opt,name=file_layout,json=fileLayout,proto3" json:"file_layout,omitempty"`
// Grok patterns to add to the grok parser used to parse the layout.
Patterns map[string]string `` /* 143-byte string literal not displayed */
// List of filters to apply to the path segments.
// Note: each filter must refer to a single property only.
Filters []string `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
// contains filtered or unexported fields
}
ArtifactSourceConfigBase is a configuration message for an artifact source.
func (*ArtifactSourceConfig) Descriptor
deprecated
func (*ArtifactSourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactSourceConfig.ProtoReflect.Descriptor instead.
func (*ArtifactSourceConfig) GetFileLayout ¶
func (x *ArtifactSourceConfig) GetFileLayout() string
func (*ArtifactSourceConfig) GetFilters ¶
func (x *ArtifactSourceConfig) GetFilters() []string
func (*ArtifactSourceConfig) GetPatterns ¶
func (x *ArtifactSourceConfig) GetPatterns() map[string]string
func (*ArtifactSourceConfig) ProtoMessage ¶
func (*ArtifactSourceConfig) ProtoMessage()
func (*ArtifactSourceConfig) ProtoReflect ¶
func (x *ArtifactSourceConfig) ProtoReflect() protoreflect.Message
func (*ArtifactSourceConfig) Reset ¶
func (x *ArtifactSourceConfig) Reset()
func (*ArtifactSourceConfig) String ¶
func (x *ArtifactSourceConfig) String() string
type CollectRequest ¶
type CollectRequest struct {
TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
PartitionName string `protobuf:"bytes,2,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
// unique identifier for collection execution this will be used as base for the filename for the resulting JSONL files
ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
// the temporary directory to use for the collection
CollectionTempDir string `protobuf:"bytes,4,opt,name=collection_temp_dir,json=collectionTempDir,proto3" json:"collection_temp_dir,omitempty"`
// the path to the collection state file
CollectionStatePath string `protobuf:"bytes,5,opt,name=collection_state_path,json=collectionStatePath,proto3" json:"collection_state_path,omitempty"`
// the source to use (with raw config)
SourceData *ConfigData `protobuf:"bytes,6,opt,name=source_data,json=sourceData,proto3" json:"source_data,omitempty"`
// the raw hcl of the connection
ConnectionData *ConfigData `protobuf:"bytes,7,opt,name=connection_data,json=connectionData,proto3" json:"connection_data,omitempty"`
// if this is custom table, schema contains the source format and table schema
CustomTableSchema *Schema `protobuf:"bytes,8,opt,name=custom_table_schema,json=customTableSchema,proto3" json:"custom_table_schema,omitempty"`
// optional: the source format
SourceFormat *FormatData `protobuf:"bytes,9,opt,name=source_format,json=sourceFormat,proto3" json:"source_format,omitempty"`
// optional: the reattach config to connect to the plugin providing the source
SourcePlugin *SourcePluginReattach `protobuf:"bytes,10,opt,name=source_plugin,json=sourcePlugin,proto3" json:"source_plugin,omitempty"`
// optional: the collection start time
FromTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
// the max space to take with temp files
TempDirMaxMb int64 `protobuf:"varint,12,opt,name=temp_dir_max_mb,json=tempDirMaxMb,proto3" json:"temp_dir_max_mb,omitempty"`
// the collection end time
ToTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
// recollect all data for the specified time range even if it has been collected already
Recollect *bool `protobuf:"varint,14,opt,name=recollect,proto3,oneof" json:"recollect,omitempty"`
// contains filtered or unexported fields
}
func (*CollectRequest) Descriptor
deprecated
func (*CollectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectRequest.ProtoReflect.Descriptor instead.
func (*CollectRequest) GetCollectionStatePath ¶
func (x *CollectRequest) GetCollectionStatePath() string
func (*CollectRequest) GetCollectionTempDir ¶
func (x *CollectRequest) GetCollectionTempDir() string
func (*CollectRequest) GetConnectionData ¶
func (x *CollectRequest) GetConnectionData() *ConfigData
func (*CollectRequest) GetCustomTableSchema ¶ added in v0.2.0
func (x *CollectRequest) GetCustomTableSchema() *Schema
func (*CollectRequest) GetExecutionId ¶
func (x *CollectRequest) GetExecutionId() string
func (*CollectRequest) GetFromTime ¶
func (x *CollectRequest) GetFromTime() *timestamppb.Timestamp
func (*CollectRequest) GetPartitionName ¶
func (x *CollectRequest) GetPartitionName() string
func (*CollectRequest) GetRecollect ¶ added in v0.9.0
func (x *CollectRequest) GetRecollect() bool
func (*CollectRequest) GetSourceData ¶
func (x *CollectRequest) GetSourceData() *ConfigData
func (*CollectRequest) GetSourceFormat ¶
func (x *CollectRequest) GetSourceFormat() *FormatData
func (*CollectRequest) GetSourcePlugin ¶
func (x *CollectRequest) GetSourcePlugin() *SourcePluginReattach
func (*CollectRequest) GetTableName ¶
func (x *CollectRequest) GetTableName() string
func (*CollectRequest) GetTempDirMaxMb ¶ added in v0.5.0
func (x *CollectRequest) GetTempDirMaxMb() int64
func (*CollectRequest) GetToTime ¶ added in v0.7.0
func (x *CollectRequest) GetToTime() *timestamppb.Timestamp
func (*CollectRequest) ProtoMessage ¶
func (*CollectRequest) ProtoMessage()
func (*CollectRequest) ProtoReflect ¶
func (x *CollectRequest) ProtoReflect() protoreflect.Message
func (*CollectRequest) Reset ¶
func (x *CollectRequest) Reset()
func (*CollectRequest) String ¶
func (x *CollectRequest) String() string
func (*CollectRequest) Validate ¶
func (x *CollectRequest) Validate() error
type CollectResponse ¶
type CollectResponse struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
// partition schema
Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
// resolved from time
FromTime *ResolvedFromTime `protobuf:"bytes,3,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
// contains filtered or unexported fields
}
func (*CollectResponse) Descriptor
deprecated
func (*CollectResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectResponse.ProtoReflect.Descriptor instead.
func (*CollectResponse) GetExecutionId ¶
func (x *CollectResponse) GetExecutionId() string
func (*CollectResponse) GetFromTime ¶
func (x *CollectResponse) GetFromTime() *ResolvedFromTime
func (*CollectResponse) GetSchema ¶
func (x *CollectResponse) GetSchema() *Schema
func (*CollectResponse) ProtoMessage ¶
func (*CollectResponse) ProtoMessage()
func (*CollectResponse) ProtoReflect ¶
func (x *CollectResponse) ProtoReflect() protoreflect.Message
func (*CollectResponse) Reset ¶
func (x *CollectResponse) Reset()
func (*CollectResponse) String ¶
func (x *CollectResponse) String() string
type ColumnSchema ¶
type ColumnSchema struct {
// The type of the column - must be a valid DuckDB type
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// The name of the source field
SourceName string `protobuf:"bytes,2,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"`
// The name of the column
ColumnName string `protobuf:"bytes,3,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
// child fields (for a struct)
ChildFields []*ColumnSchema `protobuf:"bytes,4,rep,name=child_fields,json=childFields,proto3" json:"child_fields,omitempty"`
// column description
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// is the column required
Required bool `protobuf:"varint,6,opt,name=required,proto3" json:"required,omitempty"`
// the null value to use for the column
NullValue string `protobuf:"bytes,7,opt,name=null_value,json=nullValue,proto3" json:"null_value,omitempty"`
// the duckdb function to use to map the column
Transform string `protobuf:"bytes,8,opt,name=transform,proto3" json:"transform,omitempty"`
// contains filtered or unexported fields
}
func (*ColumnSchema) Descriptor
deprecated
func (*ColumnSchema) Descriptor() ([]byte, []int)
Deprecated: Use ColumnSchema.ProtoReflect.Descriptor instead.
func (*ColumnSchema) GetChildFields ¶
func (x *ColumnSchema) GetChildFields() []*ColumnSchema
func (*ColumnSchema) GetColumnName ¶
func (x *ColumnSchema) GetColumnName() string
func (*ColumnSchema) GetDescription ¶
func (x *ColumnSchema) GetDescription() string
func (*ColumnSchema) GetNullValue ¶ added in v0.2.0
func (x *ColumnSchema) GetNullValue() string
func (*ColumnSchema) GetRequired ¶ added in v0.2.0
func (x *ColumnSchema) GetRequired() bool
func (*ColumnSchema) GetSourceName ¶
func (x *ColumnSchema) GetSourceName() string
func (*ColumnSchema) GetTransform ¶ added in v0.3.0
func (x *ColumnSchema) GetTransform() string
func (*ColumnSchema) GetType ¶
func (x *ColumnSchema) GetType() string
func (*ColumnSchema) ProtoMessage ¶
func (*ColumnSchema) ProtoMessage()
func (*ColumnSchema) ProtoReflect ¶
func (x *ColumnSchema) ProtoReflect() protoreflect.Message
func (*ColumnSchema) Reset ¶
func (x *ColumnSchema) Reset()
func (*ColumnSchema) String ¶
func (x *ColumnSchema) String() string
type ConfigData ¶
type ConfigData struct {
// the name of the config target
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// raw hcl for collection specific config
Hcl []byte `protobuf:"bytes,2,opt,name=hcl,proto3" json:"hcl,omitempty"`
Range *Range `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigData) Descriptor
deprecated
func (*ConfigData) Descriptor() ([]byte, []int)
Deprecated: Use ConfigData.ProtoReflect.Descriptor instead.
func (*ConfigData) GetHcl ¶
func (x *ConfigData) GetHcl() []byte
func (*ConfigData) GetRange ¶
func (x *ConfigData) GetRange() *Range
func (*ConfigData) GetTarget ¶
func (x *ConfigData) GetTarget() string
func (*ConfigData) ProtoMessage ¶
func (*ConfigData) ProtoMessage()
func (*ConfigData) ProtoReflect ¶
func (x *ConfigData) ProtoReflect() protoreflect.Message
func (*ConfigData) Reset ¶
func (x *ConfigData) Reset()
func (*ConfigData) String ¶
func (x *ConfigData) String() string
type DescribeRequest ¶
type DescribeRequest struct {
CustomFormats []*FormatData `protobuf:"bytes,1,rep,name=custom_formats,json=customFormats,proto3" json:"custom_formats,omitempty"`
// only include the specified format types - no other descriptions will be returned
CustomFormatsOnly bool `protobuf:"varint,2,opt,name=custom_formats_only,json=customFormatsOnly,proto3" json:"custom_formats_only,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeRequest) Descriptor
deprecated
func (*DescribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.
func (*DescribeRequest) GetCustomFormats ¶ added in v0.2.0
func (x *DescribeRequest) GetCustomFormats() []*FormatData
func (*DescribeRequest) GetCustomFormatsOnly ¶ added in v0.2.0
func (x *DescribeRequest) GetCustomFormatsOnly() bool
func (*DescribeRequest) ProtoMessage ¶
func (*DescribeRequest) ProtoMessage()
func (*DescribeRequest) ProtoReflect ¶
func (x *DescribeRequest) ProtoReflect() protoreflect.Message
func (*DescribeRequest) Reset ¶
func (x *DescribeRequest) Reset()
func (*DescribeRequest) String ¶
func (x *DescribeRequest) String() string
type DescribeResponse ¶
type DescribeResponse struct {
// Map of schemas keyed by collection name
Schemas map[string]*Schema `` /* 141-byte string literal not displayed */
Sources map[string]*SourceMetadata `` /* 141-byte string literal not displayed */
FormatsPresets map[string]*FormatDescription `` /* 177-byte string literal not displayed */
// map string to array of custom format descriptions
CustomFormats map[string]*FormatDescription `` /* 174-byte string literal not displayed */
// list of all format types provided by the plugin
FormatTypes []string `protobuf:"bytes,5,rep,name=format_types,json=formatTypes,proto3" json:"format_types,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeResponse) Descriptor
deprecated
func (*DescribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.
func (*DescribeResponse) GetCustomFormats ¶ added in v0.2.0
func (x *DescribeResponse) GetCustomFormats() map[string]*FormatDescription
func (*DescribeResponse) GetFormatTypes ¶ added in v0.2.0
func (x *DescribeResponse) GetFormatTypes() []string
func (*DescribeResponse) GetFormatsPresets ¶ added in v0.2.0
func (x *DescribeResponse) GetFormatsPresets() map[string]*FormatDescription
func (*DescribeResponse) GetSchemas ¶
func (x *DescribeResponse) GetSchemas() map[string]*Schema
func (*DescribeResponse) GetSources ¶
func (x *DescribeResponse) GetSources() map[string]*SourceMetadata
func (*DescribeResponse) ProtoMessage ¶
func (*DescribeResponse) ProtoMessage()
func (*DescribeResponse) ProtoReflect ¶
func (x *DescribeResponse) ProtoReflect() protoreflect.Message
func (*DescribeResponse) Reset ¶
func (x *DescribeResponse) Reset()
func (*DescribeResponse) String ¶
func (x *DescribeResponse) String() string
type DownloadedArtifactInfo ¶
type DownloadedArtifactInfo struct {
// The local path of the downloaded artifact.
LocalName string `protobuf:"bytes,1,opt,name=local_name,json=localName,proto3" json:"local_name,omitempty"`
// The original path of the artifact.
OriginalName string `protobuf:"bytes,2,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"`
// Any enrichment fields provided by the source.
SourceEnrichment *SourceEnrichment `protobuf:"bytes,3,opt,name=source_enrichment,json=sourceEnrichment,proto3" json:"source_enrichment,omitempty"`
Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
ArtifactInfo is a message representing artifact metadata.
func (*DownloadedArtifactInfo) Descriptor
deprecated
func (*DownloadedArtifactInfo) Descriptor() ([]byte, []int)
Deprecated: Use DownloadedArtifactInfo.ProtoReflect.Descriptor instead.
func (*DownloadedArtifactInfo) GetLocalName ¶
func (x *DownloadedArtifactInfo) GetLocalName() string
func (*DownloadedArtifactInfo) GetOriginalName ¶
func (x *DownloadedArtifactInfo) GetOriginalName() string
func (*DownloadedArtifactInfo) GetSize ¶
func (x *DownloadedArtifactInfo) GetSize() int64
func (*DownloadedArtifactInfo) GetSourceEnrichment ¶
func (x *DownloadedArtifactInfo) GetSourceEnrichment() *SourceEnrichment
func (*DownloadedArtifactInfo) ProtoMessage ¶
func (*DownloadedArtifactInfo) ProtoMessage()
func (*DownloadedArtifactInfo) ProtoReflect ¶
func (x *DownloadedArtifactInfo) ProtoReflect() protoreflect.Message
func (*DownloadedArtifactInfo) Reset ¶
func (x *DownloadedArtifactInfo) Reset()
func (*DownloadedArtifactInfo) String ¶
func (x *DownloadedArtifactInfo) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct {
// Types that are valid to be assigned to Event:
//
// *Event_StartedEvent
// *Event_ChunkWrittenEvent
// *Event_CompleteEvent
// *Event_ErrorEvent
// *Event_StatusEvent
// *Event_ArtifactDiscoveredEvent
// *Event_ArtifactDownloadedEvent
// *Event_ArtifactExtractedEvent
// *Event_SourceCompleteEvent
// *Event_HeaderEvent
Event isEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}
Define the Event message with oneof and enum
func (*Event) Descriptor
deprecated
func (*Event) GetArtifactDiscoveredEvent ¶
func (x *Event) GetArtifactDiscoveredEvent() *EventArtifactDiscovered
func (*Event) GetArtifactDownloadedEvent ¶
func (x *Event) GetArtifactDownloadedEvent() *EventArtifactDownloaded
func (*Event) GetArtifactExtractedEvent ¶
func (x *Event) GetArtifactExtractedEvent() *EventArtifactExtracted
func (*Event) GetChunkWrittenEvent ¶
func (x *Event) GetChunkWrittenEvent() *EventChunkWritten
func (*Event) GetCompleteEvent ¶
func (x *Event) GetCompleteEvent() *EventComplete
func (*Event) GetErrorEvent ¶
func (x *Event) GetErrorEvent() *EventError
func (*Event) GetHeaderEvent ¶ added in v0.4.0
func (x *Event) GetHeaderEvent() *EventHeader
func (*Event) GetSourceCompleteEvent ¶
func (x *Event) GetSourceCompleteEvent() *EventSourceComplete
func (*Event) GetStartedEvent ¶
func (x *Event) GetStartedEvent() *EventStarted
func (*Event) GetStatusEvent ¶
func (x *Event) GetStatusEvent() *EventStatus
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventArtifactDiscovered ¶
type EventArtifactDiscovered struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
ArtifactInfo *ArtifactInfo `protobuf:"bytes,2,opt,name=artifact_info,json=artifactInfo,proto3" json:"artifact_info,omitempty"`
// contains filtered or unexported fields
}
func (*EventArtifactDiscovered) Descriptor
deprecated
func (*EventArtifactDiscovered) Descriptor() ([]byte, []int)
Deprecated: Use EventArtifactDiscovered.ProtoReflect.Descriptor instead.
func (*EventArtifactDiscovered) GetArtifactInfo ¶
func (x *EventArtifactDiscovered) GetArtifactInfo() *ArtifactInfo
func (*EventArtifactDiscovered) GetExecutionId ¶
func (x *EventArtifactDiscovered) GetExecutionId() string
func (*EventArtifactDiscovered) ProtoMessage ¶
func (*EventArtifactDiscovered) ProtoMessage()
func (*EventArtifactDiscovered) ProtoReflect ¶
func (x *EventArtifactDiscovered) ProtoReflect() protoreflect.Message
func (*EventArtifactDiscovered) Reset ¶
func (x *EventArtifactDiscovered) Reset()
func (*EventArtifactDiscovered) String ¶
func (x *EventArtifactDiscovered) String() string
type EventArtifactDownloaded ¶
type EventArtifactDownloaded struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
ArtifactInfo *DownloadedArtifactInfo `protobuf:"bytes,2,opt,name=artifact_info,json=artifactInfo,proto3" json:"artifact_info,omitempty"`
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// contains filtered or unexported fields
}
func (*EventArtifactDownloaded) Descriptor
deprecated
func (*EventArtifactDownloaded) Descriptor() ([]byte, []int)
Deprecated: Use EventArtifactDownloaded.ProtoReflect.Descriptor instead.
func (*EventArtifactDownloaded) GetArtifactInfo ¶
func (x *EventArtifactDownloaded) GetArtifactInfo() *DownloadedArtifactInfo
func (*EventArtifactDownloaded) GetExecutionId ¶
func (x *EventArtifactDownloaded) GetExecutionId() string
func (*EventArtifactDownloaded) GetSize ¶
func (x *EventArtifactDownloaded) GetSize() int64
func (*EventArtifactDownloaded) ProtoMessage ¶
func (*EventArtifactDownloaded) ProtoMessage()
func (*EventArtifactDownloaded) ProtoReflect ¶
func (x *EventArtifactDownloaded) ProtoReflect() protoreflect.Message
func (*EventArtifactDownloaded) Reset ¶
func (x *EventArtifactDownloaded) Reset()
func (*EventArtifactDownloaded) String ¶
func (x *EventArtifactDownloaded) String() string
type EventArtifactExtracted ¶
type EventArtifactExtracted struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
ArtifactInfo *DownloadedArtifactInfo `protobuf:"bytes,2,opt,name=artifact_info,json=artifactInfo,proto3" json:"artifact_info,omitempty"`
// contains filtered or unexported fields
}
func (*EventArtifactExtracted) Descriptor
deprecated
func (*EventArtifactExtracted) Descriptor() ([]byte, []int)
Deprecated: Use EventArtifactExtracted.ProtoReflect.Descriptor instead.
func (*EventArtifactExtracted) GetArtifactInfo ¶
func (x *EventArtifactExtracted) GetArtifactInfo() *DownloadedArtifactInfo
func (*EventArtifactExtracted) GetExecutionId ¶
func (x *EventArtifactExtracted) GetExecutionId() string
func (*EventArtifactExtracted) ProtoMessage ¶
func (*EventArtifactExtracted) ProtoMessage()
func (*EventArtifactExtracted) ProtoReflect ¶
func (x *EventArtifactExtracted) ProtoReflect() protoreflect.Message
func (*EventArtifactExtracted) Reset ¶
func (x *EventArtifactExtracted) Reset()
func (*EventArtifactExtracted) String ¶
func (x *EventArtifactExtracted) String() string
type EventChunkWritten ¶
type EventChunkWritten struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
ChunkNumber int32 `protobuf:"varint,2,opt,name=chunk_number,json=chunkNumber,proto3" json:"chunk_number,omitempty"`
// contains filtered or unexported fields
}
func (*EventChunkWritten) Descriptor
deprecated
func (*EventChunkWritten) Descriptor() ([]byte, []int)
Deprecated: Use EventChunkWritten.ProtoReflect.Descriptor instead.
func (*EventChunkWritten) GetChunkNumber ¶
func (x *EventChunkWritten) GetChunkNumber() int32
func (*EventChunkWritten) GetExecutionId ¶
func (x *EventChunkWritten) GetExecutionId() string
func (*EventChunkWritten) ProtoMessage ¶
func (*EventChunkWritten) ProtoMessage()
func (*EventChunkWritten) ProtoReflect ¶
func (x *EventChunkWritten) ProtoReflect() protoreflect.Message
func (*EventChunkWritten) Reset ¶
func (x *EventChunkWritten) Reset()
func (*EventChunkWritten) String ¶
func (x *EventChunkWritten) String() string
type EventComplete ¶
type EventComplete struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
RowCount int64 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
ChunkCount int32 `protobuf:"varint,3,opt,name=chunk_count,json=chunkCount,proto3" json:"chunk_count,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*EventComplete) Descriptor
deprecated
func (*EventComplete) Descriptor() ([]byte, []int)
Deprecated: Use EventComplete.ProtoReflect.Descriptor instead.
func (*EventComplete) GetChunkCount ¶
func (x *EventComplete) GetChunkCount() int32
func (*EventComplete) GetError ¶
func (x *EventComplete) GetError() string
func (*EventComplete) GetExecutionId ¶
func (x *EventComplete) GetExecutionId() string
func (*EventComplete) GetMetadata ¶
func (x *EventComplete) GetMetadata() map[string]string
func (*EventComplete) GetRowCount ¶
func (x *EventComplete) GetRowCount() int64
func (*EventComplete) ProtoMessage ¶
func (*EventComplete) ProtoMessage()
func (*EventComplete) ProtoReflect ¶
func (x *EventComplete) ProtoReflect() protoreflect.Message
func (*EventComplete) Reset ¶
func (x *EventComplete) Reset()
func (*EventComplete) String ¶
func (x *EventComplete) String() string
type EventError ¶
type EventError struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*EventError) Descriptor
deprecated
func (*EventError) Descriptor() ([]byte, []int)
Deprecated: Use EventError.ProtoReflect.Descriptor instead.
func (*EventError) GetError ¶
func (x *EventError) GetError() string
func (*EventError) GetExecutionId ¶
func (x *EventError) GetExecutionId() string
func (*EventError) ProtoMessage ¶
func (*EventError) ProtoMessage()
func (*EventError) ProtoReflect ¶
func (x *EventError) ProtoReflect() protoreflect.Message
func (*EventError) Reset ¶
func (x *EventError) Reset()
func (*EventError) String ¶
func (x *EventError) String() string
type EventHeader ¶ added in v0.4.0
type EventHeader struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
ArtifactInfo *ArtifactInfo `protobuf:"bytes,2,opt,name=artifact_info,json=artifactInfo,proto3" json:"artifact_info,omitempty"`
Header []string `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}
func (*EventHeader) Descriptor
deprecated
added in
v0.4.0
func (*EventHeader) Descriptor() ([]byte, []int)
Deprecated: Use EventHeader.ProtoReflect.Descriptor instead.
func (*EventHeader) GetArtifactInfo ¶ added in v0.4.0
func (x *EventHeader) GetArtifactInfo() *ArtifactInfo
func (*EventHeader) GetExecutionId ¶ added in v0.4.0
func (x *EventHeader) GetExecutionId() string
func (*EventHeader) GetHeader ¶ added in v0.4.0
func (x *EventHeader) GetHeader() []string
func (*EventHeader) ProtoMessage ¶ added in v0.4.0
func (*EventHeader) ProtoMessage()
func (*EventHeader) ProtoReflect ¶ added in v0.4.0
func (x *EventHeader) ProtoReflect() protoreflect.Message
func (*EventHeader) Reset ¶ added in v0.4.0
func (x *EventHeader) Reset()
func (*EventHeader) String ¶ added in v0.4.0
func (x *EventHeader) String() string
type EventSourceComplete ¶
type EventSourceComplete struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*EventSourceComplete) Descriptor
deprecated
func (*EventSourceComplete) Descriptor() ([]byte, []int)
Deprecated: Use EventSourceComplete.ProtoReflect.Descriptor instead.
func (*EventSourceComplete) GetError ¶
func (x *EventSourceComplete) GetError() string
func (*EventSourceComplete) GetExecutionId ¶
func (x *EventSourceComplete) GetExecutionId() string
func (*EventSourceComplete) ProtoMessage ¶
func (*EventSourceComplete) ProtoMessage()
func (*EventSourceComplete) ProtoReflect ¶
func (x *EventSourceComplete) ProtoReflect() protoreflect.Message
func (*EventSourceComplete) Reset ¶
func (x *EventSourceComplete) Reset()
func (*EventSourceComplete) String ¶
func (x *EventSourceComplete) String() string
type EventStarted ¶
type EventStarted struct {
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
// contains filtered or unexported fields
}
func (*EventStarted) Descriptor
deprecated
func (*EventStarted) Descriptor() ([]byte, []int)
Deprecated: Use EventStarted.ProtoReflect.Descriptor instead.
func (*EventStarted) GetExecutionId ¶
func (x *EventStarted) GetExecutionId() string
func (*EventStarted) ProtoMessage ¶
func (*EventStarted) ProtoMessage()
func (*EventStarted) ProtoReflect ¶
func (x *EventStarted) ProtoReflect() protoreflect.Message
func (*EventStarted) Reset ¶
func (x *EventStarted) Reset()
func (*EventStarted) String ¶
func (x *EventStarted) String() string
type EventStatus ¶
type EventStatus struct {
LatestArtifactPath string `protobuf:"bytes,1,opt,name=latest_artifact_path,json=latestArtifactPath,proto3" json:"latest_artifact_path,omitempty"`
ArtifactsDiscovered int64 `protobuf:"varint,2,opt,name=artifacts_discovered,json=artifactsDiscovered,proto3" json:"artifacts_discovered,omitempty"`
ArtifactsDownloaded int64 `protobuf:"varint,3,opt,name=artifacts_downloaded,json=artifactsDownloaded,proto3" json:"artifacts_downloaded,omitempty"`
ArtifactsDownloadedBytes int64 `` /* 136-byte string literal not displayed */
ArtifactsExtracted int64 `protobuf:"varint,5,opt,name=artifacts_extracted,json=artifactsExtracted,proto3" json:"artifacts_extracted,omitempty"`
ArtifactErrors int64 `protobuf:"varint,6,opt,name=artifact_errors,json=artifactErrors,proto3" json:"artifact_errors,omitempty"`
RowsReceived int64 `protobuf:"varint,7,opt,name=rows_received,json=rowsReceived,proto3" json:"rows_received,omitempty"`
RowsEnriched int64 `protobuf:"varint,8,opt,name=rows_enriched,json=rowsEnriched,proto3" json:"rows_enriched,omitempty"`
Errors int64 `protobuf:"varint,9,opt,name=errors,proto3" json:"errors,omitempty"`
RowErrors *RowErrors `protobuf:"bytes,10,opt,name=row_errors,json=rowErrors,proto3" json:"row_errors,omitempty"`
SourceErrors []string `protobuf:"bytes,11,rep,name=source_errors,json=sourceErrors,proto3" json:"source_errors,omitempty"`
// contains filtered or unexported fields
}
func (*EventStatus) Descriptor
deprecated
func (*EventStatus) Descriptor() ([]byte, []int)
Deprecated: Use EventStatus.ProtoReflect.Descriptor instead.
func (*EventStatus) GetArtifactErrors ¶
func (x *EventStatus) GetArtifactErrors() int64
func (*EventStatus) GetArtifactsDiscovered ¶
func (x *EventStatus) GetArtifactsDiscovered() int64
func (*EventStatus) GetArtifactsDownloaded ¶
func (x *EventStatus) GetArtifactsDownloaded() int64
func (*EventStatus) GetArtifactsDownloadedBytes ¶
func (x *EventStatus) GetArtifactsDownloadedBytes() int64
func (*EventStatus) GetArtifactsExtracted ¶
func (x *EventStatus) GetArtifactsExtracted() int64
func (*EventStatus) GetErrors ¶
func (x *EventStatus) GetErrors() int64
func (*EventStatus) GetLatestArtifactPath ¶
func (x *EventStatus) GetLatestArtifactPath() string
func (*EventStatus) GetRowErrors ¶ added in v0.2.0
func (x *EventStatus) GetRowErrors() *RowErrors
func (*EventStatus) GetRowsEnriched ¶
func (x *EventStatus) GetRowsEnriched() int64
func (*EventStatus) GetRowsReceived ¶
func (x *EventStatus) GetRowsReceived() int64
func (*EventStatus) GetSourceErrors ¶ added in v0.2.0
func (x *EventStatus) GetSourceErrors() []string
func (*EventStatus) ProtoMessage ¶
func (*EventStatus) ProtoMessage()
func (*EventStatus) ProtoReflect ¶
func (x *EventStatus) ProtoReflect() protoreflect.Message
func (*EventStatus) Reset ¶
func (x *EventStatus) Reset()
func (*EventStatus) String ¶
func (x *EventStatus) String() string
type Event_ArtifactDiscoveredEvent ¶
type Event_ArtifactDiscoveredEvent struct {
ArtifactDiscoveredEvent *EventArtifactDiscovered `protobuf:"bytes,6,opt,name=artifact_discovered_event,json=artifactDiscoveredEvent,proto3,oneof"`
}
type Event_ArtifactDownloadedEvent ¶
type Event_ArtifactDownloadedEvent struct {
ArtifactDownloadedEvent *EventArtifactDownloaded `protobuf:"bytes,7,opt,name=artifact_downloaded_event,json=artifactDownloadedEvent,proto3,oneof"`
}
type Event_ArtifactExtractedEvent ¶
type Event_ArtifactExtractedEvent struct {
ArtifactExtractedEvent *EventArtifactExtracted `protobuf:"bytes,8,opt,name=artifact_extracted_event,json=artifactExtractedEvent,proto3,oneof"`
}
type Event_ChunkWrittenEvent ¶
type Event_ChunkWrittenEvent struct {
ChunkWrittenEvent *EventChunkWritten `protobuf:"bytes,2,opt,name=chunk_written_event,json=chunkWrittenEvent,proto3,oneof"`
}
type Event_CompleteEvent ¶
type Event_CompleteEvent struct {
CompleteEvent *EventComplete `protobuf:"bytes,3,opt,name=complete_event,json=completeEvent,proto3,oneof"`
}
type Event_ErrorEvent ¶
type Event_ErrorEvent struct {
ErrorEvent *EventError `protobuf:"bytes,4,opt,name=error_event,json=errorEvent,proto3,oneof"`
}
type Event_HeaderEvent ¶ added in v0.4.0
type Event_HeaderEvent struct {
HeaderEvent *EventHeader `protobuf:"bytes,10,opt,name=header_event,json=headerEvent,proto3,oneof"`
}
type Event_SourceCompleteEvent ¶
type Event_SourceCompleteEvent struct {
SourceCompleteEvent *EventSourceComplete `protobuf:"bytes,9,opt,name=source_complete_event,json=sourceCompleteEvent,proto3,oneof"`
}
type Event_StartedEvent ¶
type Event_StartedEvent struct {
StartedEvent *EventStarted `protobuf:"bytes,1,opt,name=started_event,json=startedEvent,proto3,oneof"`
}
type Event_StatusEvent ¶
type Event_StatusEvent struct {
StatusEvent *EventStatus `protobuf:"bytes,5,opt,name=status_event,json=statusEvent,proto3,oneof"`
}
type FormatData ¶ added in v0.2.0
type FormatData struct {
Config *ConfigData `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
PresetName string `protobuf:"bytes,3,opt,name=preset_name,json=presetName,proto3" json:"preset_name,omitempty"`
Regex string `protobuf:"bytes,4,opt,name=regex,proto3" json:"regex,omitempty"`
// contains filtered or unexported fields
}
func (*FormatData) Descriptor
deprecated
added in
v0.2.0
func (*FormatData) Descriptor() ([]byte, []int)
Deprecated: Use FormatData.ProtoReflect.Descriptor instead.
func (*FormatData) GetConfig ¶ added in v0.2.0
func (x *FormatData) GetConfig() *ConfigData
func (*FormatData) GetName ¶ added in v0.2.0
func (x *FormatData) GetName() string
func (*FormatData) GetPresetName ¶ added in v0.2.0
func (x *FormatData) GetPresetName() string
func (*FormatData) GetRegex ¶ added in v0.2.0
func (x *FormatData) GetRegex() string
func (*FormatData) ProtoMessage ¶ added in v0.2.0
func (*FormatData) ProtoMessage()
func (*FormatData) ProtoReflect ¶ added in v0.2.0
func (x *FormatData) ProtoReflect() protoreflect.Message
func (*FormatData) Reset ¶ added in v0.2.0
func (x *FormatData) Reset()
func (*FormatData) String ¶ added in v0.2.0
func (x *FormatData) String() string
type FormatDescription ¶ added in v0.2.0
type FormatDescription struct {
// format type
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// format instance name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// format description
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// format properties
Properties map[string]string `` /* 147-byte string literal not displayed */
// regex
Regex string `protobuf:"bytes,5,opt,name=regex,proto3" json:"regex,omitempty"`
// contains filtered or unexported fields
}
func (*FormatDescription) Descriptor
deprecated
added in
v0.2.0
func (*FormatDescription) Descriptor() ([]byte, []int)
Deprecated: Use FormatDescription.ProtoReflect.Descriptor instead.
func (*FormatDescription) GetDescription ¶ added in v0.2.0
func (x *FormatDescription) GetDescription() string
func (*FormatDescription) GetName ¶ added in v0.2.0
func (x *FormatDescription) GetName() string
func (*FormatDescription) GetProperties ¶ added in v0.2.0
func (x *FormatDescription) GetProperties() map[string]string
func (*FormatDescription) GetRegex ¶ added in v0.2.0
func (x *FormatDescription) GetRegex() string
func (*FormatDescription) GetType ¶ added in v0.2.0
func (x *FormatDescription) GetType() string
func (*FormatDescription) ProtoMessage ¶ added in v0.2.0
func (*FormatDescription) ProtoMessage()
func (*FormatDescription) ProtoReflect ¶ added in v0.2.0
func (x *FormatDescription) ProtoReflect() protoreflect.Message
func (*FormatDescription) Reset ¶ added in v0.2.0
func (x *FormatDescription) Reset()
func (*FormatDescription) String ¶ added in v0.2.0
func (x *FormatDescription) String() string
type GetSupportedOperationsResponse ¶ added in v0.9.0
type GetSupportedOperationsResponse struct {
TimeRanges bool `protobuf:"varint,1,opt,name=time_ranges,json=timeRanges,proto3" json:"time_ranges,omitempty"`
// contains filtered or unexported fields
}
func (*GetSupportedOperationsResponse) Descriptor
deprecated
added in
v0.9.0
func (*GetSupportedOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSupportedOperationsResponse.ProtoReflect.Descriptor instead.
func (*GetSupportedOperationsResponse) GetTimeRanges ¶ added in v0.9.0
func (x *GetSupportedOperationsResponse) GetTimeRanges() bool
func (*GetSupportedOperationsResponse) ProtoMessage ¶ added in v0.9.0
func (*GetSupportedOperationsResponse) ProtoMessage()
func (*GetSupportedOperationsResponse) ProtoReflect ¶ added in v0.9.0
func (x *GetSupportedOperationsResponse) ProtoReflect() protoreflect.Message
func (*GetSupportedOperationsResponse) Reset ¶ added in v0.9.0
func (x *GetSupportedOperationsResponse) Reset()
func (*GetSupportedOperationsResponse) String ¶ added in v0.9.0
func (x *GetSupportedOperationsResponse) String() string
type InitSourceRequest ¶
type InitSourceRequest struct {
// the default config for the source
DefaultConfig *ArtifactSourceConfig `protobuf:"bytes,1,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
// params to use for the source
SourceParams *RowSourceParams `protobuf:"bytes,2,opt,name=source_params,json=sourceParams,proto3" json:"source_params,omitempty"`
// contains filtered or unexported fields
}
source functions
func (*InitSourceRequest) Descriptor
deprecated
func (*InitSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitSourceRequest.ProtoReflect.Descriptor instead.
func (*InitSourceRequest) GetDefaultConfig ¶
func (x *InitSourceRequest) GetDefaultConfig() *ArtifactSourceConfig
func (*InitSourceRequest) GetSourceParams ¶
func (x *InitSourceRequest) GetSourceParams() *RowSourceParams
func (*InitSourceRequest) ProtoMessage ¶
func (*InitSourceRequest) ProtoMessage()
func (*InitSourceRequest) ProtoReflect ¶
func (x *InitSourceRequest) ProtoReflect() protoreflect.Message
func (*InitSourceRequest) Reset ¶
func (x *InitSourceRequest) Reset()
func (*InitSourceRequest) String ¶
func (x *InitSourceRequest) String() string
type InitSourceResponse ¶
type InitSourceResponse struct {
// resolved from time
FromTime *ResolvedFromTime `protobuf:"bytes,1,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
// contains filtered or unexported fields
}
func (*InitSourceResponse) Descriptor
deprecated
func (*InitSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitSourceResponse.ProtoReflect.Descriptor instead.
func (*InitSourceResponse) GetFromTime ¶
func (x *InitSourceResponse) GetFromTime() *ResolvedFromTime
func (*InitSourceResponse) ProtoMessage ¶
func (*InitSourceResponse) ProtoMessage()
func (*InitSourceResponse) ProtoReflect ¶
func (x *InitSourceResponse) ProtoReflect() protoreflect.Message
func (*InitSourceResponse) Reset ¶
func (x *InitSourceResponse) Reset()
func (*InitSourceResponse) String ¶
func (x *InitSourceResponse) String() string
type NetAddr ¶
type NetAddr struct {
Network string `protobuf:"bytes,1,opt,name=Network,proto3" json:"Network,omitempty"` // name of the network (for example, "tcp", "udp")
Address string `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"` // string form of address (for example, "192.0.2.1:25", "[2001:db8::1]:80")
// contains filtered or unexported fields
}
func (*NetAddr) Descriptor
deprecated
func (*NetAddr) GetAddress ¶
func (*NetAddr) GetNetwork ¶
func (*NetAddr) ProtoMessage ¶
func (*NetAddr) ProtoMessage()
func (*NetAddr) ProtoReflect ¶
func (x *NetAddr) ProtoReflect() protoreflect.Message
type OperationErrorAggregate ¶ added in v0.2.0
type OperationErrorAggregate struct {
MissingFields []string `protobuf:"bytes,1,rep,name=missing_fields,json=missingFields,proto3" json:"missing_fields,omitempty"`
InvalidFields []string `protobuf:"bytes,2,rep,name=invalid_fields,json=invalidFields,proto3" json:"invalid_fields,omitempty"`
Messages []string `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
aggregate of missing/invalid fields, messages and a row count
func (*OperationErrorAggregate) Descriptor
deprecated
added in
v0.2.0
func (*OperationErrorAggregate) Descriptor() ([]byte, []int)
Deprecated: Use OperationErrorAggregate.ProtoReflect.Descriptor instead.
func (*OperationErrorAggregate) GetCount ¶ added in v0.2.0
func (x *OperationErrorAggregate) GetCount() int64
func (*OperationErrorAggregate) GetInvalidFields ¶ added in v0.2.0
func (x *OperationErrorAggregate) GetInvalidFields() []string
func (*OperationErrorAggregate) GetMessages ¶ added in v0.2.0
func (x *OperationErrorAggregate) GetMessages() []string
func (*OperationErrorAggregate) GetMissingFields ¶ added in v0.2.0
func (x *OperationErrorAggregate) GetMissingFields() []string
func (*OperationErrorAggregate) ProtoMessage ¶ added in v0.2.0
func (*OperationErrorAggregate) ProtoMessage()
func (*OperationErrorAggregate) ProtoReflect ¶ added in v0.2.0
func (x *OperationErrorAggregate) ProtoReflect() protoreflect.Message
func (*OperationErrorAggregate) Reset ¶ added in v0.2.0
func (x *OperationErrorAggregate) Reset()
func (*OperationErrorAggregate) String ¶ added in v0.2.0
func (x *OperationErrorAggregate) String() string
type Pos ¶
type Pos struct {
Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
Byte int64 `protobuf:"varint,3,opt,name=byte,proto3" json:"byte,omitempty"`
// contains filtered or unexported fields
}
func PosToProto ¶
func PosToProto(pos hcl.Pos) *Pos
func (*Pos) Descriptor
deprecated
func (*Pos) ProtoMessage ¶
func (*Pos) ProtoMessage()
func (*Pos) ProtoReflect ¶
func (x *Pos) ProtoReflect() protoreflect.Message
type PropertyMetadata ¶ added in v0.5.0
type PropertyMetadata struct {
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
Default string `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"`
// contains filtered or unexported fields
}
func (*PropertyMetadata) Descriptor
deprecated
added in
v0.5.0
func (*PropertyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PropertyMetadata.ProtoReflect.Descriptor instead.
func (*PropertyMetadata) GetDefault ¶ added in v0.5.0
func (x *PropertyMetadata) GetDefault() string
func (*PropertyMetadata) GetDescription ¶ added in v0.5.0
func (x *PropertyMetadata) GetDescription() string
func (*PropertyMetadata) GetRequired ¶ added in v0.5.0
func (x *PropertyMetadata) GetRequired() bool
func (*PropertyMetadata) GetType ¶ added in v0.5.0
func (x *PropertyMetadata) GetType() string
func (*PropertyMetadata) ProtoMessage ¶ added in v0.5.0
func (*PropertyMetadata) ProtoMessage()
func (*PropertyMetadata) ProtoReflect ¶ added in v0.5.0
func (x *PropertyMetadata) ProtoReflect() protoreflect.Message
func (*PropertyMetadata) Reset ¶ added in v0.5.0
func (x *PropertyMetadata) Reset()
func (*PropertyMetadata) String ¶ added in v0.5.0
func (x *PropertyMetadata) String() string
type Range ¶
type Range struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
Start *Pos `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
End *Pos `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
// contains filtered or unexported fields
}
func RangeToProto ¶
func RangeToProto(r hcl.Range) *Range
func (*Range) Descriptor
deprecated
func (*Range) GetFilename ¶
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type ReattachConfig ¶
type ReattachConfig struct {
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
ProtocolVersion int64 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
Addr *NetAddr `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
Pid int64 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
// contains filtered or unexported fields
}
func (*ReattachConfig) Descriptor
deprecated
func (*ReattachConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReattachConfig.ProtoReflect.Descriptor instead.
func (*ReattachConfig) GetAddr ¶
func (x *ReattachConfig) GetAddr() *NetAddr
func (*ReattachConfig) GetPid ¶
func (x *ReattachConfig) GetPid() int64
func (*ReattachConfig) GetProtocol ¶
func (x *ReattachConfig) GetProtocol() string
func (*ReattachConfig) GetProtocolVersion ¶
func (x *ReattachConfig) GetProtocolVersion() int64
func (*ReattachConfig) ProtoMessage ¶
func (*ReattachConfig) ProtoMessage()
func (*ReattachConfig) ProtoReflect ¶
func (x *ReattachConfig) ProtoReflect() protoreflect.Message
func (*ReattachConfig) Reset ¶
func (x *ReattachConfig) Reset()
func (*ReattachConfig) String ¶
func (x *ReattachConfig) String() string
func (*ReattachConfig) ToPluginReattach ¶
func (r *ReattachConfig) ToPluginReattach() *plugin.ReattachConfig
ToPluginReattach converts from a protobuf reattach config to a plugin.ReattachConfig
type ResolvedFromTime ¶
type ResolvedFromTime struct {
FromTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// contains filtered or unexported fields
}
func (*ResolvedFromTime) Descriptor
deprecated
func (*ResolvedFromTime) Descriptor() ([]byte, []int)
Deprecated: Use ResolvedFromTime.ProtoReflect.Descriptor instead.
func (*ResolvedFromTime) GetFromTime ¶
func (x *ResolvedFromTime) GetFromTime() *timestamppb.Timestamp
func (*ResolvedFromTime) GetSource ¶
func (x *ResolvedFromTime) GetSource() string
func (*ResolvedFromTime) ProtoMessage ¶
func (*ResolvedFromTime) ProtoMessage()
func (*ResolvedFromTime) ProtoReflect ¶
func (x *ResolvedFromTime) ProtoReflect() protoreflect.Message
func (*ResolvedFromTime) Reset ¶
func (x *ResolvedFromTime) Reset()
func (*ResolvedFromTime) String ¶
func (x *ResolvedFromTime) String() string
type RowErrors ¶ added in v0.2.0
type RowErrors struct {
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
// source -> operation
Errors map[string]*RowErrorsByOperation `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
RowErrors is an aggregation of row errors
func (*RowErrors) Descriptor
deprecated
added in
v0.2.0
func (*RowErrors) GetErrors ¶ added in v0.2.0
func (x *RowErrors) GetErrors() map[string]*RowErrorsByOperation
func (*RowErrors) ProtoMessage ¶ added in v0.2.0
func (*RowErrors) ProtoMessage()
func (*RowErrors) ProtoReflect ¶ added in v0.2.0
func (x *RowErrors) ProtoReflect() protoreflect.Message
type RowErrorsByOperation ¶ added in v0.2.0
type RowErrorsByOperation struct {
// operation -> error aggregate
OperationErrors map[string]*OperationErrorAggregate `` /* 180-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*RowErrorsByOperation) Descriptor
deprecated
added in
v0.2.0
func (*RowErrorsByOperation) Descriptor() ([]byte, []int)
Deprecated: Use RowErrorsByOperation.ProtoReflect.Descriptor instead.
func (*RowErrorsByOperation) GetOperationErrors ¶ added in v0.2.0
func (x *RowErrorsByOperation) GetOperationErrors() map[string]*OperationErrorAggregate
func (*RowErrorsByOperation) ProtoMessage ¶ added in v0.2.0
func (*RowErrorsByOperation) ProtoMessage()
func (*RowErrorsByOperation) ProtoReflect ¶ added in v0.2.0
func (x *RowErrorsByOperation) ProtoReflect() protoreflect.Message
func (*RowErrorsByOperation) Reset ¶ added in v0.2.0
func (x *RowErrorsByOperation) Reset()
func (*RowErrorsByOperation) String ¶ added in v0.2.0
func (x *RowErrorsByOperation) String() string
type RowSourceParams ¶
type RowSourceParams struct {
// the source to use (with raw config)
SourceData *ConfigData `protobuf:"bytes,1,opt,name=source_data,json=sourceData,proto3" json:"source_data,omitempty"`
// the raw hcl of the connection
ConnectionData *ConfigData `protobuf:"bytes,2,opt,name=connection_data,json=connectionData,proto3" json:"connection_data,omitempty"`
// the collection start time
FromTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
// the collection temporary directory
CollectionTempDir string `protobuf:"bytes,4,opt,name=collection_temp_dir,json=collectionTempDir,proto3" json:"collection_temp_dir,omitempty"`
// the path to the collection state file
CollectionStatePath string `protobuf:"bytes,5,opt,name=collection_state_path,json=collectionStatePath,proto3" json:"collection_state_path,omitempty"`
// the collection end time
ToTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
// recollect all data for the specified time range even if it has been collected already
Overwrite bool `protobuf:"varint,14,opt,name=overwrite,proto3" json:"overwrite,omitempty"`
// contains filtered or unexported fields
}
func (*RowSourceParams) Descriptor
deprecated
func (*RowSourceParams) Descriptor() ([]byte, []int)
Deprecated: Use RowSourceParams.ProtoReflect.Descriptor instead.
func (*RowSourceParams) GetCollectionStatePath ¶
func (x *RowSourceParams) GetCollectionStatePath() string
func (*RowSourceParams) GetCollectionTempDir ¶
func (x *RowSourceParams) GetCollectionTempDir() string
func (*RowSourceParams) GetConnectionData ¶
func (x *RowSourceParams) GetConnectionData() *ConfigData
func (*RowSourceParams) GetFromTime ¶
func (x *RowSourceParams) GetFromTime() *timestamppb.Timestamp
func (*RowSourceParams) GetOverwrite ¶ added in v0.9.0
func (x *RowSourceParams) GetOverwrite() bool
func (*RowSourceParams) GetSourceData ¶
func (x *RowSourceParams) GetSourceData() *ConfigData
func (*RowSourceParams) GetToTime ¶ added in v0.7.0
func (x *RowSourceParams) GetToTime() *timestamppb.Timestamp
func (*RowSourceParams) ProtoMessage ¶
func (*RowSourceParams) ProtoMessage()
func (*RowSourceParams) ProtoReflect ¶
func (x *RowSourceParams) ProtoReflect() protoreflect.Message
func (*RowSourceParams) Reset ¶
func (x *RowSourceParams) Reset()
func (*RowSourceParams) String ¶
func (x *RowSourceParams) String() string
type Schema ¶
type Schema struct {
// Map of source field name to column name and type
Columns []*ColumnSchema `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// deprecated: use source_columns
//
// Deprecated: Marked as deprecated in plugin.proto.
AutomapSourceFields bool `protobuf:"varint,2,opt,name=automap_source_fields,json=automapSourceFields,proto3" json:"automap_source_fields,omitempty"`
// deprecated: use source_columns
//
// Deprecated: Marked as deprecated in plugin.proto.
ExcludeSourceFields []string `protobuf:"bytes,3,rep,name=exclude_source_fields,json=excludeSourceFields,proto3" json:"exclude_source_fields,omitempty"`
// table description
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// the default null value to use for the table
NullValue string `protobuf:"bytes,5,opt,name=null_value,json=nullValue,proto3" json:"null_value,omitempty"`
// the table name
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// a pattern to select which source columns to auto map
MapFields []string `protobuf:"bytes,7,rep,name=map_fields,json=mapFields,proto3" json:"map_fields,omitempty"`
// contains filtered or unexported fields
}
schema
func (*Schema) Descriptor
deprecated
func (*Schema) GetAutomapSourceFields
deprecated
func (*Schema) GetColumns ¶
func (x *Schema) GetColumns() []*ColumnSchema
func (*Schema) GetDescription ¶
func (*Schema) GetExcludeSourceFields
deprecated
func (*Schema) GetMapFields ¶ added in v0.3.0
func (*Schema) GetNullValue ¶ added in v0.2.0
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type SimpleAddr ¶
type SimpleAddr struct {
NetworkString string `json:"network"`
AddressString string `json:"string"`
}
func NewSimpleAddr ¶
func NewSimpleAddr(addr net.Addr) *SimpleAddr
func (SimpleAddr) Network ¶
func (s SimpleAddr) Network() string
func (SimpleAddr) String ¶
func (s SimpleAddr) String() string
type SourceCollectRequest ¶
type SourceCollectRequest struct {
// unique identifier for collection execution
ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
// contains filtered or unexported fields
}
func (*SourceCollectRequest) Descriptor
deprecated
func (*SourceCollectRequest) Descriptor() ([]byte, []int)
Deprecated: Use SourceCollectRequest.ProtoReflect.Descriptor instead.
func (*SourceCollectRequest) GetExecutionId ¶
func (x *SourceCollectRequest) GetExecutionId() string
func (*SourceCollectRequest) ProtoMessage ¶
func (*SourceCollectRequest) ProtoMessage()
func (*SourceCollectRequest) ProtoReflect ¶
func (x *SourceCollectRequest) ProtoReflect() protoreflect.Message
func (*SourceCollectRequest) Reset ¶
func (x *SourceCollectRequest) Reset()
func (*SourceCollectRequest) String ¶
func (x *SourceCollectRequest) String() string
type SourceEnrichment ¶
type SourceEnrichment struct {
CommonFields map[string]string `` /* 171-byte string literal not displayed */
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SourceEnrichment) Descriptor
deprecated
func (*SourceEnrichment) Descriptor() ([]byte, []int)
Deprecated: Use SourceEnrichment.ProtoReflect.Descriptor instead.
func (*SourceEnrichment) GetCommonFields ¶
func (x *SourceEnrichment) GetCommonFields() map[string]string
func (*SourceEnrichment) GetMetadata ¶
func (x *SourceEnrichment) GetMetadata() map[string]string
func (*SourceEnrichment) ProtoMessage ¶
func (*SourceEnrichment) ProtoMessage()
func (*SourceEnrichment) ProtoReflect ¶
func (x *SourceEnrichment) ProtoReflect() protoreflect.Message
func (*SourceEnrichment) Reset ¶
func (x *SourceEnrichment) Reset()
func (*SourceEnrichment) String ¶
func (x *SourceEnrichment) String() string
type SourceMetadata ¶
type SourceMetadata struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Properties map[string]*PropertyMetadata `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SourceMetadata) Descriptor
deprecated
func (*SourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SourceMetadata.ProtoReflect.Descriptor instead.
func (*SourceMetadata) GetDescription ¶
func (x *SourceMetadata) GetDescription() string
func (*SourceMetadata) GetName ¶
func (x *SourceMetadata) GetName() string
func (*SourceMetadata) GetProperties ¶ added in v0.5.0
func (x *SourceMetadata) GetProperties() map[string]*PropertyMetadata
func (*SourceMetadata) ProtoMessage ¶
func (*SourceMetadata) ProtoMessage()
func (*SourceMetadata) ProtoReflect ¶
func (x *SourceMetadata) ProtoReflect() protoreflect.Message
func (*SourceMetadata) Reset ¶
func (x *SourceMetadata) Reset()
func (*SourceMetadata) String ¶
func (x *SourceMetadata) String() string
type SourcePluginReattach ¶
type SourcePluginReattach struct {
ReattachConfig *ReattachConfig `protobuf:"bytes,1,opt,name=reattach_config,json=reattachConfig,proto3" json:"reattach_config,omitempty"`
SourceType string `protobuf:"bytes,2,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
Plugin string `protobuf:"bytes,3,opt,name=plugin,proto3" json:"plugin,omitempty"`
// contains filtered or unexported fields
}
func NewSourcePluginReattach ¶
func NewSourcePluginReattach(sourceType, pluginName string, src *plugin.ReattachConfig) *SourcePluginReattach
func (*SourcePluginReattach) Descriptor
deprecated
func (*SourcePluginReattach) Descriptor() ([]byte, []int)
Deprecated: Use SourcePluginReattach.ProtoReflect.Descriptor instead.
func (*SourcePluginReattach) GetPlugin ¶
func (x *SourcePluginReattach) GetPlugin() string
func (*SourcePluginReattach) GetReattachConfig ¶
func (x *SourcePluginReattach) GetReattachConfig() *ReattachConfig
func (*SourcePluginReattach) GetSourceType ¶
func (x *SourcePluginReattach) GetSourceType() string
func (*SourcePluginReattach) ProtoMessage ¶
func (*SourcePluginReattach) ProtoMessage()
func (*SourcePluginReattach) ProtoReflect ¶
func (x *SourcePluginReattach) ProtoReflect() protoreflect.Message
func (*SourcePluginReattach) Reset ¶
func (x *SourcePluginReattach) Reset()
func (*SourcePluginReattach) String ¶
func (x *SourcePluginReattach) String() string
type TailpipePluginClient ¶
type TailpipePluginClient interface {
Describe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*DescribeResponse, error)
AddObserver(ctx context.Context, in *Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Event], error)
Collect(ctx context.Context, in *CollectRequest, opts ...grpc.CallOption) (*CollectResponse, error)
InitSource(ctx context.Context, in *InitSourceRequest, opts ...grpc.CallOption) (*InitSourceResponse, error)
UpdateCollectionState(ctx context.Context, in *UpdateCollectionStateRequest, opts ...grpc.CallOption) (*Empty, error)
CloseSource(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
SaveCollectionState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
SourceCollect(ctx context.Context, in *SourceCollectRequest, opts ...grpc.CallOption) (*Empty, error)
SourcePause(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
SourceResume(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
SourceCollectionComplete(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
GetSupportedOperations(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetSupportedOperationsResponse, error)
}
TailpipePluginClient is the client API for TailpipePlugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTailpipePluginClient ¶
func NewTailpipePluginClient(cc grpc.ClientConnInterface) TailpipePluginClient
type TailpipePluginServer ¶
type TailpipePluginServer interface {
Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
AddObserver(*Empty, grpc.ServerStreamingServer[Event]) error
Collect(context.Context, *CollectRequest) (*CollectResponse, error)
InitSource(context.Context, *InitSourceRequest) (*InitSourceResponse, error)
UpdateCollectionState(context.Context, *UpdateCollectionStateRequest) (*Empty, error)
CloseSource(context.Context, *Empty) (*Empty, error)
SaveCollectionState(context.Context, *Empty) (*Empty, error)
SourceCollect(context.Context, *SourceCollectRequest) (*Empty, error)
SourcePause(context.Context, *Empty) (*Empty, error)
SourceResume(context.Context, *Empty) (*Empty, error)
SourceCollectionComplete(context.Context, *Empty) (*Empty, error)
GetSupportedOperations(context.Context, *Empty) (*GetSupportedOperationsResponse, error)
// contains filtered or unexported methods
}
TailpipePluginServer is the server API for TailpipePlugin service. All implementations must embed UnimplementedTailpipePluginServer for forward compatibility.
type TailpipePlugin_AddObserverClient ¶
type TailpipePlugin_AddObserverClient = grpc.ServerStreamingClient[Event]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TailpipePlugin_AddObserverServer ¶
type TailpipePlugin_AddObserverServer = grpc.ServerStreamingServer[Event]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type UnimplementedTailpipePluginServer ¶
type UnimplementedTailpipePluginServer struct{}
UnimplementedTailpipePluginServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTailpipePluginServer) AddObserver ¶
func (UnimplementedTailpipePluginServer) AddObserver(*Empty, grpc.ServerStreamingServer[Event]) error
func (UnimplementedTailpipePluginServer) CloseSource ¶
func (UnimplementedTailpipePluginServer) Collect ¶
func (UnimplementedTailpipePluginServer) Collect(context.Context, *CollectRequest) (*CollectResponse, error)
func (UnimplementedTailpipePluginServer) Describe ¶
func (UnimplementedTailpipePluginServer) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
func (UnimplementedTailpipePluginServer) GetSupportedOperations ¶ added in v0.9.0
func (UnimplementedTailpipePluginServer) GetSupportedOperations(context.Context, *Empty) (*GetSupportedOperationsResponse, error)
func (UnimplementedTailpipePluginServer) InitSource ¶
func (UnimplementedTailpipePluginServer) InitSource(context.Context, *InitSourceRequest) (*InitSourceResponse, error)
func (UnimplementedTailpipePluginServer) SaveCollectionState ¶
func (UnimplementedTailpipePluginServer) SourceCollect ¶
func (UnimplementedTailpipePluginServer) SourceCollect(context.Context, *SourceCollectRequest) (*Empty, error)
func (UnimplementedTailpipePluginServer) SourceCollectionComplete ¶ added in v0.7.0
func (UnimplementedTailpipePluginServer) SourcePause ¶ added in v0.5.0
func (UnimplementedTailpipePluginServer) SourceResume ¶ added in v0.5.0
func (UnimplementedTailpipePluginServer) UpdateCollectionState ¶
func (UnimplementedTailpipePluginServer) UpdateCollectionState(context.Context, *UpdateCollectionStateRequest) (*Empty, error)
type UnsafeTailpipePluginServer ¶
type UnsafeTailpipePluginServer interface {
// contains filtered or unexported methods
}
UnsafeTailpipePluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TailpipePluginServer will result in compilation errors.
type UpdateCollectionStateRequest ¶
type UpdateCollectionStateRequest struct {
// the path to the collection state file
CollectionStatePath string `protobuf:"bytes,1,opt,name=collection_state_path,json=collectionStatePath,proto3" json:"collection_state_path,omitempty"`
// the source to use (with raw config)
SourceData *ConfigData `protobuf:"bytes,2,opt,name=source_data,json=sourceData,proto3" json:"source_data,omitempty"`
// the collection start time
FromTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCollectionStateRequest) Descriptor
deprecated
func (*UpdateCollectionStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateCollectionStateRequest) GetCollectionStatePath ¶
func (x *UpdateCollectionStateRequest) GetCollectionStatePath() string
func (*UpdateCollectionStateRequest) GetFromTime ¶
func (x *UpdateCollectionStateRequest) GetFromTime() *timestamppb.Timestamp
func (*UpdateCollectionStateRequest) GetSourceData ¶
func (x *UpdateCollectionStateRequest) GetSourceData() *ConfigData
func (*UpdateCollectionStateRequest) ProtoMessage ¶
func (*UpdateCollectionStateRequest) ProtoMessage()
func (*UpdateCollectionStateRequest) ProtoReflect ¶
func (x *UpdateCollectionStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionStateRequest) Reset ¶
func (x *UpdateCollectionStateRequest) Reset()
func (*UpdateCollectionStateRequest) String ¶
func (x *UpdateCollectionStateRequest) String() string