git

package
v1.0.0-beta.12 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const MaxGitPackBytes int64 = 4 << 30

MaxGitPackBytes bounds an aggregate checkout bundle or uncommitted patch on both sides of the session transport.

Variables

View Source
var (
	ErrInvalidLengthGit        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGit          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGit = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ErrorInfo_ErrorType_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "INVALID_REQUEST",
	2:  "NOT_FOUND",
	3:  "TIMEOUT",
	4:  "CREDENTIAL_RETRIEVAL_FAILED",
	5:  "CONFIG_RETRIEVAL_FAILED",
	6:  "HEAD_MISMATCH",
	7:  "NOT_A_REPO",
	8:  "PACK_FAILED",
	9:  "UNCOMMITTED_UNSUPPORTED",
	10: "CHECKOUT_STATE_MISMATCH",
}
View Source
var ErrorInfo_ErrorType_value = map[string]int32{
	"UNKNOWN":                     0,
	"INVALID_REQUEST":             1,
	"NOT_FOUND":                   2,
	"TIMEOUT":                     3,
	"CREDENTIAL_RETRIEVAL_FAILED": 4,
	"CONFIG_RETRIEVAL_FAILED":     5,
	"HEAD_MISMATCH":               6,
	"NOT_A_REPO":                  7,
	"PACK_FAILED":                 8,
	"UNCOMMITTED_UNSUPPORTED":     9,
	"CHECKOUT_STATE_MISMATCH":     10,
}

Functions

func RegisterGitServer

func RegisterGitServer(s *grpc.Server, srv GitServer)

Types

type CheckoutStateRequest

type CheckoutStateRequest struct {
	CheckoutPath string `protobuf:"bytes,1,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
}

CheckoutStateRequest asks the client for a digest identifying the current git state of a local checkout: HEAD, the symbolic HEAD, and all branch and tag refs. The engine uses it as a cache key so a checkout is only re-packed (PackCheckout) when its refs actually move.

func (*CheckoutStateRequest) Descriptor

func (*CheckoutStateRequest) Descriptor() ([]byte, []int)

func (*CheckoutStateRequest) Equal

func (this *CheckoutStateRequest) Equal(that interface{}) bool

func (*CheckoutStateRequest) GetCheckoutPath

func (m *CheckoutStateRequest) GetCheckoutPath() string

func (*CheckoutStateRequest) GoString

func (this *CheckoutStateRequest) GoString() string

func (*CheckoutStateRequest) Marshal

func (m *CheckoutStateRequest) Marshal() (dAtA []byte, err error)

func (*CheckoutStateRequest) MarshalTo

func (m *CheckoutStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*CheckoutStateRequest) MarshalToSizedBuffer

func (m *CheckoutStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckoutStateRequest) ProtoMessage

func (*CheckoutStateRequest) ProtoMessage()

func (*CheckoutStateRequest) Reset

func (m *CheckoutStateRequest) Reset()

func (*CheckoutStateRequest) Size

func (m *CheckoutStateRequest) Size() (n int)

func (*CheckoutStateRequest) String

func (this *CheckoutStateRequest) String() string

func (*CheckoutStateRequest) Unmarshal

func (m *CheckoutStateRequest) Unmarshal(dAtA []byte) error

func (*CheckoutStateRequest) XXX_DiscardUnknown

func (m *CheckoutStateRequest) XXX_DiscardUnknown()

func (*CheckoutStateRequest) XXX_Marshal

func (m *CheckoutStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckoutStateRequest) XXX_Merge

func (m *CheckoutStateRequest) XXX_Merge(src proto.Message)

func (*CheckoutStateRequest) XXX_Size

func (m *CheckoutStateRequest) XXX_Size() int

func (*CheckoutStateRequest) XXX_Unmarshal

func (m *CheckoutStateRequest) XXX_Unmarshal(b []byte) error

type CheckoutStateResponse

type CheckoutStateResponse struct {
	// Types that are valid to be assigned to Result:
	//
	//	*CheckoutStateResponse_StateDigest
	//	*CheckoutStateResponse_Error
	Result isCheckoutStateResponse_Result `protobuf_oneof:"result"`
}

func (*CheckoutStateResponse) Descriptor

func (*CheckoutStateResponse) Descriptor() ([]byte, []int)

func (*CheckoutStateResponse) Equal

func (this *CheckoutStateResponse) Equal(that interface{}) bool

func (*CheckoutStateResponse) GetError

func (m *CheckoutStateResponse) GetError() *ErrorInfo

func (*CheckoutStateResponse) GetResult

func (m *CheckoutStateResponse) GetResult() isCheckoutStateResponse_Result

func (*CheckoutStateResponse) GetStateDigest

func (m *CheckoutStateResponse) GetStateDigest() string

func (*CheckoutStateResponse) GoString

func (this *CheckoutStateResponse) GoString() string

func (*CheckoutStateResponse) Marshal

func (m *CheckoutStateResponse) Marshal() (dAtA []byte, err error)

func (*CheckoutStateResponse) MarshalTo

func (m *CheckoutStateResponse) MarshalTo(dAtA []byte) (int, error)

func (*CheckoutStateResponse) MarshalToSizedBuffer

func (m *CheckoutStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckoutStateResponse) ProtoMessage

func (*CheckoutStateResponse) ProtoMessage()

func (*CheckoutStateResponse) Reset

func (m *CheckoutStateResponse) Reset()

func (*CheckoutStateResponse) Size

func (m *CheckoutStateResponse) Size() (n int)

func (*CheckoutStateResponse) String

func (this *CheckoutStateResponse) String() string

func (*CheckoutStateResponse) Unmarshal

func (m *CheckoutStateResponse) Unmarshal(dAtA []byte) error

func (*CheckoutStateResponse) XXX_DiscardUnknown

func (m *CheckoutStateResponse) XXX_DiscardUnknown()

func (*CheckoutStateResponse) XXX_Marshal

func (m *CheckoutStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckoutStateResponse) XXX_Merge

func (m *CheckoutStateResponse) XXX_Merge(src proto.Message)

func (*CheckoutStateResponse) XXX_OneofWrappers

func (*CheckoutStateResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CheckoutStateResponse) XXX_Size

func (m *CheckoutStateResponse) XXX_Size() int

func (*CheckoutStateResponse) XXX_Unmarshal

func (m *CheckoutStateResponse) XXX_Unmarshal(b []byte) error

type CheckoutStateResponse_Error

type CheckoutStateResponse_Error struct {
	Error *ErrorInfo `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
}

func (*CheckoutStateResponse_Error) Equal

func (this *CheckoutStateResponse_Error) Equal(that interface{}) bool

func (*CheckoutStateResponse_Error) GoString

func (this *CheckoutStateResponse_Error) GoString() string

