git

package
v1.0.0-beta.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CaptureClassificationNestedRepository = "nested-repository"

CaptureClassificationNestedRepository marks an approval candidate that is an untracked nested repository boundary: a scratch clone or a linked `git worktree` checkout inside the captured checkout. Its contents are never captured as plain files; the candidate exists so the owner can drop or exclude the boundary instead of hitting a hard failure that names no path.

View Source
const MaxGitPackBytes int64 = 4 << 30

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

View Source
const SSHAskpassSocketEnv = "_DAGGER_SSH_ASKPASS_SOCKET" //nolint:gosec // Environment variable name, not a credential.

SSHAskpassSocketEnv is private to the ssh-add child and its CLI askpass helper. Passphrases never enter engine RPC responses, arguments, files or telemetry.

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 CaptureGitChunk_Kind_name = map[int32]string{
	0: "CAPTURE_CHUNK_UNKNOWN",
	1: "CAPTURE_CHUNK_BUNDLE",
}
View Source
var CaptureGitChunk_Kind_value = map[string]int32{
	"CAPTURE_CHUNK_UNKNOWN": 0,
	"CAPTURE_CHUNK_BUNDLE":  1,
}
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",
	11: "CAPTURE_REJECTED",
	12: "CAPTURE_FAILED",
	13: "CAPTURE_UNSUPPORTED",
}
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,
	"CAPTURE_REJECTED":            11,
	"CAPTURE_FAILED":              12,
	"CAPTURE_UNSUPPORTED":         13,
}

Functions

func RegisterGitServer

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

func ResolvePushURL

func ResolvePushURL(remote string, entries []*GitConfigEntry) string

ResolvePushURL applies the owner's URL-only routing configuration. Like Git, pushInsteadOf matches the original URL, falling back to insteadOf only when no push rewrite matches. Each pass uses the longest prefix, with the first entry winning ties. Callers must validate the result before displaying it or acquiring credentials. Already-resolved captured remotes and explicit push URLs must not use this.

func RunSSHAskpass

func RunSSHAskpass(socket string, output io.Writer) error

RunSSHAskpass is the CLI's early, telemetry-free helper entrypoint. Only the ssh-add child receives the private socket location in its environment.

Types

type ApplyBundleMetadata

