branchpb

package
v0.0.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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)

View Source
var File_branch_proto protoreflect.FileDescriptor

Functions

func RegisterBranchServer

func RegisterBranchServer(s grpc.ServiceRegistrar, srv BranchServer)

Types

type BranchClient

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Checkout.ProtoReflect.Descriptor instead.

func (*Checkout) ProtoMessage

func (*Checkout) ProtoMessage()

func (*Checkout) ProtoReflect

func (x *Checkout) ProtoReflect() protoreflect.Message

func (*Checkout) Reset

func (x *Checkout) Reset()

func (*Checkout) String

func (x *Checkout) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Create.ProtoReflect.Descriptor instead.

func (*Create) ProtoMessage

func (*Create) ProtoMessage()

func (*Create) ProtoReflect

func (x *Create) ProtoReflect() protoreflect.Message

func (*Create) Reset

func (x *Create) Reset()

func (*Create) String

func (x *Create) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Delete.ProtoReflect.Descriptor instead.

func (*Delete) ProtoMessage

func (*Delete) ProtoMessage()

func (*Delete) ProtoReflect

func (x *Delete) ProtoReflect() protoreflect.Message

func (*Delete) Reset

func (x *Delete) Reset()

func (*Delete) String

func (x *Delete) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Diff.ProtoReflect.Descriptor instead.

func (*Diff) ProtoMessage

func (*Diff) ProtoMessage()

func (*Diff) ProtoReflect

func (x *Diff) ProtoReflect() protoreflect.Message

func (*Diff) Reset

func (x *Diff) Reset()

func (*Diff) String

func (x *Diff) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Diff_Diff.ProtoReflect.Descriptor instead.

func (*Diff_Diff) GetAction

func (x *Diff_Diff) GetAction() Diff_FileAction

func (*Diff_Diff) GetDstFileName

func (x *Diff_Diff) GetDstFileName() string

func (*Diff_Diff) GetSrcFileName

func (x *Diff_Diff) GetSrcFileName() string

func (*Diff_Diff) ProtoMessage

func (*Diff_Diff) ProtoMessage()

func (*Diff_Diff) ProtoReflect

func (x *Diff_Diff) ProtoReflect() protoreflect.Message

func (*Diff_Diff) Reset

func (x *Diff_Diff) Reset()

func (*Diff_Diff) String

func (x *Diff_Diff) String() string

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) 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 (Diff_FileAction) String

func (x Diff_FileAction) String() string

func (Diff_FileAction) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Get.ProtoReflect.Descriptor instead.

func (*Get) ProtoMessage

func (*Get) ProtoMessage()

func (*Get) ProtoReflect

func (x *Get) ProtoReflect() protoreflect.Message

func (*Get) Reset

func (x *Get) Reset()

func (*Get) String

func (x *Get) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Get_File.ProtoReflect.Descriptor instead.

func (*Get_File) GetData

func (x *Get_File) GetData() string

func (*Get_File) GetName

func (x *Get_File) GetName() string

func (*Get_File) ProtoMessage

func (*Get_File) ProtoMessage()

func (*Get_File) ProtoReflect

func (x *Get_File) ProtoReflect() protoreflect.Message

func (*Get_File) Reset

func (x *Get_File) Reset()

func (*Get_File) String

func (x *Get_File) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Get_Log.ProtoReflect.Descriptor instead.

func (*Get_Log) GetAuthorEmail

func (x *Get_Log) GetAuthorEmail() string

func (*Get_Log) GetAuthorName

func (x *Get_Log) GetAuthorName() string

func (*Get_Log) GetCommitHash

func (x *Get_Log) GetCommitHash() string

func (*Get_Log) GetDate

func (x *Get_Log) GetDate() string

func (*Get_Log) GetMessage

func (x *Get_Log) GetMessage() string

func (*Get_Log) ProtoMessage

func (*Get_Log) ProtoMessage()

func (*Get_Log) ProtoReflect

func (x *Get_Log) ProtoReflect() protoreflect.Message

func (*Get_Log) Reset

func (x *Get_Log) Reset()

func (*Get_Log) String

func (x *Get_Log) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Merge.ProtoReflect.Descriptor instead.

func (*Merge) ProtoMessage

func (*Merge) ProtoMessage()

func (*Merge) ProtoReflect

func (x *Merge) ProtoReflect() protoreflect.Message

func (*Merge) Reset

func (x *Merge) Reset()

func (*Merge) String

func (x *Merge) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Stash.ProtoReflect.Descriptor instead.

func (*Stash) ProtoMessage

func (*Stash) ProtoMessage()

func (*Stash) ProtoReflect

func (x *Stash) ProtoReflect() protoreflect.Message

func (*Stash) Reset

func (x *Stash) Reset()

func (*Stash) String

func (x *Stash) String() string

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) Create

func (UnimplementedBranchServer) Delete

func (UnimplementedBranchServer) Diff

func (UnimplementedBranchServer) Get

func (UnimplementedBranchServer) List

func (UnimplementedBranchServer) Merge

func (UnimplementedBranchServer) Stash

func (UnimplementedBranchServer) StreamFiles

func (UnimplementedBranchServer) Watch

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) Descriptor() ([]byte, []int)

Deprecated: Use Watch.ProtoReflect.Descriptor instead.

func (*Watch) ProtoMessage

func (*Watch) ProtoMessage()

func (*Watch) ProtoReflect

func (x *Watch) ProtoReflect() protoreflect.Message

func (*Watch) Reset

func (x *Watch) Reset()

func (*Watch) String

func (x *Watch) String() string

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) 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 (Watch_EventType) String

func (x Watch_EventType) String() string

func (Watch_EventType) Type

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

Jump to

Keyboard shortcuts

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