func (*CheckoutStateResponse_Error) MarshalTo

func (m *CheckoutStateResponse_Error) MarshalTo(dAtA []byte) (int, error)

func (*CheckoutStateResponse_Error) MarshalToSizedBuffer

func (m *CheckoutStateResponse_Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckoutStateResponse_Error) Size

func (m *CheckoutStateResponse_Error) Size() (n int)

func (*CheckoutStateResponse_Error) String

func (this *CheckoutStateResponse_Error) String() string

type CheckoutStateResponse_StateDigest

type CheckoutStateResponse_StateDigest struct {
	StateDigest string `protobuf:"bytes,1,opt,name=state_digest,json=stateDigest,proto3,oneof" json:"state_digest,omitempty"`
}

func (*CheckoutStateResponse_StateDigest) Equal

func (this *CheckoutStateResponse_StateDigest) Equal(that interface{}) bool

func (*CheckoutStateResponse_StateDigest) GoString

func (this *CheckoutStateResponse_StateDigest) GoString() string

func (*CheckoutStateResponse_StateDigest) MarshalTo

func (m *CheckoutStateResponse_StateDigest) MarshalTo(dAtA []byte) (int, error)

func (*CheckoutStateResponse_StateDigest) MarshalToSizedBuffer

func (m *CheckoutStateResponse_StateDigest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckoutStateResponse_StateDigest) Size

func (m *CheckoutStateResponse_StateDigest) Size() (n int)

func (*CheckoutStateResponse_StateDigest) String

type CredentialInfo

type CredentialInfo struct {
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
}

func (*CredentialInfo) Descriptor

func (*CredentialInfo) Descriptor() ([]byte, []int)

func (*CredentialInfo) Equal

func (this *CredentialInfo) Equal(that interface{}) bool

func (*CredentialInfo) GetHost

func (m *CredentialInfo) GetHost() string

func (*CredentialInfo) GetPassword

func (m *CredentialInfo) GetPassword() string

func (*CredentialInfo) GetProtocol

func (m *CredentialInfo) GetProtocol() string

func (*CredentialInfo) GetUsername

func (m *CredentialInfo) GetUsername() string

func (*CredentialInfo) GoString

func (this *CredentialInfo) GoString() string

func (*CredentialInfo) Marshal

func (m *CredentialInfo) Marshal() (dAtA []byte, err error)

func (*CredentialInfo) MarshalTo

func (m *CredentialInfo) MarshalTo(dAtA []byte) (int, error)

func (*CredentialInfo) MarshalToSizedBuffer

func (m *CredentialInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CredentialInfo) ProtoMessage

func (*CredentialInfo) ProtoMessage()

func (*CredentialInfo) Reset

func (m *CredentialInfo) Reset()

func (*CredentialInfo) Size

func (m *CredentialInfo) Size() (n int)

func (*CredentialInfo) String

func (this *CredentialInfo) String() string

func (*CredentialInfo) Unmarshal

func (m *CredentialInfo) Unmarshal(dAtA []byte) error

func (*CredentialInfo) XXX_DiscardUnknown

func (m *CredentialInfo) XXX_DiscardUnknown()

func (*CredentialInfo) XXX_Marshal

func (m *CredentialInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CredentialInfo) XXX_Merge

func (m *CredentialInfo) XXX_Merge(src proto.Message)

func (*CredentialInfo) XXX_Size

func (m *CredentialInfo) XXX_Size() int

func (*CredentialInfo) XXX_Unmarshal

func (m *CredentialInfo) XXX_Unmarshal(b []byte) error

type ErrorInfo