type ApplyBundleMetadata struct {
	CheckoutPath        string `protobuf:"bytes,1,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
	TargetSha           string `protobuf:"bytes,2,opt,name=target_sha,json=targetSha,proto3" json:"target_sha,omitempty"`
	ExpectedStateDigest string `protobuf:"bytes,3,opt,name=expected_state_digest,json=expectedStateDigest,proto3" json:"expected_state_digest,omitempty"`
	BundleRef           string `protobuf:"bytes,4,opt,name=bundle_ref,json=bundleRef,proto3" json:"bundle_ref,omitempty"`
	// Prepared integration: bundle_ref advertises this transport commit, whose
	// parents are target_sha and a before-worktree snapshot (parented by the
	// expected checkout HEAD). Its tree is the desired final worktree.
	IntegrationWorktreeSha string `` /* 129-byte string literal not displayed */
}

func (*ApplyBundleMetadata) Descriptor

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

func (*ApplyBundleMetadata) Equal

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

func (*ApplyBundleMetadata) GetBundleRef

func (m *ApplyBundleMetadata) GetBundleRef() string

func (*ApplyBundleMetadata) GetCheckoutPath

func (m *ApplyBundleMetadata) GetCheckoutPath() string

func (*ApplyBundleMetadata) GetExpectedStateDigest

func (m *ApplyBundleMetadata) GetExpectedStateDigest() string

func (*ApplyBundleMetadata) GetIntegrationWorktreeSha

func (m *ApplyBundleMetadata) GetIntegrationWorktreeSha() string

func (*ApplyBundleMetadata) GetTargetSha

func (m *ApplyBundleMetadata) GetTargetSha() string

func (*ApplyBundleMetadata) GoString

func (this *ApplyBundleMetadata) GoString() string

func (*ApplyBundleMetadata) Marshal

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

func (*ApplyBundleMetadata) MarshalTo

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

func (*ApplyBundleMetadata) MarshalToSizedBuffer

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

func (*ApplyBundleMetadata) ProtoMessage

func (*ApplyBundleMetadata) ProtoMessage()

func (*ApplyBundleMetadata) Reset

func (m *ApplyBundleMetadata) Reset()

func (*ApplyBundleMetadata) Size

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

func (*ApplyBundleMetadata) String

func (this *ApplyBundleMetadata) String() string

func (*ApplyBundleMetadata) Unmarshal

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

func (*ApplyBundleMetadata) XXX_DiscardUnknown

func (m *ApplyBundleMetadata) XXX_DiscardUnknown()

func (*ApplyBundleMetadata) XXX_Marshal

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

func (*ApplyBundleMetadata) XXX_Merge

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

func (*ApplyBundleMetadata) XXX_Size

func (m *ApplyBundleMetadata) XXX_Size() int

func (*ApplyBundleMetadata) XXX_Unmarshal

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

type ApplyBundleRequest

type ApplyBundleRequest struct {
	// Types that are valid to be assigned to Msg:
	//
	//	*ApplyBundleRequest_Metadata
	//	*ApplyBundleRequest_Chunk
	Msg isApplyBundleRequest_Msg `protobuf_oneof:"msg"`
}

Import a workspace's committed HEAD and fast-forward the destination under a lease. A failed fast-forward leaves the commits on a hand-off ref; it never rebases, resets, or writes the workspace's uncommitted overlay.

func (*ApplyBundleRequest) Descriptor

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

func (*ApplyBundleRequest) Equal

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

func (*ApplyBundleRequest) GetChunk

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

func (*ApplyBundleRequest) GetMetadata

func (m *ApplyBundleRequest) GetMetadata() *ApplyBundleMetadata

func (*ApplyBundleRequest) GetMsg

func (m *ApplyBundleRequest) GetMsg() isApplyBundleRequest_Msg

func (*ApplyBundleRequest) GoString

func (this *ApplyBundleRequest) GoString() string

func (*ApplyBundleRequest) Marshal

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

func (*ApplyBundleRequest) MarshalTo

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

func (*ApplyBundleRequest) MarshalToSizedBuffer

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

func (*ApplyBundleRequest) ProtoMessage

func (*ApplyBundleRequest) ProtoMessage()

func (*ApplyBundleRequest) Reset

func (m *ApplyBundleRequest) Reset()

func (*ApplyBundleRequest) Size

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

func (*ApplyBundleRequest) String

func (this *ApplyBundleRequest) String() string

func (*ApplyBundleRequest) Unmarshal

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

func (*ApplyBundleRequest) XXX_DiscardUnknown

func (m *ApplyBundleRequest) XXX_DiscardUnknown()

func (*ApplyBundleRequest) XXX_Marshal

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

func (*ApplyBundleRequest) XXX_Merge

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

func (*ApplyBundleRequest) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ApplyBundleRequest) XXX_Size

func (m *ApplyBundleRequest) XXX_Size() int

func (*ApplyBundleRequest) XXX_Unmarshal

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

type ApplyBundleRequest_Chunk

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

func (*ApplyBundleRequest_Chunk) Equal

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

func (*ApplyBundleRequest_Chunk) GoString

func (this *ApplyBundleRequest_Chunk) GoString() string

func (*ApplyBundleRequest_Chunk) MarshalTo

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

func (*ApplyBundleRequest_Chunk) MarshalToSizedBuffer

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

func (*ApplyBundleRequest_Chunk) Size

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

func (*ApplyBundleRequest_Chunk) String

func (this *ApplyBundleRequest_Chunk) String() string

type ApplyBundleRequest_Metadata

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

func (*ApplyBundleRequest_Metadata) Equal

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

func (*ApplyBundleRequest_Metadata) GoString

func (this *ApplyBundleRequest_Metadata) GoString() string

func (*ApplyBundleRequest_Metadata) MarshalTo

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

func (*ApplyBundleRequest_Metadata) MarshalToSizedBuffer

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

func (*ApplyBundleRequest_Metadata) Size

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

func (*ApplyBundleRequest_Metadata) String

func (this *ApplyBundleRequest_Metadata) String() string

type ApplyBundleResponse

type ApplyBundleResponse struct {
	HeadSha   string     `protobuf:"bytes,1,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
	ParkedRef string     `protobuf:"bytes,2,opt,name=parked_ref,json=parkedRef,proto3" json:"parked_ref,omitempty"`
	Error     *ErrorInfo `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}

func (*ApplyBundleResponse) Descriptor

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

func (*ApplyBundleResponse) Equal

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

func (*ApplyBundleResponse) GetError

func (m *ApplyBundleResponse) GetError() *ErrorInfo

func (*ApplyBundleResponse) GetHeadSha

func (m *ApplyBundleResponse) GetHeadSha() string

func (*ApplyBundleResponse) GetParkedRef

func (m *ApplyBundleResponse) GetParkedRef() string

func (*ApplyBundleResponse) GoString

func (this *ApplyBundleResponse) GoString() string

func (*ApplyBundleResponse) Marshal

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

func (*ApplyBundleResponse) MarshalTo

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

func (*ApplyBundleResponse) MarshalToSizedBuffer

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

func (*ApplyBundleResponse) ProtoMessage

func (*ApplyBundleResponse) ProtoMessage()

func (*ApplyBundleResponse) Reset

func (m *ApplyBundleResponse) Reset()

func (*ApplyBundleResponse) Size

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

func (*ApplyBundleResponse) String

func (this *ApplyBundleResponse) String() string

func (*ApplyBundleResponse) Unmarshal

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

func (*ApplyBundleResponse) XXX_DiscardUnknown

func (m *ApplyBundleResponse) XXX_DiscardUnknown()

func (*ApplyBundleResponse) XXX_Marshal

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

func (*ApplyBundleResponse) XXX_Merge

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

func (*ApplyBundleResponse) XXX_Size

func (m *ApplyBundleResponse) XXX_Size() int

func (*ApplyBundleResponse) XXX_Unmarshal

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

type CaptureGitCandidate

type CaptureGitCandidate struct {
	Path           string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Classification string `protobuf:"bytes,2,opt,name=classification,proto3" json:"classification,omitempty"`
	Tracked        bool   `protobuf:"varint,3,opt,name=tracked,proto3" json:"tracked,omitempty"`
	Bytes          int64  `protobuf:"varint,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// approval_token binds approval to the path's reviewed type, mode, and bytes.
	ApprovalToken string `protobuf:"bytes,5,opt,name=approval_token,json=approvalToken,proto3" json:"approval_token,omitempty"`
}

