Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCommitAnalyzerPluginServer(s *grpc.Server, srv CommitAnalyzerPluginServer)
- type AnalyzeCommits
- type AnalyzeCommits_Request
- func (*AnalyzeCommits_Request) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeCommits_Request) GetRawCommits() []*semrel.RawCommit
- func (*AnalyzeCommits_Request) ProtoMessage()
- func (x *AnalyzeCommits_Request) ProtoReflect() protoreflect.Message
- func (x *AnalyzeCommits_Request) Reset()
- func (x *AnalyzeCommits_Request) String() string
- type AnalyzeCommits_Response
- func (*AnalyzeCommits_Response) Descriptor() ([]byte, []int)deprecated
- func (x *AnalyzeCommits_Response) GetCommits() []*semrel.Commit
- func (*AnalyzeCommits_Response) ProtoMessage()
- func (x *AnalyzeCommits_Response) ProtoReflect() protoreflect.Message
- func (x *AnalyzeCommits_Response) Reset()
- func (x *AnalyzeCommits_Response) String() string
- type CommitAnalyzer
- type CommitAnalyzerClient
- type CommitAnalyzerPluginClient
- type CommitAnalyzerPluginServer
- type CommitAnalyzerServer
- type UnimplementedCommitAnalyzerPluginServer
Constants ¶
const CommitAnalyzerPluginName = "commit_analyzer"
Variables ¶
var File_pkg_analyzer_commit_analyzer_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCommitAnalyzerPluginServer ¶
func RegisterCommitAnalyzerPluginServer(s *grpc.Server, srv CommitAnalyzerPluginServer)
Types ¶
type AnalyzeCommits ¶
type AnalyzeCommits struct {
// contains filtered or unexported fields
}
func (*AnalyzeCommits) Descriptor
deprecated
func (*AnalyzeCommits) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeCommits.ProtoReflect.Descriptor instead.
func (*AnalyzeCommits) ProtoMessage ¶
func (*AnalyzeCommits) ProtoMessage()
func (*AnalyzeCommits) ProtoReflect ¶
func (x *AnalyzeCommits) ProtoReflect() protoreflect.Message
func (*AnalyzeCommits) Reset ¶
func (x *AnalyzeCommits) Reset()
func (*AnalyzeCommits) String ¶
func (x *AnalyzeCommits) String() string
type AnalyzeCommits_Request ¶
type AnalyzeCommits_Request struct { RawCommits []*semrel.RawCommit `protobuf:"bytes,1,rep,name=raw_commits,json=rawCommits,proto3" json:"raw_commits,omitempty"` // contains filtered or unexported fields }
func (*AnalyzeCommits_Request) Descriptor
deprecated
func (*AnalyzeCommits_Request) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeCommits_Request.ProtoReflect.Descriptor instead.
func (*AnalyzeCommits_Request) GetRawCommits ¶
func (x *AnalyzeCommits_Request) GetRawCommits() []*semrel.RawCommit
func (*AnalyzeCommits_Request) ProtoMessage ¶
func (*AnalyzeCommits_Request) ProtoMessage()
func (*AnalyzeCommits_Request) ProtoReflect ¶
func (x *AnalyzeCommits_Request) ProtoReflect() protoreflect.Message
func (*AnalyzeCommits_Request) Reset ¶
func (x *AnalyzeCommits_Request) Reset()
func (*AnalyzeCommits_Request) String ¶
func (x *AnalyzeCommits_Request) String() string
type AnalyzeCommits_Response ¶
type AnalyzeCommits_Response struct { Commits []*semrel.Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
func (*AnalyzeCommits_Response) Descriptor
deprecated
func (*AnalyzeCommits_Response) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeCommits_Response.ProtoReflect.Descriptor instead.
func (*AnalyzeCommits_Response) GetCommits ¶
func (x *AnalyzeCommits_Response) GetCommits() []*semrel.Commit
func (*AnalyzeCommits_Response) ProtoMessage ¶
func (*AnalyzeCommits_Response) ProtoMessage()
func (*AnalyzeCommits_Response) ProtoReflect ¶
func (x *AnalyzeCommits_Response) ProtoReflect() protoreflect.Message
func (*AnalyzeCommits_Response) Reset ¶
func (x *AnalyzeCommits_Response) Reset()
func (*AnalyzeCommits_Response) String ¶
func (x *AnalyzeCommits_Response) String() string
type CommitAnalyzer ¶
type CommitAnalyzerClient ¶
type CommitAnalyzerClient struct {
Impl CommitAnalyzerPluginClient
}
type CommitAnalyzerPluginClient ¶
type CommitAnalyzerPluginClient interface {
Analyze(ctx context.Context, in *AnalyzeCommits_Request, opts ...grpc.CallOption) (*AnalyzeCommits_Response, error)
}
CommitAnalyzerPluginClient is the client API for CommitAnalyzerPlugin 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 NewCommitAnalyzerPluginClient ¶
func NewCommitAnalyzerPluginClient(cc grpc.ClientConnInterface) CommitAnalyzerPluginClient
type CommitAnalyzerPluginServer ¶
type CommitAnalyzerPluginServer interface { Analyze(context.Context, *AnalyzeCommits_Request) (*AnalyzeCommits_Response, error) // contains filtered or unexported methods }
CommitAnalyzerPluginServer is the server API for CommitAnalyzerPlugin service. All implementations must embed UnimplementedCommitAnalyzerPluginServer for forward compatibility
type CommitAnalyzerServer ¶
type CommitAnalyzerServer struct { Impl CommitAnalyzer UnimplementedCommitAnalyzerPluginServer }
func (*CommitAnalyzerServer) Analyze ¶
func (c *CommitAnalyzerServer) Analyze(ctx context.Context, request *AnalyzeCommits_Request) (*AnalyzeCommits_Response, error)
type UnimplementedCommitAnalyzerPluginServer ¶
type UnimplementedCommitAnalyzerPluginServer struct { }
UnimplementedCommitAnalyzerPluginServer must be embedded to have forward compatible implementations.
func (*UnimplementedCommitAnalyzerPluginServer) Analyze ¶
func (*UnimplementedCommitAnalyzerPluginServer) Analyze(context.Context, *AnalyzeCommits_Request) (*AnalyzeCommits_Response, error)