type ErrorInfo struct {
	Type    ErrorInfo_ErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=dagger.git.ErrorInfo_ErrorType" json:"type,omitempty"`
	Message string              `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*ErrorInfo) Descriptor

func (*ErrorInfo) Descriptor() ([]byte, []int)

func (*ErrorInfo) Equal

func (this *ErrorInfo) Equal(that interface{}) bool

func (*ErrorInfo) GetMessage

func (m *ErrorInfo) GetMessage() string

func (*ErrorInfo) GetType

func (m *ErrorInfo) GetType() ErrorInfo_ErrorType

func (*ErrorInfo) GoString

func (this *ErrorInfo) GoString() string

func (*ErrorInfo) Marshal

func (m *ErrorInfo) Marshal() (dAtA []byte, err error)

func (*ErrorInfo) MarshalTo

func (m *ErrorInfo) MarshalTo(dAtA []byte) (int, error)

func (*ErrorInfo) MarshalToSizedBuffer

func (m *ErrorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ErrorInfo) ProtoMessage

func (*ErrorInfo) ProtoMessage()

func (*ErrorInfo) Reset

func (m *ErrorInfo) Reset()

func (*ErrorInfo) Size

func (m *ErrorInfo) Size() (n int)

func (*ErrorInfo) String

func (this *ErrorInfo) String() string

func (*ErrorInfo) Unmarshal

func (m *ErrorInfo) Unmarshal(dAtA []byte) error

func (*ErrorInfo) XXX_DiscardUnknown

func (m *ErrorInfo) XXX_DiscardUnknown()

func (*ErrorInfo) XXX_Marshal

func (m *ErrorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorInfo) XXX_Merge

func (m *ErrorInfo) XXX_Merge(src proto.Message)

func (*ErrorInfo) XXX_Size

func (m *ErrorInfo) XXX_Size() int

func (*ErrorInfo) XXX_Unmarshal

func (m *ErrorInfo) XXX_Unmarshal(b []byte) error

type ErrorInfo_ErrorType

type ErrorInfo_ErrorType int32
const (
	UNKNOWN                     ErrorInfo_ErrorType = 0
	INVALID_REQUEST             ErrorInfo_ErrorType = 1
	NOT_FOUND                   ErrorInfo_ErrorType = 2
	TIMEOUT                     ErrorInfo_ErrorType = 3
	CREDENTIAL_RETRIEVAL_FAILED ErrorInfo_ErrorType = 4
	CONFIG_RETRIEVAL_FAILED     ErrorInfo_ErrorType = 5
	HEAD_MISMATCH               ErrorInfo_ErrorType = 6
	NOT_A_REPO                  ErrorInfo_ErrorType = 7
	PACK_FAILED                 ErrorInfo_ErrorType = 8
	UNCOMMITTED_UNSUPPORTED     ErrorInfo_ErrorType = 9
	CHECKOUT_STATE_MISMATCH     ErrorInfo_ErrorType = 10
)

func (ErrorInfo_ErrorType) EnumDescriptor

func (ErrorInfo_ErrorType) EnumDescriptor() ([]byte, []int)

func (ErrorInfo_ErrorType) String

func (x ErrorInfo_ErrorType) String() string

type GitAttachable

type GitAttachable struct {
	UnimplementedGitServer
	// contains filtered or unexported fields
}

func NewGitAttachable

func NewGitAttachable(rootCtx context.Context) GitAttachable

func (GitAttachable) CheckoutState

CheckoutState reports a digest identifying the current git state of a local checkout: HEAD, the symbolic HEAD, the object format, and all branch and tag refs. The engine uses it as a cache key: a checkout is only re-packed when its refs actually move, not on every read.

A checkout with no .git entry at its root reports NOT_A_REPO, which the engine degrades to its "no git context" state; a .git that exists but is unusable is a broken environment and reports a hard error.

func (GitAttachable) GetConfig

GetConfig retrieves Git config using the local Git config system. The function has a timeout of 30 seconds and ensures thread-safe execution.

It follows Git's config protocol and error handling: - If Git fails to list config: CONFIG_RETRIEVAL_FAILED - If the command times out: TIMEOUT - If Git is not installed: NOT_FOUND - If the request is invalid: INVALID_REQUEST

func (GitAttachable) GetCredential

GetCredential retrieves Git credentials for the given request using the local Git credential system. The function has a timeout of 30 seconds and ensures thread-safe execution.

It follows Git's credential helper protocol and error handling: - If Git can't find or execute a helper: CREDENTIAL_RETRIEVAL_FAILED - If a helper returns invalid format or no credentials: Git handles it as a failure (CREDENTIAL_RETRIEVAL_FAILED) - If the command times out: TIMEOUT - If Git is not installed: NOT_FOUND - If the request is invalid: INVALID_REQUEST

func (GitAttachable) PackCheckout

PackCheckout packs a local checkout's repository into a git bundle of HEAD plus all branches and tags, streaming one metadata message followed by the bundle's bytes in chunks. A repository with no commits yet (unborn HEAD) returns metadata carrying only the branch name, with no bundle.

func (GitAttachable) PackUncommitted

PackUncommitted streams the checkout's uncommitted changes -- the git-visible working-tree delta relative to HEAD, including untracked files -- as a binary patch. A temporary index starts at HEAD and is populated only with paths that git itself reports as changed or ordinary untracked; ignored paths and untracked nested repositories consequently stay out.

func (GitAttachable) Register

func (s GitAttachable) Register(srv *grpc.Server)

type GitAttachableProxy added in v0.19.7

type GitAttachableProxy struct {
	// contains filtered or unexported fields
}

func NewGitAttachableProxy added in v0.19.7

func NewGitAttachableProxy(client GitClient) GitAttachableProxy

func (GitAttachableProxy) CheckoutState

func (GitAttachableProxy) GetConfig added in v0.19.7

func (GitAttachableProxy) GetCredential added in v0.19.7

func (GitAttachableProxy) PackCheckout

func (GitAttachableProxy) PackUncommitted

func (GitAttachableProxy) Register added in v0.19.7

func (p GitAttachableProxy) Register(server *grpc.Server)

type GitClient

GitClient is the client API for Git service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGitClient

func NewGitClient(cc *grpc.ClientConn) GitClient

type GitConfig

type GitConfig struct {
	Entries []*GitConfigEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}

func (*GitConfig) Descriptor

func (*GitConfig) Descriptor() ([]byte, []int)

func (*GitConfig) Equal

func (this *GitConfig) Equal(that interface{}) bool

func (*GitConfig) GetEntries

func (m *GitConfig) GetEntries() []*GitConfigEntry

func (*GitConfig) GoString

func (this *GitConfig) GoString() string

func (*GitConfig) Marshal

func (m *GitConfig) Marshal() (dAtA []byte, err error)

func (*GitConfig) MarshalTo

func (m *GitConfig) MarshalTo(dAtA []byte) (int, error)

func (*GitConfig) MarshalToSizedBuffer

func (m *GitConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitConfig) ProtoMessage

func (*GitConfig) ProtoMessage()

func (*GitConfig) Reset

func (m *GitConfig) Reset()

func (*GitConfig) Size

func (m *GitConfig) Size() (n int)

func (*GitConfig) String

func (this *GitConfig) String() string

func (*GitConfig) Unmarshal

func (m *GitConfig) Unmarshal(dAtA []byte) error

func (*GitConfig) XXX_DiscardUnknown

func (m *GitConfig) XXX_DiscardUnknown()

func (*GitConfig) XXX_Marshal

func (m *GitConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitConfig) XXX_Merge

func (m *GitConfig) XXX_Merge(src proto.Message)

func (*GitConfig) XXX_Size

func (m *GitConfig) XXX_Size() int

func (*GitConfig) XXX_Unmarshal

func (m *GitConfig) XXX_Unmarshal(b []byte) error

type GitConfigEntry

type GitConfigEntry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*GitConfigEntry) Descriptor

func (*GitConfigEntry) Descriptor() ([]byte, []int)

func (*GitConfigEntry) Equal

func (this *GitConfigEntry) Equal(that interface{}) bool

func (*GitConfigEntry) GetKey

func (m *GitConfigEntry) GetKey() string

func (*GitConfigEntry) GetValue

func (m *GitConfigEntry) GetValue() string

func (*GitConfigEntry) GoString

func (this *GitConfigEntry) GoString() string

func (*GitConfigEntry) Marshal

func (m *GitConfigEntry) Marshal() (dAtA []byte, err error)

func (*GitConfigEntry) MarshalTo

func (m *GitConfigEntry) MarshalTo(dAtA []byte) (int, error)

func (*GitConfigEntry) MarshalToSizedBuffer

func (m *GitConfigEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitConfigEntry) ProtoMessage

func (*GitConfigEntry) ProtoMessage()

func (*GitConfigEntry) Reset

func (m *GitConfigEntry) Reset()

func (*GitConfigEntry) Size

func (m *GitConfigEntry) Size() (n int)

func (*GitConfigEntry) String

func (this *GitConfigEntry) String() string

func (*GitConfigEntry) Unmarshal

func (m *GitConfigEntry) Unmarshal(dAtA []byte) error

func (*GitConfigEntry) XXX_DiscardUnknown

func (m *GitConfigEntry) XXX_DiscardUnknown()

func (*GitConfigEntry) XXX_Marshal

func (m *GitConfigEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitConfigEntry) XXX_Merge

func (m *GitConfigEntry) XXX_Merge(src proto.Message)

func (*GitConfigEntry) XXX_Size

func (m *GitConfigEntry) XXX_Size() int

func (*GitConfigEntry) XXX_Unmarshal

func (m *GitConfigEntry) XXX_Unmarshal(b []byte) error

type GitConfigRequest

type GitConfigRequest struct {
}

func (*GitConfigRequest) Descriptor

func (*GitConfigRequest) Descriptor() ([]byte, []int)

func (*GitConfigRequest) Equal

func (this *GitConfigRequest) Equal(that interface{}) bool

func (*GitConfigRequest) GoString

func (this *GitConfigRequest) GoString() string

func (*GitConfigRequest) Marshal

func (m *GitConfigRequest) Marshal() (dAtA []byte, err error)

func (*GitConfigRequest) MarshalTo

func (m *GitConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*GitConfigRequest) MarshalToSizedBuffer

func (m *GitConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitConfigRequest) ProtoMessage

func (*GitConfigRequest) ProtoMessage()

func (*GitConfigRequest) Reset

func (m *GitConfigRequest) Reset()

func (*GitConfigRequest) Size

func (m *GitConfigRequest) Size() (n int)

func (*GitConfigRequest) String

func (this *GitConfigRequest) String() string

func (*GitConfigRequest) Unmarshal

func (m *GitConfigRequest) Unmarshal(dAtA []byte) error

func (*GitConfigRequest) XXX_DiscardUnknown

func (m *GitConfigRequest) XXX_DiscardUnknown()

func (*GitConfigRequest) XXX_Marshal

func (m *GitConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitConfigRequest) XXX_Merge

func (m *GitConfigRequest) XXX_Merge(src proto.Message)

func (*GitConfigRequest) XXX_Size

func (m *GitConfigRequest) XXX_Size() int

func (*GitConfigRequest) XXX_Unmarshal

func (m *GitConfigRequest) XXX_Unmarshal(b []byte) error

type GitConfigResponse

type GitConfigResponse struct {
	// Types that are valid to be assigned to Result:
	//
	//	*GitConfigResponse_Config
	//	*GitConfigResponse_Error
	Result isGitConfigResponse_Result `protobuf_oneof:"result"`
}

func (*GitConfigResponse) Descriptor

func (*GitConfigResponse) Descriptor() ([]byte, []int)

func (*GitConfigResponse) Equal

func (this *GitConfigResponse) Equal(that interface{}) bool

func (*GitConfigResponse) GetConfig

func (m *GitConfigResponse) GetConfig() *GitConfig

func (*GitConfigResponse) GetError

func (m *GitConfigResponse) GetError() *ErrorInfo

func (*GitConfigResponse) GetResult

func (m *GitConfigResponse) GetResult() isGitConfigResponse_Result

func (*GitConfigResponse) GoString

func (this *GitConfigResponse) GoString() string

func (*GitConfigResponse) Marshal

func (m *GitConfigResponse) Marshal() (dAtA []byte, err error)

func (*GitConfigResponse) MarshalTo

func (m *GitConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*GitConfigResponse) MarshalToSizedBuffer

func (m *GitConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitConfigResponse) ProtoMessage

func (*GitConfigResponse) ProtoMessage()

func (*GitConfigResponse) Reset

func (m *GitConfigResponse) Reset()

func (*GitConfigResponse) Size

func (m *GitConfigResponse) Size() (n int)

func (*GitConfigResponse) String

func (this *GitConfigResponse) String() string

func (*GitConfigResponse) Unmarshal

func (m *GitConfigResponse) Unmarshal(dAtA []byte) error

func (*GitConfigResponse) XXX_DiscardUnknown

func (m *GitConfigResponse) XXX_DiscardUnknown()

func (*GitConfigResponse) XXX_Marshal

func (m *GitConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitConfigResponse) XXX_Merge

func (m *GitConfigResponse) XXX_Merge(src proto.Message)

func (*GitConfigResponse) XXX_OneofWrappers

func (*GitConfigResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GitConfigResponse) XXX_Size

func (m *GitConfigResponse) XXX_Size() int

func (*GitConfigResponse) XXX_Unmarshal

func (m *GitConfigResponse) XXX_Unmarshal(b []byte) error

type GitConfigResponse_Config

type GitConfigResponse_Config struct {
	Config *GitConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof" json:"config,omitempty"`
}