func (*CaptureGitCandidate) Descriptor

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

func (*CaptureGitCandidate) Equal

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

func (*CaptureGitCandidate) GetApprovalToken

func (m *CaptureGitCandidate) GetApprovalToken() string

func (*CaptureGitCandidate) GetBytes

func (m *CaptureGitCandidate) GetBytes() int64

func (*CaptureGitCandidate) GetClassification

func (m *CaptureGitCandidate) GetClassification() string

func (*CaptureGitCandidate) GetPath

func (m *CaptureGitCandidate) GetPath() string

func (*CaptureGitCandidate) GetTracked

func (m *CaptureGitCandidate) GetTracked() bool

func (*CaptureGitCandidate) GoString

func (this *CaptureGitCandidate) GoString() string

func (*CaptureGitCandidate) Marshal

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

func (*CaptureGitCandidate) MarshalTo

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

func (*CaptureGitCandidate) MarshalToSizedBuffer

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

func (*CaptureGitCandidate) ProtoMessage

func (*CaptureGitCandidate) ProtoMessage()

func (*CaptureGitCandidate) Reset

func (m *CaptureGitCandidate) Reset()

func (*CaptureGitCandidate) Size

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

func (*CaptureGitCandidate) String

func (this *CaptureGitCandidate) String() string

func (*CaptureGitCandidate) Unmarshal

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

func (*CaptureGitCandidate) XXX_DiscardUnknown

func (m *CaptureGitCandidate) XXX_DiscardUnknown()

func (*CaptureGitCandidate) XXX_Marshal

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

func (*CaptureGitCandidate) XXX_Merge

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

func (*CaptureGitCandidate) XXX_Size

func (m *CaptureGitCandidate) XXX_Size() int

func (*CaptureGitCandidate) XXX_Unmarshal

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

type CaptureGitChunk

