Documentation ¶
Index ¶
- type OortGroupConfig
- type OortGroupStore
- func (s *OortGroupStore) Delete(ctx context.Context, req *groupproto.DeleteRequest) (*groupproto.DeleteResponse, error)
- func (s *OortGroupStore) ListenAndServe()
- func (s *OortGroupStore) Lookup(ctx context.Context, req *groupproto.LookupRequest) (*groupproto.LookupResponse, error)
- func (s *OortGroupStore) LookupGroup(ctx context.Context, req *groupproto.LookupGroupRequest) (*groupproto.LookupGroupResponse, error)
- func (s *OortGroupStore) Read(ctx context.Context, req *groupproto.ReadRequest) (*groupproto.ReadResponse, error)
- func (s *OortGroupStore) ReadGroup(ctx context.Context, req *groupproto.ReadGroupRequest) (*groupproto.ReadGroupResponse, error)
- func (s *OortGroupStore) Start()
- func (s *OortGroupStore) Stats() []byte
- func (s *OortGroupStore) Stop()
- func (s *OortGroupStore) StopListenAndServe()
- func (s *OortGroupStore) StreamDelete(stream groupproto.GroupStore_StreamDeleteServer) error
- func (s *OortGroupStore) StreamLookup(stream groupproto.GroupStore_StreamLookupServer) error
- func (s *OortGroupStore) StreamLookupGroup(stream groupproto.GroupStore_StreamLookupGroupServer) error
- func (s *OortGroupStore) StreamRead(stream groupproto.GroupStore_StreamReadServer) error
- func (s *OortGroupStore) StreamReadGroup(stream groupproto.GroupStore_StreamReadGroupServer) error
- func (s *OortGroupStore) StreamWrite(stream groupproto.GroupStore_StreamWriteServer) error
- func (s *OortGroupStore) UpdateRing(ring ring.Ring)
- func (s *OortGroupStore) Wait()
- func (s *OortGroupStore) Write(ctx context.Context, req *groupproto.WriteRequest) (*groupproto.WriteResponse, error)
- type OortValueConfig
- type OortValueStore
- func (s *OortValueStore) Delete(ctx context.Context, req *valueproto.DeleteRequest) (*valueproto.DeleteResponse, error)
- func (s *OortValueStore) ListenAndServe()
- func (s *OortValueStore) Lookup(ctx context.Context, req *valueproto.LookupRequest) (*valueproto.LookupResponse, error)
- func (s *OortValueStore) Read(ctx context.Context, req *valueproto.ReadRequest) (*valueproto.ReadResponse, error)
- func (s *OortValueStore) Start()
- func (s *OortValueStore) Stats() []byte
- func (s *OortValueStore) Stop()
- func (s *OortValueStore) StopListenAndServe()
- func (s *OortValueStore) StreamDelete(stream valueproto.ValueStore_StreamDeleteServer) error
- func (s *OortValueStore) StreamLookup(stream valueproto.ValueStore_StreamLookupServer) error
- func (s *OortValueStore) StreamRead(stream valueproto.ValueStore_StreamReadServer) error
- func (s *OortValueStore) StreamWrite(stream valueproto.ValueStore_StreamWriteServer) error
- func (s *OortValueStore) UpdateRing(ring ring.Ring)
- func (s *OortValueStore) Wait()
- func (s *OortValueStore) Write(ctx context.Context, req *valueproto.WriteRequest) (*valueproto.WriteResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OortGroupConfig ¶
type OortGroupStore ¶
type OortGroupStore struct { sync.RWMutex Config *OortGroupConfig `toml:"OortGroupStoreConfig"` // load config using an explicit/different config header GroupStoreConfig store.GroupStoreConfig TCPMsgRingConfig ring.TCPMsgRingConfig // contains filtered or unexported fields }
func NewGroupStore ¶
func (*OortGroupStore) Delete ¶
func (s *OortGroupStore) Delete(ctx context.Context, req *groupproto.DeleteRequest) (*groupproto.DeleteResponse, error)
func (*OortGroupStore) ListenAndServe ¶
func (s *OortGroupStore) ListenAndServe()
func (*OortGroupStore) Lookup ¶
func (s *OortGroupStore) Lookup(ctx context.Context, req *groupproto.LookupRequest) (*groupproto.LookupResponse, error)
func (*OortGroupStore) LookupGroup ¶
func (s *OortGroupStore) LookupGroup(ctx context.Context, req *groupproto.LookupGroupRequest) (*groupproto.LookupGroupResponse, error)
func (*OortGroupStore) Read ¶
func (s *OortGroupStore) Read(ctx context.Context, req *groupproto.ReadRequest) (*groupproto.ReadResponse, error)
func (*OortGroupStore) ReadGroup ¶
func (s *OortGroupStore) ReadGroup(ctx context.Context, req *groupproto.ReadGroupRequest) (*groupproto.ReadGroupResponse, error)
func (*OortGroupStore) Start ¶
func (s *OortGroupStore) Start()
func (*OortGroupStore) Stats ¶
func (s *OortGroupStore) Stats() []byte
func (*OortGroupStore) Stop ¶
func (s *OortGroupStore) Stop()
func (*OortGroupStore) StopListenAndServe ¶
func (s *OortGroupStore) StopListenAndServe()
func (*OortGroupStore) StreamDelete ¶
func (s *OortGroupStore) StreamDelete(stream groupproto.GroupStore_StreamDeleteServer) error
func (*OortGroupStore) StreamLookup ¶
func (s *OortGroupStore) StreamLookup(stream groupproto.GroupStore_StreamLookupServer) error
func (*OortGroupStore) StreamLookupGroup ¶
func (s *OortGroupStore) StreamLookupGroup(stream groupproto.GroupStore_StreamLookupGroupServer) error
func (*OortGroupStore) StreamRead ¶
func (s *OortGroupStore) StreamRead(stream groupproto.GroupStore_StreamReadServer) error
func (*OortGroupStore) StreamReadGroup ¶
func (s *OortGroupStore) StreamReadGroup(stream groupproto.GroupStore_StreamReadGroupServer) error
func (*OortGroupStore) StreamWrite ¶
func (s *OortGroupStore) StreamWrite(stream groupproto.GroupStore_StreamWriteServer) error
func (*OortGroupStore) UpdateRing ¶
func (s *OortGroupStore) UpdateRing(ring ring.Ring)
func (*OortGroupStore) Wait ¶
func (s *OortGroupStore) Wait()
Wait isn't implemented yet, need graceful shutdowns in grpc
func (*OortGroupStore) Write ¶
func (s *OortGroupStore) Write(ctx context.Context, req *groupproto.WriteRequest) (*groupproto.WriteResponse, error)
type OortValueConfig ¶
type OortValueStore ¶
type OortValueStore struct { sync.RWMutex Config *OortValueConfig `toml:"OortValueStoreConfig"` // load config using an explicit/different config header ValueStoreConfig store.ValueStoreConfig TCPMsgRingConfig ring.TCPMsgRingConfig // contains filtered or unexported fields }
func NewValueStore ¶
func (*OortValueStore) Delete ¶
func (s *OortValueStore) Delete(ctx context.Context, req *valueproto.DeleteRequest) (*valueproto.DeleteResponse, error)
func (*OortValueStore) ListenAndServe ¶
func (s *OortValueStore) ListenAndServe()
func (*OortValueStore) Lookup ¶
func (s *OortValueStore) Lookup(ctx context.Context, req *valueproto.LookupRequest) (*valueproto.LookupResponse, error)
func (*OortValueStore) Read ¶
func (s *OortValueStore) Read(ctx context.Context, req *valueproto.ReadRequest) (*valueproto.ReadResponse, error)
func (*OortValueStore) Start ¶
func (s *OortValueStore) Start()
func (*OortValueStore) Stats ¶
func (s *OortValueStore) Stats() []byte
func (*OortValueStore) Stop ¶
func (s *OortValueStore) Stop()
func (*OortValueStore) StopListenAndServe ¶
func (s *OortValueStore) StopListenAndServe()
func (*OortValueStore) StreamDelete ¶
func (s *OortValueStore) StreamDelete(stream valueproto.ValueStore_StreamDeleteServer) error
func (*OortValueStore) StreamLookup ¶
func (s *OortValueStore) StreamLookup(stream valueproto.ValueStore_StreamLookupServer) error
func (*OortValueStore) StreamRead ¶
func (s *OortValueStore) StreamRead(stream valueproto.ValueStore_StreamReadServer) error
func (*OortValueStore) StreamWrite ¶
func (s *OortValueStore) StreamWrite(stream valueproto.ValueStore_StreamWriteServer) error
func (*OortValueStore) UpdateRing ¶
func (s *OortValueStore) UpdateRing(ring ring.Ring)
func (*OortValueStore) Wait ¶
func (s *OortValueStore) Wait()
Wait isn't implemented yet, need graceful shutdowns in grpc
func (*OortValueStore) Write ¶
func (s *OortValueStore) Write(ctx context.Context, req *valueproto.WriteRequest) (*valueproto.WriteResponse, error)
Click to show internal directories.
Click to hide internal directories.