func (*GitConfigResponse_Config) Equal

func (this *GitConfigResponse_Config) Equal(that interface{}) bool

func (*GitConfigResponse_Config) GoString

func (this *GitConfigResponse_Config) GoString() string

func (*GitConfigResponse_Config) MarshalTo

func (m *GitConfigResponse_Config) MarshalTo(dAtA []byte) (int, error)

func (*GitConfigResponse_Config) MarshalToSizedBuffer

func (m *GitConfigResponse_Config) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitConfigResponse_Config) Size

func (m *GitConfigResponse_Config) Size() (n int)

func (*GitConfigResponse_Config) String

func (this *GitConfigResponse_Config) String() string

type GitConfigResponse_Error

type GitConfigResponse_Error struct {
	Error *ErrorInfo `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
}

func (*GitConfigResponse_Error) Equal

func (this *GitConfigResponse_Error) Equal(that interface{}) bool

func (*GitConfigResponse_Error) GoString

func (this *GitConfigResponse_Error) GoString() string

func (*GitConfigResponse_Error) MarshalTo

func (m *GitConfigResponse_Error) MarshalTo(dAtA []byte) (int, error)

func (*GitConfigResponse_Error) MarshalToSizedBuffer

func (m *GitConfigResponse_Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitConfigResponse_Error) Size

func (m *GitConfigResponse_Error) Size() (n int)

func (*GitConfigResponse_Error) String

func (this *GitConfigResponse_Error) String() string

type GitCredentialRequest

type GitCredentialRequest struct {
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	Host     string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Path     string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
}

func (*GitCredentialRequest) Descriptor

func (*GitCredentialRequest) Descriptor() ([]byte, []int)

func (*GitCredentialRequest) Equal

func (this *GitCredentialRequest) Equal(that interface{}) bool

func (*GitCredentialRequest) GetHost

func (m *GitCredentialRequest) GetHost() string

func (*GitCredentialRequest) GetPath

func (m *GitCredentialRequest) GetPath() string

func (*GitCredentialRequest) GetProtocol

func (m *GitCredentialRequest) GetProtocol() string

func (*GitCredentialRequest) GoString

func (this *GitCredentialRequest) GoString() string

func (*GitCredentialRequest) Marshal

func (m *GitCredentialRequest) Marshal() (dAtA []byte, err error)

func (*GitCredentialRequest) MarshalTo

func (m *GitCredentialRequest) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialRequest) MarshalToSizedBuffer

func (m *GitCredentialRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialRequest) ProtoMessage

func (*GitCredentialRequest) ProtoMessage()

func (*GitCredentialRequest) Reset

func (m *GitCredentialRequest) Reset()

func (*GitCredentialRequest) Size

func (m *GitCredentialRequest) Size() (n int)

func (*GitCredentialRequest) String

func (this *GitCredentialRequest) String() string

func (*GitCredentialRequest) Unmarshal

func (m *GitCredentialRequest) Unmarshal(dAtA []byte) error

func (*GitCredentialRequest) XXX_DiscardUnknown

func (m *GitCredentialRequest) XXX_DiscardUnknown()

func (*GitCredentialRequest) XXX_Marshal

func (m *GitCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCredentialRequest) XXX_Merge

func (m *GitCredentialRequest) XXX_Merge(src proto.Message)

func (*GitCredentialRequest) XXX_Size

func (m *GitCredentialRequest) XXX_Size() int

func (*GitCredentialRequest) XXX_Unmarshal

func (m *GitCredentialRequest) XXX_Unmarshal(b []byte) error

type GitCredentialResponse

type GitCredentialResponse struct {
	// Types that are valid to be assigned to Result:
	//
	//	*GitCredentialResponse_Credential
	//	*GitCredentialResponse_Error
	Result isGitCredentialResponse_Result `protobuf_oneof:"result"`
}

func (*GitCredentialResponse) Descriptor

func (*GitCredentialResponse) Descriptor() ([]byte, []int)

func (*GitCredentialResponse) Equal

func (this *GitCredentialResponse) Equal(that interface{}) bool

func (*GitCredentialResponse) GetCredential

func (m *GitCredentialResponse) GetCredential() *CredentialInfo

func (*GitCredentialResponse) GetError

func (m *GitCredentialResponse) GetError() *ErrorInfo

func (*GitCredentialResponse) GetResult

func (m *GitCredentialResponse) GetResult() isGitCredentialResponse_Result

func (*GitCredentialResponse) GoString

func (this *GitCredentialResponse) GoString() string

func (*GitCredentialResponse) Marshal

func (m *GitCredentialResponse) Marshal() (dAtA []byte, err error)

func (*GitCredentialResponse) MarshalTo

func (m *GitCredentialResponse) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialResponse) MarshalToSizedBuffer

func (m *GitCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialResponse) ProtoMessage

func (*GitCredentialResponse) ProtoMessage()

func (*GitCredentialResponse) Reset

func (m *GitCredentialResponse) Reset()

func (*GitCredentialResponse) Size

func (m *GitCredentialResponse) Size() (n int)

func (*GitCredentialResponse) String

func (this *GitCredentialResponse) String() string

func (*GitCredentialResponse) Unmarshal

func (m *GitCredentialResponse) Unmarshal(dAtA []byte) error

func (*GitCredentialResponse) XXX_DiscardUnknown

func (m *GitCredentialResponse) XXX_DiscardUnknown()

func (*GitCredentialResponse) XXX_Marshal

func (m *GitCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitCredentialResponse) XXX_Merge

func (m *GitCredentialResponse) XXX_Merge(src proto.Message)

func (*GitCredentialResponse) XXX_OneofWrappers

func (*GitCredentialResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GitCredentialResponse) XXX_Size

func (m *GitCredentialResponse) XXX_Size() int

func (*GitCredentialResponse) XXX_Unmarshal

func (m *GitCredentialResponse) XXX_Unmarshal(b []byte) error

type GitCredentialResponse_Credential

type GitCredentialResponse_Credential struct {
	Credential *CredentialInfo `protobuf:"bytes,1,opt,name=credential,proto3,oneof" json:"credential,omitempty"`
}

func (*GitCredentialResponse_Credential) Equal

func (this *GitCredentialResponse_Credential) Equal(that interface{}) bool

func (*GitCredentialResponse_Credential) GoString

func (this *GitCredentialResponse_Credential) GoString() string

func (*GitCredentialResponse_Credential) MarshalTo

func (m *GitCredentialResponse_Credential) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialResponse_Credential) MarshalToSizedBuffer

func (m *GitCredentialResponse_Credential) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialResponse_Credential) Size

func (m *GitCredentialResponse_Credential) Size() (n int)

func (*GitCredentialResponse_Credential) String

type GitCredentialResponse_Error

type GitCredentialResponse_Error struct {
	Error *ErrorInfo `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
}

