Documentation
¶
Index ¶
- Variables
- func RegisterOomAgentServer(s grpc.ServiceRegistrar, srv OomAgentServer)
- type ChannelExportRequest
- func (*ChannelExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelExportRequest) GetFeatureNames() []string
- func (x *ChannelExportRequest) GetLimit() uint64
- func (x *ChannelExportRequest) GetRevisionId() int32
- func (*ChannelExportRequest) ProtoMessage()
- func (x *ChannelExportRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelExportRequest) Reset()
- func (x *ChannelExportRequest) String() string
- type ChannelExportResponse
- func (*ChannelExportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelExportResponse) GetHeader() []string
- func (x *ChannelExportResponse) GetRow() []*Value
- func (x *ChannelExportResponse) GetStatus() *status.Status
- func (*ChannelExportResponse) ProtoMessage()
- func (x *ChannelExportResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelExportResponse) Reset()
- func (x *ChannelExportResponse) String() string
- type ChannelImportRequest
- func (*ChannelImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelImportRequest) GetDescription() string
- func (x *ChannelImportRequest) GetGroupName() string
- func (x *ChannelImportRequest) GetRevision() int64
- func (x *ChannelImportRequest) GetRow() []byte
- func (*ChannelImportRequest) ProtoMessage()
- func (x *ChannelImportRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelImportRequest) Reset()
- func (x *ChannelImportRequest) String() string
- type ChannelJoinRequest
- func (*ChannelJoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelJoinRequest) GetEntityRow() *EntityRow
- func (x *ChannelJoinRequest) GetFeatureFullNames() []string
- func (x *ChannelJoinRequest) GetValueNames() []string
- func (*ChannelJoinRequest) ProtoMessage()
- func (x *ChannelJoinRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelJoinRequest) Reset()
- func (x *ChannelJoinRequest) String() string
- type ChannelJoinResponse
- func (*ChannelJoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelJoinResponse) GetHeader() []string
- func (x *ChannelJoinResponse) GetJoinedRow() []*Value
- func (x *ChannelJoinResponse) GetStatus() *status.Status
- func (*ChannelJoinResponse) ProtoMessage()
- func (x *ChannelJoinResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelJoinResponse) Reset()
- func (x *ChannelJoinResponse) String() string
- type EntityRow
- func (*EntityRow) Descriptor() ([]byte, []int)deprecated
- func (x *EntityRow) GetEntityKey() string
- func (x *EntityRow) GetUnixMilli() int64
- func (x *EntityRow) GetValues() []string
- func (*EntityRow) ProtoMessage()
- func (x *EntityRow) ProtoReflect() protoreflect.Message
- func (x *EntityRow) Reset()
- func (x *EntityRow) String() string
- type ExportRequest
- func (*ExportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportRequest) GetFeatureNames() []string
- func (x *ExportRequest) GetLimit() uint64
- func (x *ExportRequest) GetOutputFilePath() string
- func (x *ExportRequest) GetRevisionId() int32
- func (*ExportRequest) ProtoMessage()
- func (x *ExportRequest) ProtoReflect() protoreflect.Message
- func (x *ExportRequest) Reset()
- func (x *ExportRequest) String() string
- type ExportResponse
- type FeatureValueMap
- type HealthCheckRequest
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() *status.Status
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type ImportRequest
- func (*ImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportRequest) GetDelimiter() string
- func (x *ImportRequest) GetDescription() string
- func (x *ImportRequest) GetGroupName() string
- func (x *ImportRequest) GetInputFilePath() string
- func (x *ImportRequest) GetRevision() int64
- func (*ImportRequest) ProtoMessage()
- func (x *ImportRequest) ProtoReflect() protoreflect.Message
- func (x *ImportRequest) Reset()
- func (x *ImportRequest) String() string
- type ImportResponse
- func (*ImportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportResponse) GetRevisionId() int64
- func (x *ImportResponse) GetStatus() *status.Status
- func (*ImportResponse) ProtoMessage()
- func (x *ImportResponse) ProtoReflect() protoreflect.Message
- func (x *ImportResponse) Reset()
- func (x *ImportResponse) String() string
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetFeatureFullNames() []string
- func (x *JoinRequest) GetInputFilePath() string
- func (x *JoinRequest) GetOutputFilePath() string
- func (*JoinRequest) ProtoMessage()
- func (x *JoinRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRequest) Reset()
- func (x *JoinRequest) String() string
- type JoinResponse
- type OnlineGetRequest
- func (*OnlineGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineGetRequest) GetEntityKey() string
- func (x *OnlineGetRequest) GetFeatureFullNames() []string
- func (*OnlineGetRequest) ProtoMessage()
- func (x *OnlineGetRequest) ProtoReflect() protoreflect.Message
- func (x *OnlineGetRequest) Reset()
- func (x *OnlineGetRequest) String() string
- type OnlineGetResponse
- func (*OnlineGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineGetResponse) GetResult() *FeatureValueMap
- func (x *OnlineGetResponse) GetStatus() *status.Status
- func (*OnlineGetResponse) ProtoMessage()
- func (x *OnlineGetResponse) ProtoReflect() protoreflect.Message
- func (x *OnlineGetResponse) Reset()
- func (x *OnlineGetResponse) String() string
- type OnlineMultiGetRequest
- func (*OnlineMultiGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineMultiGetRequest) GetEntityKeys() []string
- func (x *OnlineMultiGetRequest) GetFeatureFullNames() []string
- func (*OnlineMultiGetRequest) ProtoMessage()
- func (x *OnlineMultiGetRequest) ProtoReflect() protoreflect.Message
- func (x *OnlineMultiGetRequest) Reset()
- func (x *OnlineMultiGetRequest) String() string
- type OnlineMultiGetResponse
- func (*OnlineMultiGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineMultiGetResponse) GetResult() map[string]*FeatureValueMap
- func (x *OnlineMultiGetResponse) GetStatus() *status.Status
- func (*OnlineMultiGetResponse) ProtoMessage()
- func (x *OnlineMultiGetResponse) ProtoReflect() protoreflect.Message
- func (x *OnlineMultiGetResponse) Reset()
- func (x *OnlineMultiGetResponse) String() string
- type OomAgentClient
- type OomAgentServer
- type OomAgent_ChannelExportClient
- type OomAgent_ChannelExportServer
- type OomAgent_ChannelImportClient
- type OomAgent_ChannelImportServer
- type OomAgent_ChannelJoinClient
- type OomAgent_ChannelJoinServer
- type SyncRequest
- func (*SyncRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncRequest) GetPurgeDelay() int32
- func (x *SyncRequest) GetRevisionId() int32
- func (*SyncRequest) ProtoMessage()
- func (x *SyncRequest) ProtoReflect() protoreflect.Message
- func (x *SyncRequest) Reset()
- func (x *SyncRequest) String() string
- type SyncResponse
- type UnimplementedOomAgentServer
- func (UnimplementedOomAgentServer) ChannelExport(*ChannelExportRequest, OomAgent_ChannelExportServer) error
- func (UnimplementedOomAgentServer) ChannelImport(OomAgent_ChannelImportServer) error
- func (UnimplementedOomAgentServer) ChannelJoin(OomAgent_ChannelJoinServer) error
- func (UnimplementedOomAgentServer) Export(context.Context, *ExportRequest) (*ExportResponse, error)
- func (UnimplementedOomAgentServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (UnimplementedOomAgentServer) Import(context.Context, *ImportRequest) (*ImportResponse, error)
- func (UnimplementedOomAgentServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
- func (UnimplementedOomAgentServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
- func (UnimplementedOomAgentServer) OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
- func (UnimplementedOomAgentServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
- type UnsafeOomAgentServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() []byte
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetInt64Value() int64
- func (m *Value) GetKind() isValue_Kind
- func (x *Value) GetNullValue() structpb.NullValue
- func (x *Value) GetStringValue() string
- func (x *Value) GetUnixMilliValue() int64
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_BoolValue
- type Value_BytesValue
- type Value_DoubleValue
- type Value_Int64Value
- type Value_NullValue
- type Value_StringValue
- type Value_UnixMilliValue
Constants ¶
This section is empty.
Variables ¶
var File_oomagent_proto protoreflect.FileDescriptor
var OomAgent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "oomagent.OomAgent", HandlerType: (*OomAgentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OnlineGet", Handler: _OomAgent_OnlineGet_Handler, }, { MethodName: "OnlineMultiGet", Handler: _OomAgent_OnlineMultiGet_Handler, }, { MethodName: "Sync", Handler: _OomAgent_Sync_Handler, }, { MethodName: "Import", Handler: _OomAgent_Import_Handler, }, { MethodName: "Join", Handler: _OomAgent_Join_Handler, }, { MethodName: "Export", Handler: _OomAgent_Export_Handler, }, { MethodName: "HealthCheck", Handler: _OomAgent_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ChannelImport", Handler: _OomAgent_ChannelImport_Handler, ClientStreams: true, }, { StreamName: "ChannelJoin", Handler: _OomAgent_ChannelJoin_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "ChannelExport", Handler: _OomAgent_ChannelExport_Handler, ServerStreams: true, }, }, Metadata: "oomagent.proto", }
OomAgent_ServiceDesc is the grpc.ServiceDesc for OomAgent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOomAgentServer ¶
func RegisterOomAgentServer(s grpc.ServiceRegistrar, srv OomAgentServer)
Types ¶
type ChannelExportRequest ¶
type ChannelExportRequest struct {
FeatureNames []string `protobuf:"bytes,1,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
RevisionId int32 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelExportRequest) Descriptor
deprecated
func (*ChannelExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelExportRequest.ProtoReflect.Descriptor instead.
func (*ChannelExportRequest) GetFeatureNames ¶
func (x *ChannelExportRequest) GetFeatureNames() []string
func (*ChannelExportRequest) GetLimit ¶
func (x *ChannelExportRequest) GetLimit() uint64
func (*ChannelExportRequest) GetRevisionId ¶
func (x *ChannelExportRequest) GetRevisionId() int32
func (*ChannelExportRequest) ProtoMessage ¶
func (*ChannelExportRequest) ProtoMessage()
func (*ChannelExportRequest) ProtoReflect ¶
func (x *ChannelExportRequest) ProtoReflect() protoreflect.Message
func (*ChannelExportRequest) Reset ¶
func (x *ChannelExportRequest) Reset()
func (*ChannelExportRequest) String ¶
func (x *ChannelExportRequest) String() string
type ChannelExportResponse ¶
type ChannelExportResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Header []string `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty"`
Row []*Value `protobuf:"bytes,3,rep,name=row,proto3" json:"row,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelExportResponse) Descriptor
deprecated
func (*ChannelExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelExportResponse.ProtoReflect.Descriptor instead.
func (*ChannelExportResponse) GetHeader ¶
func (x *ChannelExportResponse) GetHeader() []string
func (*ChannelExportResponse) GetRow ¶
func (x *ChannelExportResponse) GetRow() []*Value
func (*ChannelExportResponse) GetStatus ¶
func (x *ChannelExportResponse) GetStatus() *status.Status
func (*ChannelExportResponse) ProtoMessage ¶
func (*ChannelExportResponse) ProtoMessage()
func (*ChannelExportResponse) ProtoReflect ¶
func (x *ChannelExportResponse) ProtoReflect() protoreflect.Message
func (*ChannelExportResponse) Reset ¶
func (x *ChannelExportResponse) Reset()
func (*ChannelExportResponse) String ¶
func (x *ChannelExportResponse) String() string
type ChannelImportRequest ¶
type ChannelImportRequest struct {
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Revision *int64 `protobuf:"varint,3,opt,name=revision,proto3,oneof" json:"revision,omitempty"`
Row []byte `protobuf:"bytes,4,opt,name=row,proto3" json:"row,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelImportRequest) Descriptor
deprecated
func (*ChannelImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelImportRequest.ProtoReflect.Descriptor instead.
func (*ChannelImportRequest) GetDescription ¶
func (x *ChannelImportRequest) GetDescription() string
func (*ChannelImportRequest) GetGroupName ¶
func (x *ChannelImportRequest) GetGroupName() string
func (*ChannelImportRequest) GetRevision ¶
func (x *ChannelImportRequest) GetRevision() int64
func (*ChannelImportRequest) GetRow ¶
func (x *ChannelImportRequest) GetRow() []byte
func (*ChannelImportRequest) ProtoMessage ¶
func (*ChannelImportRequest) ProtoMessage()
func (*ChannelImportRequest) ProtoReflect ¶
func (x *ChannelImportRequest) ProtoReflect() protoreflect.Message
func (*ChannelImportRequest) Reset ¶
func (x *ChannelImportRequest) Reset()
func (*ChannelImportRequest) String ¶
func (x *ChannelImportRequest) String() string
type ChannelJoinRequest ¶
type ChannelJoinRequest struct {
FeatureFullNames []string `protobuf:"bytes,1,rep,name=feature_full_names,json=featureFullNames,proto3" json:"feature_full_names,omitempty"`
EntityRow *EntityRow `protobuf:"bytes,2,opt,name=entity_row,json=entityRow,proto3" json:"entity_row,omitempty"`
ValueNames []string `protobuf:"bytes,3,rep,name=value_names,json=valueNames,proto3" json:"value_names,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelJoinRequest) Descriptor
deprecated
func (*ChannelJoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelJoinRequest.ProtoReflect.Descriptor instead.
func (*ChannelJoinRequest) GetEntityRow ¶
func (x *ChannelJoinRequest) GetEntityRow() *EntityRow
func (*ChannelJoinRequest) GetFeatureFullNames ¶
func (x *ChannelJoinRequest) GetFeatureFullNames() []string
func (*ChannelJoinRequest) GetValueNames ¶
func (x *ChannelJoinRequest) GetValueNames() []string
func (*ChannelJoinRequest) ProtoMessage ¶
func (*ChannelJoinRequest) ProtoMessage()
func (*ChannelJoinRequest) ProtoReflect ¶
func (x *ChannelJoinRequest) ProtoReflect() protoreflect.Message
func (*ChannelJoinRequest) Reset ¶
func (x *ChannelJoinRequest) Reset()
func (*ChannelJoinRequest) String ¶
func (x *ChannelJoinRequest) String() string
type ChannelJoinResponse ¶
type ChannelJoinResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Header []string `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty"`
JoinedRow []*Value `protobuf:"bytes,3,rep,name=joined_row,json=joinedRow,proto3" json:"joined_row,omitempty"`
// contains filtered or unexported fields
}
func (*ChannelJoinResponse) Descriptor
deprecated
func (*ChannelJoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelJoinResponse.ProtoReflect.Descriptor instead.
func (*ChannelJoinResponse) GetHeader ¶
func (x *ChannelJoinResponse) GetHeader() []string
func (*ChannelJoinResponse) GetJoinedRow ¶
func (x *ChannelJoinResponse) GetJoinedRow() []*Value
func (*ChannelJoinResponse) GetStatus ¶
func (x *ChannelJoinResponse) GetStatus() *status.Status
func (*ChannelJoinResponse) ProtoMessage ¶
func (*ChannelJoinResponse) ProtoMessage()
func (*ChannelJoinResponse) ProtoReflect ¶
func (x *ChannelJoinResponse) ProtoReflect() protoreflect.Message
func (*ChannelJoinResponse) Reset ¶
func (x *ChannelJoinResponse) Reset()
func (*ChannelJoinResponse) String ¶
func (x *ChannelJoinResponse) String() string
type EntityRow ¶
type EntityRow struct {
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
UnixMilli int64 `protobuf:"varint,2,opt,name=unix_milli,json=unixMilli,proto3" json:"unix_milli,omitempty"`
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*EntityRow) Descriptor
deprecated
func (*EntityRow) GetEntityKey ¶
func (*EntityRow) GetUnixMilli ¶
func (*EntityRow) ProtoMessage ¶
func (*EntityRow) ProtoMessage()
func (*EntityRow) ProtoReflect ¶
func (x *EntityRow) ProtoReflect() protoreflect.Message
type ExportRequest ¶
type ExportRequest struct {
FeatureNames []string `protobuf:"bytes,1,rep,name=feature_names,json=featureNames,proto3" json:"feature_names,omitempty"`
RevisionId int32 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
Limit *uint64 `protobuf:"varint,3,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
OutputFilePath string `protobuf:"bytes,4,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`
// contains filtered or unexported fields
}
func (*ExportRequest) Descriptor
deprecated
func (*ExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportRequest.ProtoReflect.Descriptor instead.
func (*ExportRequest) GetFeatureNames ¶
func (x *ExportRequest) GetFeatureNames() []string
func (*ExportRequest) GetLimit ¶
func (x *ExportRequest) GetLimit() uint64
func (*ExportRequest) GetOutputFilePath ¶
func (x *ExportRequest) GetOutputFilePath() string
func (*ExportRequest) GetRevisionId ¶
func (x *ExportRequest) GetRevisionId() int32
func (*ExportRequest) ProtoMessage ¶
func (*ExportRequest) ProtoMessage()
func (*ExportRequest) ProtoReflect ¶
func (x *ExportRequest) ProtoReflect() protoreflect.Message
func (*ExportRequest) Reset ¶
func (x *ExportRequest) Reset()
func (*ExportRequest) String ¶
func (x *ExportRequest) String() string
type ExportResponse ¶
type ExportResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ExportResponse) Descriptor
deprecated
func (*ExportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportResponse.ProtoReflect.Descriptor instead.
func (*ExportResponse) GetStatus ¶
func (x *ExportResponse) GetStatus() *status.Status
func (*ExportResponse) ProtoMessage ¶
func (*ExportResponse) ProtoMessage()
func (*ExportResponse) ProtoReflect ¶
func (x *ExportResponse) ProtoReflect() protoreflect.Message
func (*ExportResponse) Reset ¶
func (x *ExportResponse) Reset()
func (*ExportResponse) String ¶
func (x *ExportResponse) String() string
type FeatureValueMap ¶
type FeatureValueMap struct {
Map map[string]*Value `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*FeatureValueMap) Descriptor
deprecated
func (*FeatureValueMap) Descriptor() ([]byte, []int)
Deprecated: Use FeatureValueMap.ProtoReflect.Descriptor instead.
func (*FeatureValueMap) GetMap ¶
func (x *FeatureValueMap) GetMap() map[string]*Value
func (*FeatureValueMap) ProtoMessage ¶
func (*FeatureValueMap) ProtoMessage()
func (*FeatureValueMap) ProtoReflect ¶
func (x *FeatureValueMap) ProtoReflect() protoreflect.Message
func (*FeatureValueMap) Reset ¶
func (x *FeatureValueMap) Reset()
func (*FeatureValueMap) String ¶
func (x *FeatureValueMap) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶
func (x *HealthCheckResponse) GetStatus() *status.Status
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type ImportRequest ¶
type ImportRequest struct {
GroupName string `protobuf:"bytes,1,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Revision *int64 `protobuf:"varint,3,opt,name=revision,proto3,oneof" json:"revision,omitempty"`
InputFilePath string `protobuf:"bytes,4,opt,name=input_file_path,json=inputFilePath,proto3" json:"input_file_path,omitempty"`
Delimiter string `protobuf:"bytes,5,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
// contains filtered or unexported fields
}
func (*ImportRequest) Descriptor
deprecated
func (*ImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportRequest.ProtoReflect.Descriptor instead.
func (*ImportRequest) GetDelimiter ¶
func (x *ImportRequest) GetDelimiter() string
func (*ImportRequest) GetDescription ¶
func (x *ImportRequest) GetDescription() string
func (*ImportRequest) GetGroupName ¶
func (x *ImportRequest) GetGroupName() string
func (*ImportRequest) GetInputFilePath ¶
func (x *ImportRequest) GetInputFilePath() string
func (*ImportRequest) GetRevision ¶
func (x *ImportRequest) GetRevision() int64
func (*ImportRequest) ProtoMessage ¶
func (*ImportRequest) ProtoMessage()
func (*ImportRequest) ProtoReflect ¶
func (x *ImportRequest) ProtoReflect() protoreflect.Message
func (*ImportRequest) Reset ¶
func (x *ImportRequest) Reset()
func (*ImportRequest) String ¶
func (x *ImportRequest) String() string
type ImportResponse ¶
type ImportResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
RevisionId int64 `protobuf:"varint,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// contains filtered or unexported fields
}
func (*ImportResponse) Descriptor
deprecated
func (*ImportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportResponse.ProtoReflect.Descriptor instead.
func (*ImportResponse) GetRevisionId ¶
func (x *ImportResponse) GetRevisionId() int64
func (*ImportResponse) GetStatus ¶
func (x *ImportResponse) GetStatus() *status.Status
func (*ImportResponse) ProtoMessage ¶
func (*ImportResponse) ProtoMessage()
func (*ImportResponse) ProtoReflect ¶
func (x *ImportResponse) ProtoReflect() protoreflect.Message
func (*ImportResponse) Reset ¶
func (x *ImportResponse) Reset()
func (*ImportResponse) String ¶
func (x *ImportResponse) String() string
type JoinRequest ¶
type JoinRequest struct {
FeatureFullNames []string `protobuf:"bytes,1,rep,name=feature_full_names,json=featureFullNames,proto3" json:"feature_full_names,omitempty"`
InputFilePath string `protobuf:"bytes,2,opt,name=input_file_path,json=inputFilePath,proto3" json:"input_file_path,omitempty"`
OutputFilePath string `protobuf:"bytes,3,opt,name=output_file_path,json=outputFilePath,proto3" json:"output_file_path,omitempty"`
// contains filtered or unexported fields
}
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetFeatureFullNames ¶
func (x *JoinRequest) GetFeatureFullNames() []string
func (*JoinRequest) GetInputFilePath ¶
func (x *JoinRequest) GetInputFilePath() string
func (*JoinRequest) GetOutputFilePath ¶
func (x *JoinRequest) GetOutputFilePath() string
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) ProtoReflect ¶
func (x *JoinRequest) ProtoReflect() protoreflect.Message
func (*JoinRequest) Reset ¶
func (x *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (x *JoinRequest) String() string
type JoinResponse ¶
type JoinResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*JoinResponse) Descriptor
deprecated
func (*JoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.
func (*JoinResponse) GetStatus ¶
func (x *JoinResponse) GetStatus() *status.Status
func (*JoinResponse) ProtoMessage ¶
func (*JoinResponse) ProtoMessage()
func (*JoinResponse) ProtoReflect ¶
func (x *JoinResponse) ProtoReflect() protoreflect.Message
func (*JoinResponse) Reset ¶
func (x *JoinResponse) Reset()
func (*JoinResponse) String ¶
func (x *JoinResponse) String() string
type OnlineGetRequest ¶
type OnlineGetRequest struct {
EntityKey string `protobuf:"bytes,1,opt,name=entity_key,json=entityKey,proto3" json:"entity_key,omitempty"`
FeatureFullNames []string `protobuf:"bytes,2,rep,name=feature_full_names,json=featureFullNames,proto3" json:"feature_full_names,omitempty"`
// contains filtered or unexported fields
}
func (*OnlineGetRequest) Descriptor
deprecated
func (*OnlineGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnlineGetRequest.ProtoReflect.Descriptor instead.
func (*OnlineGetRequest) GetEntityKey ¶
func (x *OnlineGetRequest) GetEntityKey() string
func (*OnlineGetRequest) GetFeatureFullNames ¶
func (x *OnlineGetRequest) GetFeatureFullNames() []string
func (*OnlineGetRequest) ProtoMessage ¶
func (*OnlineGetRequest) ProtoMessage()
func (*OnlineGetRequest) ProtoReflect ¶
func (x *OnlineGetRequest) ProtoReflect() protoreflect.Message
func (*OnlineGetRequest) Reset ¶
func (x *OnlineGetRequest) Reset()
func (*OnlineGetRequest) String ¶
func (x *OnlineGetRequest) String() string
type OnlineGetResponse ¶
type OnlineGetResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Result *FeatureValueMap `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*OnlineGetResponse) Descriptor
deprecated
func (*OnlineGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use OnlineGetResponse.ProtoReflect.Descriptor instead.
func (*OnlineGetResponse) GetResult ¶
func (x *OnlineGetResponse) GetResult() *FeatureValueMap
func (*OnlineGetResponse) GetStatus ¶
func (x *OnlineGetResponse) GetStatus() *status.Status
func (*OnlineGetResponse) ProtoMessage ¶
func (*OnlineGetResponse) ProtoMessage()
func (*OnlineGetResponse) ProtoReflect ¶
func (x *OnlineGetResponse) ProtoReflect() protoreflect.Message
func (*OnlineGetResponse) Reset ¶
func (x *OnlineGetResponse) Reset()
func (*OnlineGetResponse) String ¶
func (x *OnlineGetResponse) String() string
type OnlineMultiGetRequest ¶
type OnlineMultiGetRequest struct {
EntityKeys []string `protobuf:"bytes,1,rep,name=entity_keys,json=entityKeys,proto3" json:"entity_keys,omitempty"`
FeatureFullNames []string `protobuf:"bytes,2,rep,name=feature_full_names,json=featureFullNames,proto3" json:"feature_full_names,omitempty"`
// contains filtered or unexported fields
}
func (*OnlineMultiGetRequest) Descriptor
deprecated
func (*OnlineMultiGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnlineMultiGetRequest.ProtoReflect.Descriptor instead.
func (*OnlineMultiGetRequest) GetEntityKeys ¶
func (x *OnlineMultiGetRequest) GetEntityKeys() []string
func (*OnlineMultiGetRequest) GetFeatureFullNames ¶
func (x *OnlineMultiGetRequest) GetFeatureFullNames() []string
func (*OnlineMultiGetRequest) ProtoMessage ¶
func (*OnlineMultiGetRequest) ProtoMessage()
func (*OnlineMultiGetRequest) ProtoReflect ¶
func (x *OnlineMultiGetRequest) ProtoReflect() protoreflect.Message
func (*OnlineMultiGetRequest) Reset ¶
func (x *OnlineMultiGetRequest) Reset()
func (*OnlineMultiGetRequest) String ¶
func (x *OnlineMultiGetRequest) String() string
type OnlineMultiGetResponse ¶
type OnlineMultiGetResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
Result map[string]*FeatureValueMap `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*OnlineMultiGetResponse) Descriptor
deprecated
func (*OnlineMultiGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use OnlineMultiGetResponse.ProtoReflect.Descriptor instead.
func (*OnlineMultiGetResponse) GetResult ¶
func (x *OnlineMultiGetResponse) GetResult() map[string]*FeatureValueMap
func (*OnlineMultiGetResponse) GetStatus ¶
func (x *OnlineMultiGetResponse) GetStatus() *status.Status
func (*OnlineMultiGetResponse) ProtoMessage ¶
func (*OnlineMultiGetResponse) ProtoMessage()
func (*OnlineMultiGetResponse) ProtoReflect ¶
func (x *OnlineMultiGetResponse) ProtoReflect() protoreflect.Message
func (*OnlineMultiGetResponse) Reset ¶
func (x *OnlineMultiGetResponse) Reset()
func (*OnlineMultiGetResponse) String ¶
func (x *OnlineMultiGetResponse) String() string
type OomAgentClient ¶
type OomAgentClient interface {
OnlineGet(ctx context.Context, in *OnlineGetRequest, opts ...grpc.CallOption) (*OnlineGetResponse, error)
OnlineMultiGet(ctx context.Context, in *OnlineMultiGetRequest, opts ...grpc.CallOption) (*OnlineMultiGetResponse, error)
Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
ChannelImport(ctx context.Context, opts ...grpc.CallOption) (OomAgent_ChannelImportClient, error)
Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, error)
ChannelJoin(ctx context.Context, opts ...grpc.CallOption) (OomAgent_ChannelJoinClient, error)
Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error)
ChannelExport(ctx context.Context, in *ChannelExportRequest, opts ...grpc.CallOption) (OomAgent_ChannelExportClient, error)
Export(ctx context.Context, in *ExportRequest, opts ...grpc.CallOption) (*ExportResponse, error)
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
OomAgentClient is the client API for OomAgent 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 NewOomAgentClient ¶
func NewOomAgentClient(cc grpc.ClientConnInterface) OomAgentClient
type OomAgentServer ¶
type OomAgentServer interface {
OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
Sync(context.Context, *SyncRequest) (*SyncResponse, error)
ChannelImport(OomAgent_ChannelImportServer) error
Import(context.Context, *ImportRequest) (*ImportResponse, error)
ChannelJoin(OomAgent_ChannelJoinServer) error
Join(context.Context, *JoinRequest) (*JoinResponse, error)
ChannelExport(*ChannelExportRequest, OomAgent_ChannelExportServer) error
Export(context.Context, *ExportRequest) (*ExportResponse, error)
HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
// contains filtered or unexported methods
}
OomAgentServer is the server API for OomAgent service. All implementations must embed UnimplementedOomAgentServer for forward compatibility
type OomAgent_ChannelExportClient ¶
type OomAgent_ChannelExportClient interface {
Recv() (*ChannelExportResponse, error)
grpc.ClientStream
}
type OomAgent_ChannelExportServer ¶
type OomAgent_ChannelExportServer interface {
Send(*ChannelExportResponse) error
grpc.ServerStream
}
type OomAgent_ChannelImportClient ¶
type OomAgent_ChannelImportClient interface {
Send(*ChannelImportRequest) error
CloseAndRecv() (*ImportResponse, error)
grpc.ClientStream
}
type OomAgent_ChannelImportServer ¶
type OomAgent_ChannelImportServer interface {
SendAndClose(*ImportResponse) error
Recv() (*ChannelImportRequest, error)
grpc.ServerStream
}
type OomAgent_ChannelJoinClient ¶
type OomAgent_ChannelJoinClient interface {
Send(*ChannelJoinRequest) error
Recv() (*ChannelJoinResponse, error)
grpc.ClientStream
}
type OomAgent_ChannelJoinServer ¶
type OomAgent_ChannelJoinServer interface {
Send(*ChannelJoinResponse) error
Recv() (*ChannelJoinRequest, error)
grpc.ServerStream
}
type SyncRequest ¶
type SyncRequest struct {
RevisionId int32 `protobuf:"varint,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
PurgeDelay int32 `protobuf:"varint,2,opt,name=purge_delay,json=purgeDelay,proto3" json:"purge_delay,omitempty"`
// contains filtered or unexported fields
}
func (*SyncRequest) Descriptor
deprecated
func (*SyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
func (*SyncRequest) GetPurgeDelay ¶
func (x *SyncRequest) GetPurgeDelay() int32
func (*SyncRequest) GetRevisionId ¶
func (x *SyncRequest) GetRevisionId() int32
func (*SyncRequest) ProtoMessage ¶
func (*SyncRequest) ProtoMessage()
func (*SyncRequest) ProtoReflect ¶
func (x *SyncRequest) ProtoReflect() protoreflect.Message
func (*SyncRequest) Reset ¶
func (x *SyncRequest) Reset()
func (*SyncRequest) String ¶
func (x *SyncRequest) String() string
type SyncResponse ¶
type SyncResponse struct {
Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*SyncResponse) Descriptor
deprecated
func (*SyncResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.
func (*SyncResponse) GetStatus ¶
func (x *SyncResponse) GetStatus() *status.Status
func (*SyncResponse) ProtoMessage ¶
func (*SyncResponse) ProtoMessage()
func (*SyncResponse) ProtoReflect ¶
func (x *SyncResponse) ProtoReflect() protoreflect.Message
func (*SyncResponse) Reset ¶
func (x *SyncResponse) Reset()
func (*SyncResponse) String ¶
func (x *SyncResponse) String() string
type UnimplementedOomAgentServer ¶
type UnimplementedOomAgentServer struct {
}
UnimplementedOomAgentServer must be embedded to have forward compatible implementations.
func (UnimplementedOomAgentServer) ChannelExport ¶
func (UnimplementedOomAgentServer) ChannelExport(*ChannelExportRequest, OomAgent_ChannelExportServer) error
func (UnimplementedOomAgentServer) ChannelImport ¶
func (UnimplementedOomAgentServer) ChannelImport(OomAgent_ChannelImportServer) error
func (UnimplementedOomAgentServer) ChannelJoin ¶
func (UnimplementedOomAgentServer) ChannelJoin(OomAgent_ChannelJoinServer) error
func (UnimplementedOomAgentServer) Export ¶
func (UnimplementedOomAgentServer) Export(context.Context, *ExportRequest) (*ExportResponse, error)
func (UnimplementedOomAgentServer) HealthCheck ¶
func (UnimplementedOomAgentServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (UnimplementedOomAgentServer) Import ¶
func (UnimplementedOomAgentServer) Import(context.Context, *ImportRequest) (*ImportResponse, error)
func (UnimplementedOomAgentServer) Join ¶
func (UnimplementedOomAgentServer) Join(context.Context, *JoinRequest) (*JoinResponse, error)
func (UnimplementedOomAgentServer) OnlineGet ¶
func (UnimplementedOomAgentServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
func (UnimplementedOomAgentServer) OnlineMultiGet ¶
func (UnimplementedOomAgentServer) OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
func (UnimplementedOomAgentServer) Sync ¶
func (UnimplementedOomAgentServer) Sync(context.Context, *SyncRequest) (*SyncResponse, error)
type UnsafeOomAgentServer ¶
type UnsafeOomAgentServer interface {
// contains filtered or unexported methods
}
UnsafeOomAgentServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OomAgentServer will result in compilation errors.
type Value ¶
type Value struct {
// The kind of value.
//
// Types that are assignable to Kind:
// *Value_NullValue
// *Value_Int64Value
// *Value_DoubleValue
// *Value_StringValue
// *Value_BoolValue
// *Value_UnixMilliValue
// *Value_BytesValue
Kind isValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDoubleValue ¶
func (*Value) GetInt64Value ¶
func (*Value) GetNullValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetUnixMilliValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_BoolValue ¶
type Value_BoolValue struct {
// Represents a boolean value.
BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_BytesValue ¶
type Value_BytesValue struct {
// Represents a bytes value.
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type Value_DoubleValue ¶
type Value_DoubleValue struct {
// Represents a double value.
DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type Value_Int64Value ¶
type Value_Int64Value struct {
// Represents a int64 value.
Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type Value_NullValue ¶
type Value_StringValue ¶
type Value_StringValue struct {
// Represents a string value.
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_UnixMilliValue ¶
type Value_UnixMilliValue struct {
// Represents a unix milliseconds value.
UnixMilliValue int64 `protobuf:"varint,6,opt,name=unix_milli_value,json=unixMilliValue,proto3,oneof"`
}