Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the store API gRPC server.
func NewServer ¶
func NewServer(store *store.MemoryStore) *Server
NewServer creates a store API server.
func (*Server) Watch ¶
func (s *Server) Watch(request *api.WatchRequest, stream api.Store_WatchServer) error
Watch starts a stream that returns any changes to objects that match the specified selectors. When the stream begins, it immediately sends an empty message back to the client. It is important to wait for this message before taking any actions that depend on an established stream of changes for consistency.
Click to show internal directories.
Click to hide internal directories.