func (*GitCredentialResponse_Error) Equal

func (this *GitCredentialResponse_Error) Equal(that interface{}) bool

func (*GitCredentialResponse_Error) GoString

func (this *GitCredentialResponse_Error) GoString() string

func (*GitCredentialResponse_Error) MarshalTo

func (m *GitCredentialResponse_Error) MarshalTo(dAtA []byte) (int, error)

func (*GitCredentialResponse_Error) MarshalToSizedBuffer

func (m *GitCredentialResponse_Error) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitCredentialResponse_Error) Size

func (m *GitCredentialResponse_Error) Size() (n int)

func (*GitCredentialResponse_Error) String

func (this *GitCredentialResponse_Error) String() string

type GitServer

GitServer is the server API for Git service.

type Git_PackCheckoutClient

type Git_PackCheckoutClient interface {
	Recv() (*PackCheckoutResponse, error)
	grpc.ClientStream
}

type Git_PackCheckoutServer

type Git_PackCheckoutServer interface {
	Send(*PackCheckoutResponse) error
	grpc.ServerStream
}

type Git_PackUncommittedClient

type Git_PackUncommittedClient interface {
	Recv() (*PackUncommittedResponse, error)
	grpc.ClientStream
}

type Git_PackUncommittedServer

type Git_PackUncommittedServer interface {
	Send(*PackUncommittedResponse) error
	grpc.ServerStream
}

type PackCheckoutMetadata

type PackCheckoutMetadata struct {
	// head_sha is the commit HEAD resolves to. Empty for a repository with no
	// commits yet (unborn HEAD), in which case no bundle chunks follow.
	HeadSha string `protobuf:"bytes,1,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
	// head_ref is the symbolic ref HEAD points at (e.g. "refs/heads/main"),
	// empty when HEAD is detached.
	HeadRef string `protobuf:"bytes,2,opt,name=head_ref,json=headRef,proto3" json:"head_ref,omitempty"`
	// object_format is the repository's object hash algorithm ("sha1" or
	// "sha256"), so the engine reconstructs with the same format.
	ObjectFormat string `protobuf:"bytes,3,opt,name=object_format,json=objectFormat,proto3" json:"object_format,omitempty"`
	// error reports a failure instead of a pack: NOT_A_REPO when the checkout
	// has no .git entry at its root, NOT_FOUND when git is not installed.
	Error *ErrorInfo `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// state_digest identifies the exact checkout state represented by the
	// bundle. The client verifies that it remains stable while packing.
	StateDigest string `protobuf:"bytes,5,opt,name=state_digest,json=stateDigest,proto3" json:"state_digest,omitempty"`
}

func (*PackCheckoutMetadata) Descriptor

func (*PackCheckoutMetadata) Descriptor() ([]byte, []int)

func (*PackCheckoutMetadata) Equal

func (this *PackCheckoutMetadata) Equal(that interface{}) bool

