Documentation ¶
Index ¶
- Variables
- type IssueServiceV1
- func (s *IssueServiceV1) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
- func (s *IssueServiceV1) GetIssue(ctx context.Context, r *drghs_v1.GetIssueRequest) (*drghs_v1.GetIssueResponse, error)
- func (s *IssueServiceV1) ListIssues(ctx context.Context, r *drghs_v1.ListIssuesRequest) (*drghs_v1.ListIssuesResponse, error)
- func (s *IssueServiceV1) ListRepositories(ctx context.Context, r *drghs_v1.ListRepositoriesRequest) (*drghs_v1.ListRepositoriesResponse, error)
- func (s *IssueServiceV1) Watch(req *healthpb.HealthCheckRequest, ws healthpb.Health_WatchServer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNilPageToken is returned when a nil page token is passed ErrNilPageToken = errors.New("nil PageToken") )
Functions ¶
This section is empty.
Types ¶
type IssueServiceV1 ¶
type IssueServiceV1 struct {
// contains filtered or unexported fields
}
IssueServiceV1 is an implementation of the gRPC service drghs_v1.IssueServiceServer
func NewIssueServiceV1 ¶
func NewIssueServiceV1(corpus *maintner.Corpus, resolver googlers.Resolver) *IssueServiceV1
NewIssueServiceV1 returns a service that implements drghs_v1.IssueServiceServer
func (*IssueServiceV1) Check ¶
func (s *IssueServiceV1) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
Check is for health checking.
func (*IssueServiceV1) GetIssue ¶
func (s *IssueServiceV1) GetIssue(ctx context.Context, r *drghs_v1.GetIssueRequest) (*drghs_v1.GetIssueResponse, error)
GetIssue returns the issue specified in the GetIssueRequest
func (*IssueServiceV1) ListIssues ¶
func (s *IssueServiceV1) ListIssues(ctx context.Context, r *drghs_v1.ListIssuesRequest) (*drghs_v1.ListIssuesResponse, error)
ListIssues lists the issues for the repo in the ListIssuesRequest
func (*IssueServiceV1) ListRepositories ¶
func (s *IssueServiceV1) ListRepositories(ctx context.Context, r *drghs_v1.ListRepositoriesRequest) (*drghs_v1.ListRepositoriesResponse, error)
ListRepositories lists the set of repositories tracked by this maintner instance
func (*IssueServiceV1) Watch ¶
func (s *IssueServiceV1) Watch(req *healthpb.HealthCheckRequest, ws healthpb.Health_WatchServer) error
Watch is used for Health Checking, but is not supported.
Click to show internal directories.
Click to hide internal directories.