Documentation
¶
Index ¶
- Variables
- func RegisterCompassServiceServer(s grpc.ServiceRegistrar, srv CompassServiceServer)
- type CompassServiceClient
- type CompassServiceServer
- type UnimplementedCompassServiceServer
- func (UnimplementedCompassServiceServer) CreateComment(context.Context, *v1beta1.CreateCommentRequest) (*v1beta1.CreateCommentResponse, error)
- func (UnimplementedCompassServiceServer) CreateDiscussion(context.Context, *v1beta1.CreateDiscussionRequest) (*v1beta1.CreateDiscussionResponse, error)
- func (UnimplementedCompassServiceServer) DeleteComment(context.Context, *v1beta1.DeleteCommentRequest) (*emptypb.Empty, error)
- func (UnimplementedCompassServiceServer) GetAllComments(context.Context, *v1beta1.GetAllCommentsRequest) (*v1beta1.GetAllCommentsResponse, error)
- func (UnimplementedCompassServiceServer) GetAllDiscussions(context.Context, *v1beta1.GetAllDiscussionsRequest) (*v1beta1.GetAllDiscussionsResponse, error)
- func (UnimplementedCompassServiceServer) GetComment(context.Context, *v1beta1.GetCommentRequest) (*v1beta1.GetCommentResponse, error)
- func (UnimplementedCompassServiceServer) GetDiscussion(context.Context, *v1beta1.GetDiscussionRequest) (*v1beta1.GetDiscussionResponse, error)
- func (UnimplementedCompassServiceServer) PatchDiscussion(context.Context, *v1beta1.PatchDiscussionRequest) (*emptypb.Empty, error)
- func (UnimplementedCompassServiceServer) UpdateComment(context.Context, *v1beta1.UpdateCommentRequest) (*emptypb.Empty, error)
- type UnsafeCompassServiceServer
Constants ¶
This section is empty.
Variables ¶
var CompassService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "odpf.compass.v1beta1.CompassService", HandlerType: (*CompassServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAllDiscussions", Handler: _CompassService_GetAllDiscussions_Handler, }, { MethodName: "CreateDiscussion", Handler: _CompassService_CreateDiscussion_Handler, }, { MethodName: "GetDiscussion", Handler: _CompassService_GetDiscussion_Handler, }, { MethodName: "PatchDiscussion", Handler: _CompassService_PatchDiscussion_Handler, }, { MethodName: "CreateComment", Handler: _CompassService_CreateComment_Handler, }, { MethodName: "GetAllComments", Handler: _CompassService_GetAllComments_Handler, }, { MethodName: "GetComment", Handler: _CompassService_GetComment_Handler, }, { MethodName: "UpdateComment", Handler: _CompassService_UpdateComment_Handler, }, { MethodName: "DeleteComment", Handler: _CompassService_DeleteComment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "odpf/compass/v1beta1/service.proto", }
CompassService_ServiceDesc is the grpc.ServiceDesc for CompassService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCompassServiceServer ¶
func RegisterCompassServiceServer(s grpc.ServiceRegistrar, srv CompassServiceServer)
Types ¶
type CompassServiceClient ¶
type CompassServiceClient interface { GetAllDiscussions(ctx context.Context, in *v1beta1.GetAllDiscussionsRequest, opts ...grpc.CallOption) (*v1beta1.GetAllDiscussionsResponse, error) CreateDiscussion(ctx context.Context, in *v1beta1.CreateDiscussionRequest, opts ...grpc.CallOption) (*v1beta1.CreateDiscussionResponse, error) GetDiscussion(ctx context.Context, in *v1beta1.GetDiscussionRequest, opts ...grpc.CallOption) (*v1beta1.GetDiscussionResponse, error) PatchDiscussion(ctx context.Context, in *v1beta1.PatchDiscussionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateComment(ctx context.Context, in *v1beta1.CreateCommentRequest, opts ...grpc.CallOption) (*v1beta1.CreateCommentResponse, error) GetAllComments(ctx context.Context, in *v1beta1.GetAllCommentsRequest, opts ...grpc.CallOption) (*v1beta1.GetAllCommentsResponse, error) GetComment(ctx context.Context, in *v1beta1.GetCommentRequest, opts ...grpc.CallOption) (*v1beta1.GetCommentResponse, error) UpdateComment(ctx context.Context, in *v1beta1.UpdateCommentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteComment(ctx context.Context, in *v1beta1.DeleteCommentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
CompassServiceClient is the client API for CompassService 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 NewCompassServiceClient ¶
func NewCompassServiceClient(cc grpc.ClientConnInterface) CompassServiceClient
type CompassServiceServer ¶
type CompassServiceServer interface { GetAllDiscussions(context.Context, *v1beta1.GetAllDiscussionsRequest) (*v1beta1.GetAllDiscussionsResponse, error) CreateDiscussion(context.Context, *v1beta1.CreateDiscussionRequest) (*v1beta1.CreateDiscussionResponse, error) GetDiscussion(context.Context, *v1beta1.GetDiscussionRequest) (*v1beta1.GetDiscussionResponse, error) PatchDiscussion(context.Context, *v1beta1.PatchDiscussionRequest) (*emptypb.Empty, error) CreateComment(context.Context, *v1beta1.CreateCommentRequest) (*v1beta1.CreateCommentResponse, error) GetAllComments(context.Context, *v1beta1.GetAllCommentsRequest) (*v1beta1.GetAllCommentsResponse, error) GetComment(context.Context, *v1beta1.GetCommentRequest) (*v1beta1.GetCommentResponse, error) UpdateComment(context.Context, *v1beta1.UpdateCommentRequest) (*emptypb.Empty, error) DeleteComment(context.Context, *v1beta1.DeleteCommentRequest) (*emptypb.Empty, error) }
CompassServiceServer is the server API for CompassService service. All implementations should embed UnimplementedCompassServiceServer for forward compatibility
type UnimplementedCompassServiceServer ¶
type UnimplementedCompassServiceServer struct { }
UnimplementedCompassServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCompassServiceServer) CreateComment ¶
func (UnimplementedCompassServiceServer) CreateComment(context.Context, *v1beta1.CreateCommentRequest) (*v1beta1.CreateCommentResponse, error)
func (UnimplementedCompassServiceServer) CreateDiscussion ¶
func (UnimplementedCompassServiceServer) CreateDiscussion(context.Context, *v1beta1.CreateDiscussionRequest) (*v1beta1.CreateDiscussionResponse, error)
func (UnimplementedCompassServiceServer) DeleteComment ¶
func (UnimplementedCompassServiceServer) DeleteComment(context.Context, *v1beta1.DeleteCommentRequest) (*emptypb.Empty, error)
func (UnimplementedCompassServiceServer) GetAllComments ¶
func (UnimplementedCompassServiceServer) GetAllComments(context.Context, *v1beta1.GetAllCommentsRequest) (*v1beta1.GetAllCommentsResponse, error)
func (UnimplementedCompassServiceServer) GetAllDiscussions ¶
func (UnimplementedCompassServiceServer) GetAllDiscussions(context.Context, *v1beta1.GetAllDiscussionsRequest) (*v1beta1.GetAllDiscussionsResponse, error)
func (UnimplementedCompassServiceServer) GetComment ¶
func (UnimplementedCompassServiceServer) GetComment(context.Context, *v1beta1.GetCommentRequest) (*v1beta1.GetCommentResponse, error)
func (UnimplementedCompassServiceServer) GetDiscussion ¶
func (UnimplementedCompassServiceServer) GetDiscussion(context.Context, *v1beta1.GetDiscussionRequest) (*v1beta1.GetDiscussionResponse, error)
func (UnimplementedCompassServiceServer) PatchDiscussion ¶
func (UnimplementedCompassServiceServer) PatchDiscussion(context.Context, *v1beta1.PatchDiscussionRequest) (*emptypb.Empty, error)
func (UnimplementedCompassServiceServer) UpdateComment ¶
func (UnimplementedCompassServiceServer) UpdateComment(context.Context, *v1beta1.UpdateCommentRequest) (*emptypb.Empty, error)
type UnsafeCompassServiceServer ¶
type UnsafeCompassServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCompassServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CompassServiceServer will result in compilation errors.