func (*PackCheckoutMetadata) GetError

func (m *PackCheckoutMetadata) GetError() *ErrorInfo

func (*PackCheckoutMetadata) GetHeadRef

func (m *PackCheckoutMetadata) GetHeadRef() string

func (*PackCheckoutMetadata) GetHeadSha

func (m *PackCheckoutMetadata) GetHeadSha() string

func (*PackCheckoutMetadata) GetObjectFormat

func (m *PackCheckoutMetadata) GetObjectFormat() string

func (*PackCheckoutMetadata) GetStateDigest

func (m *PackCheckoutMetadata) GetStateDigest() string

func (*PackCheckoutMetadata) GoString

func (this *PackCheckoutMetadata) GoString() string

func (*PackCheckoutMetadata) Marshal

func (m *PackCheckoutMetadata) Marshal() (dAtA []byte, err error)

func (*PackCheckoutMetadata) MarshalTo

func (m *PackCheckoutMetadata) MarshalTo(dAtA []byte) (int, error)

func (*PackCheckoutMetadata) MarshalToSizedBuffer

func (m *PackCheckoutMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackCheckoutMetadata) ProtoMessage

func (*PackCheckoutMetadata) ProtoMessage()

func (*PackCheckoutMetadata) Reset

func (m *PackCheckoutMetadata) Reset()

func (*PackCheckoutMetadata) Size

func (m *PackCheckoutMetadata) Size() (n int)

func (*PackCheckoutMetadata) String

func (this *PackCheckoutMetadata) String() string

func (*PackCheckoutMetadata) Unmarshal

func (m *PackCheckoutMetadata) Unmarshal(dAtA []byte) error

func (*PackCheckoutMetadata) XXX_DiscardUnknown

func (m *PackCheckoutMetadata) XXX_DiscardUnknown()

func (*PackCheckoutMetadata) XXX_Marshal

func (m *PackCheckoutMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackCheckoutMetadata) XXX_Merge

func (m *PackCheckoutMetadata) XXX_Merge(src proto.Message)

func (*PackCheckoutMetadata) XXX_Size

func (m *PackCheckoutMetadata) XXX_Size() int

func (*PackCheckoutMetadata) XXX_Unmarshal

func (m *PackCheckoutMetadata) XXX_Unmarshal(b []byte) error

type PackCheckoutRequest

type PackCheckoutRequest struct {
	CheckoutPath string `protobuf:"bytes,1,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
	// expected_state_digest, when set, requires the packed checkout to match a
	// preceding CheckoutState response. A mismatch asks the engine to retry
	// under the checkout's new cache key.
	ExpectedStateDigest string `protobuf:"bytes,2,opt,name=expected_state_digest,json=expectedStateDigest,proto3" json:"expected_state_digest,omitempty"`
}

PackCheckoutRequest asks the client to pack a local checkout's repository with its own git (a bundle of HEAD plus all branches and tags). Host git natively understands every checkout layout - worktrees, submodules, separate git dirs, alternates, partial clones - so the engine never has to interpret raw .git state; it reconstructs a canonical repository from the returned pack.

func (*PackCheckoutRequest) Descriptor

func (*PackCheckoutRequest) Descriptor() ([]byte, []int)

func (*PackCheckoutRequest) Equal

func (this *PackCheckoutRequest) Equal(that interface{}) bool

func (*PackCheckoutRequest) GetCheckoutPath

func (m *PackCheckoutRequest) GetCheckoutPath() string

func (*PackCheckoutRequest) GetExpectedStateDigest

func (m *PackCheckoutRequest) GetExpectedStateDigest() string

func (*PackCheckoutRequest) GoString

func (this *PackCheckoutRequest) GoString() string

func (*PackCheckoutRequest) Marshal

func (m *PackCheckoutRequest) Marshal() (dAtA []byte, err error)

func (*PackCheckoutRequest) MarshalTo

func (m *PackCheckoutRequest) MarshalTo(dAtA []byte) (int, error)

func (*PackCheckoutRequest) MarshalToSizedBuffer

func (m *PackCheckoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackCheckoutRequest) ProtoMessage

func (*PackCheckoutRequest) ProtoMessage()

func (*PackCheckoutRequest) Reset

func (m *PackCheckoutRequest) Reset()

func (*PackCheckoutRequest) Size

func (m *PackCheckoutRequest) Size() (n int)

func (*PackCheckoutRequest) String

func (this *PackCheckoutRequest) String() string

func (*PackCheckoutRequest) Unmarshal

func (m *PackCheckoutRequest) Unmarshal(dAtA []byte) error

func (*PackCheckoutRequest) XXX_DiscardUnknown

func (m *PackCheckoutRequest) XXX_DiscardUnknown()

func (*PackCheckoutRequest) XXX_Marshal

func (m *PackCheckoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackCheckoutRequest) XXX_Merge

func (m *PackCheckoutRequest) XXX_Merge(src proto.Message)

func (*PackCheckoutRequest) XXX_Size

func (m *PackCheckoutRequest) XXX_Size() int

func (*PackCheckoutRequest) XXX_Unmarshal

func (m *PackCheckoutRequest) XXX_Unmarshal(b []byte) error

type PackCheckoutResponse

type PackCheckoutResponse struct {
	// Types that are valid to be assigned to Msg:
	//
	//	*PackCheckoutResponse_Metadata
	//	*PackCheckoutResponse_Chunk
	Msg isPackCheckoutResponse_Msg `protobuf_oneof:"msg"`
}

PackCheckoutResponse streams one metadata message first, then the bundle bytes in chunks.

func (*PackCheckoutResponse) Descriptor

func (*PackCheckoutResponse) Descriptor() ([]byte, []int)

func (*PackCheckoutResponse) Equal

func (this *PackCheckoutResponse) Equal(that interface{}) bool

func (*PackCheckoutResponse) GetChunk

func (m *PackCheckoutResponse) GetChunk() []byte

func (*PackCheckoutResponse) GetMetadata

func (m *PackCheckoutResponse) GetMetadata() *PackCheckoutMetadata

func (*PackCheckoutResponse) GetMsg

func (m *PackCheckoutResponse) GetMsg() isPackCheckoutResponse_Msg

func (*PackCheckoutResponse) GoString

func (this *PackCheckoutResponse) GoString() string

func (*PackCheckoutResponse) Marshal

func (m *PackCheckoutResponse) Marshal() (dAtA []byte, err error)

func (*PackCheckoutResponse) MarshalTo

func (m *PackCheckoutResponse) MarshalTo(dAtA []byte) (int, error)

func (*PackCheckoutResponse) MarshalToSizedBuffer

func (m *PackCheckoutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackCheckoutResponse) ProtoMessage

func (*PackCheckoutResponse) ProtoMessage()

func (*PackCheckoutResponse) Reset

func (m *PackCheckoutResponse) Reset()

func (*PackCheckoutResponse) Size

func (m *PackCheckoutResponse) Size() (n int)

func (*PackCheckoutResponse) String

func (this *PackCheckoutResponse) String() string

func (*PackCheckoutResponse) Unmarshal

func (m *PackCheckoutResponse) Unmarshal(dAtA []byte) error

func (*PackCheckoutResponse) XXX_DiscardUnknown

func (m *PackCheckoutResponse) XXX_DiscardUnknown()

func (*PackCheckoutResponse) XXX_Marshal

func (m *PackCheckoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackCheckoutResponse) XXX_Merge

func (m *PackCheckoutResponse) XXX_Merge(src proto.Message)

func (*PackCheckoutResponse) XXX_OneofWrappers

func (*PackCheckoutResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PackCheckoutResponse) XXX_Size

func (m *PackCheckoutResponse) XXX_Size() int

func (*PackCheckoutResponse) XXX_Unmarshal

func (m *PackCheckoutResponse) XXX_Unmarshal(b []byte) error

type PackCheckoutResponse_Chunk

type PackCheckoutResponse_Chunk struct {
	Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof" json:"chunk,omitempty"`
}

