Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterPipelineServiceServer(s grpc.ServiceRegistrar, srv PipelineServiceServer)
- type AggregatorConfig
- func (*AggregatorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AggregatorConfig) GetArgs() map[string]*anypb.Any
- func (x *AggregatorConfig) GetName() string
- func (x *AggregatorConfig) GetUuid() string
- func (*AggregatorConfig) ProtoMessage()
- func (x *AggregatorConfig) ProtoReflect() protoreflect.Message
- func (x *AggregatorConfig) Reset()
- func (x *AggregatorConfig) String() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAggregators() []*AggregatorConfig
- func (x *Config) GetInputs() []*InputConfig
- func (x *Config) GetOutputs() []*OutputConfig
- func (x *Config) GetPreference() *Preference
- func (x *Config) GetProcessors() []*ProcessorConfig
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type InputConfig
- func (*InputConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InputConfig) GetArgs() map[string]*anypb.Any
- func (x *InputConfig) GetCron() string
- func (x *InputConfig) GetName() string
- func (x *InputConfig) GetUuid() string
- func (*InputConfig) ProtoMessage()
- func (x *InputConfig) ProtoReflect() protoreflect.Message
- func (x *InputConfig) Reset()
- func (x *InputConfig) String() string
- type OutputConfig
- func (*OutputConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OutputConfig) GetArgs() map[string]*anypb.Any
- func (x *OutputConfig) GetBufferBatch() int32
- func (x *OutputConfig) GetBufferLimit() int32
- func (x *OutputConfig) GetInterval() int32
- func (x *OutputConfig) GetName() string
- func (x *OutputConfig) GetUuid() string
- func (*OutputConfig) ProtoMessage()
- func (x *OutputConfig) ProtoReflect() protoreflect.Message
- func (x *OutputConfig) Reset()
- func (x *OutputConfig) String() string
- type PipelineActionModel
- func (*PipelineActionModel) Descriptor() ([]byte, []int)deprecated
- func (x *PipelineActionModel) GetAction() string
- func (x *PipelineActionModel) GetConfig() *Config
- func (*PipelineActionModel) ProtoMessage()
- func (x *PipelineActionModel) ProtoReflect() protoreflect.Message
- func (x *PipelineActionModel) Reset()
- func (x *PipelineActionModel) String() string
- type PipelineHandler
- type PipelineServiceClient
- type PipelineServiceServer
- type Preference
- type ProcessorConfig
- func (*ProcessorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessorConfig) GetArgs() map[string]*anypb.Any
- func (x *ProcessorConfig) GetName() string
- func (x *ProcessorConfig) GetOrder() int32
- func (x *ProcessorConfig) GetUuid() string
- func (*ProcessorConfig) ProtoMessage()
- func (x *ProcessorConfig) ProtoReflect() protoreflect.Message
- func (x *ProcessorConfig) Reset()
- func (x *ProcessorConfig) String() string
- type UnimplementedPipelineServiceServer
- type UnsafePipelineServiceServer
Constants ¶
const (
PipelineActionPipe = "pipe"
)
Variables ¶
var File_grpc_protos_pipeline_pipeline_proto protoreflect.FileDescriptor
var PipelineService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pipeline.PipelineService", HandlerType: (*PipelineServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PipelineAction", Handler: _PipelineService_PipelineAction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc/protos/pipeline/pipeline.proto", }
PipelineService_ServiceDesc is the grpc.ServiceDesc for PipelineService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPipelineServiceServer ¶
func RegisterPipelineServiceServer(s grpc.ServiceRegistrar, srv PipelineServiceServer)
Types ¶
type AggregatorConfig ¶
type AggregatorConfig struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid,json=uuid,proto3" json:"Uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Args map[string]*anypb.Any `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AggregatorConfig) Descriptor
deprecated
func (*AggregatorConfig) Descriptor() ([]byte, []int)
Deprecated: Use AggregatorConfig.ProtoReflect.Descriptor instead.
func (*AggregatorConfig) GetName ¶
func (x *AggregatorConfig) GetName() string
func (*AggregatorConfig) GetUuid ¶
func (x *AggregatorConfig) GetUuid() string
func (*AggregatorConfig) ProtoMessage ¶
func (*AggregatorConfig) ProtoMessage()
func (*AggregatorConfig) ProtoReflect ¶
func (x *AggregatorConfig) ProtoReflect() protoreflect.Message
func (*AggregatorConfig) Reset ¶
func (x *AggregatorConfig) Reset()
func (*AggregatorConfig) String ¶
func (x *AggregatorConfig) String() string
type Config ¶
type Config struct { Preference *Preference `protobuf:"bytes,1,opt,name=Preference,json=preference,proto3" json:"Preference,omitempty"` Inputs []*InputConfig `protobuf:"bytes,2,rep,name=Inputs,json=inputs,proto3" json:"Inputs,omitempty"` Processors []*ProcessorConfig `protobuf:"bytes,3,rep,name=Processors,json=processors,proto3" json:"Processors,omitempty"` Aggregators []*AggregatorConfig `protobuf:"bytes,4,rep,name=Aggregators,json=aggregators,proto3" json:"Aggregators,omitempty"` Outputs []*OutputConfig `protobuf:"bytes,5,rep,name=Outputs,json=outputs,proto3" json:"Outputs,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetAggregators ¶
func (x *Config) GetAggregators() []*AggregatorConfig
func (*Config) GetInputs ¶
func (x *Config) GetInputs() []*InputConfig
func (*Config) GetOutputs ¶
func (x *Config) GetOutputs() []*OutputConfig
func (*Config) GetPreference ¶
func (x *Config) GetPreference() *Preference
func (*Config) GetProcessors ¶
func (x *Config) GetProcessors() []*ProcessorConfig
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type InputConfig ¶
type InputConfig struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid,json=uuid,proto3" json:"Uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Cron string `protobuf:"bytes,3,opt,name=Cron,json=cron,proto3" json:"Cron,omitempty"` Args map[string]*anypb.Any `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InputConfig) Descriptor
deprecated
func (*InputConfig) Descriptor() ([]byte, []int)
Deprecated: Use InputConfig.ProtoReflect.Descriptor instead.
func (*InputConfig) GetCron ¶
func (x *InputConfig) GetCron() string
func (*InputConfig) GetName ¶
func (x *InputConfig) GetName() string
func (*InputConfig) GetUuid ¶
func (x *InputConfig) GetUuid() string
func (*InputConfig) ProtoMessage ¶
func (*InputConfig) ProtoMessage()
func (*InputConfig) ProtoReflect ¶
func (x *InputConfig) ProtoReflect() protoreflect.Message
func (*InputConfig) Reset ¶
func (x *InputConfig) Reset()
func (*InputConfig) String ¶
func (x *InputConfig) String() string
type OutputConfig ¶
type OutputConfig struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid,json=uuid,proto3" json:"Uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Interval int32 `protobuf:"varint,3,opt,name=Interval,json=interval,proto3" json:"Interval,omitempty"` BufferLimit int32 `protobuf:"varint,4,opt,name=BufferLimit,json=buffer_limit,proto3" json:"BufferLimit,omitempty"` BufferBatch int32 `protobuf:"varint,5,opt,name=BufferBatch,json=buffer_batch,proto3" json:"BufferBatch,omitempty"` Args map[string]*anypb.Any `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OutputConfig) Descriptor
deprecated
func (*OutputConfig) Descriptor() ([]byte, []int)
Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.
func (*OutputConfig) GetBufferBatch ¶
func (x *OutputConfig) GetBufferBatch() int32
func (*OutputConfig) GetBufferLimit ¶
func (x *OutputConfig) GetBufferLimit() int32
func (*OutputConfig) GetInterval ¶
func (x *OutputConfig) GetInterval() int32
func (*OutputConfig) GetName ¶
func (x *OutputConfig) GetName() string
func (*OutputConfig) GetUuid ¶
func (x *OutputConfig) GetUuid() string
func (*OutputConfig) ProtoMessage ¶
func (*OutputConfig) ProtoMessage()
func (*OutputConfig) ProtoReflect ¶
func (x *OutputConfig) ProtoReflect() protoreflect.Message
func (*OutputConfig) Reset ¶
func (x *OutputConfig) Reset()
func (*OutputConfig) String ¶
func (x *OutputConfig) String() string
type PipelineActionModel ¶
type PipelineActionModel struct { Action string `protobuf:"bytes,1,opt,name=Action,json=action,proto3" json:"Action,omitempty"` Config *Config `protobuf:"bytes,2,opt,name=Config,json=config,proto3" json:"Config,omitempty"` // contains filtered or unexported fields }
func (*PipelineActionModel) Descriptor
deprecated
func (*PipelineActionModel) Descriptor() ([]byte, []int)
Deprecated: Use PipelineActionModel.ProtoReflect.Descriptor instead.
func (*PipelineActionModel) GetAction ¶
func (x *PipelineActionModel) GetAction() string
func (*PipelineActionModel) GetConfig ¶
func (x *PipelineActionModel) GetConfig() *Config
func (*PipelineActionModel) ProtoMessage ¶
func (*PipelineActionModel) ProtoMessage()
func (*PipelineActionModel) ProtoReflect ¶
func (x *PipelineActionModel) ProtoReflect() protoreflect.Message
func (*PipelineActionModel) Reset ¶
func (x *PipelineActionModel) Reset()
func (*PipelineActionModel) String ¶
func (x *PipelineActionModel) String() string
type PipelineHandler ¶
type PipelineHandler struct{}
func (*PipelineHandler) PipelineAction ¶
func (h *PipelineHandler) PipelineAction(ctx context.Context, in *PipelineActionModel) (*emptypb.Empty, error)
PipelineAction -
type PipelineServiceClient ¶
type PipelineServiceClient interface {
PipelineAction(ctx context.Context, in *PipelineActionModel, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
PipelineServiceClient is the client API for PipelineService 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 NewPipelineServiceClient ¶
func NewPipelineServiceClient(cc grpc.ClientConnInterface) PipelineServiceClient
type PipelineServiceServer ¶
type PipelineServiceServer interface { PipelineAction(context.Context, *PipelineActionModel) (*emptypb.Empty, error) // contains filtered or unexported methods }
PipelineServiceServer is the server API for PipelineService service. All implementations must embed UnimplementedPipelineServiceServer for forward compatibility
type Preference ¶
type Preference struct { Debug bool `protobuf:"varint,1,opt,name=Debug,json=debug,proto3" json:"Debug,omitempty"` // contains filtered or unexported fields }
func (*Preference) Descriptor
deprecated
func (*Preference) Descriptor() ([]byte, []int)
Deprecated: Use Preference.ProtoReflect.Descriptor instead.
func (*Preference) GetDebug ¶
func (x *Preference) GetDebug() bool
func (*Preference) ProtoMessage ¶
func (*Preference) ProtoMessage()
func (*Preference) ProtoReflect ¶
func (x *Preference) ProtoReflect() protoreflect.Message
func (*Preference) Reset ¶
func (x *Preference) Reset()
func (*Preference) String ¶
func (x *Preference) String() string
type ProcessorConfig ¶
type ProcessorConfig struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid,json=uuid,proto3" json:"Uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,json=name,proto3" json:"Name,omitempty"` Order int32 `protobuf:"varint,3,opt,name=Order,json=order,proto3" json:"Order,omitempty"` Args map[string]*anypb.Any `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProcessorConfig) Descriptor
deprecated
func (*ProcessorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProcessorConfig.ProtoReflect.Descriptor instead.
func (*ProcessorConfig) GetName ¶
func (x *ProcessorConfig) GetName() string
func (*ProcessorConfig) GetOrder ¶
func (x *ProcessorConfig) GetOrder() int32
func (*ProcessorConfig) GetUuid ¶
func (x *ProcessorConfig) GetUuid() string
func (*ProcessorConfig) ProtoMessage ¶
func (*ProcessorConfig) ProtoMessage()
func (*ProcessorConfig) ProtoReflect ¶
func (x *ProcessorConfig) ProtoReflect() protoreflect.Message
func (*ProcessorConfig) Reset ¶
func (x *ProcessorConfig) Reset()
func (*ProcessorConfig) String ¶
func (x *ProcessorConfig) String() string
type UnimplementedPipelineServiceServer ¶
type UnimplementedPipelineServiceServer struct { }
UnimplementedPipelineServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPipelineServiceServer) PipelineAction ¶
func (UnimplementedPipelineServiceServer) PipelineAction(context.Context, *PipelineActionModel) (*emptypb.Empty, error)
type UnsafePipelineServiceServer ¶
type UnsafePipelineServiceServer interface {
// contains filtered or unexported methods
}
UnsafePipelineServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PipelineServiceServer will result in compilation errors.