type CaptureGitChunk struct {
	Kind CaptureGitChunk_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=dagger.git.CaptureGitChunk_Kind" json:"kind,omitempty"`
	Data []byte               `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

func (*CaptureGitChunk) Descriptor

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

func (*CaptureGitChunk) Equal

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

func (*CaptureGitChunk) GetData

func (m *CaptureGitChunk) GetData() []byte

func (*CaptureGitChunk) GetKind

func (*CaptureGitChunk) GoString

func (this *CaptureGitChunk) GoString() string

func (*CaptureGitChunk) Marshal

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

func (*CaptureGitChunk) MarshalTo

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

func (*CaptureGitChunk) MarshalToSizedBuffer

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

func (*CaptureGitChunk) ProtoMessage

func (*CaptureGitChunk) ProtoMessage()

func (*CaptureGitChunk) Reset

func (m *CaptureGitChunk) Reset()

func (*CaptureGitChunk) Size

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

func (*CaptureGitChunk) String

func (this *CaptureGitChunk) String() string

func (*CaptureGitChunk) Unmarshal

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

func (*CaptureGitChunk) XXX_DiscardUnknown

func (m *CaptureGitChunk) XXX_DiscardUnknown()

func (*CaptureGitChunk) XXX_Marshal

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

func (*CaptureGitChunk) XXX_Merge

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

func (*CaptureGitChunk) XXX_Size

func (m *CaptureGitChunk) XXX_Size() int

func (*CaptureGitChunk) XXX_Unmarshal

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

type CaptureGitChunk_Kind

type CaptureGitChunk_Kind int32
const (
	CAPTURE_CHUNK_UNKNOWN CaptureGitChunk_Kind = 0
	CAPTURE_CHUNK_BUNDLE  CaptureGitChunk_Kind = 1
)

func (CaptureGitChunk_Kind) EnumDescriptor

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

func (CaptureGitChunk_Kind) String

func (x CaptureGitChunk_Kind) String() string

type CaptureGitMetadata

type CaptureGitMetadata struct {
	FormatVersion uint32 `protobuf:"varint,1,opt,name=format_version,json=formatVersion,proto3" json:"format_version,omitempty"`
	ObjectFormat  string `protobuf:"bytes,2,opt,name=object_format,json=objectFormat,proto3" json:"object_format,omitempty"`
	RemoteUrl     string `protobuf:"bytes,3,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"`
	RemoteRef     string `protobuf:"bytes,4,opt,name=remote_ref,json=remoteRef,proto3" json:"remote_ref,omitempty"`
	BaseSha       string `protobuf:"bytes,5,opt,name=base_sha,json=baseSha,proto3" json:"base_sha,omitempty"`
	HeadSha       string `protobuf:"bytes,6,opt,name=head_sha,json=headSha,proto3" json:"head_sha,omitempty"`
	BundleSha256  string `protobuf:"bytes,8,opt,name=bundle_sha256,json=bundleSha256,proto3" json:"bundle_sha256,omitempty"`
	BundleBytes   int64  `protobuf:"varint,9,opt,name=bundle_bytes,json=bundleBytes,proto3" json:"bundle_bytes,omitempty"`
	// worktree_sha is the optional synthetic snapshot commit S. Its parent is
	// head_sha and its tree is the complete approved dirty state.
	WorktreeSha    string     `protobuf:"bytes,10,opt,name=worktree_sha,json=worktreeSha,proto3" json:"worktree_sha,omitempty"`
	TrackedFiles   int32      `protobuf:"varint,12,opt,name=tracked_files,json=trackedFiles,proto3" json:"tracked_files,omitempty"`
	UntrackedFiles int32      `protobuf:"varint,13,opt,name=untracked_files,json=untrackedFiles,proto3" json:"untracked_files,omitempty"`
	SelectedBytes  int64      `protobuf:"varint,14,opt,name=selected_bytes,json=selectedBytes,proto3" json:"selected_bytes,omitempty"`
	Error          *ErrorInfo `protobuf:"bytes,15,opt,name=error,proto3" json:"error,omitempty"`
	// approval_candidates is populated only on a fail-closed preflight. It
	// lists the complete selected dirty set for one local aggregate prompt,
	// retaining suspicious classifications but never candidate bytes.
	ApprovalCandidates []*CaptureGitCandidate `protobuf:"bytes,16,rep,name=approval_candidates,json=approvalCandidates,proto3" json:"approval_candidates,omitempty"`
	// Pins a session-only host reconstruction to the captured checkout state.
	CheckoutStateDigest string `protobuf:"bytes,17,opt,name=checkout_state_digest,json=checkoutStateDigest,proto3" json:"checkout_state_digest,omitempty"`
	// Effective push destinations computed by the owner's Git configuration.
	// Routing metadata only, never authorization. Empty means remote_url.
	RemotePushUrl string `protobuf:"bytes,18,opt,name=remote_push_url,json=remotePushUrl,proto3" json:"remote_push_url,omitempty"`
}

func (*CaptureGitMetadata) Descriptor

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

func (*CaptureGitMetadata) Equal

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

func (*CaptureGitMetadata) GetApprovalCandidates

func (m *CaptureGitMetadata) GetApprovalCandidates() []*CaptureGitCandidate

func (*CaptureGitMetadata) GetBaseSha

func (m *CaptureGitMetadata) GetBaseSha() string

func (*CaptureGitMetadata) GetBundleBytes

func (m *CaptureGitMetadata) GetBundleBytes() int64

func (*CaptureGitMetadata) GetBundleSha256

func (m *CaptureGitMetadata) GetBundleSha256() string

func (*CaptureGitMetadata) GetCheckoutStateDigest

func (m *CaptureGitMetadata) GetCheckoutStateDigest() string

func (*CaptureGitMetadata) GetError

func (m *CaptureGitMetadata) GetError() *ErrorInfo

func (*CaptureGitMetadata) GetFormatVersion

func (m *CaptureGitMetadata) GetFormatVersion() uint32

func (*CaptureGitMetadata) GetHeadSha

func (m *CaptureGitMetadata) GetHeadSha() string

func (*CaptureGitMetadata) GetObjectFormat

func (m *CaptureGitMetadata) GetObjectFormat() string

func (*CaptureGitMetadata) GetRemotePushUrl

func (m *CaptureGitMetadata) GetRemotePushUrl() string

func (*CaptureGitMetadata) GetRemoteRef

func (m *CaptureGitMetadata) GetRemoteRef() string

func (*CaptureGitMetadata) GetRemoteUrl

func (m *CaptureGitMetadata) GetRemoteUrl() string

func (*CaptureGitMetadata) GetSelectedBytes

func (m *CaptureGitMetadata) GetSelectedBytes() int64

func (*CaptureGitMetadata) GetTrackedFiles

func (m *CaptureGitMetadata) GetTrackedFiles() int32

func (*CaptureGitMetadata) GetUntrackedFiles

func (m *CaptureGitMetadata) GetUntrackedFiles() int32

func (*CaptureGitMetadata) GetWorktreeSha

func (m *CaptureGitMetadata) GetWorktreeSha() string

func (*CaptureGitMetadata) GoString

func (this *CaptureGitMetadata) GoString() string

func (*CaptureGitMetadata) Marshal

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

func (*CaptureGitMetadata) MarshalTo

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

func (*CaptureGitMetadata) MarshalToSizedBuffer

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

func (*CaptureGitMetadata) ProtoMessage

func (*CaptureGitMetadata) ProtoMessage()

func (*CaptureGitMetadata) Reset

func (m *CaptureGitMetadata) Reset()

func (*CaptureGitMetadata) Size

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

func (*CaptureGitMetadata) String

func (this *CaptureGitMetadata) String() string

func (*CaptureGitMetadata) Unmarshal

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

func (*CaptureGitMetadata) XXX_DiscardUnknown

func (m *CaptureGitMetadata) XXX_DiscardUnknown()

func (*CaptureGitMetadata) XXX_Marshal

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

func (*CaptureGitMetadata) XXX_Merge

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

func (*CaptureGitMetadata) XXX_Size

func (m *CaptureGitMetadata) XXX_Size() int

func (*CaptureGitMetadata) XXX_Unmarshal

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

type CaptureGitPolicy

type CaptureGitPolicy struct {
	Include                []string `protobuf:"bytes,1,rep,name=include,proto3" json:"include,omitempty"`
	Exclude                []string `protobuf:"bytes,2,rep,name=exclude,proto3" json:"exclude,omitempty"`
	ApprovalTokens         []string `protobuf:"bytes,3,rep,name=approval_tokens,json=approvalTokens,proto3" json:"approval_tokens,omitempty"`
	MaxUntrackedFileBytes  int64    `` /* 129-byte string literal not displayed */
	MaxUntrackedTotalBytes int64    `` /* 132-byte string literal not displayed */
	MaxUntrackedFiles      int32    `protobuf:"varint,6,opt,name=max_untracked_files,json=maxUntrackedFiles,proto3" json:"max_untracked_files,omitempty"`
	MaxTrackedFileBytes    int64    `protobuf:"varint,7,opt,name=max_tracked_file_bytes,json=maxTrackedFileBytes,proto3" json:"max_tracked_file_bytes,omitempty"`
	MaxTotalBytes          int64    `protobuf:"varint,8,opt,name=max_total_bytes,json=maxTotalBytes,proto3" json:"max_total_bytes,omitempty"`
	// Omit all untracked paths before inspecting their contents. Host files are
	// never deleted. Tracked changes remain subject to the usual capture policy.
	DropUntracked bool `protobuf:"varint,9,opt,name=drop_untracked,json=dropUntracked,proto3" json:"drop_untracked,omitempty"`
}

Tracked changes are included automatically. Untracked changes need explicit approval. approval_tokens are opaque fingerprints returned with an aggregate prompt and bind its retry to the exact reviewed state; include patterns approve matching ordinary nonignored untracked paths for noninteractive use. Patterns use Git path separators and path.Match.

func (*CaptureGitPolicy) Descriptor

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

func (*CaptureGitPolicy) Equal

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

func (*CaptureGitPolicy) GetApprovalTokens

func (m *CaptureGitPolicy) GetApprovalTokens() []string

func (*CaptureGitPolicy) GetDropUntracked

func (m *CaptureGitPolicy) GetDropUntracked() bool

func (*CaptureGitPolicy) GetExclude

func (m *CaptureGitPolicy) GetExclude() []string

func (*CaptureGitPolicy) GetInclude

func (m *CaptureGitPolicy) GetInclude() []string

func (*CaptureGitPolicy) GetMaxTotalBytes

func (m *CaptureGitPolicy) GetMaxTotalBytes() int64

func (*CaptureGitPolicy) GetMaxTrackedFileBytes

func (m *CaptureGitPolicy) GetMaxTrackedFileBytes() int64

func (*CaptureGitPolicy) GetMaxUntrackedFileBytes

func (m *CaptureGitPolicy) GetMaxUntrackedFileBytes() int64

func (*CaptureGitPolicy) GetMaxUntrackedFiles

func (m *CaptureGitPolicy) GetMaxUntrackedFiles() int32

func (*CaptureGitPolicy) GetMaxUntrackedTotalBytes

func (m *CaptureGitPolicy) GetMaxUntrackedTotalBytes() int64

func (*CaptureGitPolicy) GoString

func (this *CaptureGitPolicy) GoString() string

func (*CaptureGitPolicy) Marshal

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

func (*CaptureGitPolicy) MarshalTo

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

func (*CaptureGitPolicy) MarshalToSizedBuffer

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

func (*CaptureGitPolicy) ProtoMessage

func (*CaptureGitPolicy) ProtoMessage()

func (*CaptureGitPolicy) Reset

func (m *CaptureGitPolicy) Reset()

func (*CaptureGitPolicy) Size

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

func (*CaptureGitPolicy) String

func (this *CaptureGitPolicy) String() string

func (*CaptureGitPolicy) Unmarshal

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

func (*CaptureGitPolicy) XXX_DiscardUnknown

func (m *CaptureGitPolicy) XXX_DiscardUnknown()

func (*CaptureGitPolicy) XXX_Marshal

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

func (*CaptureGitPolicy) XXX_Merge

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

func (*CaptureGitPolicy) XXX_Size

func (m *CaptureGitPolicy) XXX_Size() int

func (*CaptureGitPolicy) XXX_Unmarshal

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

type CaptureGitRequest

type CaptureGitRequest struct {
	CheckoutPath string            `protobuf:"bytes,1,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
	Policy       *CaptureGitPolicy `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
}

CaptureGit performs the security-sensitive host half of a portable Git workspace checkpoint. It discovers a currently advertised remote ancestor, scans the selected dirty set, and then emits a version-3 two-ref bundle. Without a usable remote ancestor, HEAD is the prerequisite and the engine must reconstruct the repository from this client's checkout.

func (*CaptureGitRequest) Descriptor

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

func (*CaptureGitRequest) Equal

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

func (*CaptureGitRequest) GetCheckoutPath

func (m *CaptureGitRequest) GetCheckoutPath() string

func (*CaptureGitRequest) GetPolicy

func (m *CaptureGitRequest) GetPolicy() *CaptureGitPolicy

func (*CaptureGitRequest) GoString

func (this *CaptureGitRequest) GoString() string

func (*CaptureGitRequest) Marshal

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

func (*CaptureGitRequest) MarshalTo

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

func (*CaptureGitRequest) MarshalToSizedBuffer

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

func (*CaptureGitRequest) ProtoMessage

func (*CaptureGitRequest) ProtoMessage()

func (*CaptureGitRequest) Reset

func (m *CaptureGitRequest) Reset()

func (*CaptureGitRequest) Size

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

func (*CaptureGitRequest) String

func (this *CaptureGitRequest) String() string

func (*CaptureGitRequest) Unmarshal

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

func (*CaptureGitRequest) XXX_DiscardUnknown

func (m *CaptureGitRequest) XXX_DiscardUnknown()

func (*CaptureGitRequest) XXX_Marshal

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

func (*CaptureGitRequest) XXX_Merge

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

func (*CaptureGitRequest) XXX_Size

func (m *CaptureGitRequest) XXX_Size() int

func (*CaptureGitRequest) XXX_Unmarshal

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

type CaptureGitResponse

type CaptureGitResponse struct {
	// Types that are valid to be assigned to Msg:
	//
	//	*CaptureGitResponse_Metadata
	//	*CaptureGitResponse_Chunk
	Msg isCaptureGitResponse_Msg `protobuf_oneof:"msg"`
}

func (*CaptureGitResponse) Descriptor

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

func (*CaptureGitResponse) Equal

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

func (*CaptureGitResponse) GetChunk

func (m *CaptureGitResponse) GetChunk() *CaptureGitChunk

func (*CaptureGitResponse) GetMetadata

func (m *CaptureGitResponse) GetMetadata() *CaptureGitMetadata

func (*CaptureGitResponse) GetMsg

func (m *CaptureGitResponse) GetMsg() isCaptureGitResponse_Msg

func (*CaptureGitResponse) GoString

func (this *CaptureGitResponse) GoString() string

func (*CaptureGitResponse) Marshal

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

func (*CaptureGitResponse) MarshalTo

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

func (*CaptureGitResponse) MarshalToSizedBuffer

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

func (*CaptureGitResponse) ProtoMessage

func (*CaptureGitResponse) ProtoMessage()

func (*CaptureGitResponse) Reset

func (m *CaptureGitResponse) Reset()

func (*CaptureGitResponse) Size

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

func (*CaptureGitResponse) String

func (this *CaptureGitResponse) String() string

func (*CaptureGitResponse) Unmarshal

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

func (*CaptureGitResponse) XXX_DiscardUnknown

func (m *CaptureGitResponse) XXX_DiscardUnknown()

func (*CaptureGitResponse) XXX_Marshal

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

func (*CaptureGitResponse) XXX_Merge

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

func (*CaptureGitResponse) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*CaptureGitResponse) XXX_Size

func (m *CaptureGitResponse) XXX_Size() int

func (*CaptureGitResponse) XXX_Unmarshal

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

type CaptureGitResponse_Chunk

type CaptureGitResponse_Chunk struct {
	Chunk *CaptureGitChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof" json:"chunk,omitempty"`
}

