github_watcher

package
v0.0.0-...-325dcee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_github_watcher_watchRepo_proto protoreflect.FileDescriptor
View Source
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

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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL