Documentation ¶
Index ¶
- type LocalClient
- func (c *LocalClient) Get(ctx context.Context, req *pb.GetRequest, _ ...grpc.CallOption) (*pb.GetResponse, error)
- func (c *LocalClient) List(ctx context.Context, req *pb.ListRequest, _ ...grpc.CallOption) (*pb.ListResponse, error)
- func (c *LocalClient) Register(ctx context.Context, req *pb.RegisterRequest, _ ...grpc.CallOption) (*pb.RegisterResponse, error)
- type Svc
- func (s *Svc) Get(ctx context.Context, req *pbsvc.GetRequest) (*pbsvc.GetResponse, error)
- func (s *Svc) List(ctx context.Context, req *pbsvc.ListRequest) (*pbsvc.ListResponse, error)
- func (s *Svc) Register(ctx context.Context, req *pbsvc.RegisterRequest) (*pbsvc.RegisterResponse, error)
- func (s *Svc) RegisterServer(srv *grpc.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalClient ¶
type LocalClient struct{ Server pb.PluginsRegistryServer }
func (*LocalClient) Get ¶
func (c *LocalClient) Get(ctx context.Context, req *pb.GetRequest, _ ...grpc.CallOption) (*pb.GetResponse, error)
func (*LocalClient) List ¶
func (c *LocalClient) List(ctx context.Context, req *pb.ListRequest, _ ...grpc.CallOption) (*pb.ListResponse, error)
func (*LocalClient) Register ¶
func (c *LocalClient) Register(ctx context.Context, req *pb.RegisterRequest, _ ...grpc.CallOption) (*pb.RegisterResponse, error)
type Svc ¶
type Svc struct { pbsvc.UnimplementedPluginsRegistryServer Registry *pluginsreg.Registry L L.Nullable }
func (*Svc) Get ¶
func (s *Svc) Get(ctx context.Context, req *pbsvc.GetRequest) (*pbsvc.GetResponse, error)
func (*Svc) List ¶
func (s *Svc) List(ctx context.Context, req *pbsvc.ListRequest) (*pbsvc.ListResponse, error)
func (*Svc) Register ¶
func (s *Svc) Register(ctx context.Context, req *pbsvc.RegisterRequest) (*pbsvc.RegisterResponse, error)
func (*Svc) RegisterServer ¶
Click to show internal directories.
Click to hide internal directories.