func (*CaptureGitResponse_Chunk) Equal

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

func (*CaptureGitResponse_Chunk) GoString

func (this *CaptureGitResponse_Chunk) GoString() string

func (*CaptureGitResponse_Chunk) MarshalTo

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

func (*CaptureGitResponse_Chunk) MarshalToSizedBuffer

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

func (*CaptureGitResponse_Chunk) Size

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

func (*CaptureGitResponse_Chunk) String

func (this *CaptureGitResponse_Chunk) String() string

type CaptureGitResponse_Metadata

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

func (*CaptureGitResponse_Metadata) Equal

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

func (*CaptureGitResponse_Metadata) GoString

func (this *CaptureGitResponse_Metadata) GoString() string

func (*CaptureGitResponse_Metadata) MarshalTo

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

func (*CaptureGitResponse_Metadata) MarshalToSizedBuffer

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

func (*CaptureGitResponse_Metadata) Size

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

func (*CaptureGitResponse_Metadata) String

func (this *CaptureGitResponse_Metadata) String() string

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
	CAPTURE_REJECTED            ErrorInfo_ErrorType = 11
	CAPTURE_FAILED              ErrorInfo_ErrorType = 12
	// The checkout is usable, but capture has no committed baseline.
	CAPTURE_UNSUPPORTED ErrorInfo_ErrorType = 13
)

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, options ...GitAttachableOpts) GitAttachable

