Documentation ¶
Overview ¶
Package resources implements resources API server.
Index ¶
- type Server
- func (s *Server) Get(ctx context.Context, in *resourceapi.GetRequest) (*resourceapi.GetResponse, error)
- func (s *Server) List(in *resourceapi.ListRequest, srv resourceapi.ResourceService_ListServer) error
- func (s *Server) Watch(in *resourceapi.WatchRequest, srv resourceapi.ResourceService_WatchServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { resourceapi.UnimplementedResourceServiceServer Resources state.State }
Server implements ResourceService API.
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, in *resourceapi.GetRequest) (*resourceapi.GetResponse, error)
Get implements resource.ResourceServiceServer interface.
func (*Server) List ¶
func (s *Server) List(in *resourceapi.ListRequest, srv resourceapi.ResourceService_ListServer) error
List implements resource.ResourceServiceServer interface.
func (*Server) Watch ¶
func (s *Server) Watch(in *resourceapi.WatchRequest, srv resourceapi.ResourceService_WatchServer) error
Watch implements resource.ResourceServiceServer interface.
Click to show internal directories.
Click to hide internal directories.