Documentation ¶
Index ¶
- Variables
- func RegisterBranchServer(s grpc.ServiceRegistrar, srv BranchServer)
- type BranchClient
- type BranchObject
- func (*BranchObject) Descriptor() ([]byte, []int)deprecated
- func (x *BranchObject) GetCheckedOut() bool
- func (x *BranchObject) GetName() string
- func (*BranchObject) ProtoMessage()
- func (x *BranchObject) ProtoReflect() protoreflect.Message
- func (x *BranchObject) Reset()
- func (x *BranchObject) String() string
- type BranchServer
- type Branch_StreamFilesClient
- type Branch_StreamFilesServer
- type Branch_WatchClient
- type Branch_WatchServer
- type Checkout
- type Checkout_Options
- func (*Checkout_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Checkout_Options) GetProxyName() string
- func (x *Checkout_Options) GetProxyNamespace() string
- func (*Checkout_Options) ProtoMessage()
- func (x *Checkout_Options) ProtoReflect() protoreflect.Message
- func (x *Checkout_Options) Reset()
- func (x *Checkout_Options) String() string
- type Checkout_Request
- func (*Checkout_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Checkout_Request) GetBranch() string
- func (x *Checkout_Request) GetOptions() *Checkout_Options
- func (*Checkout_Request) ProtoMessage()
- func (x *Checkout_Request) ProtoReflect() protoreflect.Message
- func (x *Checkout_Request) Reset()
- func (x *Checkout_Request) String() string
- type Checkout_Response
- type Create
- type Create_Options
- func (*Create_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Create_Options) GetProxyName() string
- func (x *Create_Options) GetProxyNamespace() string
- func (*Create_Options) ProtoMessage()
- func (x *Create_Options) ProtoReflect() protoreflect.Message
- func (x *Create_Options) Reset()
- func (x *Create_Options) String() string
- type Create_Request
- func (*Create_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Create_Request) GetBranch() string
- func (x *Create_Request) GetOptions() *Create_Options
- func (*Create_Request) ProtoMessage()
- func (x *Create_Request) ProtoReflect() protoreflect.Message
- func (x *Create_Request) Reset()
- func (x *Create_Request) String() string
- type Create_Response
- type Delete
- type Delete_Options
- func (*Delete_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Delete_Options) GetProxyName() string
- func (x *Delete_Options) GetProxyNamespace() string
- func (*Delete_Options) ProtoMessage()
- func (x *Delete_Options) ProtoReflect() protoreflect.Message
- func (x *Delete_Options) Reset()
- func (x *Delete_Options) String() string
- type Delete_Request
- func (*Delete_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Delete_Request) GetBranch() string
- func (x *Delete_Request) GetOptions() *Delete_Options
- func (*Delete_Request) ProtoMessage()
- func (x *Delete_Request) ProtoReflect() protoreflect.Message
- func (x *Delete_Request) Reset()
- func (x *Delete_Request) String() string
- type Delete_Response
- type Diff
- type Diff_Diff
- func (*Diff_Diff) Descriptor() ([]byte, []int)deprecated
- func (x *Diff_Diff) GetAction() Diff_FileAction
- func (x *Diff_Diff) GetDstFileName() string
- func (x *Diff_Diff) GetSrcFileName() string
- func (*Diff_Diff) ProtoMessage()
- func (x *Diff_Diff) ProtoReflect() protoreflect.Message
- func (x *Diff_Diff) Reset()
- func (x *Diff_Diff) String() string
- type Diff_FileAction
- func (Diff_FileAction) Descriptor() protoreflect.EnumDescriptor
- func (x Diff_FileAction) Enum() *Diff_FileAction
- func (Diff_FileAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x Diff_FileAction) Number() protoreflect.EnumNumber
- func (x Diff_FileAction) String() string
- func (Diff_FileAction) Type() protoreflect.EnumType
- type Diff_Options
- func (*Diff_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Diff_Options) GetProxyName() string
- func (x *Diff_Options) GetProxyNamespace() string
- func (*Diff_Options) ProtoMessage()
- func (x *Diff_Options) ProtoReflect() protoreflect.Message
- func (x *Diff_Options) Reset()
- func (x *Diff_Options) String() string
- type Diff_Request
- func (*Diff_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Diff_Request) GetDstBranch() string
- func (x *Diff_Request) GetOptions() *Diff_Options
- func (x *Diff_Request) GetSrcBranch() string
- func (*Diff_Request) ProtoMessage()
- func (x *Diff_Request) ProtoReflect() protoreflect.Message
- func (x *Diff_Request) Reset()
- func (x *Diff_Request) String() string
- type Diff_Response
- type Get
- type Get_File
- type Get_Log
- func (*Get_Log) Descriptor() ([]byte, []int)deprecated
- func (x *Get_Log) GetAuthorEmail() string
- func (x *Get_Log) GetAuthorName() string
- func (x *Get_Log) GetCommitHash() string
- func (x *Get_Log) GetDate() string
- func (x *Get_Log) GetMessage() string
- func (*Get_Log) ProtoMessage()
- func (x *Get_Log) ProtoReflect() protoreflect.Message
- func (x *Get_Log) Reset()
- func (x *Get_Log) String() string
- type Get_Options
- func (*Get_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Get_Options) GetProxyName() string
- func (x *Get_Options) GetProxyNamespace() string
- func (*Get_Options) ProtoMessage()
- func (x *Get_Options) ProtoReflect() protoreflect.Message
- func (x *Get_Options) Reset()
- func (x *Get_Options) String() string
- type Get_Request
- func (*Get_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Get_Request) GetBranch() string
- func (x *Get_Request) GetOptions() *Get_Options
- func (*Get_Request) ProtoMessage()
- func (x *Get_Request) ProtoReflect() protoreflect.Message
- func (x *Get_Request) Reset()
- func (x *Get_Request) String() string
- type Get_Response
- func (*Get_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Get_Response) GetBranchObj() *BranchObject
- func (x *Get_Response) GetLogs() []*Get_Log
- func (*Get_Response) ProtoMessage()
- func (x *Get_Response) ProtoReflect() protoreflect.Message
- func (x *Get_Response) Reset()
- func (x *Get_Response) String() string
- type List
- type List_Options
- func (*List_Options) Descriptor() ([]byte, []int)deprecated
- func (x *List_Options) GetProxyName() string
- func (x *List_Options) GetProxyNamespace() string
- func (*List_Options) ProtoMessage()
- func (x *List_Options) ProtoReflect() protoreflect.Message
- func (x *List_Options) Reset()
- func (x *List_Options) String() string
- type List_Request
- type List_Response
- type Merge
- type Merge_Options
- func (*Merge_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Merge_Options) GetProxyName() string
- func (x *Merge_Options) GetProxyNamespace() string
- func (*Merge_Options) ProtoMessage()
- func (x *Merge_Options) ProtoReflect() protoreflect.Message
- func (x *Merge_Options) Reset()
- func (x *Merge_Options) String() string
- type Merge_Request
- func (*Merge_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Merge_Request) GetDstBranch() string
- func (x *Merge_Request) GetOptions() *Merge_Options
- func (x *Merge_Request) GetSrcBranch() string
- func (*Merge_Request) ProtoMessage()
- func (x *Merge_Request) ProtoReflect() protoreflect.Message
- func (x *Merge_Request) Reset()
- func (x *Merge_Request) String() string
- type Merge_Response
- type Stash
- type Stash_Options
- func (*Stash_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Stash_Options) GetProxyName() string
- func (x *Stash_Options) GetProxyNamespace() string
- func (*Stash_Options) ProtoMessage()
- func (x *Stash_Options) ProtoReflect() protoreflect.Message
- func (x *Stash_Options) Reset()
- func (x *Stash_Options) String() string
- type Stash_Request
- func (*Stash_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Stash_Request) GetBranch() string
- func (x *Stash_Request) GetOptions() *Stash_Options
- func (*Stash_Request) ProtoMessage()
- func (x *Stash_Request) ProtoReflect() protoreflect.Message
- func (x *Stash_Request) Reset()
- func (x *Stash_Request) String() string
- type Stash_Response
- type UnimplementedBranchServer
- func (UnimplementedBranchServer) Checkout(context.Context, *Checkout_Request) (*Checkout_Response, error)
- func (UnimplementedBranchServer) Create(context.Context, *Create_Request) (*Create_Response, error)
- func (UnimplementedBranchServer) Delete(context.Context, *Delete_Request) (*Delete_Response, error)
- func (UnimplementedBranchServer) Diff(context.Context, *Diff_Request) (*Diff_Response, error)
- func (UnimplementedBranchServer) Get(context.Context, *Get_Request) (*Get_Response, error)
- func (UnimplementedBranchServer) List(context.Context, *List_Request) (*List_Response, error)
- func (UnimplementedBranchServer) Merge(context.Context, *Merge_Request) (*Merge_Response, error)
- func (UnimplementedBranchServer) Stash(context.Context, *Stash_Request) (*Stash_Response, error)
- func (UnimplementedBranchServer) StreamFiles(*Get_Request, Branch_StreamFilesServer) error
- func (UnimplementedBranchServer) Watch(*Watch_Request, Branch_WatchServer) error
- type UnsafeBranchServer
- type Watch
- type Watch_EventType
- func (Watch_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x Watch_EventType) Enum() *Watch_EventType
- func (Watch_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Watch_EventType) Number() protoreflect.EnumNumber
- func (x Watch_EventType) String() string
- func (Watch_EventType) Type() protoreflect.EnumType
- type Watch_Options
- func (*Watch_Options) Descriptor() ([]byte, []int)deprecated
- func (x *Watch_Options) GetOrigin() string
- func (x *Watch_Options) GetProxyName() string
- func (x *Watch_Options) GetProxyNamespace() string
- func (x *Watch_Options) GetTrace() string
- func (x *Watch_Options) GetWatch() bool
- func (*Watch_Options) ProtoMessage()
- func (x *Watch_Options) ProtoReflect() protoreflect.Message
- func (x *Watch_Options) Reset()
- func (x *Watch_Options) String() string
- type Watch_Request
- func (*Watch_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Watch_Request) GetId() string
- func (x *Watch_Request) GetOptions() *Watch_Options
- func (*Watch_Request) ProtoMessage()
- func (x *Watch_Request) ProtoReflect() protoreflect.Message
- func (x *Watch_Request) Reset()
- func (x *Watch_Request) String() string
- type Watch_Response
- func (*Watch_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Watch_Response) GetBranchObj() *BranchObject
- func (x *Watch_Response) GetEventType() Watch_EventType
- func (*Watch_Response) ProtoMessage()
- func (x *Watch_Response) ProtoReflect() protoreflect.Message
- func (x *Watch_Response) Reset()
- func (x *Watch_Response) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Diff_FileAction_name = map[int32]string{ 0: "ADDED", 1: "MODIFIED", 2: "DELETED", } Diff_FileAction_value = map[string]int32{ "ADDED": 0, "MODIFIED": 1, "DELETED": 2, } )
Enum value maps for Diff_FileAction.
var ( Watch_EventType_name = map[int32]string{ 0: "ERROR", 1: "ADDED", 2: "MODIFIED", 3: "DELETED", 4: "BOOKMARK", } Watch_EventType_value = map[string]int32{ "ERROR": 0, "ADDED": 1, "MODIFIED": 2, "DELETED": 3, "BOOKMARK": 4, } )
Enum value maps for Watch_EventType.
var Branch_ServiceDesc = grpc.ServiceDesc{ ServiceName: "branchpb.Branch", HandlerType: (*BranchServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _Branch_Get_Handler, }, { MethodName: "List", Handler: _Branch_List_Handler, }, { MethodName: "Create", Handler: _Branch_Create_Handler, }, { MethodName: "Delete", Handler: _Branch_Delete_Handler, }, { MethodName: "Merge", Handler: _Branch_Merge_Handler, }, { MethodName: "Diff", Handler: _Branch_Diff_Handler, }, { MethodName: "Stash", Handler: _Branch_Stash_Handler, }, { MethodName: "Checkout", Handler: _Branch_Checkout_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamFiles", Handler: _Branch_StreamFiles_Handler, ServerStreams: true, }, { StreamName: "Watch", Handler: _Branch_Watch_Handler, ServerStreams: true, }, }, Metadata: "branch.proto", }
Branch_ServiceDesc is the grpc.ServiceDesc for Branch service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_branch_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBranchServer ¶
func RegisterBranchServer(s grpc.ServiceRegistrar, srv BranchServer)
Types ¶
type BranchClient ¶
type BranchClient interface { Get(ctx context.Context, in *Get_Request, opts ...grpc.CallOption) (*Get_Response, error) List(ctx context.Context, in *List_Request, opts ...grpc.CallOption) (*List_Response, error) Create(ctx context.Context, in *Create_Request, opts ...grpc.CallOption) (*Create_Response, error) Delete(ctx context.Context, in *Delete_Request, opts ...grpc.CallOption) (*Delete_Response, error) Merge(ctx context.Context, in *Merge_Request, opts ...grpc.CallOption) (*Merge_Response, error) Diff(ctx context.Context, in *Diff_Request, opts ...grpc.CallOption) (*Diff_Response, error) Stash(ctx context.Context, in *Stash_Request, opts ...grpc.CallOption) (*Stash_Response, error) Checkout(ctx context.Context, in *Checkout_Request, opts ...grpc.CallOption) (*Checkout_Response, error) StreamFiles(ctx context.Context, in *Get_Request, opts ...grpc.CallOption) (Branch_StreamFilesClient, error) Watch(ctx context.Context, in *Watch_Request, opts ...grpc.CallOption) (Branch_WatchClient, error) }
BranchClient is the client API for Branch 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 NewBranchClient ¶
func NewBranchClient(cc grpc.ClientConnInterface) BranchClient
type BranchObject ¶
type BranchObject struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CheckedOut bool `protobuf:"varint,2,opt,name=checkedOut,proto3" json:"checkedOut,omitempty"` // contains filtered or unexported fields }
func (*BranchObject) Descriptor
deprecated
func (*BranchObject) Descriptor() ([]byte, []int)
Deprecated: Use BranchObject.ProtoReflect.Descriptor instead.
func (*BranchObject) GetCheckedOut ¶
func (x *BranchObject) GetCheckedOut() bool
func (*BranchObject) GetName ¶
func (x *BranchObject) GetName() string
func (*BranchObject) ProtoMessage ¶
func (*BranchObject) ProtoMessage()
func (*BranchObject) ProtoReflect ¶
func (x *BranchObject) ProtoReflect() protoreflect.Message
func (*BranchObject) Reset ¶
func (x *BranchObject) Reset()
func (*BranchObject) String ¶
func (x *BranchObject) String() string
type BranchServer ¶
type BranchServer interface { Get(context.Context, *Get_Request) (*Get_Response, error) List(context.Context, *List_Request) (*List_Response, error) Create(context.Context, *Create_Request) (*Create_Response, error) Delete(context.Context, *Delete_Request) (*Delete_Response, error) Merge(context.Context, *Merge_Request) (*Merge_Response, error) Diff(context.Context, *Diff_Request) (*Diff_Response, error) Stash(context.Context, *Stash_Request) (*Stash_Response, error) Checkout(context.Context, *Checkout_Request) (*Checkout_Response, error) StreamFiles(*Get_Request, Branch_StreamFilesServer) error Watch(*Watch_Request, Branch_WatchServer) error // contains filtered or unexported methods }
BranchServer is the server API for Branch service. All implementations must embed UnimplementedBranchServer for forward compatibility
type Branch_StreamFilesClient ¶
type Branch_StreamFilesClient interface { Recv() (*Get_File, error) grpc.ClientStream }
type Branch_StreamFilesServer ¶
type Branch_StreamFilesServer interface { Send(*Get_File) error grpc.ServerStream }
type Branch_WatchClient ¶
type Branch_WatchClient interface { Recv() (*Watch_Response, error) grpc.ClientStream }
type Branch_WatchServer ¶
type Branch_WatchServer interface { Send(*Watch_Response) error grpc.ServerStream }
type Checkout ¶
type Checkout struct {
// contains filtered or unexported fields
}
func (*Checkout) Descriptor
deprecated
func (*Checkout) ProtoMessage ¶
func (*Checkout) ProtoMessage()
func (*Checkout) ProtoReflect ¶
func (x *Checkout) ProtoReflect() protoreflect.Message
type Checkout_Options ¶
type Checkout_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Checkout_Options) Descriptor
deprecated
func (*Checkout_Options) Descriptor() ([]byte, []int)
Deprecated: Use Checkout_Options.ProtoReflect.Descriptor instead.
func (*Checkout_Options) GetProxyName ¶ added in v0.0.9
func (x *Checkout_Options) GetProxyName() string
func (*Checkout_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Checkout_Options) GetProxyNamespace() string
func (*Checkout_Options) ProtoMessage ¶
func (*Checkout_Options) ProtoMessage()
func (*Checkout_Options) ProtoReflect ¶
func (x *Checkout_Options) ProtoReflect() protoreflect.Message
func (*Checkout_Options) Reset ¶
func (x *Checkout_Options) Reset()
func (*Checkout_Options) String ¶
func (x *Checkout_Options) String() string
type Checkout_Request ¶
type Checkout_Request struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Options *Checkout_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Checkout_Request) Descriptor
deprecated
func (*Checkout_Request) Descriptor() ([]byte, []int)
Deprecated: Use Checkout_Request.ProtoReflect.Descriptor instead.
func (*Checkout_Request) GetBranch ¶
func (x *Checkout_Request) GetBranch() string
func (*Checkout_Request) GetOptions ¶
func (x *Checkout_Request) GetOptions() *Checkout_Options
func (*Checkout_Request) ProtoMessage ¶
func (*Checkout_Request) ProtoMessage()
func (*Checkout_Request) ProtoReflect ¶
func (x *Checkout_Request) ProtoReflect() protoreflect.Message
func (*Checkout_Request) Reset ¶
func (x *Checkout_Request) Reset()
func (*Checkout_Request) String ¶
func (x *Checkout_Request) String() string
type Checkout_Response ¶
type Checkout_Response struct {
// contains filtered or unexported fields
}
func (*Checkout_Response) Descriptor
deprecated
func (*Checkout_Response) Descriptor() ([]byte, []int)
Deprecated: Use Checkout_Response.ProtoReflect.Descriptor instead.
func (*Checkout_Response) ProtoMessage ¶
func (*Checkout_Response) ProtoMessage()
func (*Checkout_Response) ProtoReflect ¶
func (x *Checkout_Response) ProtoReflect() protoreflect.Message
func (*Checkout_Response) Reset ¶
func (x *Checkout_Response) Reset()
func (*Checkout_Response) String ¶
func (x *Checkout_Response) String() string
type Create ¶
type Create struct {
// contains filtered or unexported fields
}
func (*Create) Descriptor
deprecated
func (*Create) ProtoMessage ¶
func (*Create) ProtoMessage()
func (*Create) ProtoReflect ¶
func (x *Create) ProtoReflect() protoreflect.Message
type Create_Options ¶
type Create_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Create_Options) Descriptor
deprecated
func (*Create_Options) Descriptor() ([]byte, []int)
Deprecated: Use Create_Options.ProtoReflect.Descriptor instead.
func (*Create_Options) GetProxyName ¶ added in v0.0.9
func (x *Create_Options) GetProxyName() string
func (*Create_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Create_Options) GetProxyNamespace() string
func (*Create_Options) ProtoMessage ¶
func (*Create_Options) ProtoMessage()
func (*Create_Options) ProtoReflect ¶
func (x *Create_Options) ProtoReflect() protoreflect.Message
func (*Create_Options) Reset ¶
func (x *Create_Options) Reset()
func (*Create_Options) String ¶
func (x *Create_Options) String() string
type Create_Request ¶
type Create_Request struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Options *Create_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Create_Request) Descriptor
deprecated
func (*Create_Request) Descriptor() ([]byte, []int)
Deprecated: Use Create_Request.ProtoReflect.Descriptor instead.
func (*Create_Request) GetBranch ¶
func (x *Create_Request) GetBranch() string
func (*Create_Request) GetOptions ¶
func (x *Create_Request) GetOptions() *Create_Options
func (*Create_Request) ProtoMessage ¶
func (*Create_Request) ProtoMessage()
func (*Create_Request) ProtoReflect ¶
func (x *Create_Request) ProtoReflect() protoreflect.Message
func (*Create_Request) Reset ¶
func (x *Create_Request) Reset()
func (*Create_Request) String ¶
func (x *Create_Request) String() string
type Create_Response ¶
type Create_Response struct {
// contains filtered or unexported fields
}
func (*Create_Response) Descriptor
deprecated
func (*Create_Response) Descriptor() ([]byte, []int)
Deprecated: Use Create_Response.ProtoReflect.Descriptor instead.
func (*Create_Response) ProtoMessage ¶
func (*Create_Response) ProtoMessage()
func (*Create_Response) ProtoReflect ¶
func (x *Create_Response) ProtoReflect() protoreflect.Message
func (*Create_Response) Reset ¶
func (x *Create_Response) Reset()
func (*Create_Response) String ¶
func (x *Create_Response) String() string
type Delete ¶
type Delete struct {
// contains filtered or unexported fields
}
func (*Delete) Descriptor
deprecated
func (*Delete) ProtoMessage ¶
func (*Delete) ProtoMessage()
func (*Delete) ProtoReflect ¶
func (x *Delete) ProtoReflect() protoreflect.Message
type Delete_Options ¶
type Delete_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Delete_Options) Descriptor
deprecated
func (*Delete_Options) Descriptor() ([]byte, []int)
Deprecated: Use Delete_Options.ProtoReflect.Descriptor instead.
func (*Delete_Options) GetProxyName ¶ added in v0.0.9
func (x *Delete_Options) GetProxyName() string
func (*Delete_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Delete_Options) GetProxyNamespace() string
func (*Delete_Options) ProtoMessage ¶
func (*Delete_Options) ProtoMessage()
func (*Delete_Options) ProtoReflect ¶
func (x *Delete_Options) ProtoReflect() protoreflect.Message
func (*Delete_Options) Reset ¶
func (x *Delete_Options) Reset()
func (*Delete_Options) String ¶
func (x *Delete_Options) String() string
type Delete_Request ¶
type Delete_Request struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Options *Delete_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Delete_Request) Descriptor
deprecated
func (*Delete_Request) Descriptor() ([]byte, []int)
Deprecated: Use Delete_Request.ProtoReflect.Descriptor instead.
func (*Delete_Request) GetBranch ¶
func (x *Delete_Request) GetBranch() string
func (*Delete_Request) GetOptions ¶
func (x *Delete_Request) GetOptions() *Delete_Options
func (*Delete_Request) ProtoMessage ¶
func (*Delete_Request) ProtoMessage()
func (*Delete_Request) ProtoReflect ¶
func (x *Delete_Request) ProtoReflect() protoreflect.Message
func (*Delete_Request) Reset ¶
func (x *Delete_Request) Reset()
func (*Delete_Request) String ¶
func (x *Delete_Request) String() string
type Delete_Response ¶
type Delete_Response struct {
// contains filtered or unexported fields
}
func (*Delete_Response) Descriptor
deprecated
func (*Delete_Response) Descriptor() ([]byte, []int)
Deprecated: Use Delete_Response.ProtoReflect.Descriptor instead.
func (*Delete_Response) ProtoMessage ¶
func (*Delete_Response) ProtoMessage()
func (*Delete_Response) ProtoReflect ¶
func (x *Delete_Response) ProtoReflect() protoreflect.Message
func (*Delete_Response) Reset ¶
func (x *Delete_Response) Reset()
func (*Delete_Response) String ¶
func (x *Delete_Response) String() string
type Diff ¶
type Diff struct {
// contains filtered or unexported fields
}
func (*Diff) Descriptor
deprecated
func (*Diff) ProtoMessage ¶
func (*Diff) ProtoMessage()
func (*Diff) ProtoReflect ¶
func (x *Diff) ProtoReflect() protoreflect.Message
type Diff_Diff ¶
type Diff_Diff struct { SrcFileName string `protobuf:"bytes,1,opt,name=srcFileName,proto3" json:"srcFileName,omitempty"` DstFileName string `protobuf:"bytes,2,opt,name=dstFileName,proto3" json:"dstFileName,omitempty"` Action Diff_FileAction `protobuf:"varint,3,opt,name=Action,proto3,enum=branchpb.Diff_FileAction" json:"Action,omitempty"` // contains filtered or unexported fields }
func (*Diff_Diff) Descriptor
deprecated
func (*Diff_Diff) GetAction ¶
func (x *Diff_Diff) GetAction() Diff_FileAction
func (*Diff_Diff) GetDstFileName ¶
func (*Diff_Diff) GetSrcFileName ¶
func (*Diff_Diff) ProtoMessage ¶
func (*Diff_Diff) ProtoMessage()
func (*Diff_Diff) ProtoReflect ¶
func (x *Diff_Diff) ProtoReflect() protoreflect.Message
type Diff_FileAction ¶
type Diff_FileAction int32
const ( Diff_ADDED Diff_FileAction = 0 Diff_MODIFIED Diff_FileAction = 1 Diff_DELETED Diff_FileAction = 2 )
func (Diff_FileAction) Descriptor ¶
func (Diff_FileAction) Descriptor() protoreflect.EnumDescriptor
func (Diff_FileAction) Enum ¶
func (x Diff_FileAction) Enum() *Diff_FileAction
func (Diff_FileAction) EnumDescriptor
deprecated
func (Diff_FileAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use Diff_FileAction.Descriptor instead.
func (Diff_FileAction) Number ¶
func (x Diff_FileAction) Number() protoreflect.EnumNumber
func (Diff_FileAction) String ¶
func (x Diff_FileAction) String() string
func (Diff_FileAction) Type ¶
func (Diff_FileAction) Type() protoreflect.EnumType
type Diff_Options ¶
type Diff_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Diff_Options) Descriptor
deprecated
func (*Diff_Options) Descriptor() ([]byte, []int)
Deprecated: Use Diff_Options.ProtoReflect.Descriptor instead.
func (*Diff_Options) GetProxyName ¶ added in v0.0.9
func (x *Diff_Options) GetProxyName() string
func (*Diff_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Diff_Options) GetProxyNamespace() string
func (*Diff_Options) ProtoMessage ¶
func (*Diff_Options) ProtoMessage()
func (*Diff_Options) ProtoReflect ¶
func (x *Diff_Options) ProtoReflect() protoreflect.Message
func (*Diff_Options) Reset ¶
func (x *Diff_Options) Reset()
func (*Diff_Options) String ¶
func (x *Diff_Options) String() string
type Diff_Request ¶
type Diff_Request struct { SrcBranch string `protobuf:"bytes,1,opt,name=srcBranch,proto3" json:"srcBranch,omitempty"` DstBranch string `protobuf:"bytes,2,opt,name=dstBranch,proto3" json:"dstBranch,omitempty"` Options *Diff_Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Diff_Request) Descriptor
deprecated
func (*Diff_Request) Descriptor() ([]byte, []int)
Deprecated: Use Diff_Request.ProtoReflect.Descriptor instead.
func (*Diff_Request) GetDstBranch ¶
func (x *Diff_Request) GetDstBranch() string
func (*Diff_Request) GetOptions ¶
func (x *Diff_Request) GetOptions() *Diff_Options
func (*Diff_Request) GetSrcBranch ¶
func (x *Diff_Request) GetSrcBranch() string
func (*Diff_Request) ProtoMessage ¶
func (*Diff_Request) ProtoMessage()
func (*Diff_Request) ProtoReflect ¶
func (x *Diff_Request) ProtoReflect() protoreflect.Message
func (*Diff_Request) Reset ¶
func (x *Diff_Request) Reset()
func (*Diff_Request) String ¶
func (x *Diff_Request) String() string
type Diff_Response ¶
type Diff_Response struct { Diffs []*Diff_Diff `protobuf:"bytes,1,rep,name=diffs,proto3" json:"diffs,omitempty"` // contains filtered or unexported fields }
func (*Diff_Response) Descriptor
deprecated
func (*Diff_Response) Descriptor() ([]byte, []int)
Deprecated: Use Diff_Response.ProtoReflect.Descriptor instead.
func (*Diff_Response) GetDiffs ¶
func (x *Diff_Response) GetDiffs() []*Diff_Diff
func (*Diff_Response) ProtoMessage ¶
func (*Diff_Response) ProtoMessage()
func (*Diff_Response) ProtoReflect ¶
func (x *Diff_Response) ProtoReflect() protoreflect.Message
func (*Diff_Response) Reset ¶
func (x *Diff_Response) Reset()
func (*Diff_Response) String ¶
func (x *Diff_Response) String() string
type Get ¶
type Get struct {
// contains filtered or unexported fields
}
func (*Get) Descriptor
deprecated
func (*Get) ProtoMessage ¶
func (*Get) ProtoMessage()
func (*Get) ProtoReflect ¶
func (x *Get) ProtoReflect() protoreflect.Message
type Get_File ¶
type Get_File struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Get_File) Descriptor
deprecated
func (*Get_File) ProtoMessage ¶
func (*Get_File) ProtoMessage()
func (*Get_File) ProtoReflect ¶
func (x *Get_File) ProtoReflect() protoreflect.Message
type Get_Log ¶
type Get_Log struct { CommitHash string `protobuf:"bytes,1,opt,name=commitHash,proto3" json:"commitHash,omitempty"` AuthorName string `protobuf:"bytes,2,opt,name=authorName,proto3" json:"authorName,omitempty"` AuthorEmail string `protobuf:"bytes,3,opt,name=authorEmail,proto3" json:"authorEmail,omitempty"` Date string `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Get_Log) Descriptor
deprecated
func (*Get_Log) GetAuthorEmail ¶
func (*Get_Log) GetAuthorName ¶
func (*Get_Log) GetCommitHash ¶
func (*Get_Log) GetMessage ¶
func (*Get_Log) ProtoMessage ¶
func (*Get_Log) ProtoMessage()
func (*Get_Log) ProtoReflect ¶
func (x *Get_Log) ProtoReflect() protoreflect.Message
type Get_Options ¶
type Get_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Get_Options) Descriptor
deprecated
func (*Get_Options) Descriptor() ([]byte, []int)
Deprecated: Use Get_Options.ProtoReflect.Descriptor instead.
func (*Get_Options) GetProxyName ¶ added in v0.0.9
func (x *Get_Options) GetProxyName() string
func (*Get_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Get_Options) GetProxyNamespace() string
func (*Get_Options) ProtoMessage ¶
func (*Get_Options) ProtoMessage()
func (*Get_Options) ProtoReflect ¶
func (x *Get_Options) ProtoReflect() protoreflect.Message
func (*Get_Options) Reset ¶
func (x *Get_Options) Reset()
func (*Get_Options) String ¶
func (x *Get_Options) String() string
type Get_Request ¶
type Get_Request struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Options *Get_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Get_Request) Descriptor
deprecated
func (*Get_Request) Descriptor() ([]byte, []int)
Deprecated: Use Get_Request.ProtoReflect.Descriptor instead.
func (*Get_Request) GetBranch ¶
func (x *Get_Request) GetBranch() string
func (*Get_Request) GetOptions ¶
func (x *Get_Request) GetOptions() *Get_Options
func (*Get_Request) ProtoMessage ¶
func (*Get_Request) ProtoMessage()
func (*Get_Request) ProtoReflect ¶
func (x *Get_Request) ProtoReflect() protoreflect.Message
func (*Get_Request) Reset ¶
func (x *Get_Request) Reset()
func (*Get_Request) String ¶
func (x *Get_Request) String() string
type Get_Response ¶
type Get_Response struct { BranchObj *BranchObject `protobuf:"bytes,1,opt,name=branchObj,proto3" json:"branchObj,omitempty"` Logs []*Get_Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
func (*Get_Response) Descriptor
deprecated
func (*Get_Response) Descriptor() ([]byte, []int)
Deprecated: Use Get_Response.ProtoReflect.Descriptor instead.
func (*Get_Response) GetBranchObj ¶
func (x *Get_Response) GetBranchObj() *BranchObject
func (*Get_Response) GetLogs ¶
func (x *Get_Response) GetLogs() []*Get_Log
func (*Get_Response) ProtoMessage ¶
func (*Get_Response) ProtoMessage()
func (*Get_Response) ProtoReflect ¶
func (x *Get_Response) ProtoReflect() protoreflect.Message
func (*Get_Response) Reset ¶
func (x *Get_Response) Reset()
func (*Get_Response) String ¶
func (x *Get_Response) String() string
type List ¶
type List struct {
// contains filtered or unexported fields
}
func (*List) Descriptor
deprecated
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
type List_Options ¶
type List_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*List_Options) Descriptor
deprecated
func (*List_Options) Descriptor() ([]byte, []int)
Deprecated: Use List_Options.ProtoReflect.Descriptor instead.
func (*List_Options) GetProxyName ¶ added in v0.0.9
func (x *List_Options) GetProxyName() string
func (*List_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *List_Options) GetProxyNamespace() string
func (*List_Options) ProtoMessage ¶
func (*List_Options) ProtoMessage()
func (*List_Options) ProtoReflect ¶
func (x *List_Options) ProtoReflect() protoreflect.Message
func (*List_Options) Reset ¶
func (x *List_Options) Reset()
func (*List_Options) String ¶
func (x *List_Options) String() string
type List_Request ¶
type List_Request struct { Options *List_Options `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*List_Request) Descriptor
deprecated
func (*List_Request) Descriptor() ([]byte, []int)
Deprecated: Use List_Request.ProtoReflect.Descriptor instead.
func (*List_Request) GetOptions ¶
func (x *List_Request) GetOptions() *List_Options
func (*List_Request) ProtoMessage ¶
func (*List_Request) ProtoMessage()
func (*List_Request) ProtoReflect ¶
func (x *List_Request) ProtoReflect() protoreflect.Message
func (*List_Request) Reset ¶
func (x *List_Request) Reset()
func (*List_Request) String ¶
func (x *List_Request) String() string
type List_Response ¶
type List_Response struct { BranchObjects []*BranchObject `protobuf:"bytes,1,rep,name=branchObjects,proto3" json:"branchObjects,omitempty"` // contains filtered or unexported fields }
func (*List_Response) Descriptor
deprecated
func (*List_Response) Descriptor() ([]byte, []int)
Deprecated: Use List_Response.ProtoReflect.Descriptor instead.
func (*List_Response) GetBranchObjects ¶
func (x *List_Response) GetBranchObjects() []*BranchObject
func (*List_Response) ProtoMessage ¶
func (*List_Response) ProtoMessage()
func (*List_Response) ProtoReflect ¶
func (x *List_Response) ProtoReflect() protoreflect.Message
func (*List_Response) Reset ¶
func (x *List_Response) Reset()
func (*List_Response) String ¶
func (x *List_Response) String() string
type Merge ¶
type Merge struct {
// contains filtered or unexported fields
}
func (*Merge) Descriptor
deprecated
func (*Merge) ProtoMessage ¶
func (*Merge) ProtoMessage()
func (*Merge) ProtoReflect ¶
func (x *Merge) ProtoReflect() protoreflect.Message
type Merge_Options ¶
type Merge_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Merge_Options) Descriptor
deprecated
func (*Merge_Options) Descriptor() ([]byte, []int)
Deprecated: Use Merge_Options.ProtoReflect.Descriptor instead.
func (*Merge_Options) GetProxyName ¶ added in v0.0.9
func (x *Merge_Options) GetProxyName() string
func (*Merge_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Merge_Options) GetProxyNamespace() string
func (*Merge_Options) ProtoMessage ¶
func (*Merge_Options) ProtoMessage()
func (*Merge_Options) ProtoReflect ¶
func (x *Merge_Options) ProtoReflect() protoreflect.Message
func (*Merge_Options) Reset ¶
func (x *Merge_Options) Reset()
func (*Merge_Options) String ¶
func (x *Merge_Options) String() string
type Merge_Request ¶
type Merge_Request struct { SrcBranch string `protobuf:"bytes,1,opt,name=srcBranch,proto3" json:"srcBranch,omitempty"` DstBranch string `protobuf:"bytes,2,opt,name=dstBranch,proto3" json:"dstBranch,omitempty"` Options *Merge_Options `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Merge_Request) Descriptor
deprecated
func (*Merge_Request) Descriptor() ([]byte, []int)
Deprecated: Use Merge_Request.ProtoReflect.Descriptor instead.
func (*Merge_Request) GetDstBranch ¶
func (x *Merge_Request) GetDstBranch() string
func (*Merge_Request) GetOptions ¶
func (x *Merge_Request) GetOptions() *Merge_Options
func (*Merge_Request) GetSrcBranch ¶
func (x *Merge_Request) GetSrcBranch() string
func (*Merge_Request) ProtoMessage ¶
func (*Merge_Request) ProtoMessage()
func (*Merge_Request) ProtoReflect ¶
func (x *Merge_Request) ProtoReflect() protoreflect.Message
func (*Merge_Request) Reset ¶
func (x *Merge_Request) Reset()
func (*Merge_Request) String ¶
func (x *Merge_Request) String() string
type Merge_Response ¶
type Merge_Response struct {
// contains filtered or unexported fields
}
func (*Merge_Response) Descriptor
deprecated
func (*Merge_Response) Descriptor() ([]byte, []int)
Deprecated: Use Merge_Response.ProtoReflect.Descriptor instead.
func (*Merge_Response) ProtoMessage ¶
func (*Merge_Response) ProtoMessage()
func (*Merge_Response) ProtoReflect ¶
func (x *Merge_Response) ProtoReflect() protoreflect.Message
func (*Merge_Response) Reset ¶
func (x *Merge_Response) Reset()
func (*Merge_Response) String ¶
func (x *Merge_Response) String() string
type Stash ¶
type Stash struct {
// contains filtered or unexported fields
}
func (*Stash) Descriptor
deprecated
func (*Stash) ProtoMessage ¶
func (*Stash) ProtoMessage()
func (*Stash) ProtoReflect ¶
func (x *Stash) ProtoReflect() protoreflect.Message
type Stash_Options ¶
type Stash_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` // contains filtered or unexported fields }
func (*Stash_Options) Descriptor
deprecated
func (*Stash_Options) Descriptor() ([]byte, []int)
Deprecated: Use Stash_Options.ProtoReflect.Descriptor instead.
func (*Stash_Options) GetProxyName ¶ added in v0.0.9
func (x *Stash_Options) GetProxyName() string
func (*Stash_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Stash_Options) GetProxyNamespace() string
func (*Stash_Options) ProtoMessage ¶
func (*Stash_Options) ProtoMessage()
func (*Stash_Options) ProtoReflect ¶
func (x *Stash_Options) ProtoReflect() protoreflect.Message
func (*Stash_Options) Reset ¶
func (x *Stash_Options) Reset()
func (*Stash_Options) String ¶
func (x *Stash_Options) String() string
type Stash_Request ¶
type Stash_Request struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` Options *Stash_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Stash_Request) Descriptor
deprecated
func (*Stash_Request) Descriptor() ([]byte, []int)
Deprecated: Use Stash_Request.ProtoReflect.Descriptor instead.
func (*Stash_Request) GetBranch ¶
func (x *Stash_Request) GetBranch() string
func (*Stash_Request) GetOptions ¶
func (x *Stash_Request) GetOptions() *Stash_Options
func (*Stash_Request) ProtoMessage ¶
func (*Stash_Request) ProtoMessage()
func (*Stash_Request) ProtoReflect ¶
func (x *Stash_Request) ProtoReflect() protoreflect.Message
func (*Stash_Request) Reset ¶
func (x *Stash_Request) Reset()
func (*Stash_Request) String ¶
func (x *Stash_Request) String() string
type Stash_Response ¶
type Stash_Response struct {
// contains filtered or unexported fields
}
func (*Stash_Response) Descriptor
deprecated
func (*Stash_Response) Descriptor() ([]byte, []int)
Deprecated: Use Stash_Response.ProtoReflect.Descriptor instead.
func (*Stash_Response) ProtoMessage ¶
func (*Stash_Response) ProtoMessage()
func (*Stash_Response) ProtoReflect ¶
func (x *Stash_Response) ProtoReflect() protoreflect.Message
func (*Stash_Response) Reset ¶
func (x *Stash_Response) Reset()
func (*Stash_Response) String ¶
func (x *Stash_Response) String() string
type UnimplementedBranchServer ¶
type UnimplementedBranchServer struct { }
UnimplementedBranchServer must be embedded to have forward compatible implementations.
func (UnimplementedBranchServer) Checkout ¶
func (UnimplementedBranchServer) Checkout(context.Context, *Checkout_Request) (*Checkout_Response, error)
func (UnimplementedBranchServer) Create ¶
func (UnimplementedBranchServer) Create(context.Context, *Create_Request) (*Create_Response, error)
func (UnimplementedBranchServer) Delete ¶
func (UnimplementedBranchServer) Delete(context.Context, *Delete_Request) (*Delete_Response, error)
func (UnimplementedBranchServer) Diff ¶
func (UnimplementedBranchServer) Diff(context.Context, *Diff_Request) (*Diff_Response, error)
func (UnimplementedBranchServer) Get ¶
func (UnimplementedBranchServer) Get(context.Context, *Get_Request) (*Get_Response, error)
func (UnimplementedBranchServer) List ¶
func (UnimplementedBranchServer) List(context.Context, *List_Request) (*List_Response, error)
func (UnimplementedBranchServer) Merge ¶
func (UnimplementedBranchServer) Merge(context.Context, *Merge_Request) (*Merge_Response, error)
func (UnimplementedBranchServer) Stash ¶
func (UnimplementedBranchServer) Stash(context.Context, *Stash_Request) (*Stash_Response, error)
func (UnimplementedBranchServer) StreamFiles ¶
func (UnimplementedBranchServer) StreamFiles(*Get_Request, Branch_StreamFilesServer) error
func (UnimplementedBranchServer) Watch ¶
func (UnimplementedBranchServer) Watch(*Watch_Request, Branch_WatchServer) error
type UnsafeBranchServer ¶
type UnsafeBranchServer interface {
// contains filtered or unexported methods
}
UnsafeBranchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BranchServer will result in compilation errors.
type Watch ¶
type Watch struct {
// contains filtered or unexported fields
}
func (*Watch) Descriptor
deprecated
func (*Watch) ProtoMessage ¶
func (*Watch) ProtoMessage()
func (*Watch) ProtoReflect ¶
func (x *Watch) ProtoReflect() protoreflect.Message
type Watch_EventType ¶
type Watch_EventType int32
const ( Watch_ERROR Watch_EventType = 0 Watch_ADDED Watch_EventType = 1 Watch_MODIFIED Watch_EventType = 2 Watch_DELETED Watch_EventType = 3 Watch_BOOKMARK Watch_EventType = 4 )
func (Watch_EventType) Descriptor ¶
func (Watch_EventType) Descriptor() protoreflect.EnumDescriptor
func (Watch_EventType) Enum ¶
func (x Watch_EventType) Enum() *Watch_EventType
func (Watch_EventType) EnumDescriptor
deprecated
func (Watch_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Watch_EventType.Descriptor instead.
func (Watch_EventType) Number ¶
func (x Watch_EventType) Number() protoreflect.EnumNumber
func (Watch_EventType) String ¶
func (x Watch_EventType) String() string
func (Watch_EventType) Type ¶
func (Watch_EventType) Type() protoreflect.EnumType
type Watch_Options ¶
type Watch_Options struct { ProxyName string `protobuf:"bytes,1,opt,name=proxyName,proto3" json:"proxyName,omitempty"` ProxyNamespace string `protobuf:"bytes,2,opt,name=proxyNamespace,proto3" json:"proxyNamespace,omitempty"` Watch bool `protobuf:"varint,3,opt,name=watch,proto3" json:"watch,omitempty"` // indicate watch only, otherwise list and watch is used Trace string `protobuf:"bytes,4,opt,name=trace,proto3" json:"trace,omitempty"` Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*Watch_Options) Descriptor
deprecated
func (*Watch_Options) Descriptor() ([]byte, []int)
Deprecated: Use Watch_Options.ProtoReflect.Descriptor instead.
func (*Watch_Options) GetOrigin ¶
func (x *Watch_Options) GetOrigin() string
func (*Watch_Options) GetProxyName ¶ added in v0.0.9
func (x *Watch_Options) GetProxyName() string
func (*Watch_Options) GetProxyNamespace ¶ added in v0.0.9
func (x *Watch_Options) GetProxyNamespace() string
func (*Watch_Options) GetTrace ¶
func (x *Watch_Options) GetTrace() string
func (*Watch_Options) GetWatch ¶
func (x *Watch_Options) GetWatch() bool
func (*Watch_Options) ProtoMessage ¶
func (*Watch_Options) ProtoMessage()
func (*Watch_Options) ProtoReflect ¶
func (x *Watch_Options) ProtoReflect() protoreflect.Message
func (*Watch_Options) Reset ¶
func (x *Watch_Options) Reset()
func (*Watch_Options) String ¶
func (x *Watch_Options) String() string
type Watch_Request ¶
type Watch_Request struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Options *Watch_Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Watch_Request) Descriptor
deprecated
func (*Watch_Request) Descriptor() ([]byte, []int)
Deprecated: Use Watch_Request.ProtoReflect.Descriptor instead.
func (*Watch_Request) GetId ¶
func (x *Watch_Request) GetId() string
func (*Watch_Request) GetOptions ¶
func (x *Watch_Request) GetOptions() *Watch_Options
func (*Watch_Request) ProtoMessage ¶
func (*Watch_Request) ProtoMessage()
func (*Watch_Request) ProtoReflect ¶
func (x *Watch_Request) ProtoReflect() protoreflect.Message
func (*Watch_Request) Reset ¶
func (x *Watch_Request) Reset()
func (*Watch_Request) String ¶
func (x *Watch_Request) String() string
type Watch_Response ¶
type Watch_Response struct { BranchObj *BranchObject `protobuf:"bytes,1,opt,name=branchObj,proto3" json:"branchObj,omitempty"` EventType Watch_EventType `protobuf:"varint,2,opt,name=eventType,proto3,enum=branchpb.Watch_EventType" json:"eventType,omitempty"` // contains filtered or unexported fields }
func (*Watch_Response) Descriptor
deprecated
func (*Watch_Response) Descriptor() ([]byte, []int)
Deprecated: Use Watch_Response.ProtoReflect.Descriptor instead.
func (*Watch_Response) GetBranchObj ¶
func (x *Watch_Response) GetBranchObj() *BranchObject
func (*Watch_Response) GetEventType ¶
func (x *Watch_Response) GetEventType() Watch_EventType
func (*Watch_Response) ProtoMessage ¶
func (*Watch_Response) ProtoMessage()
func (*Watch_Response) ProtoReflect ¶
func (x *Watch_Response) ProtoReflect() protoreflect.Message
func (*Watch_Response) Reset ¶
func (x *Watch_Response) Reset()
func (*Watch_Response) String ¶
func (x *Watch_Response) String() string