func (GitAttachable) ApplyBundle

func (s GitAttachable) ApplyBundle(srv Git_ApplyBundleServer) error

ApplyBundle spools a bounded stream before touching the checkout. Git itself interprets its layout, including linked worktrees and separate Git dirs.

func (GitAttachable) CaptureGit

CaptureGit performs all discovery, selection, and scanning in the client process. No repository or worktree bytes are sent until the bundle has been built, checked, and the checkout and selected files have been revalidated.

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

func (s GitAttachable) Close() 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) PreparePushSSHAuth

func (GitAttachable) Register

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

type GitAttachableOpts

type GitAttachableOpts struct {
	PromptHandler prompt.PromptHandler
	// Executable implementing RunSSHAskpass. Empty disables interactive unlock.
	SSHAskpassExecutable string
}

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

func (p GitAttachableProxy) ApplyBundle(srv Git_ApplyBundleServer) error

func (GitAttachableProxy) CaptureGit

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

func (GitAttachableProxy) Register added in v0.19.7

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

type GitClient

type GitClient interface {
	// Engine-internal: call only after push authorization, never for Git reads.
	PreparePushSSHAuth(ctx context.Context, in *PreparePushSSHAuthRequest, opts ...grpc.CallOption) (*PreparePushSSHAuthResponse, error)
	GetCredential(ctx context.Context, in *GitCredentialRequest, opts ...grpc.CallOption) (*GitCredentialResponse, error)
	GetConfig(ctx context.Context, in *GitConfigRequest, opts ...grpc.CallOption) (*GitConfigResponse, error)
	CheckoutState(ctx context.Context, in *CheckoutStateRequest, opts ...grpc.CallOption) (*CheckoutStateResponse, error)
	PackCheckout(ctx context.Context, in *PackCheckoutRequest, opts ...grpc.CallOption) (Git_PackCheckoutClient, error)
	PackUncommitted(ctx context.Context, in *PackUncommittedRequest, opts ...grpc.CallOption) (Git_PackUncommittedClient, error)
	CaptureGit(ctx context.Context, in *CaptureGitRequest, opts ...grpc.CallOption) (Git_CaptureGitClient, error)
	ApplyBundle(ctx context.Context, opts ...grpc.CallOption) (Git_ApplyBundleClient, error)
}

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 {
	// Optional checkout for effective repository-local config (including worktrees).
	// Empty retains the system/global-only config query.
	CheckoutPath string `protobuf:"bytes,1,opt,name=checkout_path,json=checkoutPath,proto3" json:"checkout_path,omitempty"`
}

