Documentation
¶
Index ¶
- Variables
- func RegisterWatchRepoServiceServer(s grpc.ServiceRegistrar, srv WatchRepoServiceServer)
- type UnimplementedWatchRepoServiceServer
- type UnsafeWatchRepoServiceServer
- type WatchRepoRequest
- func (*WatchRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchRepoRequest) GetBranch() string
- func (x *WatchRepoRequest) GetOwner() string
- func (x *WatchRepoRequest) GetRepository() string
- func (x *WatchRepoRequest) GetSHA() string
- func (*WatchRepoRequest) ProtoMessage()
- func (x *WatchRepoRequest) ProtoReflect() protoreflect.Message
- func (x *WatchRepoRequest) Reset()
- func (x *WatchRepoRequest) String() string
- type WatchRepoResponse
- type WatchRepoServiceClient
- type WatchRepoServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_github_watcher_watchRepo_proto protoreflect.FileDescriptor
var WatchRepoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "githubWatcher.WatchRepoService", HandlerType: (*WatchRepoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "WatchRepo", Handler: _WatchRepoService_WatchRepo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/github-watcher/watchRepo.proto", }
WatchRepoService_ServiceDesc is the grpc.ServiceDesc for WatchRepoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterWatchRepoServiceServer ¶
func RegisterWatchRepoServiceServer(s grpc.ServiceRegistrar, srv WatchRepoServiceServer)
Types ¶
type UnimplementedWatchRepoServiceServer ¶
type UnimplementedWatchRepoServiceServer struct { }
UnimplementedWatchRepoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWatchRepoServiceServer) WatchRepo ¶
func (UnimplementedWatchRepoServiceServer) WatchRepo(context.Context, *WatchRepoRequest) (*WatchRepoResponse, error)
type UnsafeWatchRepoServiceServer ¶
type UnsafeWatchRepoServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWatchRepoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchRepoServiceServer will result in compilation errors.
type WatchRepoRequest ¶
type WatchRepoRequest struct { Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` SHA string `protobuf:"bytes,3,opt,name=SHA,proto3" json:"SHA,omitempty"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*WatchRepoRequest) Descriptor
deprecated
func (*WatchRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchRepoRequest.ProtoReflect.Descriptor instead.
func (*WatchRepoRequest) GetBranch ¶
func (x *WatchRepoRequest) GetBranch() string
func (*WatchRepoRequest) GetOwner ¶
func (x *WatchRepoRequest) GetOwner() string
func (*WatchRepoRequest) GetRepository ¶
func (x *WatchRepoRequest) GetRepository() string
func (*WatchRepoRequest) GetSHA ¶
func (x *WatchRepoRequest) GetSHA() string
func (*WatchRepoRequest) ProtoMessage ¶
func (*WatchRepoRequest) ProtoMessage()
func (*WatchRepoRequest) ProtoReflect ¶
func (x *WatchRepoRequest) ProtoReflect() protoreflect.Message
func (*WatchRepoRequest) Reset ¶
func (x *WatchRepoRequest) Reset()
func (*WatchRepoRequest) String ¶
func (x *WatchRepoRequest) String() string
type WatchRepoResponse ¶
type WatchRepoResponse struct { IsUpdated bool `protobuf:"varint,1,opt,name=isUpdated,proto3" json:"isUpdated,omitempty"` // contains filtered or unexported fields }
func (*WatchRepoResponse) Descriptor
deprecated
func (*WatchRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use WatchRepoResponse.ProtoReflect.Descriptor instead.
func (*WatchRepoResponse) GetIsUpdated ¶
func (x *WatchRepoResponse) GetIsUpdated() bool
func (*WatchRepoResponse) ProtoMessage ¶
func (*WatchRepoResponse) ProtoMessage()
func (*WatchRepoResponse) ProtoReflect ¶
func (x *WatchRepoResponse) ProtoReflect() protoreflect.Message
func (*WatchRepoResponse) Reset ¶
func (x *WatchRepoResponse) Reset()
func (*WatchRepoResponse) String ¶
func (x *WatchRepoResponse) String() string
type WatchRepoServiceClient ¶
type WatchRepoServiceClient interface {
WatchRepo(ctx context.Context, in *WatchRepoRequest, opts ...grpc.CallOption) (*WatchRepoResponse, error)
}
WatchRepoServiceClient is the client API for WatchRepoService 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 NewWatchRepoServiceClient ¶
func NewWatchRepoServiceClient(cc grpc.ClientConnInterface) WatchRepoServiceClient
type WatchRepoServiceServer ¶
type WatchRepoServiceServer interface { WatchRepo(context.Context, *WatchRepoRequest) (*WatchRepoResponse, error) // contains filtered or unexported methods }
WatchRepoServiceServer is the server API for WatchRepoService service. All implementations must embed UnimplementedWatchRepoServiceServer for forward compatibility