Documentation ¶
Index ¶
- Variables
- func RegisterMercuryServiceServer(s grpc.ServiceRegistrar, srv MercuryServiceServer)
- type MercuryServiceClient
- type MercuryServiceServer
- type UnimplementedMercuryServiceServer
- func (UnimplementedMercuryServiceServer) Deploy(context.Context, *_go.DeployConfig) (*_go.Empty, error)
- func (UnimplementedMercuryServiceServer) Inspect(context.Context, *_go.NameReq) (*_go.InspectRsp, error)
- func (UnimplementedMercuryServiceServer) List(context.Context, *_go.Empty) (*_go.ListRsp, error)
- func (UnimplementedMercuryServiceServer) Remove(context.Context, *_go.NameReq) (*_go.Empty, error)
- type UnsafeMercuryServiceServer
Constants ¶
This section is empty.
Variables ¶
var MercuryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pb.MercuryService", HandlerType: (*MercuryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Deploy", Handler: _MercuryService_Deploy_Handler, }, { MethodName: "Inspect", Handler: _MercuryService_Inspect_Handler, }, { MethodName: "Remove", Handler: _MercuryService_Remove_Handler, }, { MethodName: "List", Handler: _MercuryService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mercury.proto", }
MercuryService_ServiceDesc is the grpc.ServiceDesc for MercuryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMercuryServiceServer ¶
func RegisterMercuryServiceServer(s grpc.ServiceRegistrar, srv MercuryServiceServer)
Types ¶
type MercuryServiceClient ¶
type MercuryServiceClient interface { Deploy(ctx context.Context, in *_go.DeployConfig, opts ...grpc.CallOption) (*_go.Empty, error) Inspect(ctx context.Context, in *_go.NameReq, opts ...grpc.CallOption) (*_go.InspectRsp, error) Remove(ctx context.Context, in *_go.NameReq, opts ...grpc.CallOption) (*_go.Empty, error) List(ctx context.Context, in *_go.Empty, opts ...grpc.CallOption) (*_go.ListRsp, error) }
MercuryServiceClient is the client API for MercuryService 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 NewMercuryServiceClient ¶
func NewMercuryServiceClient(cc grpc.ClientConnInterface) MercuryServiceClient
type MercuryServiceServer ¶
type MercuryServiceServer interface { Deploy(context.Context, *_go.DeployConfig) (*_go.Empty, error) Inspect(context.Context, *_go.NameReq) (*_go.InspectRsp, error) Remove(context.Context, *_go.NameReq) (*_go.Empty, error) List(context.Context, *_go.Empty) (*_go.ListRsp, error) }
MercuryServiceServer is the server API for MercuryService service. All implementations should embed UnimplementedMercuryServiceServer for forward compatibility
type UnimplementedMercuryServiceServer ¶
type UnimplementedMercuryServiceServer struct { }
UnimplementedMercuryServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedMercuryServiceServer) Deploy ¶
func (UnimplementedMercuryServiceServer) Deploy(context.Context, *_go.DeployConfig) (*_go.Empty, error)
func (UnimplementedMercuryServiceServer) Inspect ¶
func (UnimplementedMercuryServiceServer) Inspect(context.Context, *_go.NameReq) (*_go.InspectRsp, error)
func (UnimplementedMercuryServiceServer) List ¶
type UnsafeMercuryServiceServer ¶
type UnsafeMercuryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMercuryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MercuryServiceServer will result in compilation errors.