func (*GitConfigRequest) Descriptor

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

func (*GitConfigRequest) Equal

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

func (*GitConfigRequest) GetCheckoutPath

func (m *GitConfigRequest) GetCheckoutPath() string

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

type GitServer interface {
	// Engine-internal: call only after push authorization, never for Git reads.
	PreparePushSSHAuth(context.Context, *PreparePushSSHAuthRequest) (*PreparePushSSHAuthResponse, error)
	GetCredential(context.Context, *GitCredentialRequest) (*GitCredentialResponse, error)
	GetConfig(context.Context, *GitConfigRequest) (*GitConfigResponse, error)
	CheckoutState(context.Context, *CheckoutStateRequest) (*CheckoutStateResponse, error)
	PackCheckout(*PackCheckoutRequest, Git_PackCheckoutServer) error
	PackUncommitted(*PackUncommittedRequest, Git_PackUncommittedServer) error
	CaptureGit(*CaptureGitRequest, Git_CaptureGitServer) error
	ApplyBundle(Git_ApplyBundleServer) error
}

GitServer is the server API for Git service.

type Git_ApplyBundleClient

type Git_ApplyBundleClient interface {
	Send(*ApplyBundleRequest) error
	CloseAndRecv() (*ApplyBundleResponse, error)
	grpc.ClientStream
}