func (*PackCheckoutResponse_Chunk) Equal

func (this *PackCheckoutResponse_Chunk) Equal(that interface{}) bool

func (*PackCheckoutResponse_Chunk) GoString

func (this *PackCheckoutResponse_Chunk) GoString() string

func (*PackCheckoutResponse_Chunk) MarshalTo

func (m *PackCheckoutResponse_Chunk) MarshalTo(dAtA []byte) (int, error)

func (*PackCheckoutResponse_Chunk) MarshalToSizedBuffer

func (m *PackCheckoutResponse_Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackCheckoutResponse_Chunk) Size

func (m *PackCheckoutResponse_Chunk) Size() (n int)

func (*PackCheckoutResponse_Chunk) String

func (this *PackCheckoutResponse_Chunk) String() string

type PackCheckoutResponse_Metadata

type PackCheckoutResponse_Metadata struct {
	Metadata *PackCheckoutMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
}

func (*PackCheckoutResponse_Metadata) Equal

func (this *PackCheckoutResponse_Metadata) Equal(that interface{}) bool

func (*PackCheckoutResponse_Metadata) GoString

func (this *PackCheckoutResponse_Metadata) GoString() string

func (*PackCheckoutResponse_Metadata) MarshalTo

func (m *PackCheckoutResponse_Metadata) MarshalTo(dAtA []byte) (int, error)

func (*PackCheckoutResponse_Metadata) MarshalToSizedBuffer

func (m *PackCheckoutResponse_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackCheckoutResponse_Metadata) Size

func (m *PackCheckoutResponse_Metadata) Size() (n int)

func (*PackCheckoutResponse_Metadata) String

func (this *PackCheckoutResponse_Metadata) String() string

type PackUncommittedMetadata

type PackUncommittedMetadata struct {
	// head_sha anchors the patch and must match the canonical checkout to which
	// the engine applies it.
	HeadSha string `protobuf:"bytes,1,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
	// nested_repositories are untracked repository roots omitted from the patch.
	// The engine recreates lightweight repository markers at these boundaries so
	// later workspace overlays beneath them remain invisible to the outer repo.
	NestedRepositories []string   `protobuf:"bytes,2,rep,name=nested_repositories,json=nestedRepositories,proto3" json:"nested_repositories,omitempty"`
	Error              *ErrorInfo `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}

func (*PackUncommittedMetadata) Descriptor

func (*PackUncommittedMetadata) Descriptor() ([]byte, []int)

func (*PackUncommittedMetadata) Equal

func (this *PackUncommittedMetadata) Equal(that interface{}) bool

func (*PackUncommittedMetadata) GetError

func (m *PackUncommittedMetadata) GetError() *ErrorInfo

func (*PackUncommittedMetadata) GetHeadSha

func (m *PackUncommittedMetadata) GetHeadSha() string

func (*PackUncommittedMetadata) GetNestedRepositories

func (m *PackUncommittedMetadata) GetNestedRepositories() []string

func (*PackUncommittedMetadata) GoString

func (this *PackUncommittedMetadata) GoString() string

func (*PackUncommittedMetadata) Marshal

func (m *PackUncommittedMetadata) Marshal() (dAtA []byte, err error)

func (*PackUncommittedMetadata) MarshalTo

func (m *PackUncommittedMetadata) MarshalTo(dAtA []byte) (int, error)

func (*PackUncommittedMetadata) MarshalToSizedBuffer

func (m *PackUncommittedMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackUncommittedMetadata) ProtoMessage

func (*PackUncommittedMetadata) ProtoMessage()

func (*PackUncommittedMetadata) Reset

func (m *PackUncommittedMetadata) Reset()

func (*PackUncommittedMetadata) Size

func (m *PackUncommittedMetadata) Size() (n int)

func (*PackUncommittedMetadata) String

func (this *PackUncommittedMetadata) String() string

func (*PackUncommittedMetadata) Unmarshal

func (m *PackUncommittedMetadata) Unmarshal(dAtA []byte) error

func (*PackUncommittedMetadata) XXX_DiscardUnknown

func (m *PackUncommittedMetadata) XXX_DiscardUnknown()

func (*PackUncommittedMetadata) XXX_Marshal

func (m *PackUncommittedMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackUncommittedMetadata) XXX_Merge

func (m *PackUncommittedMetadata) XXX_Merge(src proto.Message)

func (*PackUncommittedMetadata) XXX_Size

func (m *PackUncommittedMetadata) XXX_Size() int

func (*PackUncommittedMetadata) XXX_Unmarshal

func (m *PackUncommittedMetadata) XXX_Unmarshal(b []byte) error

type PackUncommittedRequest

