Documentation ¶
Index ¶
- Variables
- func RegisterRepositoryServer(s *grpc.Server, srv RepositoryServer)
- type Bytes
- type CommentErrorRequest
- func (*CommentErrorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommentErrorRequest) GetError() string
- func (x *CommentErrorRequest) GetPrID() int64
- func (x *CommentErrorRequest) GetRepoName() string
- func (*CommentErrorRequest) ProtoMessage()
- func (x *CommentErrorRequest) ProtoReflect() protoreflect.Message
- func (x *CommentErrorRequest) Reset()
- func (x *CommentErrorRequest) String() string
- type ErrorStatusRequest
- func (*ErrorStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorStatusRequest) GetError() string
- func (x *ErrorStatusRequest) GetRepoName() string
- func (x *ErrorStatusRequest) GetRunName() string
- func (x *ErrorStatusRequest) GetSha() string
- func (x *ErrorStatusRequest) GetUrl() string
- func (*ErrorStatusRequest) ProtoMessage()
- func (x *ErrorStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ErrorStatusRequest) Reset()
- func (x *ErrorStatusRequest) String() string
- type FileDiffRequest
- func (*FileDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileDiffRequest) GetBase() string
- func (x *FileDiffRequest) GetHead() string
- func (x *FileDiffRequest) GetRepoName() string
- func (*FileDiffRequest) ProtoMessage()
- func (x *FileDiffRequest) ProtoReflect() protoreflect.Message
- func (x *FileDiffRequest) Reset()
- func (x *FileDiffRequest) String() string
- type FileRequest
- func (*FileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileRequest) GetFilename() string
- func (x *FileRequest) GetRepoName() string
- func (x *FileRequest) GetSha() string
- func (*FileRequest) ProtoMessage()
- func (x *FileRequest) ProtoReflect() protoreflect.Message
- func (x *FileRequest) Reset()
- func (x *FileRequest) String() string
- type FinishedStatusRequest
- func (*FinishedStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FinishedStatusRequest) GetMsg() string
- func (x *FinishedStatusRequest) GetRepoName() string
- func (x *FinishedStatusRequest) GetRunName() string
- func (x *FinishedStatusRequest) GetSha() string
- func (x *FinishedStatusRequest) GetStatus() bool
- func (x *FinishedStatusRequest) GetUrl() string
- func (*FinishedStatusRequest) ProtoMessage()
- func (x *FinishedStatusRequest) ProtoReflect() protoreflect.Message
- func (x *FinishedStatusRequest) Reset()
- func (x *FinishedStatusRequest) String() string
- type HookSetupRequest
- func (*HookSetupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HookSetupRequest) GetHookSecret() string
- func (x *HookSetupRequest) GetHookURL() string
- func (x *HookSetupRequest) GetRepoName() string
- func (*HookSetupRequest) ProtoMessage()
- func (x *HookSetupRequest) ProtoReflect() protoreflect.Message
- func (x *HookSetupRequest) Reset()
- func (x *HookSetupRequest) String() string
- type HookTeardownRequest
- func (*HookTeardownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HookTeardownRequest) GetHookURL() string
- func (x *HookTeardownRequest) GetRepoName() string
- func (*HookTeardownRequest) ProtoMessage()
- func (x *HookTeardownRequest) ProtoReflect() protoreflect.Message
- func (x *HookTeardownRequest) Reset()
- func (x *HookTeardownRequest) String() string
- type RepoRefPair
- func (*RepoRefPair) Descriptor() ([]byte, []int)deprecated
- func (x *RepoRefPair) GetRefName() string
- func (x *RepoRefPair) GetRepoName() string
- func (*RepoRefPair) ProtoMessage()
- func (x *RepoRefPair) ProtoReflect() protoreflect.Message
- func (x *RepoRefPair) Reset()
- func (x *RepoRefPair) String() string
- type RepoSHAPair
- func (*RepoSHAPair) Descriptor() ([]byte, []int)deprecated
- func (x *RepoSHAPair) GetRepoName() string
- func (x *RepoSHAPair) GetSha() string
- func (*RepoSHAPair) ProtoMessage()
- func (x *RepoSHAPair) ProtoReflect() protoreflect.Message
- func (x *RepoSHAPair) Reset()
- func (x *RepoSHAPair) String() string
- type RepositoryClient
- type RepositoryData
- func (*RepositoryData) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryData) GetMasterBranch() string
- func (x *RepositoryData) GetName() string
- func (*RepositoryData) ProtoMessage()
- func (x *RepositoryData) ProtoReflect() protoreflect.Message
- func (x *RepositoryData) Reset()
- func (x *RepositoryData) String() string
- type RepositoryList
- type RepositoryServer
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatusRequest) GetRepoName() string
- func (x *StatusRequest) GetRunName() string
- func (x *StatusRequest) GetSha() string
- func (x *StatusRequest) GetUrl() string
- func (*StatusRequest) ProtoMessage()
- func (x *StatusRequest) ProtoReflect() protoreflect.Message
- func (x *StatusRequest) Reset()
- func (x *StatusRequest) String() string
- type String
- type StringList
- type UnimplementedRepositoryServer
- func (*UnimplementedRepositoryServer) ClearStates(context.Context, *RepoSHAPair) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) CommentError(context.Context, *CommentErrorRequest) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) ErrorStatus(context.Context, *ErrorStatusRequest) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) FinishedStatus(context.Context, *FinishedStatusRequest) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) GetDiffFiles(context.Context, *FileDiffRequest) (*StringList, error)
- func (*UnimplementedRepositoryServer) GetFile(context.Context, *FileRequest) (*Bytes, error)
- func (*UnimplementedRepositoryServer) GetFileList(context.Context, *RepoSHAPair) (*StringList, error)
- func (*UnimplementedRepositoryServer) GetRefs(context.Context, *RepoSHAPair) (*StringList, error)
- func (*UnimplementedRepositoryServer) GetRepository(context.Context, *UserWithRepo) (*RepositoryData, error)
- func (*UnimplementedRepositoryServer) GetSHA(context.Context, *RepoRefPair) (*String, error)
- func (*UnimplementedRepositoryServer) MyLogin(context.Context, *String) (*String, error)
- func (*UnimplementedRepositoryServer) MyRepositories(context.Context, *types.User) (*RepositoryList, error)
- func (*UnimplementedRepositoryServer) PendingStatus(context.Context, *StatusRequest) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) SetupHook(context.Context, *HookSetupRequest) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) StartedStatus(context.Context, *StatusRequest) (*emptypb.Empty, error)
- func (*UnimplementedRepositoryServer) TeardownHook(context.Context, *HookTeardownRequest) (*emptypb.Empty, error)
- type UserWithRepo
- func (*UserWithRepo) Descriptor() ([]byte, []int)deprecated
- func (x *UserWithRepo) GetRepoName() string
- func (x *UserWithRepo) GetUser() *types.User
- func (*UserWithRepo) ProtoMessage()
- func (x *UserWithRepo) ProtoReflect() protoreflect.Message
- func (x *UserWithRepo) Reset()
- func (x *UserWithRepo) String() string
Constants ¶
This section is empty.
Variables ¶
var File_grpc_services_repository_server_proto protoreflect.FileDescriptor
Functions ¶
func RegisterRepositoryServer ¶
func RegisterRepositoryServer(s *grpc.Server, srv RepositoryServer)
Types ¶
type Bytes ¶
type Bytes struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Bytes) Descriptor
deprecated
func (*Bytes) ProtoMessage ¶
func (*Bytes) ProtoMessage()
func (*Bytes) ProtoReflect ¶ added in v0.3.0
func (x *Bytes) ProtoReflect() protoreflect.Message
type CommentErrorRequest ¶
type CommentErrorRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` PrID int64 `protobuf:"varint,2,opt,name=prID,proto3" json:"prID,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*CommentErrorRequest) Descriptor
deprecated
func (*CommentErrorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommentErrorRequest.ProtoReflect.Descriptor instead.
func (*CommentErrorRequest) GetError ¶
func (x *CommentErrorRequest) GetError() string
func (*CommentErrorRequest) GetPrID ¶
func (x *CommentErrorRequest) GetPrID() int64
func (*CommentErrorRequest) GetRepoName ¶
func (x *CommentErrorRequest) GetRepoName() string
func (*CommentErrorRequest) ProtoMessage ¶
func (*CommentErrorRequest) ProtoMessage()
func (*CommentErrorRequest) ProtoReflect ¶ added in v0.3.0
func (x *CommentErrorRequest) ProtoReflect() protoreflect.Message
func (*CommentErrorRequest) Reset ¶
func (x *CommentErrorRequest) Reset()
func (*CommentErrorRequest) String ¶
func (x *CommentErrorRequest) String() string
type ErrorStatusRequest ¶
type ErrorStatusRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` RunName string `protobuf:"bytes,2,opt,name=runName,proto3" json:"runName,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ErrorStatusRequest) Descriptor
deprecated
func (*ErrorStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStatusRequest.ProtoReflect.Descriptor instead.
func (*ErrorStatusRequest) GetError ¶
func (x *ErrorStatusRequest) GetError() string
func (*ErrorStatusRequest) GetRepoName ¶
func (x *ErrorStatusRequest) GetRepoName() string
func (*ErrorStatusRequest) GetRunName ¶
func (x *ErrorStatusRequest) GetRunName() string
func (*ErrorStatusRequest) GetSha ¶
func (x *ErrorStatusRequest) GetSha() string
func (*ErrorStatusRequest) GetUrl ¶
func (x *ErrorStatusRequest) GetUrl() string
func (*ErrorStatusRequest) ProtoMessage ¶
func (*ErrorStatusRequest) ProtoMessage()
func (*ErrorStatusRequest) ProtoReflect ¶ added in v0.3.0
func (x *ErrorStatusRequest) ProtoReflect() protoreflect.Message
func (*ErrorStatusRequest) Reset ¶
func (x *ErrorStatusRequest) Reset()
func (*ErrorStatusRequest) String ¶
func (x *ErrorStatusRequest) String() string
type FileDiffRequest ¶
type FileDiffRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` Head string `protobuf:"bytes,3,opt,name=head,proto3" json:"head,omitempty"` // contains filtered or unexported fields }
func (*FileDiffRequest) Descriptor
deprecated
func (*FileDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileDiffRequest.ProtoReflect.Descriptor instead.
func (*FileDiffRequest) GetBase ¶
func (x *FileDiffRequest) GetBase() string
func (*FileDiffRequest) GetHead ¶
func (x *FileDiffRequest) GetHead() string
func (*FileDiffRequest) GetRepoName ¶
func (x *FileDiffRequest) GetRepoName() string
func (*FileDiffRequest) ProtoMessage ¶
func (*FileDiffRequest) ProtoMessage()
func (*FileDiffRequest) ProtoReflect ¶ added in v0.3.0
func (x *FileDiffRequest) ProtoReflect() protoreflect.Message
func (*FileDiffRequest) Reset ¶
func (x *FileDiffRequest) Reset()
func (*FileDiffRequest) String ¶
func (x *FileDiffRequest) String() string
type FileRequest ¶
type FileRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` // contains filtered or unexported fields }
func (*FileRequest) Descriptor
deprecated
func (*FileRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileRequest.ProtoReflect.Descriptor instead.
func (*FileRequest) GetFilename ¶
func (x *FileRequest) GetFilename() string
func (*FileRequest) GetRepoName ¶
func (x *FileRequest) GetRepoName() string
func (*FileRequest) GetSha ¶
func (x *FileRequest) GetSha() string
func (*FileRequest) ProtoMessage ¶
func (*FileRequest) ProtoMessage()
func (*FileRequest) ProtoReflect ¶ added in v0.3.0
func (x *FileRequest) ProtoReflect() protoreflect.Message
func (*FileRequest) Reset ¶
func (x *FileRequest) Reset()
func (*FileRequest) String ¶
func (x *FileRequest) String() string
type FinishedStatusRequest ¶
type FinishedStatusRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` RunName string `protobuf:"bytes,2,opt,name=runName,proto3" json:"runName,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Status bool `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*FinishedStatusRequest) Descriptor
deprecated
func (*FinishedStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use FinishedStatusRequest.ProtoReflect.Descriptor instead.
func (*FinishedStatusRequest) GetMsg ¶
func (x *FinishedStatusRequest) GetMsg() string
func (*FinishedStatusRequest) GetRepoName ¶
func (x *FinishedStatusRequest) GetRepoName() string
func (*FinishedStatusRequest) GetRunName ¶
func (x *FinishedStatusRequest) GetRunName() string
func (*FinishedStatusRequest) GetSha ¶
func (x *FinishedStatusRequest) GetSha() string
func (*FinishedStatusRequest) GetStatus ¶
func (x *FinishedStatusRequest) GetStatus() bool
func (*FinishedStatusRequest) GetUrl ¶
func (x *FinishedStatusRequest) GetUrl() string
func (*FinishedStatusRequest) ProtoMessage ¶
func (*FinishedStatusRequest) ProtoMessage()
func (*FinishedStatusRequest) ProtoReflect ¶ added in v0.3.0
func (x *FinishedStatusRequest) ProtoReflect() protoreflect.Message
func (*FinishedStatusRequest) Reset ¶
func (x *FinishedStatusRequest) Reset()
func (*FinishedStatusRequest) String ¶
func (x *FinishedStatusRequest) String() string
type HookSetupRequest ¶
type HookSetupRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` HookURL string `protobuf:"bytes,2,opt,name=hookURL,proto3" json:"hookURL,omitempty"` HookSecret string `protobuf:"bytes,3,opt,name=hookSecret,proto3" json:"hookSecret,omitempty"` // contains filtered or unexported fields }
func (*HookSetupRequest) Descriptor
deprecated
func (*HookSetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use HookSetupRequest.ProtoReflect.Descriptor instead.
func (*HookSetupRequest) GetHookSecret ¶
func (x *HookSetupRequest) GetHookSecret() string
func (*HookSetupRequest) GetHookURL ¶
func (x *HookSetupRequest) GetHookURL() string
func (*HookSetupRequest) GetRepoName ¶
func (x *HookSetupRequest) GetRepoName() string
func (*HookSetupRequest) ProtoMessage ¶
func (*HookSetupRequest) ProtoMessage()
func (*HookSetupRequest) ProtoReflect ¶ added in v0.3.0
func (x *HookSetupRequest) ProtoReflect() protoreflect.Message
func (*HookSetupRequest) Reset ¶
func (x *HookSetupRequest) Reset()
func (*HookSetupRequest) String ¶
func (x *HookSetupRequest) String() string
type HookTeardownRequest ¶
type HookTeardownRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` HookURL string `protobuf:"bytes,2,opt,name=hookURL,proto3" json:"hookURL,omitempty"` // contains filtered or unexported fields }
func (*HookTeardownRequest) Descriptor
deprecated
func (*HookTeardownRequest) Descriptor() ([]byte, []int)
Deprecated: Use HookTeardownRequest.ProtoReflect.Descriptor instead.
func (*HookTeardownRequest) GetHookURL ¶
func (x *HookTeardownRequest) GetHookURL() string
func (*HookTeardownRequest) GetRepoName ¶
func (x *HookTeardownRequest) GetRepoName() string
func (*HookTeardownRequest) ProtoMessage ¶
func (*HookTeardownRequest) ProtoMessage()
func (*HookTeardownRequest) ProtoReflect ¶ added in v0.3.0
func (x *HookTeardownRequest) ProtoReflect() protoreflect.Message
func (*HookTeardownRequest) Reset ¶
func (x *HookTeardownRequest) Reset()
func (*HookTeardownRequest) String ¶
func (x *HookTeardownRequest) String() string
type RepoRefPair ¶
type RepoRefPair struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` RefName string `protobuf:"bytes,2,opt,name=refName,proto3" json:"refName,omitempty"` // contains filtered or unexported fields }
func (*RepoRefPair) Descriptor
deprecated
func (*RepoRefPair) Descriptor() ([]byte, []int)
Deprecated: Use RepoRefPair.ProtoReflect.Descriptor instead.
func (*RepoRefPair) GetRefName ¶
func (x *RepoRefPair) GetRefName() string
func (*RepoRefPair) GetRepoName ¶
func (x *RepoRefPair) GetRepoName() string
func (*RepoRefPair) ProtoMessage ¶
func (*RepoRefPair) ProtoMessage()
func (*RepoRefPair) ProtoReflect ¶ added in v0.3.0
func (x *RepoRefPair) ProtoReflect() protoreflect.Message
func (*RepoRefPair) Reset ¶
func (x *RepoRefPair) Reset()
func (*RepoRefPair) String ¶
func (x *RepoRefPair) String() string
type RepoSHAPair ¶
type RepoSHAPair struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*RepoSHAPair) Descriptor
deprecated
func (*RepoSHAPair) Descriptor() ([]byte, []int)
Deprecated: Use RepoSHAPair.ProtoReflect.Descriptor instead.
func (*RepoSHAPair) GetRepoName ¶
func (x *RepoSHAPair) GetRepoName() string
func (*RepoSHAPair) GetSha ¶
func (x *RepoSHAPair) GetSha() string
func (*RepoSHAPair) ProtoMessage ¶
func (*RepoSHAPair) ProtoMessage()
func (*RepoSHAPair) ProtoReflect ¶ added in v0.3.0
func (x *RepoSHAPair) ProtoReflect() protoreflect.Message
func (*RepoSHAPair) Reset ¶
func (x *RepoSHAPair) Reset()
func (*RepoSHAPair) String ¶
func (x *RepoSHAPair) String() string
type RepositoryClient ¶
type RepositoryClient interface { // CommentError is for commenting on PRs when there is no better means of bubbling up an error. CommentError(ctx context.Context, in *CommentErrorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) MyRepositories(ctx context.Context, in *types.User, opts ...grpc.CallOption) (*RepositoryList, error) GetRepository(ctx context.Context, in *UserWithRepo, opts ...grpc.CallOption) (*RepositoryData, error) MyLogin(ctx context.Context, in *String, opts ...grpc.CallOption) (*String, error) GetFileList(ctx context.Context, in *RepoSHAPair, opts ...grpc.CallOption) (*StringList, error) GetSHA(ctx context.Context, in *RepoRefPair, opts ...grpc.CallOption) (*String, error) GetRefs(ctx context.Context, in *RepoSHAPair, opts ...grpc.CallOption) (*StringList, error) GetFile(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*Bytes, error) GetDiffFiles(ctx context.Context, in *FileDiffRequest, opts ...grpc.CallOption) (*StringList, error) SetupHook(ctx context.Context, in *HookSetupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) TeardownHook(ctx context.Context, in *HookTeardownRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) PendingStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) StartedStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ErrorStatus(ctx context.Context, in *ErrorStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) FinishedStatus(ctx context.Context, in *FinishedStatusRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ClearStates(ctx context.Context, in *RepoSHAPair, opts ...grpc.CallOption) (*emptypb.Empty, error) }
RepositoryClient is the client API for Repository service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRepositoryClient ¶
func NewRepositoryClient(cc grpc.ClientConnInterface) RepositoryClient
type RepositoryData ¶
type RepositoryData struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MasterBranch string `protobuf:"bytes,2,opt,name=masterBranch,proto3" json:"masterBranch,omitempty"` // contains filtered or unexported fields }
func (*RepositoryData) Descriptor
deprecated
func (*RepositoryData) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryData.ProtoReflect.Descriptor instead.
func (*RepositoryData) GetMasterBranch ¶
func (x *RepositoryData) GetMasterBranch() string
func (*RepositoryData) GetName ¶
func (x *RepositoryData) GetName() string
func (*RepositoryData) ProtoMessage ¶
func (*RepositoryData) ProtoMessage()
func (*RepositoryData) ProtoReflect ¶ added in v0.3.0
func (x *RepositoryData) ProtoReflect() protoreflect.Message
func (*RepositoryData) Reset ¶
func (x *RepositoryData) Reset()
func (*RepositoryData) String ¶
func (x *RepositoryData) String() string
type RepositoryList ¶
type RepositoryList struct { Repositories []*RepositoryData `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
func (*RepositoryList) Descriptor
deprecated
func (*RepositoryList) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryList.ProtoReflect.Descriptor instead.
func (*RepositoryList) GetRepositories ¶
func (x *RepositoryList) GetRepositories() []*RepositoryData
func (*RepositoryList) ProtoMessage ¶
func (*RepositoryList) ProtoMessage()
func (*RepositoryList) ProtoReflect ¶ added in v0.3.0
func (x *RepositoryList) ProtoReflect() protoreflect.Message
func (*RepositoryList) Reset ¶
func (x *RepositoryList) Reset()
func (*RepositoryList) String ¶
func (x *RepositoryList) String() string
type RepositoryServer ¶
type RepositoryServer interface { // CommentError is for commenting on PRs when there is no better means of bubbling up an error. CommentError(context.Context, *CommentErrorRequest) (*emptypb.Empty, error) MyRepositories(context.Context, *types.User) (*RepositoryList, error) GetRepository(context.Context, *UserWithRepo) (*RepositoryData, error) MyLogin(context.Context, *String) (*String, error) GetFileList(context.Context, *RepoSHAPair) (*StringList, error) GetSHA(context.Context, *RepoRefPair) (*String, error) GetRefs(context.Context, *RepoSHAPair) (*StringList, error) GetFile(context.Context, *FileRequest) (*Bytes, error) GetDiffFiles(context.Context, *FileDiffRequest) (*StringList, error) SetupHook(context.Context, *HookSetupRequest) (*emptypb.Empty, error) TeardownHook(context.Context, *HookTeardownRequest) (*emptypb.Empty, error) PendingStatus(context.Context, *StatusRequest) (*emptypb.Empty, error) StartedStatus(context.Context, *StatusRequest) (*emptypb.Empty, error) ErrorStatus(context.Context, *ErrorStatusRequest) (*emptypb.Empty, error) FinishedStatus(context.Context, *FinishedStatusRequest) (*emptypb.Empty, error) ClearStates(context.Context, *RepoSHAPair) (*emptypb.Empty, error) }
RepositoryServer is the server API for Repository service.
type StatusRequest ¶
type StatusRequest struct { RepoName string `protobuf:"bytes,1,opt,name=repoName,proto3" json:"repoName,omitempty"` RunName string `protobuf:"bytes,2,opt,name=runName,proto3" json:"runName,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetRepoName ¶
func (x *StatusRequest) GetRepoName() string
func (*StatusRequest) GetRunName ¶
func (x *StatusRequest) GetRunName() string
func (*StatusRequest) GetSha ¶
func (x *StatusRequest) GetSha() string
func (*StatusRequest) GetUrl ¶
func (x *StatusRequest) GetUrl() string
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶ added in v0.3.0
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string
type String ¶
type String struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*String) Descriptor
deprecated
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶ added in v0.3.0
func (x *String) ProtoReflect() protoreflect.Message
type StringList ¶
type StringList struct { List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*StringList) Descriptor
deprecated
func (*StringList) Descriptor() ([]byte, []int)
Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetList ¶
func (x *StringList) GetList() []string
func (*StringList) ProtoMessage ¶
func (*StringList) ProtoMessage()
func (*StringList) ProtoReflect ¶ added in v0.3.0
func (x *StringList) ProtoReflect() protoreflect.Message
func (*StringList) Reset ¶
func (x *StringList) Reset()
func (*StringList) String ¶
func (x *StringList) String() string
type UnimplementedRepositoryServer ¶
type UnimplementedRepositoryServer struct { }
UnimplementedRepositoryServer can be embedded to have forward compatible implementations.
func (*UnimplementedRepositoryServer) ClearStates ¶
func (*UnimplementedRepositoryServer) ClearStates(context.Context, *RepoSHAPair) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) CommentError ¶
func (*UnimplementedRepositoryServer) CommentError(context.Context, *CommentErrorRequest) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) ErrorStatus ¶
func (*UnimplementedRepositoryServer) ErrorStatus(context.Context, *ErrorStatusRequest) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) FinishedStatus ¶
func (*UnimplementedRepositoryServer) FinishedStatus(context.Context, *FinishedStatusRequest) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) GetDiffFiles ¶
func (*UnimplementedRepositoryServer) GetDiffFiles(context.Context, *FileDiffRequest) (*StringList, error)
func (*UnimplementedRepositoryServer) GetFile ¶
func (*UnimplementedRepositoryServer) GetFile(context.Context, *FileRequest) (*Bytes, error)
func (*UnimplementedRepositoryServer) GetFileList ¶
func (*UnimplementedRepositoryServer) GetFileList(context.Context, *RepoSHAPair) (*StringList, error)
func (*UnimplementedRepositoryServer) GetRefs ¶
func (*UnimplementedRepositoryServer) GetRefs(context.Context, *RepoSHAPair) (*StringList, error)
func (*UnimplementedRepositoryServer) GetRepository ¶
func (*UnimplementedRepositoryServer) GetRepository(context.Context, *UserWithRepo) (*RepositoryData, error)
func (*UnimplementedRepositoryServer) GetSHA ¶
func (*UnimplementedRepositoryServer) GetSHA(context.Context, *RepoRefPair) (*String, error)
func (*UnimplementedRepositoryServer) MyRepositories ¶
func (*UnimplementedRepositoryServer) MyRepositories(context.Context, *types.User) (*RepositoryList, error)
func (*UnimplementedRepositoryServer) PendingStatus ¶
func (*UnimplementedRepositoryServer) PendingStatus(context.Context, *StatusRequest) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) SetupHook ¶
func (*UnimplementedRepositoryServer) SetupHook(context.Context, *HookSetupRequest) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) StartedStatus ¶
func (*UnimplementedRepositoryServer) StartedStatus(context.Context, *StatusRequest) (*emptypb.Empty, error)
func (*UnimplementedRepositoryServer) TeardownHook ¶
func (*UnimplementedRepositoryServer) TeardownHook(context.Context, *HookTeardownRequest) (*emptypb.Empty, error)
type UserWithRepo ¶
type UserWithRepo struct { User *types.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` RepoName string `protobuf:"bytes,2,opt,name=repoName,proto3" json:"repoName,omitempty"` // contains filtered or unexported fields }
func (*UserWithRepo) Descriptor
deprecated
func (*UserWithRepo) Descriptor() ([]byte, []int)
Deprecated: Use UserWithRepo.ProtoReflect.Descriptor instead.
func (*UserWithRepo) GetRepoName ¶
func (x *UserWithRepo) GetRepoName() string
func (*UserWithRepo) GetUser ¶
func (x *UserWithRepo) GetUser() *types.User
func (*UserWithRepo) ProtoMessage ¶
func (*UserWithRepo) ProtoMessage()
func (*UserWithRepo) ProtoReflect ¶ added in v0.3.0
func (x *UserWithRepo) ProtoReflect() protoreflect.Message
func (*UserWithRepo) Reset ¶
func (x *UserWithRepo) Reset()
func (*UserWithRepo) String ¶
func (x *UserWithRepo) String() string