type Git_ApplyBundleServer

type Git_ApplyBundleServer interface {
	SendAndClose(*ApplyBundleResponse) error
	Recv() (*ApplyBundleRequest, error)
	grpc.ServerStream
}

type Git_CaptureGitClient

type Git_CaptureGitClient interface {
	Recv() (*CaptureGitResponse, error)
	grpc.ClientStream
}

type Git_CaptureGitServer

type Git_CaptureGitServer interface {
	Send(*CaptureGitResponse) error
	grpc.ServerStream
}

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 PreparePushSSHAuthRequest

type PreparePushSSHAuthRequest struct {
	Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
}

func (*PreparePushSSHAuthRequest) Descriptor

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

func (*PreparePushSSHAuthRequest) Equal

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

func (*PreparePushSSHAuthRequest) GetRemote

func (m *PreparePushSSHAuthRequest) GetRemote() string

func (*PreparePushSSHAuthRequest) GoString

func (this *PreparePushSSHAuthRequest) GoString() string

func (*PreparePushSSHAuthRequest) Marshal

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

func (*PreparePushSSHAuthRequest) MarshalTo

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

func (*PreparePushSSHAuthRequest) MarshalToSizedBuffer

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

func (*PreparePushSSHAuthRequest) ProtoMessage

func (*PreparePushSSHAuthRequest) ProtoMessage()

func (*PreparePushSSHAuthRequest) Reset

func (m *PreparePushSSHAuthRequest) Reset()

func (*PreparePushSSHAuthRequest) Size

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

func (*PreparePushSSHAuthRequest) String

func (this *PreparePushSSHAuthRequest) String() string

func (*PreparePushSSHAuthRequest) Unmarshal

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

func (*PreparePushSSHAuthRequest) XXX_DiscardUnknown

func (m *PreparePushSSHAuthRequest) XXX_DiscardUnknown()

func (*PreparePushSSHAuthRequest) XXX_Marshal

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

func (*PreparePushSSHAuthRequest) XXX_Merge

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

func (*PreparePushSSHAuthRequest) XXX_Size

func (m *PreparePushSSHAuthRequest) XXX_Size() int

func (*PreparePushSSHAuthRequest) XXX_Unmarshal

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

type PreparePushSSHAuthResponse

type PreparePushSSHAuthResponse struct {
	// Operation-local socket; never publish it as a module capability.
	SocketPath string `protobuf:"bytes,1,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"`
}

func (*PreparePushSSHAuthResponse) Descriptor

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

func (*PreparePushSSHAuthResponse) Equal

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

func (*PreparePushSSHAuthResponse) GetSocketPath

func (m *PreparePushSSHAuthResponse) GetSocketPath() string

func (*PreparePushSSHAuthResponse) GoString

func (this *PreparePushSSHAuthResponse) GoString() string

func (*PreparePushSSHAuthResponse) Marshal

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

func (*PreparePushSSHAuthResponse) MarshalTo

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

func (*PreparePushSSHAuthResponse) MarshalToSizedBuffer

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

func (*PreparePushSSHAuthResponse) ProtoMessage

func (*PreparePushSSHAuthResponse) ProtoMessage()

func (*PreparePushSSHAuthResponse) Reset

func (m *PreparePushSSHAuthResponse) Reset()

func (*PreparePushSSHAuthResponse) Size

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

func (*PreparePushSSHAuthResponse) String

func (this *PreparePushSSHAuthResponse) String() string

func (*PreparePushSSHAuthResponse) Unmarshal

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

func (*PreparePushSSHAuthResponse) XXX_DiscardUnknown

func (m *PreparePushSSHAuthResponse) XXX_DiscardUnknown()

func (*PreparePushSSHAuthResponse) XXX_Marshal

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

func (*PreparePushSSHAuthResponse) XXX_Merge

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

func (*PreparePushSSHAuthResponse) XXX_Size

func (m *PreparePushSSHAuthResponse) XXX_Size() int

func (*PreparePushSSHAuthResponse) XXX_Unmarshal

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

type UnimplementedGitServer

type UnimplementedGitServer struct {
}

UnimplementedGitServer can be embedded to have forward compatible implementations.

func (*UnimplementedGitServer) ApplyBundle

func (*UnimplementedGitServer) CaptureGit

func (*UnimplementedGitServer) CheckoutState

func (*UnimplementedGitServer) GetConfig

func (*UnimplementedGitServer) GetCredential

func (*UnimplementedGitServer) PackCheckout

func (*UnimplementedGitServer) PackUncommitted

func (*UnimplementedGitServer) PreparePushSSHAuth

Jump to

Keyboard shortcuts

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