Documentation ¶
Overview ¶
Package rkcypb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterPortalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPortalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PortalServiceClient) error
- func RegisterPortalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPortalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PortalServiceServer) error
- func RegisterPortalServiceServer(s grpc.ServiceRegistrar, srv PortalServiceServer)
- type ApecsTxn
- func (*ApecsTxn) Descriptor() ([]byte, []int)deprecated
- func (x *ApecsTxn) GetAssocTxns() []*AssocTxn
- func (x *ApecsTxn) GetCurrentStepIdx() int32
- func (x *ApecsTxn) GetDirection() Direction
- func (x *ApecsTxn) GetForwardSteps() []*ApecsTxn_Step
- func (x *ApecsTxn) GetId() string
- func (x *ApecsTxn) GetResponseTarget() *TopicTarget
- func (x *ApecsTxn) GetReverseSteps() []*ApecsTxn_Step
- func (x *ApecsTxn) GetUponError() UponError
- func (*ApecsTxn) ProtoMessage()
- func (x *ApecsTxn) ProtoReflect() protoreflect.Message
- func (x *ApecsTxn) Reset()
- func (x *ApecsTxn) String() string
- type ApecsTxn_Step
- func (*ApecsTxn_Step) Descriptor() ([]byte, []int)deprecated
- func (x *ApecsTxn_Step) GetCmpdOffset() *CompoundOffset
- func (x *ApecsTxn_Step) GetCommand() string
- func (x *ApecsTxn_Step) GetConcern() string
- func (x *ApecsTxn_Step) GetEffectiveTime() *timestamppb.Timestamp
- func (x *ApecsTxn_Step) GetInstance() []byte
- func (x *ApecsTxn_Step) GetKey() string
- func (x *ApecsTxn_Step) GetPayload() []byte
- func (x *ApecsTxn_Step) GetResult() *ApecsTxn_Step_Result
- func (x *ApecsTxn_Step) GetSystem() System
- func (*ApecsTxn_Step) ProtoMessage()
- func (x *ApecsTxn_Step) ProtoReflect() protoreflect.Message
- func (x *ApecsTxn_Step) Reset()
- func (x *ApecsTxn_Step) String() string
- type ApecsTxn_Step_Result
- func (*ApecsTxn_Step_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ApecsTxn_Step_Result) GetCmpdOffset() *CompoundOffset
- func (x *ApecsTxn_Step_Result) GetCode() Code
- func (x *ApecsTxn_Step_Result) GetInstance() []byte
- func (x *ApecsTxn_Step_Result) GetKey() string
- func (x *ApecsTxn_Step_Result) GetLogEvents() []*LogEvent
- func (x *ApecsTxn_Step_Result) GetPayload() []byte
- func (x *ApecsTxn_Step_Result) GetProcessedTime() *timestamppb.Timestamp
- func (*ApecsTxn_Step_Result) ProtoMessage()
- func (x *ApecsTxn_Step_Result) ProtoReflect() protoreflect.Message
- func (x *ApecsTxn_Step_Result) Reset()
- func (x *ApecsTxn_Step_Result) String() string
- type AssocTxn
- type AssocTxn_AssocType
- func (AssocTxn_AssocType) Descriptor() protoreflect.EnumDescriptor
- func (x AssocTxn_AssocType) Enum() *AssocTxn_AssocType
- func (AssocTxn_AssocType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AssocTxn_AssocType) Number() protoreflect.EnumNumber
- func (x AssocTxn_AssocType) String() string
- func (AssocTxn_AssocType) Type() protoreflect.EnumType
- type CancelTxnRequest
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetBrokers() string
- func (x *Cluster) GetIsAdmin() bool
- func (x *Cluster) GetName() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type Code
- type CompoundOffset
- func (*CompoundOffset) Descriptor() ([]byte, []int)deprecated
- func (x *CompoundOffset) GetGeneration() int32
- func (x *CompoundOffset) GetOffset() int64
- func (x *CompoundOffset) GetPartition() int32
- func (*CompoundOffset) ProtoMessage()
- func (x *CompoundOffset) ProtoReflect() protoreflect.Message
- func (x *CompoundOffset) Reset()
- func (x *CompoundOffset) String() string
- type Concern
- func (*Concern) Descriptor() ([]byte, []int)deprecated
- func (x *Concern) GetLogLevel() Severity
- func (x *Concern) GetName() string
- func (x *Concern) GetTopics() []*Concern_Topics
- func (x *Concern) GetType() Concern_Type
- func (*Concern) ProtoMessage()
- func (x *Concern) ProtoReflect() protoreflect.Message
- func (x *Concern) Reset()
- func (x *Concern) String() string
- type ConcernAdminDirective
- func (*ConcernAdminDirective) Descriptor() ([]byte, []int)deprecated
- func (x *ConcernAdminDirective) GetConcern() string
- func (x *ConcernAdminDirective) GetSystem() System
- func (x *ConcernAdminDirective) GetTxnId() string
- func (*ConcernAdminDirective) ProtoMessage()
- func (x *ConcernAdminDirective) ProtoReflect() protoreflect.Message
- func (x *ConcernAdminDirective) Reset()
- func (x *ConcernAdminDirective) String() string
- type Concern_PartitionStrategy
- func (Concern_PartitionStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x Concern_PartitionStrategy) Enum() *Concern_PartitionStrategy
- func (Concern_PartitionStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Concern_PartitionStrategy) Number() protoreflect.EnumNumber
- func (x Concern_PartitionStrategy) String() string
- func (Concern_PartitionStrategy) Type() protoreflect.EnumType
- type Concern_Topic
- func (*Concern_Topic) Descriptor() ([]byte, []int)deprecated
- func (x *Concern_Topic) GetCluster() string
- func (x *Concern_Topic) GetGeneration() int32
- func (x *Concern_Topic) GetPartitionCount() int32
- func (x *Concern_Topic) GetPartitionStrat() Concern_PartitionStrategy
- func (*Concern_Topic) ProtoMessage()
- func (x *Concern_Topic) ProtoReflect() protoreflect.Message
- func (x *Concern_Topic) Reset()
- func (x *Concern_Topic) String() string
- type Concern_Topics
- func (*Concern_Topics) Descriptor() ([]byte, []int)deprecated
- func (x *Concern_Topics) GetConsumerPrograms() []*Program
- func (x *Concern_Topics) GetCurrent() *Concern_Topic
- func (x *Concern_Topics) GetFuture() *Concern_Topic
- func (x *Concern_Topics) GetName() string
- func (x *Concern_Topics) GetState() Concern_Topics_State
- func (*Concern_Topics) ProtoMessage()
- func (x *Concern_Topics) ProtoReflect() protoreflect.Message
- func (x *Concern_Topics) Reset()
- func (x *Concern_Topics) String() string
- type Concern_Topics_State
- func (Concern_Topics_State) Descriptor() protoreflect.EnumDescriptor
- func (x Concern_Topics_State) Enum() *Concern_Topics_State
- func (Concern_Topics_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Concern_Topics_State) Number() protoreflect.EnumNumber
- func (x Concern_Topics_State) String() string
- func (Concern_Topics_State) Type() protoreflect.EnumType
- type Concern_Type
- func (Concern_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Concern_Type) Enum() *Concern_Type
- func (Concern_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Concern_Type) Number() protoreflect.EnumNumber
- func (x Concern_Type) String() string
- func (Concern_Type) Type() protoreflect.EnumType
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBoolVals() map[string]bool
- func (x *Config) GetComplexVals() map[string]*Config_Complex
- func (x *Config) GetFloat64Vals() map[string]float64
- func (x *Config) GetStringVals() map[string]string
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type ConfigReadResponse
- func (*ConfigReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigReadResponse) GetConfig() *Config
- func (x *ConfigReadResponse) GetConfigJson() string
- func (x *ConfigReadResponse) GetLastChanged() *timestamppb.Timestamp
- func (x *ConfigReadResponse) GetLastChangedOffset() int64
- func (*ConfigReadResponse) ProtoMessage()
- func (x *ConfigReadResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigReadResponse) Reset()
- func (x *ConfigReadResponse) String() string
- type Config_Complex
- type Config_Update
- func (*Config_Update) Descriptor() ([]byte, []int)deprecated
- func (x *Config_Update) GetBoolVal() bool
- func (x *Config_Update) GetComplexVal() *Config_Complex
- func (x *Config_Update) GetFloat64Val() float64
- func (x *Config_Update) GetKey() string
- func (x *Config_Update) GetStringVal() string
- func (m *Config_Update) GetVal() isConfig_Update_Val
- func (*Config_Update) ProtoMessage()
- func (x *Config_Update) ProtoReflect() protoreflect.Message
- func (x *Config_Update) Reset()
- func (x *Config_Update) String() string
- type Config_Update_BoolVal
- type Config_Update_ComplexVal
- type Config_Update_Float64Val
- type Config_Update_StringVal
- type ConsumerDirective
- type DecodeInstanceArgs
- func (*DecodeInstanceArgs) Descriptor() ([]byte, []int)deprecated
- func (x *DecodeInstanceArgs) GetConcern() string
- func (x *DecodeInstanceArgs) GetPayload64() string
- func (*DecodeInstanceArgs) ProtoMessage()
- func (x *DecodeInstanceArgs) ProtoReflect() protoreflect.Message
- func (x *DecodeInstanceArgs) Reset()
- func (x *DecodeInstanceArgs) String() string
- type DecodePayloadArgs
- func (*DecodePayloadArgs) Descriptor() ([]byte, []int)deprecated
- func (x *DecodePayloadArgs) GetCommand() string
- func (x *DecodePayloadArgs) GetConcern() string
- func (x *DecodePayloadArgs) GetPayload64() string
- func (x *DecodePayloadArgs) GetSystem() System
- func (*DecodePayloadArgs) ProtoMessage()
- func (x *DecodePayloadArgs) ProtoReflect() protoreflect.Message
- func (x *DecodePayloadArgs) Reset()
- func (x *DecodePayloadArgs) String() string
- type DecodeResponse
- func (*DecodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DecodeResponse) GetInstance() string
- func (x *DecodeResponse) GetRelated() string
- func (x *DecodeResponse) GetType() string
- func (*DecodeResponse) ProtoMessage()
- func (x *DecodeResponse) ProtoReflect() protoreflect.Message
- func (x *DecodeResponse) Reset()
- func (x *DecodeResponse) String() string
- type Direction
- type Directive
- type LogEvent
- type PlatformDef
- func (*PlatformDef) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformDef) GetClusters() []*Cluster
- func (x *PlatformDef) GetConcerns() []*Concern
- func (x *PlatformDef) GetEnvironment() string
- func (x *PlatformDef) GetName() string
- func (x *PlatformDef) GetStorageTargets() []*StorageTarget
- func (x *PlatformDef) GetUpdateTime() *timestamppb.Timestamp
- func (*PlatformDef) ProtoMessage()
- func (x *PlatformDef) ProtoReflect() protoreflect.Message
- func (x *PlatformDef) Reset()
- func (x *PlatformDef) String() string
- type PortalServiceClient
- type PortalServiceServer
- type ProducerDirective
- func (*ProducerDirective) Descriptor() ([]byte, []int)deprecated
- func (x *ProducerDirective) GetBrokers() string
- func (x *ProducerDirective) GetConcernName() string
- func (x *ProducerDirective) GetConcernType() Concern_Type
- func (x *ProducerDirective) GetGeneration() int32
- func (x *ProducerDirective) GetId() string
- func (x *ProducerDirective) GetTopic() string
- func (*ProducerDirective) ProtoMessage()
- func (x *ProducerDirective) ProtoReflect() protoreflect.Message
- func (x *ProducerDirective) Reset()
- func (x *ProducerDirective) String() string
- type Program
- func (*Program) Descriptor() ([]byte, []int)deprecated
- func (x *Program) GetAbbrev() string
- func (x *Program) GetArgs() []string
- func (x *Program) GetName() string
- func (x *Program) GetTags() map[string]string
- func (*Program) ProtoMessage()
- func (x *Program) ProtoReflect() protoreflect.Message
- func (x *Program) Reset()
- func (x *Program) String() string
- type RelatedRequest
- func (*RelatedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RelatedRequest) GetConcern() string
- func (x *RelatedRequest) GetField() string
- func (x *RelatedRequest) GetKey() string
- func (x *RelatedRequest) GetPayload() []byte
- func (*RelatedRequest) ProtoMessage()
- func (x *RelatedRequest) ProtoReflect() protoreflect.Message
- func (x *RelatedRequest) Reset()
- func (x *RelatedRequest) String() string
- type RelatedResponse
- func (*RelatedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RelatedResponse) GetConcern() string
- func (x *RelatedResponse) GetField() string
- func (x *RelatedResponse) GetPayload() []byte
- func (*RelatedResponse) ProtoMessage()
- func (x *RelatedResponse) ProtoReflect() protoreflect.Message
- func (x *RelatedResponse) Reset()
- func (x *RelatedResponse) String() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetIdField() string
- func (x *Relation) GetPairedWith() string
- func (x *Relation) GetRelField() string
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- type Severity
- type StorageTarget
- func (*StorageTarget) Descriptor() ([]byte, []int)deprecated
- func (x *StorageTarget) GetConfig() map[string]string
- func (x *StorageTarget) GetIsPrimary() bool
- func (x *StorageTarget) GetName() string
- func (x *StorageTarget) GetType() string
- func (*StorageTarget) ProtoMessage()
- func (x *StorageTarget) ProtoReflect() protoreflect.Message
- func (x *StorageTarget) Reset()
- func (x *StorageTarget) String() string
- type System
- type TopicTarget
- func (*TopicTarget) Descriptor() ([]byte, []int)deprecated
- func (x *TopicTarget) GetBrokers() string
- func (x *TopicTarget) GetPartition() int32
- func (x *TopicTarget) GetTopic() string
- func (*TopicTarget) ProtoMessage()
- func (x *TopicTarget) ProtoReflect() protoreflect.Message
- func (x *TopicTarget) Reset()
- func (x *TopicTarget) String() string
- type TrackedProducers
- func (*TrackedProducers) Descriptor() ([]byte, []int)deprecated
- func (x *TrackedProducers) GetTopicProducers() []*TrackedProducers_ProducerInfo
- func (*TrackedProducers) ProtoMessage()
- func (x *TrackedProducers) ProtoReflect() protoreflect.Message
- func (x *TrackedProducers) Reset()
- func (x *TrackedProducers) String() string
- type TrackedProducers_ProducerInfo
- func (*TrackedProducers_ProducerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TrackedProducers_ProducerInfo) GetId() string
- func (x *TrackedProducers_ProducerInfo) GetTimeSinceUpdate() string
- func (x *TrackedProducers_ProducerInfo) GetTopic() string
- func (*TrackedProducers_ProducerInfo) ProtoMessage()
- func (x *TrackedProducers_ProducerInfo) ProtoReflect() protoreflect.Message
- func (x *TrackedProducers_ProducerInfo) Reset()
- func (x *TrackedProducers_ProducerInfo) String() string
- type UnimplementedPortalServiceServer
- func (UnimplementedPortalServiceServer) CancelTxn(context.Context, *CancelTxnRequest) (*Void, error)
- func (UnimplementedPortalServiceServer) ConfigRead(context.Context, *Void) (*ConfigReadResponse, error)
- func (UnimplementedPortalServiceServer) DecodeArgPayload(context.Context, *DecodePayloadArgs) (*DecodeResponse, error)
- func (UnimplementedPortalServiceServer) DecodeInstance(context.Context, *DecodeInstanceArgs) (*DecodeResponse, error)
- func (UnimplementedPortalServiceServer) DecodeResultPayload(context.Context, *DecodePayloadArgs) (*DecodeResponse, error)
- func (UnimplementedPortalServiceServer) PlatformDef(context.Context, *Void) (*PlatformDef, error)
- type UnsafePortalServiceServer
- type UponError
- type Void
Constants ¶
This section is empty.
Variables ¶
var ( Direction_name = map[int32]string{ 0: "FORWARD", 1: "REVERSE", } Direction_value = map[string]int32{ "FORWARD": 0, "REVERSE": 1, } )
Enum value maps for Direction.
var ( System_name = map[int32]string{ 0: "NO_SYSTEM", 1: "PROCESS", 2: "STORAGE", 3: "STORAGE_SCND", } System_value = map[string]int32{ "NO_SYSTEM": 0, "PROCESS": 1, "STORAGE": 2, "STORAGE_SCND": 3, } )
Enum value maps for System.
var ( UponError_name = map[int32]string{ 0: "REPORT", 1: "REVERT", 2: "BAILOUT", } UponError_value = map[string]int32{ "REPORT": 0, "REVERT": 1, "BAILOUT": 2, } )
Enum value maps for UponError.
var ( Severity_name = map[int32]string{ 0: "DBG", 1: "INF", 2: "WRN", 3: "ERR", } Severity_value = map[string]int32{ "DBG": 0, "INF": 1, "WRN": 2, "ERR": 3, } )
Enum value maps for Severity.
var ( Code_name = map[int32]string{ 0: "UNDEFINED", 1: "OK", 2: "INTERNAL", 3: "MARSHAL_FAILED", 4: "NOT_FOUND", 5: "CONNECTION", 6: "CONSTRAINT_VIOLATION", 7: "UNKNOWN_COMMAND", 8: "INVALID_ARGUMENT", 9: "NOT_IMPLEMENTED", 10: "NIL_RESULT", 11: "CANCELLED", 12: "STEP_ALREADY_COMPLETE", 13: "MISMATCHED_CONCERN", 14: "MISMATCHED_SYSTEM", 15: "KEY_NOT_PRESENT", 32: "RKCY_RESERVED_MAX", } Code_value = map[string]int32{ "UNDEFINED": 0, "OK": 1, "INTERNAL": 2, "MARSHAL_FAILED": 3, "NOT_FOUND": 4, "CONNECTION": 5, "CONSTRAINT_VIOLATION": 6, "UNKNOWN_COMMAND": 7, "INVALID_ARGUMENT": 8, "NOT_IMPLEMENTED": 9, "NIL_RESULT": 10, "CANCELLED": 11, "STEP_ALREADY_COMPLETE": 12, "MISMATCHED_CONCERN": 13, "MISMATCHED_SYSTEM": 14, "KEY_NOT_PRESENT": 15, "RKCY_RESERVED_MAX": 32, } )
Enum value maps for Code.
var ( AssocTxn_AssocType_name = map[int32]string{ 0: "UNDEFINED", 1: "PARENT", 2: "GENERATED_STORAGE", 3: "SECONDARY_STORAGE", } AssocTxn_AssocType_value = map[string]int32{ "UNDEFINED": 0, "PARENT": 1, "GENERATED_STORAGE": 2, "SECONDARY_STORAGE": 3, } )
Enum value maps for AssocTxn_AssocType.
var ( Directive_name = map[int32]string{ 0: "UNSPECIFIED", 65536: "PLATFORM", 131072: "PRODUCER", 131073: "PRODUCER_STATUS", 131074: "PRODUCER_RUN", 131076: "PRODUCER_RUNNING", 131080: "PRODUCER_PAUSE", 131088: "PRODUCER_PAUSED", 262144: "CONSUMER", 262145: "CONSUMER_START", 262146: "CONSUMER_STARTED", 262148: "CONSUMER_STOP", 262152: "CONSUMER_STOPPED", 524288: "APECS_TXN", 1048576: "CONFIG", 1048577: "CONFIG_PUBLISH", 1048578: "CONFIG_UPDATE", 2097152: "CONCERN_ADMIN", 2097153: "CONCERN_ADMIN_READY", 2097154: "CONCERN_ADMIN_CANCEL_TXN", -1: "ALL", } Directive_value = map[string]int32{ "UNSPECIFIED": 0, "PLATFORM": 65536, "PRODUCER": 131072, "PRODUCER_STATUS": 131073, "PRODUCER_RUN": 131074, "PRODUCER_RUNNING": 131076, "PRODUCER_PAUSE": 131080, "PRODUCER_PAUSED": 131088, "CONSUMER": 262144, "CONSUMER_START": 262145, "CONSUMER_STARTED": 262146, "CONSUMER_STOP": 262148, "CONSUMER_STOPPED": 262152, "APECS_TXN": 524288, "CONFIG": 1048576, "CONFIG_PUBLISH": 1048577, "CONFIG_UPDATE": 1048578, "CONCERN_ADMIN": 2097152, "CONCERN_ADMIN_READY": 2097153, "CONCERN_ADMIN_CANCEL_TXN": 2097154, "ALL": -1, } )
Enum value maps for Directive.
var ( // optional bool is_config = 11371000; E_IsConfig = &file_extensions_proto_extTypes[0] // optional bool is_concern = 11371001; E_IsConcern = &file_extensions_proto_extTypes[1] )
Extension fields to descriptorpb.MessageOptions.
var ( // optional bool is_key = 11371100; E_IsKey = &file_extensions_proto_extTypes[2] // optional rkcy.Relation relation = 11371101; E_Relation = &file_extensions_proto_extTypes[3] )
Extension fields to descriptorpb.FieldOptions.
var ( Concern_Type_name = map[int32]string{ 0: "GENERAL", 1: "BATCH", 2: "APECS", } Concern_Type_value = map[string]int32{ "GENERAL": 0, "BATCH": 1, "APECS": 2, } )
Enum value maps for Concern_Type.
var ( Concern_PartitionStrategy_name = map[int32]string{ 0: "FNV64_MOD", } Concern_PartitionStrategy_value = map[string]int32{ "FNV64_MOD": 0, } )
Enum value maps for Concern_PartitionStrategy.
var ( Concern_Topics_State_name = map[int32]string{ 0: "CURRENT", 1: "FUTURE_INIT", 2: "PRODUCER_PAUSE", 3: "CONSUMER_SHUTDOWN", 4: "CONSUMER_FUTURE_START", 5: "PRODUCER_FUTURE_START", 6: "FUTURE_TO_CURRENT", } Concern_Topics_State_value = map[string]int32{ "CURRENT": 0, "FUTURE_INIT": 1, "PRODUCER_PAUSE": 2, "CONSUMER_SHUTDOWN": 3, "CONSUMER_FUTURE_START": 4, "PRODUCER_FUTURE_START": 5, "FUTURE_TO_CURRENT": 6, } )
Enum value maps for Concern_Topics_State.
var File_apecs_proto protoreflect.FileDescriptor
var File_directive_proto protoreflect.FileDescriptor
var File_extensions_proto protoreflect.FileDescriptor
var File_platform_proto protoreflect.FileDescriptor
var File_portal_proto protoreflect.FileDescriptor
var PortalService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rkcy.PortalService", HandlerType: (*PortalServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PlatformDef", Handler: _PortalService_PlatformDef_Handler, }, { MethodName: "ConfigRead", Handler: _PortalService_ConfigRead_Handler, }, { MethodName: "DecodeInstance", Handler: _PortalService_DecodeInstance_Handler, }, { MethodName: "DecodeArgPayload", Handler: _PortalService_DecodeArgPayload_Handler, }, { MethodName: "DecodeResultPayload", Handler: _PortalService_DecodeResultPayload_Handler, }, { MethodName: "CancelTxn", Handler: _PortalService_CancelTxn_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "portal.proto", }
PortalService_ServiceDesc is the grpc.ServiceDesc for PortalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPortalServiceHandler ¶
func RegisterPortalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPortalServiceHandler registers the http handlers for service PortalService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPortalServiceHandlerClient ¶
func RegisterPortalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PortalServiceClient) error
RegisterPortalServiceHandlerClient registers the http handlers for service PortalService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PortalServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PortalServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PortalServiceClient" to call the correct interceptors.
func RegisterPortalServiceHandlerFromEndpoint ¶
func RegisterPortalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPortalServiceHandlerFromEndpoint is same as RegisterPortalServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPortalServiceHandlerServer ¶
func RegisterPortalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PortalServiceServer) error
RegisterPortalServiceHandlerServer registers the http handlers for service PortalService to "mux". UnaryRPC :call PortalServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPortalServiceHandlerFromEndpoint instead.
func RegisterPortalServiceServer ¶
func RegisterPortalServiceServer(s grpc.ServiceRegistrar, srv PortalServiceServer)
Types ¶
type ApecsTxn ¶
type ApecsTxn struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // uuid of txn used for tracing and reporting AssocTxns []*AssocTxn `protobuf:"bytes,2,rep,name=assoc_txns,json=assocTxns,proto3" json:"assoc_txns,omitempty"` // associated transactions ResponseTarget *TopicTarget `protobuf:"bytes,3,opt,name=response_target,json=responseTarget,proto3" json:"response_target,omitempty"` CurrentStepIdx int32 `protobuf:"varint,4,opt,name=current_step_idx,json=currentStepIdx,proto3" json:"current_step_idx,omitempty"` Direction Direction `protobuf:"varint,5,opt,name=direction,proto3,enum=rkcy.Direction" json:"direction,omitempty"` // starts in forward, can potentially go to reverse if the transaction is reversible UponError UponError `protobuf:"varint,6,opt,name=upon_error,json=uponError,proto3,enum=rkcy.UponError" json:"upon_error,omitempty"` // how to handle errors ForwardSteps []*ApecsTxn_Step `protobuf:"bytes,7,rep,name=forward_steps,json=forwardSteps,proto3" json:"forward_steps,omitempty"` // filled upon creation with forward steps ReverseSteps []*ApecsTxn_Step `protobuf:"bytes,8,rep,name=reverse_steps,json=reverseSteps,proto3" json:"reverse_steps,omitempty"` // upon an error in a "can_revert==true" transaction, this gets filled with the right rollback steps. Separatiing reverse from forward steps preserves the history for review of the nature of the failure. // contains filtered or unexported fields }
func (*ApecsTxn) Descriptor
deprecated
func (*ApecsTxn) GetAssocTxns ¶
func (*ApecsTxn) GetCurrentStepIdx ¶
func (*ApecsTxn) GetDirection ¶
func (*ApecsTxn) GetForwardSteps ¶
func (x *ApecsTxn) GetForwardSteps() []*ApecsTxn_Step
func (*ApecsTxn) GetResponseTarget ¶
func (x *ApecsTxn) GetResponseTarget() *TopicTarget
func (*ApecsTxn) GetReverseSteps ¶
func (x *ApecsTxn) GetReverseSteps() []*ApecsTxn_Step
func (*ApecsTxn) GetUponError ¶
func (*ApecsTxn) ProtoMessage ¶
func (*ApecsTxn) ProtoMessage()
func (*ApecsTxn) ProtoReflect ¶
func (x *ApecsTxn) ProtoReflect() protoreflect.Message
type ApecsTxn_Step ¶
type ApecsTxn_Step struct { System System `protobuf:"varint,1,opt,name=system,proto3,enum=rkcy.System" json:"system,omitempty"` // Whether to queue step into Process or Storage code Concern string `protobuf:"bytes,2,opt,name=concern,proto3" json:"concern,omitempty"` // logical persistence model that's used to partition messages Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` // command name, this will map to a piece of code (e.g. function) Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // instance key used as the partition key Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` // opaque payload for command EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // time at which command should consider itself running CmpdOffset *CompoundOffset `protobuf:"bytes,7,opt,name=cmpd_offset,json=cmpdOffset,proto3" json:"cmpd_offset,omitempty"` // when no nil, indicates the process topic offset associated with the step Instance []byte `protobuf:"bytes,8,opt,name=instance,proto3" json:"instance,omitempty"` Result *ApecsTxn_Step_Result `protobuf:"bytes,9,opt,name=result,proto3" json:"result,omitempty"` // Result returned from step handler // contains filtered or unexported fields }
func (*ApecsTxn_Step) Descriptor
deprecated
func (*ApecsTxn_Step) Descriptor() ([]byte, []int)
Deprecated: Use ApecsTxn_Step.ProtoReflect.Descriptor instead.
func (*ApecsTxn_Step) GetCmpdOffset ¶
func (x *ApecsTxn_Step) GetCmpdOffset() *CompoundOffset
func (*ApecsTxn_Step) GetCommand ¶
func (x *ApecsTxn_Step) GetCommand() string
func (*ApecsTxn_Step) GetConcern ¶
func (x *ApecsTxn_Step) GetConcern() string
func (*ApecsTxn_Step) GetEffectiveTime ¶
func (x *ApecsTxn_Step) GetEffectiveTime() *timestamppb.Timestamp
func (*ApecsTxn_Step) GetInstance ¶
func (x *ApecsTxn_Step) GetInstance() []byte
func (*ApecsTxn_Step) GetKey ¶
func (x *ApecsTxn_Step) GetKey() string
func (*ApecsTxn_Step) GetPayload ¶
func (x *ApecsTxn_Step) GetPayload() []byte
func (*ApecsTxn_Step) GetResult ¶
func (x *ApecsTxn_Step) GetResult() *ApecsTxn_Step_Result
func (*ApecsTxn_Step) GetSystem ¶
func (x *ApecsTxn_Step) GetSystem() System
func (*ApecsTxn_Step) ProtoMessage ¶
func (*ApecsTxn_Step) ProtoMessage()
func (*ApecsTxn_Step) ProtoReflect ¶
func (x *ApecsTxn_Step) ProtoReflect() protoreflect.Message
func (*ApecsTxn_Step) Reset ¶
func (x *ApecsTxn_Step) Reset()
func (*ApecsTxn_Step) String ¶
func (x *ApecsTxn_Step) String() string
type ApecsTxn_Step_Result ¶
type ApecsTxn_Step_Result struct { // Result code of step, generally one of "Code" enum below but users can define their own codes greater than RKCY_INTERNAL_MAX Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=rkcy.Code" json:"code,omitempty"` // actual time this command result was recorded ProcessedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=processed_time,json=processedTime,proto3" json:"processed_time,omitempty"` // general bucket for log events during a processed event LogEvents []*LogEvent `protobuf:"bytes,4,rep,name=logEvents,proto3" json:"logEvents,omitempty"` Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` // if present, this key should be used in next step Payload []byte `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // opaque payload returned from command, will be the input payload of next step Instance []byte `protobuf:"bytes,7,opt,name=instance,proto3" json:"instance,omitempty"` // opaque payload returned from command CmpdOffset *CompoundOffset `protobuf:"bytes,8,opt,name=cmpd_offset,json=cmpdOffset,proto3" json:"cmpd_offset,omitempty"` // contains filtered or unexported fields }
func (*ApecsTxn_Step_Result) Descriptor
deprecated
func (*ApecsTxn_Step_Result) Descriptor() ([]byte, []int)
Deprecated: Use ApecsTxn_Step_Result.ProtoReflect.Descriptor instead.
func (*ApecsTxn_Step_Result) GetCmpdOffset ¶
func (x *ApecsTxn_Step_Result) GetCmpdOffset() *CompoundOffset
func (*ApecsTxn_Step_Result) GetCode ¶
func (x *ApecsTxn_Step_Result) GetCode() Code
func (*ApecsTxn_Step_Result) GetInstance ¶
func (x *ApecsTxn_Step_Result) GetInstance() []byte
func (*ApecsTxn_Step_Result) GetKey ¶
func (x *ApecsTxn_Step_Result) GetKey() string
func (*ApecsTxn_Step_Result) GetLogEvents ¶
func (x *ApecsTxn_Step_Result) GetLogEvents() []*LogEvent
func (*ApecsTxn_Step_Result) GetPayload ¶
func (x *ApecsTxn_Step_Result) GetPayload() []byte
func (*ApecsTxn_Step_Result) GetProcessedTime ¶
func (x *ApecsTxn_Step_Result) GetProcessedTime() *timestamppb.Timestamp
func (*ApecsTxn_Step_Result) ProtoMessage ¶
func (*ApecsTxn_Step_Result) ProtoMessage()
func (*ApecsTxn_Step_Result) ProtoReflect ¶
func (x *ApecsTxn_Step_Result) ProtoReflect() protoreflect.Message
func (*ApecsTxn_Step_Result) Reset ¶
func (x *ApecsTxn_Step_Result) Reset()
func (*ApecsTxn_Step_Result) String ¶
func (x *ApecsTxn_Step_Result) String() string
type AssocTxn ¶
type AssocTxn struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type AssocTxn_AssocType `protobuf:"varint,2,opt,name=type,proto3,enum=rkcy.AssocTxn_AssocType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*AssocTxn) Descriptor
deprecated
func (*AssocTxn) GetType ¶
func (x *AssocTxn) GetType() AssocTxn_AssocType
func (*AssocTxn) ProtoMessage ¶
func (*AssocTxn) ProtoMessage()
func (*AssocTxn) ProtoReflect ¶
func (x *AssocTxn) ProtoReflect() protoreflect.Message
type AssocTxn_AssocType ¶
type AssocTxn_AssocType int32
const ( AssocTxn_UNDEFINED AssocTxn_AssocType = 0 AssocTxn_PARENT AssocTxn_AssocType = 1 AssocTxn_GENERATED_STORAGE AssocTxn_AssocType = 2 AssocTxn_SECONDARY_STORAGE AssocTxn_AssocType = 3 )
func (AssocTxn_AssocType) Descriptor ¶
func (AssocTxn_AssocType) Descriptor() protoreflect.EnumDescriptor
func (AssocTxn_AssocType) Enum ¶
func (x AssocTxn_AssocType) Enum() *AssocTxn_AssocType
func (AssocTxn_AssocType) EnumDescriptor
deprecated
func (AssocTxn_AssocType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AssocTxn_AssocType.Descriptor instead.
func (AssocTxn_AssocType) Number ¶
func (x AssocTxn_AssocType) Number() protoreflect.EnumNumber
func (AssocTxn_AssocType) String ¶
func (x AssocTxn_AssocType) String() string
func (AssocTxn_AssocType) Type ¶
func (AssocTxn_AssocType) Type() protoreflect.EnumType
type CancelTxnRequest ¶
type CancelTxnRequest struct { TxnId string `protobuf:"bytes,1,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` // contains filtered or unexported fields }
func (*CancelTxnRequest) Descriptor
deprecated
func (*CancelTxnRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTxnRequest.ProtoReflect.Descriptor instead.
func (*CancelTxnRequest) GetTxnId ¶
func (x *CancelTxnRequest) GetTxnId() string
func (*CancelTxnRequest) ProtoMessage ¶
func (*CancelTxnRequest) ProtoMessage()
func (*CancelTxnRequest) ProtoReflect ¶
func (x *CancelTxnRequest) ProtoReflect() protoreflect.Message
func (*CancelTxnRequest) Reset ¶
func (x *CancelTxnRequest) Reset()
func (*CancelTxnRequest) String ¶
func (x *CancelTxnRequest) String() string
type Cluster ¶
type Cluster struct { // unique name of cluster Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // kafka brokers for the cluster Brokers string `protobuf:"bytes,2,opt,name=brokers,proto3" json:"brokers,omitempty"` // brokers used for admin topics, only one cluster can have this set IsAdmin bool `protobuf:"varint,3,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"` // contains filtered or unexported fields }
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetBrokers ¶
func (*Cluster) GetIsAdmin ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type Code ¶
type Code int32
const ( Code_UNDEFINED Code = 0 Code_OK Code = 1 Code_INTERNAL Code = 2 Code_MARSHAL_FAILED Code = 3 Code_NOT_FOUND Code = 4 Code_CONNECTION Code = 5 Code_CONSTRAINT_VIOLATION Code = 6 Code_UNKNOWN_COMMAND Code = 7 Code_INVALID_ARGUMENT Code = 8 Code_NOT_IMPLEMENTED Code = 9 Code_NIL_RESULT Code = 10 Code_CANCELLED Code = 11 Code_STEP_ALREADY_COMPLETE Code = 12 Code_MISMATCHED_CONCERN Code = 13 Code_MISMATCHED_SYSTEM Code = 14 Code_KEY_NOT_PRESENT Code = 15 // User defined codes should be greater than RKCY_RESERVED_MAX Code_RKCY_RESERVED_MAX Code = 32 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type CompoundOffset ¶
type CompoundOffset struct { Generation int32 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"` Partition int32 `protobuf:"varint,2,opt,name=partition,proto3" json:"partition,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*CompoundOffset) Descriptor
deprecated
func (*CompoundOffset) Descriptor() ([]byte, []int)
Deprecated: Use CompoundOffset.ProtoReflect.Descriptor instead.
func (*CompoundOffset) GetGeneration ¶
func (x *CompoundOffset) GetGeneration() int32
func (*CompoundOffset) GetOffset ¶
func (x *CompoundOffset) GetOffset() int64
func (*CompoundOffset) GetPartition ¶
func (x *CompoundOffset) GetPartition() int32
func (*CompoundOffset) ProtoMessage ¶
func (*CompoundOffset) ProtoMessage()
func (*CompoundOffset) ProtoReflect ¶
func (x *CompoundOffset) ProtoReflect() protoreflect.Message
func (*CompoundOffset) Reset ¶
func (x *CompoundOffset) Reset()
func (*CompoundOffset) String ¶
func (x *CompoundOffset) String() string
type Concern ¶
type Concern struct { Type Concern_Type `protobuf:"varint,1,opt,name=type,proto3,enum=rkcy.Concern_Type" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` LogLevel Severity `protobuf:"varint,3,opt,name=log_level,json=logLevel,proto3,enum=rkcy.Severity" json:"log_level,omitempty"` Topics []*Concern_Topics `protobuf:"bytes,4,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
func (*Concern) Descriptor
deprecated
func (*Concern) GetLogLevel ¶
func (*Concern) GetTopics ¶
func (x *Concern) GetTopics() []*Concern_Topics
func (*Concern) GetType ¶
func (x *Concern) GetType() Concern_Type
func (*Concern) ProtoMessage ¶
func (*Concern) ProtoMessage()
func (*Concern) ProtoReflect ¶
func (x *Concern) ProtoReflect() protoreflect.Message
type ConcernAdminDirective ¶
type ConcernAdminDirective struct { Concern string `protobuf:"bytes,1,opt,name=concern,proto3" json:"concern,omitempty"` System System `protobuf:"varint,2,opt,name=system,proto3,enum=rkcy.System" json:"system,omitempty"` TxnId string `protobuf:"bytes,3,opt,name=txn_id,json=txnId,proto3" json:"txn_id,omitempty"` // contains filtered or unexported fields }
func (*ConcernAdminDirective) Descriptor
deprecated
func (*ConcernAdminDirective) Descriptor() ([]byte, []int)
Deprecated: Use ConcernAdminDirective.ProtoReflect.Descriptor instead.
func (*ConcernAdminDirective) GetConcern ¶
func (x *ConcernAdminDirective) GetConcern() string
func (*ConcernAdminDirective) GetSystem ¶
func (x *ConcernAdminDirective) GetSystem() System
func (*ConcernAdminDirective) GetTxnId ¶
func (x *ConcernAdminDirective) GetTxnId() string
func (*ConcernAdminDirective) ProtoMessage ¶
func (*ConcernAdminDirective) ProtoMessage()
func (*ConcernAdminDirective) ProtoReflect ¶
func (x *ConcernAdminDirective) ProtoReflect() protoreflect.Message
func (*ConcernAdminDirective) Reset ¶
func (x *ConcernAdminDirective) Reset()
func (*ConcernAdminDirective) String ¶
func (x *ConcernAdminDirective) String() string
type Concern_PartitionStrategy ¶
type Concern_PartitionStrategy int32
Different types of partitioning mechanisms
const ( // FNV-1 64 bit has followed by modulus of partition count Concern_FNV64_MOD Concern_PartitionStrategy = 0 )
func (Concern_PartitionStrategy) Descriptor ¶
func (Concern_PartitionStrategy) Descriptor() protoreflect.EnumDescriptor
func (Concern_PartitionStrategy) Enum ¶
func (x Concern_PartitionStrategy) Enum() *Concern_PartitionStrategy
func (Concern_PartitionStrategy) EnumDescriptor
deprecated
func (Concern_PartitionStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Concern_PartitionStrategy.Descriptor instead.
func (Concern_PartitionStrategy) Number ¶
func (x Concern_PartitionStrategy) Number() protoreflect.EnumNumber
func (Concern_PartitionStrategy) String ¶
func (x Concern_PartitionStrategy) String() string
func (Concern_PartitionStrategy) Type ¶
func (Concern_PartitionStrategy) Type() protoreflect.EnumType
type Concern_Topic ¶
type Concern_Topic struct { // incrementing generation id, +1 every time we migrate a logical topic Generation int32 `protobuf:"varint,1,opt,name=generation,proto3" json:"generation,omitempty"` // kafka cluster topic exists within Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` PartitionCount int32 `protobuf:"varint,3,opt,name=partition_count,json=partitionCount,proto3" json:"partition_count,omitempty"` // How to determine which partiton messages are produced to PartitionStrat Concern_PartitionStrategy `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Concern_Topic) Descriptor
deprecated
func (*Concern_Topic) Descriptor() ([]byte, []int)
Deprecated: Use Concern_Topic.ProtoReflect.Descriptor instead.
func (*Concern_Topic) GetCluster ¶
func (x *Concern_Topic) GetCluster() string
func (*Concern_Topic) GetGeneration ¶
func (x *Concern_Topic) GetGeneration() int32
func (*Concern_Topic) GetPartitionCount ¶
func (x *Concern_Topic) GetPartitionCount() int32
func (*Concern_Topic) GetPartitionStrat ¶
func (x *Concern_Topic) GetPartitionStrat() Concern_PartitionStrategy
func (*Concern_Topic) ProtoMessage ¶
func (*Concern_Topic) ProtoMessage()
func (*Concern_Topic) ProtoReflect ¶
func (x *Concern_Topic) ProtoReflect() protoreflect.Message
func (*Concern_Topic) Reset ¶
func (x *Concern_Topic) Reset()
func (*Concern_Topic) String ¶
func (x *Concern_Topic) String() string
type Concern_Topics ¶
type Concern_Topics struct { // base name, it will get decorated with additional dot notated pieces Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // current vs future transition state State Concern_Topics_State `protobuf:"varint,2,opt,name=state,proto3,enum=rkcy.Concern_Topics_State" json:"state,omitempty"` // current physical topic Current *Concern_Topic `protobuf:"bytes,3,opt,name=current,proto3" json:"current,omitempty"` // topic we're in the process of migrating to, will be // null unless an active migration is taking place Future *Concern_Topic `protobuf:"bytes,4,opt,name=future,proto3" json:"future,omitempty"` ConsumerPrograms []*Program `protobuf:"bytes,5,rep,name=consumer_programs,json=consumerPrograms,proto3" json:"consumer_programs,omitempty"` // contains filtered or unexported fields }
func (*Concern_Topics) Descriptor
deprecated
func (*Concern_Topics) Descriptor() ([]byte, []int)
Deprecated: Use Concern_Topics.ProtoReflect.Descriptor instead.
func (*Concern_Topics) GetConsumerPrograms ¶
func (x *Concern_Topics) GetConsumerPrograms() []*Program
func (*Concern_Topics) GetCurrent ¶
func (x *Concern_Topics) GetCurrent() *Concern_Topic
func (*Concern_Topics) GetFuture ¶
func (x *Concern_Topics) GetFuture() *Concern_Topic
func (*Concern_Topics) GetName ¶
func (x *Concern_Topics) GetName() string
func (*Concern_Topics) GetState ¶
func (x *Concern_Topics) GetState() Concern_Topics_State
func (*Concern_Topics) ProtoMessage ¶
func (*Concern_Topics) ProtoMessage()
func (*Concern_Topics) ProtoReflect ¶
func (x *Concern_Topics) ProtoReflect() protoreflect.Message
func (*Concern_Topics) Reset ¶
func (x *Concern_Topics) Reset()
func (*Concern_Topics) String ¶
func (x *Concern_Topics) String() string
type Concern_Topics_State ¶
type Concern_Topics_State int32
States surrounding current vs future topics and current to future transition
const ( // no future topic exists, everyting using current Concern_Topics_CURRENT Concern_Topics_State = 0 // future topic added to concern and gets created Concern_Topics_FUTURE_INIT Concern_Topics_State = 1 // producers all pause Concern_Topics_PRODUCER_PAUSE Concern_Topics_State = 2 // consumers read until end and shutdown Concern_Topics_CONSUMER_SHUTDOWN Concern_Topics_State = 3 // new consumers start on future, advanced passed newest Concern_Topics_CONSUMER_FUTURE_START Concern_Topics_State = 4 // producers unpause and produce to future Concern_Topics_PRODUCER_FUTURE_START Concern_Topics_State = 5 // future becomes current, future is nulled, state set to CURRENT Concern_Topics_FUTURE_TO_CURRENT Concern_Topics_State = 6 )
func (Concern_Topics_State) Descriptor ¶
func (Concern_Topics_State) Descriptor() protoreflect.EnumDescriptor
func (Concern_Topics_State) Enum ¶
func (x Concern_Topics_State) Enum() *Concern_Topics_State
func (Concern_Topics_State) EnumDescriptor
deprecated
func (Concern_Topics_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Concern_Topics_State.Descriptor instead.
func (Concern_Topics_State) Number ¶
func (x Concern_Topics_State) Number() protoreflect.EnumNumber
func (Concern_Topics_State) String ¶
func (x Concern_Topics_State) String() string
func (Concern_Topics_State) Type ¶
func (Concern_Topics_State) Type() protoreflect.EnumType
type Concern_Type ¶
type Concern_Type int32
Type implies what topics will be present
const ( // Required topics: // * admin - handles control messages to coordinate distributed tasks // * error - errors encountered during processing written here // * ... - additional concern specific topics Concern_GENERAL Concern_Type = 0 // Required topics: // * admin - handles control messages to coordinate distributed tasks // * error - errors encountered during processing written here // * ... - additional concern specific topics for stages of batch processing // For telemetry purposes, stage topics are assumed to be in alphabetical order. // Batch jobs topics aren't created by default, but on demand with the timestamp // included in the names. Concern_BATCH Concern_Type = 1 // Required topics: // * admin - handles control messages to coordinate distributed tasks // * process - handles messages that affect internal state of models // * error - errors encountered during processing written here // * complete - completed transactions written here for post processing // * storage - handles messages sent to the persistence layer Concern_APECS Concern_Type = 2 )
func (Concern_Type) Descriptor ¶
func (Concern_Type) Descriptor() protoreflect.EnumDescriptor
func (Concern_Type) Enum ¶
func (x Concern_Type) Enum() *Concern_Type
func (Concern_Type) EnumDescriptor
deprecated
func (Concern_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Concern_Type.Descriptor instead.
func (Concern_Type) Number ¶
func (x Concern_Type) Number() protoreflect.EnumNumber
func (Concern_Type) String ¶
func (x Concern_Type) String() string
func (Concern_Type) Type ¶
func (Concern_Type) Type() protoreflect.EnumType
type Config ¶
type Config struct { StringVals map[string]string `` /* 179-byte string literal not displayed */ BoolVals map[string]bool `` /* 174-byte string literal not displayed */ Float64Vals map[string]float64 `` /* 184-byte string literal not displayed */ // key is protobuf message type ComplexVals map[string]*Config_Complex `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetBoolVals ¶
func (*Config) GetComplexVals ¶
func (x *Config) GetComplexVals() map[string]*Config_Complex
func (*Config) GetFloat64Vals ¶
func (*Config) GetStringVals ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type ConfigReadResponse ¶
type ConfigReadResponse struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ConfigJson string `protobuf:"bytes,2,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"` LastChanged *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_changed,json=lastChanged,proto3" json:"last_changed,omitempty"` LastChangedOffset int64 `protobuf:"varint,4,opt,name=last_changed_offset,json=lastChangedOffset,proto3" json:"last_changed_offset,omitempty"` // contains filtered or unexported fields }
func (*ConfigReadResponse) Descriptor
deprecated
func (*ConfigReadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigReadResponse.ProtoReflect.Descriptor instead.
func (*ConfigReadResponse) GetConfig ¶
func (x *ConfigReadResponse) GetConfig() *Config
func (*ConfigReadResponse) GetConfigJson ¶
func (x *ConfigReadResponse) GetConfigJson() string
func (*ConfigReadResponse) GetLastChanged ¶
func (x *ConfigReadResponse) GetLastChanged() *timestamppb.Timestamp
func (*ConfigReadResponse) GetLastChangedOffset ¶
func (x *ConfigReadResponse) GetLastChangedOffset() int64
func (*ConfigReadResponse) ProtoMessage ¶
func (*ConfigReadResponse) ProtoMessage()
func (*ConfigReadResponse) ProtoReflect ¶
func (x *ConfigReadResponse) ProtoReflect() protoreflect.Message
func (*ConfigReadResponse) Reset ¶
func (x *ConfigReadResponse) Reset()
func (*ConfigReadResponse) String ¶
func (x *ConfigReadResponse) String() string
type Config_Complex ¶
type Config_Complex struct { // key is id of message // val is serialized protobuf MessageVals map[string][]byte `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Config_Complex) Descriptor
deprecated
func (*Config_Complex) Descriptor() ([]byte, []int)
Deprecated: Use Config_Complex.ProtoReflect.Descriptor instead.
func (*Config_Complex) GetMessageVals ¶
func (x *Config_Complex) GetMessageVals() map[string][]byte
func (*Config_Complex) ProtoMessage ¶
func (*Config_Complex) ProtoMessage()
func (*Config_Complex) ProtoReflect ¶
func (x *Config_Complex) ProtoReflect() protoreflect.Message
func (*Config_Complex) Reset ¶
func (x *Config_Complex) Reset()
func (*Config_Complex) String ¶
func (x *Config_Complex) String() string
type Config_Update ¶
type Config_Update struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Val: // *Config_Update_StringVal // *Config_Update_BoolVal // *Config_Update_Float64Val // *Config_Update_ComplexVal Val isConfig_Update_Val `protobuf_oneof:"val"` // contains filtered or unexported fields }
func (*Config_Update) Descriptor
deprecated
func (*Config_Update) Descriptor() ([]byte, []int)
Deprecated: Use Config_Update.ProtoReflect.Descriptor instead.
func (*Config_Update) GetBoolVal ¶
func (x *Config_Update) GetBoolVal() bool
func (*Config_Update) GetComplexVal ¶
func (x *Config_Update) GetComplexVal() *Config_Complex
func (*Config_Update) GetFloat64Val ¶
func (x *Config_Update) GetFloat64Val() float64
func (*Config_Update) GetKey ¶
func (x *Config_Update) GetKey() string
func (*Config_Update) GetStringVal ¶
func (x *Config_Update) GetStringVal() string
func (*Config_Update) GetVal ¶
func (m *Config_Update) GetVal() isConfig_Update_Val
func (*Config_Update) ProtoMessage ¶
func (*Config_Update) ProtoMessage()
func (*Config_Update) ProtoReflect ¶
func (x *Config_Update) ProtoReflect() protoreflect.Message
func (*Config_Update) Reset ¶
func (x *Config_Update) Reset()
func (*Config_Update) String ¶
func (x *Config_Update) String() string
type Config_Update_BoolVal ¶
type Config_Update_BoolVal struct {
BoolVal bool `protobuf:"varint,3,opt,name=bool_val,json=boolVal,proto3,oneof"`
}
type Config_Update_ComplexVal ¶
type Config_Update_ComplexVal struct {
ComplexVal *Config_Complex `protobuf:"bytes,6,opt,name=complex_val,json=complexVal,proto3,oneof"`
}
type Config_Update_Float64Val ¶
type Config_Update_Float64Val struct {
Float64Val float64 `protobuf:"fixed64,4,opt,name=float64_val,json=float64Val,proto3,oneof"`
}
type Config_Update_StringVal ¶
type Config_Update_StringVal struct {
StringVal string `protobuf:"bytes,2,opt,name=string_val,json=stringVal,proto3,oneof"`
}
type ConsumerDirective ¶
type ConsumerDirective struct { Program *Program `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"` // contains filtered or unexported fields }
func (*ConsumerDirective) Descriptor
deprecated
func (*ConsumerDirective) Descriptor() ([]byte, []int)
Deprecated: Use ConsumerDirective.ProtoReflect.Descriptor instead.
func (*ConsumerDirective) GetProgram ¶
func (x *ConsumerDirective) GetProgram() *Program
func (*ConsumerDirective) ProtoMessage ¶
func (*ConsumerDirective) ProtoMessage()
func (*ConsumerDirective) ProtoReflect ¶
func (x *ConsumerDirective) ProtoReflect() protoreflect.Message
func (*ConsumerDirective) Reset ¶
func (x *ConsumerDirective) Reset()
func (*ConsumerDirective) String ¶
func (x *ConsumerDirective) String() string
type DecodeInstanceArgs ¶
type DecodeInstanceArgs struct { Concern string `protobuf:"bytes,1,opt,name=concern,proto3" json:"concern,omitempty"` Payload64 string `protobuf:"bytes,2,opt,name=payload64,proto3" json:"payload64,omitempty"` // contains filtered or unexported fields }
func (*DecodeInstanceArgs) Descriptor
deprecated
func (*DecodeInstanceArgs) Descriptor() ([]byte, []int)
Deprecated: Use DecodeInstanceArgs.ProtoReflect.Descriptor instead.
func (*DecodeInstanceArgs) GetConcern ¶
func (x *DecodeInstanceArgs) GetConcern() string
func (*DecodeInstanceArgs) GetPayload64 ¶
func (x *DecodeInstanceArgs) GetPayload64() string
func (*DecodeInstanceArgs) ProtoMessage ¶
func (*DecodeInstanceArgs) ProtoMessage()
func (*DecodeInstanceArgs) ProtoReflect ¶
func (x *DecodeInstanceArgs) ProtoReflect() protoreflect.Message
func (*DecodeInstanceArgs) Reset ¶
func (x *DecodeInstanceArgs) Reset()
func (*DecodeInstanceArgs) String ¶
func (x *DecodeInstanceArgs) String() string
type DecodePayloadArgs ¶
type DecodePayloadArgs struct { Concern string `protobuf:"bytes,1,opt,name=concern,proto3" json:"concern,omitempty"` System System `protobuf:"varint,2,opt,name=system,proto3,enum=rkcy.System" json:"system,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` Payload64 string `protobuf:"bytes,4,opt,name=payload64,proto3" json:"payload64,omitempty"` // contains filtered or unexported fields }
func (*DecodePayloadArgs) Descriptor
deprecated
func (*DecodePayloadArgs) Descriptor() ([]byte, []int)
Deprecated: Use DecodePayloadArgs.ProtoReflect.Descriptor instead.
func (*DecodePayloadArgs) GetCommand ¶
func (x *DecodePayloadArgs) GetCommand() string
func (*DecodePayloadArgs) GetConcern ¶
func (x *DecodePayloadArgs) GetConcern() string
func (*DecodePayloadArgs) GetPayload64 ¶
func (x *DecodePayloadArgs) GetPayload64() string
func (*DecodePayloadArgs) GetSystem ¶
func (x *DecodePayloadArgs) GetSystem() System
func (*DecodePayloadArgs) ProtoMessage ¶
func (*DecodePayloadArgs) ProtoMessage()
func (*DecodePayloadArgs) ProtoReflect ¶
func (x *DecodePayloadArgs) ProtoReflect() protoreflect.Message
func (*DecodePayloadArgs) Reset ¶
func (x *DecodePayloadArgs) Reset()
func (*DecodePayloadArgs) String ¶
func (x *DecodePayloadArgs) String() string
type DecodeResponse ¶
type DecodeResponse struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` Related string `protobuf:"bytes,3,opt,name=related,proto3" json:"related,omitempty"` // contains filtered or unexported fields }
func (*DecodeResponse) Descriptor
deprecated
func (*DecodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecodeResponse.ProtoReflect.Descriptor instead.
func (*DecodeResponse) GetInstance ¶
func (x *DecodeResponse) GetInstance() string
func (*DecodeResponse) GetRelated ¶
func (x *DecodeResponse) GetRelated() string
func (*DecodeResponse) GetType ¶
func (x *DecodeResponse) GetType() string
func (*DecodeResponse) ProtoMessage ¶
func (*DecodeResponse) ProtoMessage()
func (*DecodeResponse) ProtoReflect ¶
func (x *DecodeResponse) ProtoReflect() protoreflect.Message
func (*DecodeResponse) Reset ¶
func (x *DecodeResponse) Reset()
func (*DecodeResponse) String ¶
func (x *DecodeResponse) String() string
type Direction ¶
type Direction int32
func (Direction) Descriptor ¶
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
func (Direction) Number ¶
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶
func (Direction) Type() protoreflect.EnumType
type Directive ¶
type Directive int32
Type implies what topics will be present
const ( Directive_UNSPECIFIED Directive = 0 Directive_PLATFORM Directive = 65536 Directive_PRODUCER Directive = 131072 Directive_PRODUCER_STATUS Directive = 131073 Directive_PRODUCER_RUN Directive = 131074 Directive_PRODUCER_RUNNING Directive = 131076 Directive_PRODUCER_PAUSE Directive = 131080 Directive_PRODUCER_PAUSED Directive = 131088 Directive_CONSUMER Directive = 262144 Directive_CONSUMER_START Directive = 262145 Directive_CONSUMER_STARTED Directive = 262146 Directive_CONSUMER_STOP Directive = 262148 Directive_CONSUMER_STOPPED Directive = 262152 Directive_APECS_TXN Directive = 524288 Directive_CONFIG Directive = 1048576 Directive_CONFIG_PUBLISH Directive = 1048577 Directive_CONFIG_UPDATE Directive = 1048578 Directive_CONCERN_ADMIN Directive = 2097152 Directive_CONCERN_ADMIN_READY Directive = 2097153 Directive_CONCERN_ADMIN_CANCEL_TXN Directive = 2097154 Directive_ALL Directive = -1 )
func (Directive) Descriptor ¶
func (Directive) Descriptor() protoreflect.EnumDescriptor
func (Directive) EnumDescriptor
deprecated
func (Directive) Number ¶
func (x Directive) Number() protoreflect.EnumNumber
func (Directive) Type ¶
func (Directive) Type() protoreflect.EnumType
type LogEvent ¶
type LogEvent struct { Sev Severity `protobuf:"varint,1,opt,name=sev,proto3,enum=rkcy.Severity" json:"sev,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*LogEvent) Descriptor
deprecated
func (*LogEvent) ProtoMessage ¶
func (*LogEvent) ProtoMessage()
func (*LogEvent) ProtoReflect ¶
func (x *LogEvent) ProtoReflect() protoreflect.Message
type PlatformDef ¶
type PlatformDef struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` Concerns []*Concern `protobuf:"bytes,3,rep,name=concerns,proto3" json:"concerns,omitempty"` Clusters []*Cluster `protobuf:"bytes,4,rep,name=clusters,proto3" json:"clusters,omitempty"` StorageTargets []*StorageTarget `protobuf:"bytes,5,rep,name=storage_targets,json=storageTargets,proto3" json:"storage_targets,omitempty"` UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*PlatformDef) Descriptor
deprecated
func (*PlatformDef) Descriptor() ([]byte, []int)
Deprecated: Use PlatformDef.ProtoReflect.Descriptor instead.
func (*PlatformDef) GetClusters ¶
func (x *PlatformDef) GetClusters() []*Cluster
func (*PlatformDef) GetConcerns ¶
func (x *PlatformDef) GetConcerns() []*Concern
func (*PlatformDef) GetEnvironment ¶
func (x *PlatformDef) GetEnvironment() string
func (*PlatformDef) GetName ¶
func (x *PlatformDef) GetName() string
func (*PlatformDef) GetStorageTargets ¶
func (x *PlatformDef) GetStorageTargets() []*StorageTarget
func (*PlatformDef) GetUpdateTime ¶
func (x *PlatformDef) GetUpdateTime() *timestamppb.Timestamp
func (*PlatformDef) ProtoMessage ¶
func (*PlatformDef) ProtoMessage()
func (*PlatformDef) ProtoReflect ¶
func (x *PlatformDef) ProtoReflect() protoreflect.Message
func (*PlatformDef) Reset ¶
func (x *PlatformDef) Reset()
func (*PlatformDef) String ¶
func (x *PlatformDef) String() string
type PortalServiceClient ¶
type PortalServiceClient interface { PlatformDef(ctx context.Context, in *Void, opts ...grpc.CallOption) (*PlatformDef, error) ConfigRead(ctx context.Context, in *Void, opts ...grpc.CallOption) (*ConfigReadResponse, error) DecodeInstance(ctx context.Context, in *DecodeInstanceArgs, opts ...grpc.CallOption) (*DecodeResponse, error) DecodeArgPayload(ctx context.Context, in *DecodePayloadArgs, opts ...grpc.CallOption) (*DecodeResponse, error) DecodeResultPayload(ctx context.Context, in *DecodePayloadArgs, opts ...grpc.CallOption) (*DecodeResponse, error) CancelTxn(ctx context.Context, in *CancelTxnRequest, opts ...grpc.CallOption) (*Void, error) }
PortalServiceClient is the client API for PortalService 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 NewPortalServiceClient ¶
func NewPortalServiceClient(cc grpc.ClientConnInterface) PortalServiceClient
type PortalServiceServer ¶
type PortalServiceServer interface { PlatformDef(context.Context, *Void) (*PlatformDef, error) ConfigRead(context.Context, *Void) (*ConfigReadResponse, error) DecodeInstance(context.Context, *DecodeInstanceArgs) (*DecodeResponse, error) DecodeArgPayload(context.Context, *DecodePayloadArgs) (*DecodeResponse, error) DecodeResultPayload(context.Context, *DecodePayloadArgs) (*DecodeResponse, error) CancelTxn(context.Context, *CancelTxnRequest) (*Void, error) // contains filtered or unexported methods }
PortalServiceServer is the server API for PortalService service. All implementations must embed UnimplementedPortalServiceServer for forward compatibility
type ProducerDirective ¶
type ProducerDirective struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Brokers string `protobuf:"bytes,2,opt,name=brokers,proto3" json:"brokers,omitempty"` ConcernName string `protobuf:"bytes,3,opt,name=concern_name,json=concernName,proto3" json:"concern_name,omitempty"` ConcernType Concern_Type `protobuf:"varint,4,opt,name=concern_type,json=concernType,proto3,enum=rkcy.Concern_Type" json:"concern_type,omitempty"` Topic string `protobuf:"bytes,5,opt,name=topic,proto3" json:"topic,omitempty"` Generation int32 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` // contains filtered or unexported fields }
func (*ProducerDirective) Descriptor
deprecated
func (*ProducerDirective) Descriptor() ([]byte, []int)
Deprecated: Use ProducerDirective.ProtoReflect.Descriptor instead.
func (*ProducerDirective) GetBrokers ¶
func (x *ProducerDirective) GetBrokers() string
func (*ProducerDirective) GetConcernName ¶
func (x *ProducerDirective) GetConcernName() string
func (*ProducerDirective) GetConcernType ¶
func (x *ProducerDirective) GetConcernType() Concern_Type
func (*ProducerDirective) GetGeneration ¶
func (x *ProducerDirective) GetGeneration() int32
func (*ProducerDirective) GetId ¶
func (x *ProducerDirective) GetId() string
func (*ProducerDirective) GetTopic ¶
func (x *ProducerDirective) GetTopic() string
func (*ProducerDirective) ProtoMessage ¶
func (*ProducerDirective) ProtoMessage()
func (*ProducerDirective) ProtoReflect ¶
func (x *ProducerDirective) ProtoReflect() protoreflect.Message
func (*ProducerDirective) Reset ¶
func (x *ProducerDirective) Reset()
func (*ProducerDirective) String ¶
func (x *ProducerDirective) String() string
type Program ¶
type Program struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Abbrev string `protobuf:"bytes,3,opt,name=abbrev,proto3" json:"abbrev,omitempty"` Tags map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Program) Descriptor
deprecated
func (*Program) ProtoMessage ¶
func (*Program) ProtoMessage()
func (*Program) ProtoReflect ¶
func (x *Program) ProtoReflect() protoreflect.Message
type RelatedRequest ¶
type RelatedRequest struct { Concern string `protobuf:"bytes,1,opt,name=concern,proto3" json:"concern,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*RelatedRequest) Descriptor
deprecated
func (*RelatedRequest) Descriptor() ([]byte, []int)
Deprecated: Use RelatedRequest.ProtoReflect.Descriptor instead.
func (*RelatedRequest) GetConcern ¶
func (x *RelatedRequest) GetConcern() string
func (*RelatedRequest) GetField ¶
func (x *RelatedRequest) GetField() string
func (*RelatedRequest) GetKey ¶
func (x *RelatedRequest) GetKey() string
func (*RelatedRequest) GetPayload ¶
func (x *RelatedRequest) GetPayload() []byte
func (*RelatedRequest) ProtoMessage ¶
func (*RelatedRequest) ProtoMessage()
func (*RelatedRequest) ProtoReflect ¶
func (x *RelatedRequest) ProtoReflect() protoreflect.Message
func (*RelatedRequest) Reset ¶
func (x *RelatedRequest) Reset()
func (*RelatedRequest) String ¶
func (x *RelatedRequest) String() string
type RelatedResponse ¶
type RelatedResponse struct { Concern string `protobuf:"bytes,1,opt,name=concern,proto3" json:"concern,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*RelatedResponse) Descriptor
deprecated
func (*RelatedResponse) Descriptor() ([]byte, []int)
Deprecated: Use RelatedResponse.ProtoReflect.Descriptor instead.
func (*RelatedResponse) GetConcern ¶
func (x *RelatedResponse) GetConcern() string
func (*RelatedResponse) GetField ¶
func (x *RelatedResponse) GetField() string
func (*RelatedResponse) GetPayload ¶
func (x *RelatedResponse) GetPayload() []byte
func (*RelatedResponse) ProtoMessage ¶
func (*RelatedResponse) ProtoMessage()
func (*RelatedResponse) ProtoReflect ¶
func (x *RelatedResponse) ProtoReflect() protoreflect.Message
func (*RelatedResponse) Reset ¶
func (x *RelatedResponse) Reset()
func (*RelatedResponse) String ¶
func (x *RelatedResponse) String() string
type Relation ¶
type Relation struct { IdField string `protobuf:"bytes,1,opt,name=id_field,json=idField,proto3" json:"id_field,omitempty"` RelField string `protobuf:"bytes,2,opt,name=rel_field,json=relField,proto3" json:"rel_field,omitempty"` PairedWith string `protobuf:"bytes,3,opt,name=paired_with,json=pairedWith,proto3" json:"paired_with,omitempty"` // contains filtered or unexported fields }
func (*Relation) Descriptor
deprecated
func (*Relation) GetIdField ¶
func (*Relation) GetPairedWith ¶
func (*Relation) GetRelField ¶
func (*Relation) ProtoMessage ¶
func (*Relation) ProtoMessage()
func (*Relation) ProtoReflect ¶
func (x *Relation) ProtoReflect() protoreflect.Message
type Severity ¶
type Severity int32
func (Severity) Descriptor ¶
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
func (Severity) Number ¶
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶
func (Severity) Type() protoreflect.EnumType
type StorageTarget ¶
type StorageTarget struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` IsPrimary bool `protobuf:"varint,3,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"` Config map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StorageTarget) Descriptor
deprecated
func (*StorageTarget) Descriptor() ([]byte, []int)
Deprecated: Use StorageTarget.ProtoReflect.Descriptor instead.
func (*StorageTarget) GetConfig ¶
func (x *StorageTarget) GetConfig() map[string]string
func (*StorageTarget) GetIsPrimary ¶
func (x *StorageTarget) GetIsPrimary() bool
func (*StorageTarget) GetName ¶
func (x *StorageTarget) GetName() string
func (*StorageTarget) GetType ¶
func (x *StorageTarget) GetType() string
func (*StorageTarget) ProtoMessage ¶
func (*StorageTarget) ProtoMessage()
func (*StorageTarget) ProtoReflect ¶
func (x *StorageTarget) ProtoReflect() protoreflect.Message
func (*StorageTarget) Reset ¶
func (x *StorageTarget) Reset()
func (*StorageTarget) String ¶
func (x *StorageTarget) String() string
type System ¶
type System int32
func (System) Descriptor ¶
func (System) Descriptor() protoreflect.EnumDescriptor
func (System) EnumDescriptor
deprecated
func (System) Number ¶
func (x System) Number() protoreflect.EnumNumber
func (System) Type ¶
func (System) Type() protoreflect.EnumType
type TopicTarget ¶
type TopicTarget struct { Brokers string `protobuf:"bytes,1,opt,name=brokers,proto3" json:"brokers,omitempty"` Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` Partition int32 `protobuf:"varint,3,opt,name=partition,proto3" json:"partition,omitempty"` // contains filtered or unexported fields }
func (*TopicTarget) Descriptor
deprecated
func (*TopicTarget) Descriptor() ([]byte, []int)
Deprecated: Use TopicTarget.ProtoReflect.Descriptor instead.
func (*TopicTarget) GetBrokers ¶
func (x *TopicTarget) GetBrokers() string
func (*TopicTarget) GetPartition ¶
func (x *TopicTarget) GetPartition() int32
func (*TopicTarget) GetTopic ¶
func (x *TopicTarget) GetTopic() string
func (*TopicTarget) ProtoMessage ¶
func (*TopicTarget) ProtoMessage()
func (*TopicTarget) ProtoReflect ¶
func (x *TopicTarget) ProtoReflect() protoreflect.Message
func (*TopicTarget) Reset ¶
func (x *TopicTarget) Reset()
func (*TopicTarget) String ¶
func (x *TopicTarget) String() string
type TrackedProducers ¶
type TrackedProducers struct { TopicProducers []*TrackedProducers_ProducerInfo `protobuf:"bytes,1,rep,name=topic_producers,json=topicProducers,proto3" json:"topic_producers,omitempty"` // contains filtered or unexported fields }
func (*TrackedProducers) Descriptor
deprecated
func (*TrackedProducers) Descriptor() ([]byte, []int)
Deprecated: Use TrackedProducers.ProtoReflect.Descriptor instead.
func (*TrackedProducers) GetTopicProducers ¶
func (x *TrackedProducers) GetTopicProducers() []*TrackedProducers_ProducerInfo
func (*TrackedProducers) ProtoMessage ¶
func (*TrackedProducers) ProtoMessage()
func (*TrackedProducers) ProtoReflect ¶
func (x *TrackedProducers) ProtoReflect() protoreflect.Message
func (*TrackedProducers) Reset ¶
func (x *TrackedProducers) Reset()
func (*TrackedProducers) String ¶
func (x *TrackedProducers) String() string
type TrackedProducers_ProducerInfo ¶
type TrackedProducers_ProducerInfo struct { Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` TimeSinceUpdate string `protobuf:"bytes,3,opt,name=time_since_update,json=timeSinceUpdate,proto3" json:"time_since_update,omitempty"` // contains filtered or unexported fields }
func (*TrackedProducers_ProducerInfo) Descriptor
deprecated
func (*TrackedProducers_ProducerInfo) Descriptor() ([]byte, []int)
Deprecated: Use TrackedProducers_ProducerInfo.ProtoReflect.Descriptor instead.
func (*TrackedProducers_ProducerInfo) GetId ¶
func (x *TrackedProducers_ProducerInfo) GetId() string
func (*TrackedProducers_ProducerInfo) GetTimeSinceUpdate ¶
func (x *TrackedProducers_ProducerInfo) GetTimeSinceUpdate() string
func (*TrackedProducers_ProducerInfo) GetTopic ¶
func (x *TrackedProducers_ProducerInfo) GetTopic() string
func (*TrackedProducers_ProducerInfo) ProtoMessage ¶
func (*TrackedProducers_ProducerInfo) ProtoMessage()
func (*TrackedProducers_ProducerInfo) ProtoReflect ¶
func (x *TrackedProducers_ProducerInfo) ProtoReflect() protoreflect.Message
func (*TrackedProducers_ProducerInfo) Reset ¶
func (x *TrackedProducers_ProducerInfo) Reset()
func (*TrackedProducers_ProducerInfo) String ¶
func (x *TrackedProducers_ProducerInfo) String() string
type UnimplementedPortalServiceServer ¶
type UnimplementedPortalServiceServer struct { }
UnimplementedPortalServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPortalServiceServer) CancelTxn ¶
func (UnimplementedPortalServiceServer) CancelTxn(context.Context, *CancelTxnRequest) (*Void, error)
func (UnimplementedPortalServiceServer) ConfigRead ¶
func (UnimplementedPortalServiceServer) ConfigRead(context.Context, *Void) (*ConfigReadResponse, error)
func (UnimplementedPortalServiceServer) DecodeArgPayload ¶
func (UnimplementedPortalServiceServer) DecodeArgPayload(context.Context, *DecodePayloadArgs) (*DecodeResponse, error)
func (UnimplementedPortalServiceServer) DecodeInstance ¶
func (UnimplementedPortalServiceServer) DecodeInstance(context.Context, *DecodeInstanceArgs) (*DecodeResponse, error)
func (UnimplementedPortalServiceServer) DecodeResultPayload ¶
func (UnimplementedPortalServiceServer) DecodeResultPayload(context.Context, *DecodePayloadArgs) (*DecodeResponse, error)
func (UnimplementedPortalServiceServer) PlatformDef ¶
func (UnimplementedPortalServiceServer) PlatformDef(context.Context, *Void) (*PlatformDef, error)
type UnsafePortalServiceServer ¶
type UnsafePortalServiceServer interface {
// contains filtered or unexported methods
}
UnsafePortalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PortalServiceServer will result in compilation errors.
type UponError ¶
type UponError int32
func (UponError) Descriptor ¶
func (UponError) Descriptor() protoreflect.EnumDescriptor
func (UponError) EnumDescriptor
deprecated
func (UponError) Number ¶
func (x UponError) Number() protoreflect.EnumNumber
func (UponError) Type ¶
func (UponError) Type() protoreflect.EnumType
type Void ¶
type Void struct {
// contains filtered or unexported fields
}
Convenience empty message for services that return or accept no data
func (*Void) Descriptor
deprecated
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) ProtoReflect ¶
func (x *Void) ProtoReflect() protoreflect.Message