type PackUncommittedRequest struct {
	CheckoutPath string `protobuf:"bytes,1,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
	// expected_head_sha pins the patch to the canonical checkout already packed
	// by the engine. A moved checkout reports HEAD_MISMATCH instead of producing
	// a delta against a different commit.
	ExpectedHeadSha string `protobuf:"bytes,2,opt,name=expected_head_sha,json=expectedHeadSha,proto3" json:"expected_head_sha,omitempty"`
}

PackUncommittedRequest asks the client for the git-visible working-tree delta relative to HEAD. The payload is a binary git patch containing tracked, staged, and ordinary untracked nonignored files. Ignored files and contents inside untracked nested repositories are deliberately omitted, matching `git clean -fd` and GitRepository.uncommitted semantics.

func (*PackUncommittedRequest) Descriptor

func (*PackUncommittedRequest) Descriptor() ([]byte, []int)

func (*PackUncommittedRequest) Equal

func (this *PackUncommittedRequest) Equal(that interface{}) bool

func (*PackUncommittedRequest) GetCheckoutPath

func (m *PackUncommittedRequest) GetCheckoutPath() string

func (*PackUncommittedRequest) GetExpectedHeadSha

func (m *PackUncommittedRequest) GetExpectedHeadSha() string

func (*PackUncommittedRequest) GoString

func (this *PackUncommittedRequest) GoString() string

func (*PackUncommittedRequest) Marshal

func (m *PackUncommittedRequest) Marshal() (dAtA []byte, err error)

func (*PackUncommittedRequest) MarshalTo

func (m *PackUncommittedRequest) MarshalTo(dAtA []byte) (int, error)

func (*PackUncommittedRequest) MarshalToSizedBuffer

func (m *PackUncommittedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackUncommittedRequest) ProtoMessage

func (*PackUncommittedRequest) ProtoMessage()

func (*PackUncommittedRequest) Reset

func (m *PackUncommittedRequest) Reset()

func (*PackUncommittedRequest) Size

func (m *PackUncommittedRequest) Size() (n int)

func (*PackUncommittedRequest) String

func (this *PackUncommittedRequest) String() string

func (*PackUncommittedRequest) Unmarshal

func (m *PackUncommittedRequest) Unmarshal(dAtA []byte) error

func (*PackUncommittedRequest) XXX_DiscardUnknown

func (m *PackUncommittedRequest) XXX_DiscardUnknown()

func (*PackUncommittedRequest) XXX_Marshal

func (m *PackUncommittedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackUncommittedRequest) XXX_Merge

func (m *PackUncommittedRequest) XXX_Merge(src proto.Message)

func (*PackUncommittedRequest) XXX_Size

func (m *PackUncommittedRequest) XXX_Size() int

func (*PackUncommittedRequest) XXX_Unmarshal

func (m *PackUncommittedRequest) XXX_Unmarshal(b []byte) error

type PackUncommittedResponse

type PackUncommittedResponse struct {
	// Types that are valid to be assigned to Msg:
	//
	//	*PackUncommittedResponse_Metadata
	//	*PackUncommittedResponse_Chunk
	Msg isPackUncommittedResponse_Msg `protobuf_oneof:"msg"`
}

PackUncommittedResponse streams one metadata message first, then binary patch bytes in chunks.

func (*PackUncommittedResponse) Descriptor

func (*PackUncommittedResponse) Descriptor() ([]byte, []int)

func (*PackUncommittedResponse) Equal

func (this *PackUncommittedResponse) Equal(that interface{}) bool

func (*PackUncommittedResponse) GetChunk

func (m *PackUncommittedResponse) GetChunk() []byte

func (*PackUncommittedResponse) GetMetadata

func (*PackUncommittedResponse) GetMsg

func (m *PackUncommittedResponse) GetMsg() isPackUncommittedResponse_Msg

func (*PackUncommittedResponse) GoString

func (this *PackUncommittedResponse) GoString() string

func (*PackUncommittedResponse) Marshal

func (m *PackUncommittedResponse) Marshal() (dAtA []byte, err error)

func (*PackUncommittedResponse) MarshalTo

func (m *PackUncommittedResponse) MarshalTo(dAtA []byte) (int, error)

func (*PackUncommittedResponse) MarshalToSizedBuffer

func (m *PackUncommittedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackUncommittedResponse) ProtoMessage

func (*PackUncommittedResponse) ProtoMessage()

func (*PackUncommittedResponse) Reset

func (m *PackUncommittedResponse) Reset()

func (*PackUncommittedResponse) Size

func (m *PackUncommittedResponse) Size() (n int)

func (*PackUncommittedResponse) String

func (this *PackUncommittedResponse) String() string

func (*PackUncommittedResponse) Unmarshal

func (m *PackUncommittedResponse) Unmarshal(dAtA []byte) error

func (*PackUncommittedResponse) XXX_DiscardUnknown

func (m *PackUncommittedResponse) XXX_DiscardUnknown()

func (*PackUncommittedResponse) XXX_Marshal

func (m *PackUncommittedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackUncommittedResponse) XXX_Merge

func (m *PackUncommittedResponse) XXX_Merge(src proto.Message)

func (*PackUncommittedResponse) XXX_OneofWrappers

func (*PackUncommittedResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PackUncommittedResponse) XXX_Size

func (m *PackUncommittedResponse) XXX_Size() int

func (*PackUncommittedResponse) XXX_Unmarshal

func (m *PackUncommittedResponse) XXX_Unmarshal(b []byte) error

type PackUncommittedResponse_Chunk

type PackUncommittedResponse_Chunk struct {
	Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof" json:"chunk,omitempty"`
}

func (*PackUncommittedResponse_Chunk) Equal

func (this *PackUncommittedResponse_Chunk) Equal(that interface{}) bool

func (*PackUncommittedResponse_Chunk) GoString

func (this *PackUncommittedResponse_Chunk) GoString() string

func (*PackUncommittedResponse_Chunk) MarshalTo

func (m *PackUncommittedResponse_Chunk) MarshalTo(dAtA []byte) (int, error)

func (*PackUncommittedResponse_Chunk) MarshalToSizedBuffer

func (m *PackUncommittedResponse_Chunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackUncommittedResponse_Chunk) Size

func (m *PackUncommittedResponse_Chunk) Size() (n int)

func (*PackUncommittedResponse_Chunk) String

func (this *PackUncommittedResponse_Chunk) String() string

type PackUncommittedResponse_Metadata

type PackUncommittedResponse_Metadata struct {
	Metadata *PackUncommittedMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
}

func (*PackUncommittedResponse_Metadata) Equal

func (this *PackUncommittedResponse_Metadata) Equal(that interface{}) bool

func (*PackUncommittedResponse_Metadata) GoString

func (this *PackUncommittedResponse_Metadata) GoString() string

func (*PackUncommittedResponse_Metadata) MarshalTo

func (m *PackUncommittedResponse_Metadata) MarshalTo(dAtA []byte) (int, error)

func (*PackUncommittedResponse_Metadata) MarshalToSizedBuffer

func (m *PackUncommittedResponse_Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PackUncommittedResponse_Metadata) Size

func (m *PackUncommittedResponse_Metadata) Size() (n int)

func (*PackUncommittedResponse_Metadata) String

type UnimplementedGitServer

type UnimplementedGitServer struct {
}

UnimplementedGitServer can be embedded to have forward compatible implementations.

func (*UnimplementedGitServer) CheckoutState

func (*UnimplementedGitServer) GetConfig

func (*UnimplementedGitServer) GetCredential

func (*UnimplementedGitServer) PackCheckout

func (*UnimplementedGitServer) PackUncommitted

Jump to

Keyboard shortcuts

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