gitdv1

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Strategy_name = map[int32]string{
		0: "STRATEGY_UNSPECIFIED",
		1: "STRATEGY_COPY",
		2: "STRATEGY_OVERLAY",
		3: "STRATEGY_REFLINK",
	}
	Strategy_value = map[string]int32{
		"STRATEGY_UNSPECIFIED": 0,
		"STRATEGY_COPY":        1,
		"STRATEGY_OVERLAY":     2,
		"STRATEGY_REFLINK":     3,
	}
)

Enum value maps for Strategy.

View Source
var (
	GitFailure_Reason_name = map[int32]string{
		0:  "REASON_UNSPECIFIED",
		1:  "REASON_AUTH_REQUIRED",
		2:  "REASON_AUTH_REFUSED",
		3:  "REASON_NOT_FOUND",
		4:  "REASON_BAD_ADDRESS",
		5:  "REASON_PATH_REFUSED",
		6:  "REASON_BUSY",
		7:  "REASON_TIMEOUT",
		8:  "REASON_CORRUPT",
		9:  "REASON_GIT_FAILED",
		10: "REASON_NOTHING_NEW",
		11: "REASON_BRANCH_REFUSED",
		12: "REASON_CONFIG_REFUSED",
		13: "REASON_POLICY_REFUSED",
		14: "REASON_UNSUPPORTED",
		15: "REASON_LIMIT_REACHED",
		16: "REASON_BRANCH_EXISTS",
	}
	GitFailure_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":    0,
		"REASON_AUTH_REQUIRED":  1,
		"REASON_AUTH_REFUSED":   2,
		"REASON_NOT_FOUND":      3,
		"REASON_BAD_ADDRESS":    4,
		"REASON_PATH_REFUSED":   5,
		"REASON_BUSY":           6,
		"REASON_TIMEOUT":        7,
		"REASON_CORRUPT":        8,
		"REASON_GIT_FAILED":     9,
		"REASON_NOTHING_NEW":    10,
		"REASON_BRANCH_REFUSED": 11,
		"REASON_CONFIG_REFUSED": 12,
		"REASON_POLICY_REFUSED": 13,
		"REASON_UNSUPPORTED":    14,
		"REASON_LIMIT_REACHED":  15,
		"REASON_BRANCH_EXISTS":  16,
	}
)

Enum value maps for GitFailure_Reason.

View Source
var (
	ChangedFile_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_ADDED",
		2: "KIND_MODIFIED",
		3: "KIND_DELETED",
	}
	ChangedFile_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"KIND_ADDED":       1,
		"KIND_MODIFIED":    2,
		"KIND_DELETED":     3,
	}
)

Enum value maps for ChangedFile_Kind.

View Source
var (
	WatchResponse_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_MADE",
		2: "KIND_CHANGED",
		3: "KIND_PUBLISHED",
		4: "KIND_REFUSED",
		5: "KIND_REMOVED",
	}
	WatchResponse_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED": 0,
		"KIND_MADE":        1,
		"KIND_CHANGED":     2,
		"KIND_PUBLISHED":   3,
		"KIND_REFUSED":     4,
		"KIND_REMOVED":     5,
	}
)

Enum value maps for WatchResponse_Kind.

View Source
var (
	ProbeResponse_Access_name = map[int32]string{
		0: "ACCESS_UNSPECIFIED",
		1: "ACCESS_PUBLIC",
		2: "ACCESS_REACHABLE",
		3: "ACCESS_DENIED",
	}
	ProbeResponse_Access_value = map[string]int32{
		"ACCESS_UNSPECIFIED": 0,
		"ACCESS_PUBLIC":      1,
		"ACCESS_REACHABLE":   2,
		"ACCESS_DENIED":      3,
	}
)

Enum value maps for ProbeResponse_Access.

View Source
var (
	ConfigurationChange_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "ACTION_CONNECTION_ADDED",
		2: "ACTION_CONNECTION_REMOVED",
		3: "ACTION_SETTINGS_SET",
		4: "ACTION_SETTINGS_REMOVED",
		5: "ACTION_PRESET_SET",
		6: "ACTION_PRESET_REMOVED",
		7: "ACTION_TOKEN_ISSUED",
		8: "ACTION_TOKEN_REVOKED",
	}
	ConfigurationChange_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED":        0,
		"ACTION_CONNECTION_ADDED":   1,
		"ACTION_CONNECTION_REMOVED": 2,
		"ACTION_SETTINGS_SET":       3,
		"ACTION_SETTINGS_REMOVED":   4,
		"ACTION_PRESET_SET":         5,
		"ACTION_PRESET_REMOVED":     6,
		"ACTION_TOKEN_ISSUED":       7,
		"ACTION_TOKEN_REVOKED":      8,
	}
)

Enum value maps for ConfigurationChange_Action.

View Source
var (
	Connection_Kind_name = map[int32]string{
		0: "KIND_UNSPECIFIED",
		1: "KIND_TOKEN",
		2: "KIND_SSH_KEY",
		3: "KIND_GITHUB_APP",
		4: "KIND_GITHUB_LOGIN",
	}
	Connection_Kind_value = map[string]int32{
		"KIND_UNSPECIFIED":  0,
		"KIND_TOKEN":        1,
		"KIND_SSH_KEY":      2,
		"KIND_GITHUB_APP":   3,
		"KIND_GITHUB_LOGIN": 4,
	}
)

Enum value maps for Connection_Kind.

View Source
var (
	Preset_Origin_name = map[int32]string{
		0: "ORIGIN_UNSPECIFIED",
		1: "ORIGIN_BUILT_IN",
		2: "ORIGIN_FILE",
		3: "ORIGIN_API",
	}
	Preset_Origin_value = map[string]int32{
		"ORIGIN_UNSPECIFIED": 0,
		"ORIGIN_BUILT_IN":    1,
		"ORIGIN_FILE":        2,
		"ORIGIN_API":         3,
	}
)

Enum value maps for Preset_Origin.

View Source
var (
	PullRequestSettings_Open_name = map[int32]string{
		0: "OPEN_UNSPECIFIED",
		1: "OPEN_WHEN_ASKED",
		2: "OPEN_ALWAYS",
	}
	PullRequestSettings_Open_value = map[string]int32{
		"OPEN_UNSPECIFIED": 0,
		"OPEN_WHEN_ASKED":  1,
		"OPEN_ALWAYS":      2,
	}
)

Enum value maps for PullRequestSettings_Open.

View Source
var File_gitd_v1_gitd_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddGitHubAppRequest

type AddGitHubAppRequest struct {

	// The GitHub host: empty for github.com.
	Host  string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	AppId int64  `protobuf:"varint,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// The App's private key, in PEM.
	PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// The repositories it opens. Empty: every repository on the host its installations reach.
	UrlPrefix string `protobuf:"bytes,4,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*AddGitHubAppRequest) Descriptor deprecated

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

Deprecated: Use AddGitHubAppRequest.ProtoReflect.Descriptor instead.

func (*AddGitHubAppRequest) GetAppId

func (x *AddGitHubAppRequest) GetAppId() int64

func (*AddGitHubAppRequest) GetHost

func (x *AddGitHubAppRequest) GetHost() string

func (*AddGitHubAppRequest) GetPrivateKey

func (x *AddGitHubAppRequest) GetPrivateKey() string

func (*AddGitHubAppRequest) GetUrlPrefix

func (x *AddGitHubAppRequest) GetUrlPrefix() string

func (*AddGitHubAppRequest) ProtoMessage

func (*AddGitHubAppRequest) ProtoMessage()

func (*AddGitHubAppRequest) ProtoReflect

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

func (*AddGitHubAppRequest) Reset

func (x *AddGitHubAppRequest) Reset()

func (*AddGitHubAppRequest) String

func (x *AddGitHubAppRequest) String() string

type AddGitHubAppResponse

type AddGitHubAppResponse struct {
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

func (*AddGitHubAppResponse) Descriptor deprecated

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

Deprecated: Use AddGitHubAppResponse.ProtoReflect.Descriptor instead.

func (*AddGitHubAppResponse) GetConnection

func (x *AddGitHubAppResponse) GetConnection() *Connection

func (*AddGitHubAppResponse) ProtoMessage

func (*AddGitHubAppResponse) ProtoMessage()

func (*AddGitHubAppResponse) ProtoReflect

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

func (*AddGitHubAppResponse) Reset

func (x *AddGitHubAppResponse) Reset()

func (*AddGitHubAppResponse) String

func (x *AddGitHubAppResponse) String() string

type AddTokenRequest

type AddTokenRequest struct {

	// Must name the host, e.g. `https://gitlab.example.com/acme`.
	UrlPrefix string `protobuf:"bytes,1,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// As `Credential.https_user`.
	User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTokenRequest) Descriptor deprecated

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

Deprecated: Use AddTokenRequest.ProtoReflect.Descriptor instead.

func (*AddTokenRequest) GetToken

func (x *AddTokenRequest) GetToken() string

func (*AddTokenRequest) GetUrlPrefix

func (x *AddTokenRequest) GetUrlPrefix() string

func (*AddTokenRequest) GetUser

func (x *AddTokenRequest) GetUser() string

func (*AddTokenRequest) ProtoMessage

func (*AddTokenRequest) ProtoMessage()

func (*AddTokenRequest) ProtoReflect

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

func (*AddTokenRequest) Reset

func (x *AddTokenRequest) Reset()

func (*AddTokenRequest) String

func (x *AddTokenRequest) String() string

type AddTokenResponse

type AddTokenResponse struct {
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTokenResponse) Descriptor deprecated

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

Deprecated: Use AddTokenResponse.ProtoReflect.Descriptor instead.

func (*AddTokenResponse) GetConnection

func (x *AddTokenResponse) GetConnection() *Connection

func (*AddTokenResponse) ProtoMessage

func (*AddTokenResponse) ProtoMessage()

func (*AddTokenResponse) ProtoReflect

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

func (*AddTokenResponse) Reset

func (x *AddTokenResponse) Reset()

func (*AddTokenResponse) String

func (x *AddTokenResponse) String() string

type AdoptRequest

type AdoptRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*AdoptRequest) Descriptor deprecated

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

Deprecated: Use AdoptRequest.ProtoReflect.Descriptor instead.

func (*AdoptRequest) GetPath

func (x *AdoptRequest) GetPath() string

func (*AdoptRequest) ProtoMessage

func (*AdoptRequest) ProtoMessage()

func (*AdoptRequest) ProtoReflect

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

func (*AdoptRequest) Reset

func (x *AdoptRequest) Reset()

func (*AdoptRequest) String

func (x *AdoptRequest) String() string

type AdoptResponse

type AdoptResponse struct {

	// Types that are valid to be assigned to Event:
	//
	//	*AdoptResponse_Progress
	//	*AdoptResponse_Result
	Event isAdoptResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*AdoptResponse) Descriptor deprecated

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

Deprecated: Use AdoptResponse.ProtoReflect.Descriptor instead.

func (*AdoptResponse) GetEvent

func (x *AdoptResponse) GetEvent() isAdoptResponse_Event

func (*AdoptResponse) GetProgress

func (x *AdoptResponse) GetProgress() *Progress

func (*AdoptResponse) GetResult

func (x *AdoptResponse) GetResult() *AdoptResult

func (*AdoptResponse) ProtoMessage

func (*AdoptResponse) ProtoMessage()

func (*AdoptResponse) ProtoReflect

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

func (*AdoptResponse) Reset

func (x *AdoptResponse) Reset()

func (*AdoptResponse) String

func (x *AdoptResponse) String() string

type AdoptResponse_Progress

type AdoptResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type AdoptResponse_Result

type AdoptResponse_Result struct {
	Result *AdoptResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type AdoptResult

type AdoptResult struct {

	// Disk the workspace no longer holds because its pool does.
	BytesReleased int64 `protobuf:"varint,1,opt,name=bytes_released,json=bytesReleased,proto3" json:"bytes_released,omitempty"`
	// contains filtered or unexported fields
}

func (*AdoptResult) Descriptor deprecated

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

Deprecated: Use AdoptResult.ProtoReflect.Descriptor instead.

func (*AdoptResult) GetBytesReleased

func (x *AdoptResult) GetBytesReleased() int64

func (*AdoptResult) ProtoMessage

func (*AdoptResult) ProtoMessage()

func (*AdoptResult) ProtoReflect

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

func (*AdoptResult) Reset

func (x *AdoptResult) Reset()

func (*AdoptResult) String

func (x *AdoptResult) String() string

type AuditEntry

type AuditEntry struct {
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// The workspace's path, as the caller gave it.
	Workspace string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// The workspace's repository; empty when the workspace could not be opened.
	Url    string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
	// What was pushed: the workspace's repository, then each submodule. Unset when refused.
	Repository *PublishedRepository   `protobuf:"bytes,5,opt,name=repository,proto3" json:"repository,omitempty"`
	Submodules []*PublishedRepository `protobuf:"bytes,6,rep,name=submodules,proto3" json:"submodules,omitempty"`
	// Why it was refused. Unset when it was published.
	Refusal *GitFailure `protobuf:"bytes,7,opt,name=refusal,proto3" json:"refusal,omitempty"`
	// Who asked for the work, as the publish said.
	RequestedBy string `protobuf:"bytes,8,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
	// The pull request opened, or why it could not be.
	PullRequest        *OpenedPullRequest `protobuf:"bytes,9,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	PullRequestFailure *GitFailure        `protobuf:"bytes,10,opt,name=pull_request_failure,json=pullRequestFailure,proto3" json:"pull_request_failure,omitempty"`
	// A change to connections or publishing settings; the other fields are then unset.
	Change *ConfigurationChange `protobuf:"bytes,11,opt,name=change,proto3" json:"change,omitempty"`
	// Where the work came from, as the publish said.
	Provenance *Provenance `protobuf:"bytes,12,opt,name=provenance,proto3" json:"provenance,omitempty"`
	// The sandbox repository published from, when it was not a workspace.
	Sandbox string `protobuf:"bytes,13,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
	// The pull request of each submodule, or why it could not be opened.
	SubmodulePullRequests []*SubmodulePullRequest `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

One publish, done or refused, or one change to connections or publishing settings, as the audit log keeps it: one per line of the log file, in this message's JSON form.

func (*AuditEntry) Descriptor deprecated

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

Deprecated: Use AuditEntry.ProtoReflect.Descriptor instead.

func (*AuditEntry) GetBranch

func (x *AuditEntry) GetBranch() string

func (*AuditEntry) GetChange

func (x *AuditEntry) GetChange() *ConfigurationChange

func (*AuditEntry) GetProvenance

func (x *AuditEntry) GetProvenance() *Provenance

func (*AuditEntry) GetPullRequest

func (x *AuditEntry) GetPullRequest() *OpenedPullRequest

func (*AuditEntry) GetPullRequestFailure

func (x *AuditEntry) GetPullRequestFailure() *GitFailure

func (*AuditEntry) GetRefusal

func (x *AuditEntry) GetRefusal() *GitFailure

func (*AuditEntry) GetRepository

func (x *AuditEntry) GetRepository() *PublishedRepository

func (*AuditEntry) GetRequestedBy

func (x *AuditEntry) GetRequestedBy() string

func (*AuditEntry) GetSandbox

func (x *AuditEntry) GetSandbox() string

func (*AuditEntry) GetSubmodulePullRequests

func (x *AuditEntry) GetSubmodulePullRequests() []*SubmodulePullRequest

func (*AuditEntry) GetSubmodules

func (x *AuditEntry) GetSubmodules() []*PublishedRepository

func (*AuditEntry) GetTime

func (x *AuditEntry) GetTime() *timestamppb.Timestamp

func (*AuditEntry) GetUrl

func (x *AuditEntry) GetUrl() string

func (*AuditEntry) GetWorkspace

func (x *AuditEntry) GetWorkspace() string

func (*AuditEntry) ProtoMessage

func (*AuditEntry) ProtoMessage()

func (*AuditEntry) ProtoReflect

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

func (*AuditEntry) Reset

func (x *AuditEntry) Reset()

func (*AuditEntry) String

func (x *AuditEntry) String() string

type AuditRequest

type AuditRequest struct {

	// Only the entries from this time on; all of them when unset.
	Since *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=since,proto3" json:"since,omitempty"`
	// Only the entries of this repository, as its URL is written in them.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// At most this many, newest first: 100 when unset, never more than 1000.
	Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditRequest) Descriptor deprecated

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

Deprecated: Use AuditRequest.ProtoReflect.Descriptor instead.

func (*AuditRequest) GetLimit

func (x *AuditRequest) GetLimit() int32

func (*AuditRequest) GetSince

func (x *AuditRequest) GetSince() *timestamppb.Timestamp

func (*AuditRequest) GetUrl

func (x *AuditRequest) GetUrl() string

func (*AuditRequest) ProtoMessage

func (*AuditRequest) ProtoMessage()

func (*AuditRequest) ProtoReflect

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

func (*AuditRequest) Reset

func (x *AuditRequest) Reset()

func (*AuditRequest) String

func (x *AuditRequest) String() string

type AuditResponse

type AuditResponse struct {
	Entries []*AuditEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditResponse) Descriptor deprecated

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

Deprecated: Use AuditResponse.ProtoReflect.Descriptor instead.

func (*AuditResponse) GetEntries

func (x *AuditResponse) GetEntries() []*AuditEntry

func (*AuditResponse) ProtoMessage

func (*AuditResponse) ProtoMessage()

func (*AuditResponse) ProtoReflect

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

func (*AuditResponse) Reset

func (x *AuditResponse) Reset()

func (*AuditResponse) String

func (x *AuditResponse) String() string

type BeginGitHubAppRequest

type BeginGitHubAppRequest struct {

	// The GitHub host: empty for github.com, or a GitHub Enterprise Server's.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The organisation that owns the App. Empty: the account of the person creating it.
	Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	// The App's name on GitHub, e.g. `acme-agents`; its bot is `acme-agents[bot]`.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Where GitHub sends the person once the App is created: the platform's page, which
	// hands the code and state to CompleteGitHubApp.
	RedirectUrl string `protobuf:"bytes,4,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginGitHubAppRequest) Descriptor deprecated

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

Deprecated: Use BeginGitHubAppRequest.ProtoReflect.Descriptor instead.

func (*BeginGitHubAppRequest) GetHost

func (x *BeginGitHubAppRequest) GetHost() string

func (*BeginGitHubAppRequest) GetName

func (x *BeginGitHubAppRequest) GetName() string

func (*BeginGitHubAppRequest) GetOrganization

func (x *BeginGitHubAppRequest) GetOrganization() string

func (*BeginGitHubAppRequest) GetRedirectUrl

func (x *BeginGitHubAppRequest) GetRedirectUrl() string

func (*BeginGitHubAppRequest) ProtoMessage

func (*BeginGitHubAppRequest) ProtoMessage()

func (*BeginGitHubAppRequest) ProtoReflect

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

func (*BeginGitHubAppRequest) Reset

func (x *BeginGitHubAppRequest) Reset()

func (*BeginGitHubAppRequest) String

func (x *BeginGitHubAppRequest) String() string

type BeginGitHubAppResponse

type BeginGitHubAppResponse struct {

	// Where the person's browser posts the manifest, as a form field named `manifest`.
	FormAction string `protobuf:"bytes,1,opt,name=form_action,json=formAction,proto3" json:"form_action,omitempty"`
	// The manifest, in JSON: the App's name, its permissions (contents and pull requests,
	// read and write; metadata, read), no webhook.
	Manifest string `protobuf:"bytes,2,opt,name=manifest,proto3" json:"manifest,omitempty"`
	// Ties GitHub's answer to this request; expires in an hour.
	State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginGitHubAppResponse) Descriptor deprecated

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

Deprecated: Use BeginGitHubAppResponse.ProtoReflect.Descriptor instead.

func (*BeginGitHubAppResponse) GetFormAction

func (x *BeginGitHubAppResponse) GetFormAction() string

func (*BeginGitHubAppResponse) GetManifest

func (x *BeginGitHubAppResponse) GetManifest() string

func (*BeginGitHubAppResponse) GetState

func (x *BeginGitHubAppResponse) GetState() string

func (*BeginGitHubAppResponse) ProtoMessage

func (*BeginGitHubAppResponse) ProtoMessage()

func (*BeginGitHubAppResponse) ProtoReflect

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

func (*BeginGitHubAppResponse) Reset

func (x *BeginGitHubAppResponse) Reset()

func (*BeginGitHubAppResponse) String

func (x *BeginGitHubAppResponse) String() string

type ChangedFile

type ChangedFile struct {

	// Relative to the workspace, with `/`.
	Path         string           `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Kind         ChangedFile_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=gitd.v1.ChangedFile_Kind" json:"kind,omitempty"`
	AddedLines   int32            `protobuf:"varint,3,opt,name=added_lines,json=addedLines,proto3" json:"added_lines,omitempty"`
	RemovedLines int32            `protobuf:"varint,4,opt,name=removed_lines,json=removedLines,proto3" json:"removed_lines,omitempty"`
	// A binary file, whose lines are not counted.
	Binary bool `protobuf:"varint,5,opt,name=binary,proto3" json:"binary,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangedFile) Descriptor deprecated

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

Deprecated: Use ChangedFile.ProtoReflect.Descriptor instead.

func (*ChangedFile) GetAddedLines

func (x *ChangedFile) GetAddedLines() int32

func (*ChangedFile) GetBinary

func (x *ChangedFile) GetBinary() bool

func (*ChangedFile) GetKind

func (x *ChangedFile) GetKind() ChangedFile_Kind

func (*ChangedFile) GetPath

func (x *ChangedFile) GetPath() string

func (*ChangedFile) GetRemovedLines

func (x *ChangedFile) GetRemovedLines() int32

func (*ChangedFile) ProtoMessage

func (*ChangedFile) ProtoMessage()

func (*ChangedFile) ProtoReflect

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

func (*ChangedFile) Reset

func (x *ChangedFile) Reset()

func (*ChangedFile) String

func (x *ChangedFile) String() string

type ChangedFile_Kind

type ChangedFile_Kind int32
const (
	ChangedFile_KIND_UNSPECIFIED ChangedFile_Kind = 0
	ChangedFile_KIND_ADDED       ChangedFile_Kind = 1
	ChangedFile_KIND_MODIFIED    ChangedFile_Kind = 2
	ChangedFile_KIND_DELETED     ChangedFile_Kind = 3
)

func (ChangedFile_Kind) Descriptor

func (ChangedFile_Kind) Enum

func (ChangedFile_Kind) EnumDescriptor deprecated

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

Deprecated: Use ChangedFile_Kind.Descriptor instead.

func (ChangedFile_Kind) Number

func (ChangedFile_Kind) String

func (x ChangedFile_Kind) String() string

func (ChangedFile_Kind) Type

type ChangesRequest

type ChangesRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Files the base commit's .gitignore ignores, such as node_modules, are left out unless
	// asked for.
	IncludeIgnored bool `protobuf:"varint,2,opt,name=include_ignored,json=includeIgnored,proto3" json:"include_ignored,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangesRequest) Descriptor deprecated

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

Deprecated: Use ChangesRequest.ProtoReflect.Descriptor instead.

func (*ChangesRequest) GetIncludeIgnored

func (x *ChangesRequest) GetIncludeIgnored() bool

func (*ChangesRequest) GetPath

func (x *ChangesRequest) GetPath() string

func (*ChangesRequest) ProtoMessage

func (*ChangesRequest) ProtoMessage()

func (*ChangesRequest) ProtoReflect

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

func (*ChangesRequest) Reset

func (x *ChangesRequest) Reset()

func (*ChangesRequest) String

func (x *ChangesRequest) String() string

type ChangesResponse

type ChangesResponse struct {

	// The commit gitd last put the workspace on, which the changes are read against.
	Base  string         `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Files []*ChangedFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// Read from the agent's own layer, with no git run in the workspace; otherwise read by
	// git in the workspace, which its sandbox should not be writing meanwhile.
	FromLayer bool `protobuf:"varint,3,opt,name=from_layer,json=fromLayer,proto3" json:"from_layer,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangesResponse) Descriptor deprecated

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

Deprecated: Use ChangesResponse.ProtoReflect.Descriptor instead.

func (*ChangesResponse) GetBase

func (x *ChangesResponse) GetBase() string

func (*ChangesResponse) GetFiles

func (x *ChangesResponse) GetFiles() []*ChangedFile

func (*ChangesResponse) GetFromLayer

func (x *ChangesResponse) GetFromLayer() bool

func (*ChangesResponse) ProtoMessage

func (*ChangesResponse) ProtoMessage()

func (*ChangesResponse) ProtoReflect

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

func (*ChangesResponse) Reset

func (x *ChangesResponse) Reset()

func (*ChangesResponse) String

func (x *ChangesResponse) String() string

type CheckoutRequest

type CheckoutRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Required: the commit to move to.
	Commit         string        `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	WithSubmodules bool          `protobuf:"varint,3,opt,name=with_submodules,json=withSubmodules,proto3" json:"with_submodules,omitempty"`
	Credentials    []*Credential `protobuf:"bytes,4,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckoutRequest) Descriptor deprecated

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

Deprecated: Use CheckoutRequest.ProtoReflect.Descriptor instead.

func (*CheckoutRequest) GetCommit

func (x *CheckoutRequest) GetCommit() string

func (*CheckoutRequest) GetCredentials

func (x *CheckoutRequest) GetCredentials() []*Credential

func (*CheckoutRequest) GetPath

func (x *CheckoutRequest) GetPath() string

func (*CheckoutRequest) GetWithSubmodules

func (x *CheckoutRequest) GetWithSubmodules() bool

func (*CheckoutRequest) ProtoMessage

func (*CheckoutRequest) ProtoMessage()

func (*CheckoutRequest) ProtoReflect

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

func (*CheckoutRequest) Reset

func (x *CheckoutRequest) Reset()

func (*CheckoutRequest) String

func (x *CheckoutRequest) String() string

type CheckoutResponse

type CheckoutResponse struct {

	// Types that are valid to be assigned to Event:
	//
	//	*CheckoutResponse_Progress
	//	*CheckoutResponse_Result
	Event isCheckoutResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*CheckoutResponse) Descriptor deprecated

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

Deprecated: Use CheckoutResponse.ProtoReflect.Descriptor instead.

func (*CheckoutResponse) GetEvent

func (x *CheckoutResponse) GetEvent() isCheckoutResponse_Event

func (*CheckoutResponse) GetProgress

func (x *CheckoutResponse) GetProgress() *Progress

func (*CheckoutResponse) GetResult

func (x *CheckoutResponse) GetResult() *WorkspaceResult

func (*CheckoutResponse) ProtoMessage

func (*CheckoutResponse) ProtoMessage()

func (*CheckoutResponse) ProtoReflect

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

func (*CheckoutResponse) Reset

func (x *CheckoutResponse) Reset()

func (*CheckoutResponse) String

func (x *CheckoutResponse) String() string

type CheckoutResponse_Progress

type CheckoutResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type CheckoutResponse_Result

type CheckoutResponse_Result struct {
	Result *WorkspaceResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type CompareRequest

type CompareRequest struct {
	First  *Side `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"`
	Second *Side `protobuf:"bytes,2,opt,name=second,proto3" json:"second,omitempty"`
	// The repository, when both sides are branches; a workspace says its own, and every side
	// must be of the same repository.
	Url            string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	IncludeIgnored bool   `protobuf:"varint,4,opt,name=include_ignored,json=includeIgnored,proto3" json:"include_ignored,omitempty"`
	// The unified diff too, from first to second, cut short at max_bytes (512 KiB unless
	// said, never more than 8 MiB).
	WithDiff bool  `protobuf:"varint,5,opt,name=with_diff,json=withDiff,proto3" json:"with_diff,omitempty"`
	MaxBytes int64 `protobuf:"varint,6,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*CompareRequest) Descriptor deprecated

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

Deprecated: Use CompareRequest.ProtoReflect.Descriptor instead.

func (*CompareRequest) GetFirst

func (x *CompareRequest) GetFirst() *Side

func (*CompareRequest) GetIncludeIgnored

func (x *CompareRequest) GetIncludeIgnored() bool

func (*CompareRequest) GetMaxBytes

func (x *CompareRequest) GetMaxBytes() int64

func (*CompareRequest) GetSecond

func (x *CompareRequest) GetSecond() *Side

func (*CompareRequest) GetUrl

func (x *CompareRequest) GetUrl() string

func (*CompareRequest) GetWithDiff

func (x *CompareRequest) GetWithDiff() bool

func (*CompareRequest) ProtoMessage

func (*CompareRequest) ProtoMessage()

func (*CompareRequest) ProtoReflect

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

func (*CompareRequest) Reset

func (x *CompareRequest) Reset()

func (*CompareRequest) String

func (x *CompareRequest) String() string

type CompareResponse

type CompareResponse struct {

	// From first to second: added is in second only, deleted in first only.
	Files     []*ChangedFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	Diff      string         `protobuf:"bytes,2,opt,name=diff,proto3" json:"diff,omitempty"`
	Truncated bool           `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// contains filtered or unexported fields
}

func (*CompareResponse) Descriptor deprecated

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

Deprecated: Use CompareResponse.ProtoReflect.Descriptor instead.

func (*CompareResponse) GetDiff

func (x *CompareResponse) GetDiff() string

func (*CompareResponse) GetFiles

func (x *CompareResponse) GetFiles() []*ChangedFile

func (*CompareResponse) GetTruncated

func (x *CompareResponse) GetTruncated() bool

func (*CompareResponse) ProtoMessage

func (*CompareResponse) ProtoMessage()

func (*CompareResponse) ProtoReflect

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

func (*CompareResponse) Reset

func (x *CompareResponse) Reset()

func (*CompareResponse) String

func (x *CompareResponse) String() string

type CompleteGitHubAppRequest

type CompleteGitHubAppRequest struct {
	Code  string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteGitHubAppRequest) Descriptor deprecated

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

Deprecated: Use CompleteGitHubAppRequest.ProtoReflect.Descriptor instead.

func (*CompleteGitHubAppRequest) GetCode

func (x *CompleteGitHubAppRequest) GetCode() string

func (*CompleteGitHubAppRequest) GetState

func (x *CompleteGitHubAppRequest) GetState() string

func (*CompleteGitHubAppRequest) ProtoMessage

func (*CompleteGitHubAppRequest) ProtoMessage()

func (*CompleteGitHubAppRequest) ProtoReflect

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

func (*CompleteGitHubAppRequest) Reset

func (x *CompleteGitHubAppRequest) Reset()

func (*CompleteGitHubAppRequest) String

func (x *CompleteGitHubAppRequest) String() string

type CompleteGitHubAppResponse

type CompleteGitHubAppResponse struct {
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// Where the person installs the App on the repositories it may reach.
	InstallUrl string `protobuf:"bytes,2,opt,name=install_url,json=installUrl,proto3" json:"install_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteGitHubAppResponse) Descriptor deprecated

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

Deprecated: Use CompleteGitHubAppResponse.ProtoReflect.Descriptor instead.

func (*CompleteGitHubAppResponse) GetConnection

func (x *CompleteGitHubAppResponse) GetConnection() *Connection

func (*CompleteGitHubAppResponse) GetInstallUrl

func (x *CompleteGitHubAppResponse) GetInstallUrl() string

func (*CompleteGitHubAppResponse) ProtoMessage

func (*CompleteGitHubAppResponse) ProtoMessage()

func (*CompleteGitHubAppResponse) ProtoReflect

func (*CompleteGitHubAppResponse) Reset

func (x *CompleteGitHubAppResponse) Reset()

func (*CompleteGitHubAppResponse) String

func (x *CompleteGitHubAppResponse) String() string

type ConfigurationChange

type ConfigurationChange struct {
	Action ConfigurationChange_Action `protobuf:"varint,1,opt,name=action,proto3,enum=gitd.v1.ConfigurationChange_Action" json:"action,omitempty"`
	// The connection's ID, the settings' prefix, the preset's name, or the token's ID.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// What it opens or applies to, e.g. `https://github.com/acme`.
	UrlPrefix string `protobuf:"bytes,3,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// contains filtered or unexported fields
}

A connection added or removed, or the settings of a prefix set or removed.

func (*ConfigurationChange) Descriptor deprecated

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

Deprecated: Use ConfigurationChange.ProtoReflect.Descriptor instead.

func (*ConfigurationChange) GetAction

func (*ConfigurationChange) GetSubject

func (x *ConfigurationChange) GetSubject() string

func (*ConfigurationChange) GetUrlPrefix

func (x *ConfigurationChange) GetUrlPrefix() string

func (*ConfigurationChange) ProtoMessage

func (*ConfigurationChange) ProtoMessage()

func (*ConfigurationChange) ProtoReflect

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

func (*ConfigurationChange) Reset

func (x *ConfigurationChange) Reset()

func (*ConfigurationChange) String

func (x *ConfigurationChange) String() string

type ConfigurationChange_Action

type ConfigurationChange_Action int32
const (
	ConfigurationChange_ACTION_UNSPECIFIED        ConfigurationChange_Action = 0
	ConfigurationChange_ACTION_CONNECTION_ADDED   ConfigurationChange_Action = 1
	ConfigurationChange_ACTION_CONNECTION_REMOVED ConfigurationChange_Action = 2
	ConfigurationChange_ACTION_SETTINGS_SET       ConfigurationChange_Action = 3
	ConfigurationChange_ACTION_SETTINGS_REMOVED   ConfigurationChange_Action = 4
	ConfigurationChange_ACTION_PRESET_SET         ConfigurationChange_Action = 5
	ConfigurationChange_ACTION_PRESET_REMOVED     ConfigurationChange_Action = 6
	ConfigurationChange_ACTION_TOKEN_ISSUED       ConfigurationChange_Action = 7
	ConfigurationChange_ACTION_TOKEN_REVOKED      ConfigurationChange_Action = 8
)

func (ConfigurationChange_Action) Descriptor

func (ConfigurationChange_Action) Enum

func (ConfigurationChange_Action) EnumDescriptor deprecated

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

Deprecated: Use ConfigurationChange_Action.Descriptor instead.

func (ConfigurationChange_Action) Number

func (ConfigurationChange_Action) String

func (ConfigurationChange_Action) Type

type Conflict

type Conflict struct {
	First  *Side    `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"`
	Second *Side    `protobuf:"bytes,2,opt,name=second,proto3" json:"second,omitempty"`
	Paths  []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

Two works that do not merge cleanly, and the files they conflict on.

func (*Conflict) Descriptor deprecated

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

Deprecated: Use Conflict.ProtoReflect.Descriptor instead.

func (*Conflict) GetFirst

func (x *Conflict) GetFirst() *Side

func (*Conflict) GetPaths

func (x *Conflict) GetPaths() []string

func (*Conflict) GetSecond

func (x *Conflict) GetSecond() *Side

func (*Conflict) ProtoMessage

func (*Conflict) ProtoMessage()

func (*Conflict) ProtoReflect

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

func (*Conflict) Reset

func (x *Conflict) Reset()

func (*Conflict) String

func (x *Conflict) String() string

type ConflictsRequest

type ConflictsRequest struct {

	// At least two; a workspace stands for what it committed, which gitd brings into the pool
	// as publishing does, so its sandbox should not be writing meanwhile.
	Sides []*Side `protobuf:"bytes,1,rep,name=sides,proto3" json:"sides,omitempty"`
	Url   string  `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ConflictsRequest) Descriptor deprecated

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

Deprecated: Use ConflictsRequest.ProtoReflect.Descriptor instead.

func (*ConflictsRequest) GetSides

func (x *ConflictsRequest) GetSides() []*Side

func (*ConflictsRequest) GetUrl

func (x *ConflictsRequest) GetUrl() string

func (*ConflictsRequest) ProtoMessage

func (*ConflictsRequest) ProtoMessage()

func (*ConflictsRequest) ProtoReflect

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

func (*ConflictsRequest) Reset

func (x *ConflictsRequest) Reset()

func (*ConflictsRequest) String

func (x *ConflictsRequest) String() string

type ConflictsResponse

type ConflictsResponse struct {

	// Every pair that does not merge cleanly; none when all do.
	Conflicts []*Conflict `protobuf:"bytes,1,rep,name=conflicts,proto3" json:"conflicts,omitempty"`
	// contains filtered or unexported fields
}

func (*ConflictsResponse) Descriptor deprecated

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

Deprecated: Use ConflictsResponse.ProtoReflect.Descriptor instead.

func (*ConflictsResponse) GetConflicts

func (x *ConflictsResponse) GetConflicts() []*Conflict

func (*ConflictsResponse) ProtoMessage

func (*ConflictsResponse) ProtoMessage()

func (*ConflictsResponse) ProtoReflect

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

func (*ConflictsResponse) Reset

func (x *ConflictsResponse) Reset()

func (*ConflictsResponse) String

func (x *ConflictsResponse) String() string

type Connection

type Connection struct {

	// gitd's name for it, to remove it by.
	Id   string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind Connection_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=gitd.v1.Connection_Kind" json:"kind,omitempty"`
	// The repositories it opens: those whose address starts with this.
	UrlPrefix string `protobuf:"bytes,3,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// Whom it acts as: the App's bot (`acme-agents[bot]`) or the person (`josue`). Empty for
	// a token or a key.
	ActsAs string `protobuf:"bytes,4,opt,name=acts_as,json=actsAs,proto3" json:"acts_as,omitempty"`
	// For an App: its ID, and where its installations are managed.
	AppId     int64  `protobuf:"varint,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	ManageUrl string `protobuf:"bytes,6,opt,name=manage_url,json=manageUrl,proto3" json:"manage_url,omitempty"`
	// When it stops working unless renewed: a sign-in's renewal ends then.
	Expires *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expires,proto3" json:"expires,omitempty"`
	// From the configuration file: shown, never changed through the API.
	FromFile bool                   `protobuf:"varint,8,opt,name=from_file,json=fromFile,proto3" json:"from_file,omitempty"`
	Created  *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

One credential gitd keeps.

func (*Connection) Descriptor deprecated

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

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetActsAs

func (x *Connection) GetActsAs() string

func (*Connection) GetAppId

func (x *Connection) GetAppId() int64

func (*Connection) GetCreated

func (x *Connection) GetCreated() *timestamppb.Timestamp

func (*Connection) GetExpires

func (x *Connection) GetExpires() *timestamppb.Timestamp

func (*Connection) GetFromFile

func (x *Connection) GetFromFile() bool

func (*Connection) GetId

func (x *Connection) GetId() string

func (*Connection) GetKind

func (x *Connection) GetKind() Connection_Kind

func (*Connection) GetManageUrl

func (x *Connection) GetManageUrl() string

func (*Connection) GetUrlPrefix

func (x *Connection) GetUrlPrefix() string

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect

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

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) String

func (x *Connection) String() string

type Connection_Kind

type Connection_Kind int32
const (
	Connection_KIND_UNSPECIFIED Connection_Kind = 0
	Connection_KIND_TOKEN       Connection_Kind = 1
	Connection_KIND_SSH_KEY     Connection_Kind = 2
	// A GitHub App: its installation tokens open one repository each, for an hour.
	Connection_KIND_GITHUB_APP Connection_Kind = 3
	// A person signed in through gitd's public App: their tokens, renewed by gitd.
	Connection_KIND_GITHUB_LOGIN Connection_Kind = 4
)

func (Connection_Kind) Descriptor

func (Connection_Kind) Enum

func (x Connection_Kind) Enum() *Connection_Kind

func (Connection_Kind) EnumDescriptor deprecated

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

Deprecated: Use Connection_Kind.Descriptor instead.

func (Connection_Kind) Number

func (Connection_Kind) String

func (x Connection_Kind) String() string

func (Connection_Kind) Type

type Credential

type Credential struct {
	UrlPrefix string `protobuf:"bytes,1,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// Types that are valid to be assigned to Secret:
	//
	//	*Credential_HttpsToken
	//	*Credential_SshKeyPath
	Secret isCredential_Secret `protobuf_oneof:"secret"`
	// The user name that goes with `https_token`. Empty is the one the host expects for a
	// token: `oauth2` on gitlab.com, `x-token-auth` on bitbucket.org and `x-access-token`
	// anywhere else (GitHub, and Gitea and Forgejo, which take any name). A self-hosted
	// GitLab wants `oauth2`, and a Bitbucket app password the account's own name.
	HttpsUser string `protobuf:"bytes,4,opt,name=https_user,json=httpsUser,proto3" json:"https_user,omitempty"`
	// contains filtered or unexported fields
}

What opens repositories whose address starts with `url_prefix`, on any host: e.g. `https://github.com/acme/` or `https://gitlab.example.com/acme/tools/`. A port in it is ignored, as it is in a repository's address: ports are the host's (gitd.toml).

func (*Credential) Descriptor deprecated

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

Deprecated: Use Credential.ProtoReflect.Descriptor instead.

func (*Credential) GetHttpsToken

func (x *Credential) GetHttpsToken() string

func (*Credential) GetHttpsUser

func (x *Credential) GetHttpsUser() string

func (*Credential) GetSecret

func (x *Credential) GetSecret() isCredential_Secret

func (*Credential) GetSshKeyPath

func (x *Credential) GetSshKeyPath() string

func (*Credential) GetUrlPrefix

func (x *Credential) GetUrlPrefix() string

func (*Credential) ProtoMessage

func (*Credential) ProtoMessage()

func (*Credential) ProtoReflect

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

func (*Credential) Reset

func (x *Credential) Reset()

func (*Credential) String

func (x *Credential) String() string

type Credential_HttpsToken

type Credential_HttpsToken struct {
	// Sent as `Authorization: Basic <https_user>:<token>`. A repository this opens is
	// read over HTTPS even when it was written as `git@` or `ssh://`.
	HttpsToken string `protobuf:"bytes,2,opt,name=https_token,json=httpsToken,proto3,oneof"`
}

type Credential_SshKeyPath

type Credential_SshKeyPath struct {
	// A private key that is already on this server.
	SshKeyPath string `protobuf:"bytes,3,opt,name=ssh_key_path,json=sshKeyPath,proto3,oneof"`
}

type DescribeRequest

type DescribeRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeRequest) Descriptor deprecated

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

Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.

func (*DescribeRequest) GetPath

func (x *DescribeRequest) GetPath() string

func (*DescribeRequest) ProtoMessage

func (*DescribeRequest) ProtoMessage()

func (*DescribeRequest) ProtoReflect

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

func (*DescribeRequest) Reset

func (x *DescribeRequest) Reset()

func (*DescribeRequest) String

func (x *DescribeRequest) String() string

type DescribeResponse

type DescribeResponse struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	Branch string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	// Whether something on disk differs from the commit, as somebody running git in it may
	// leave it.
	Modified   bool              `protobuf:"varint,4,opt,name=modified,proto3" json:"modified,omitempty"`
	Submodules []*SubmoduleState `protobuf:"bytes,5,rep,name=submodules,proto3" json:"submodules,omitempty"`
	// How the workspace was made, and its layers when by overlay. Workspaces made before
	// gitd said so read as STRATEGY_COPY.
	Strategy Strategy `protobuf:"varint,6,opt,name=strategy,proto3,enum=gitd.v1.Strategy" json:"strategy,omitempty"`
	Layers   *Layers  `protobuf:"bytes,7,opt,name=layers,proto3" json:"layers,omitempty"`
	// The patterns its .gitattributes sends to git LFS, whose files are pointers here.
	LfsPatterns []string `protobuf:"bytes,8,rep,name=lfs_patterns,json=lfsPatterns,proto3" json:"lfs_patterns,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResponse) Descriptor deprecated

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

Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.

func (*DescribeResponse) GetBranch

func (x *DescribeResponse) GetBranch() string

func (*DescribeResponse) GetCommit

func (x *DescribeResponse) GetCommit() string

func (*DescribeResponse) GetLayers

func (x *DescribeResponse) GetLayers() *Layers

func (*DescribeResponse) GetLfsPatterns

func (x *DescribeResponse) GetLfsPatterns() []string

func (*DescribeResponse) GetModified

func (x *DescribeResponse) GetModified() bool

func (*DescribeResponse) GetStrategy

func (x *DescribeResponse) GetStrategy() Strategy

func (*DescribeResponse) GetSubmodules

func (x *DescribeResponse) GetSubmodules() []*SubmoduleState

func (*DescribeResponse) GetUrl

func (x *DescribeResponse) GetUrl() string

func (*DescribeResponse) ProtoMessage

func (*DescribeResponse) ProtoMessage()

func (*DescribeResponse) ProtoReflect

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

func (*DescribeResponse) Reset

func (x *DescribeResponse) Reset()

func (*DescribeResponse) String

func (x *DescribeResponse) String() string

type DiffRequest

type DiffRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Only these files, relative to the workspace; all the changes when empty.
	Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// At most this many bytes of diff: 512 KiB when unset, never more than 8 MiB.
	MaxBytes       int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	IncludeIgnored bool  `protobuf:"varint,4,opt,name=include_ignored,json=includeIgnored,proto3" json:"include_ignored,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffRequest) Descriptor deprecated

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

Deprecated: Use DiffRequest.ProtoReflect.Descriptor instead.

func (*DiffRequest) GetFiles

func (x *DiffRequest) GetFiles() []string

func (*DiffRequest) GetIncludeIgnored

func (x *DiffRequest) GetIncludeIgnored() bool

func (*DiffRequest) GetMaxBytes

func (x *DiffRequest) GetMaxBytes() int64

func (*DiffRequest) GetPath

func (x *DiffRequest) GetPath() string

func (*DiffRequest) ProtoMessage

func (*DiffRequest) ProtoMessage()

func (*DiffRequest) ProtoReflect

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

func (*DiffRequest) Reset

func (x *DiffRequest) Reset()

func (*DiffRequest) String

func (x *DiffRequest) String() string

type DiffResponse

type DiffResponse struct {
	Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// The unified diff, with `a/` and `b/` before each path, as git writes it.
	Diff string `protobuf:"bytes,2,opt,name=diff,proto3" json:"diff,omitempty"`
	// Cut short at max_bytes.
	Truncated bool `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffResponse) Descriptor deprecated

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

Deprecated: Use DiffResponse.ProtoReflect.Descriptor instead.

func (*DiffResponse) GetBase

func (x *DiffResponse) GetBase() string

func (*DiffResponse) GetDiff

func (x *DiffResponse) GetDiff() string

func (*DiffResponse) GetTruncated

func (x *DiffResponse) GetTruncated() bool

func (*DiffResponse) ProtoMessage

func (*DiffResponse) ProtoMessage()

func (*DiffResponse) ProtoReflect

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

func (*DiffResponse) Reset

func (x *DiffResponse) Reset()

func (*DiffResponse) String

func (x *DiffResponse) String() string

type FinishGitHubLoginRequest

type FinishGitHubLoginRequest struct {
	LoginId string `protobuf:"bytes,1,opt,name=login_id,json=loginId,proto3" json:"login_id,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishGitHubLoginRequest) Descriptor deprecated

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

Deprecated: Use FinishGitHubLoginRequest.ProtoReflect.Descriptor instead.

func (*FinishGitHubLoginRequest) GetLoginId

func (x *FinishGitHubLoginRequest) GetLoginId() string

func (*FinishGitHubLoginRequest) ProtoMessage

func (*FinishGitHubLoginRequest) ProtoMessage()

func (*FinishGitHubLoginRequest) ProtoReflect

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

func (*FinishGitHubLoginRequest) Reset

func (x *FinishGitHubLoginRequest) Reset()

func (*FinishGitHubLoginRequest) String

func (x *FinishGitHubLoginRequest) String() string

type FinishGitHubLoginResponse

type FinishGitHubLoginResponse struct {
	Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
	// Where the person installs gitd's App on the repositories it may reach, if not yet.
	InstallUrl string `protobuf:"bytes,2,opt,name=install_url,json=installUrl,proto3" json:"install_url,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishGitHubLoginResponse) Descriptor deprecated

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

Deprecated: Use FinishGitHubLoginResponse.ProtoReflect.Descriptor instead.

func (*FinishGitHubLoginResponse) GetConnection

func (x *FinishGitHubLoginResponse) GetConnection() *Connection

func (*FinishGitHubLoginResponse) GetInstallUrl

func (x *FinishGitHubLoginResponse) GetInstallUrl() string

func (*FinishGitHubLoginResponse) ProtoMessage

func (*FinishGitHubLoginResponse) ProtoMessage()

func (*FinishGitHubLoginResponse) ProtoReflect

func (*FinishGitHubLoginResponse) Reset

func (x *FinishGitHubLoginResponse) Reset()

func (*FinishGitHubLoginResponse) String

func (x *FinishGitHubLoginResponse) String() string

type GetSettingsRequest

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

func (*GetSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSettingsRequest) ProtoMessage

func (*GetSettingsRequest) ProtoMessage()

func (*GetSettingsRequest) ProtoReflect

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

func (*GetSettingsRequest) Reset

func (x *GetSettingsRequest) Reset()

func (*GetSettingsRequest) String

func (x *GetSettingsRequest) String() string

type GetSettingsResponse

type GetSettingsResponse struct {
	Settings []*PublishSettings `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetSettingsResponse) GetSettings

func (x *GetSettingsResponse) GetSettings() []*PublishSettings

func (*GetSettingsResponse) ProtoMessage

func (*GetSettingsResponse) ProtoMessage()

func (*GetSettingsResponse) ProtoReflect

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

func (*GetSettingsResponse) Reset

func (x *GetSettingsResponse) Reset()

func (*GetSettingsResponse) String

func (x *GetSettingsResponse) String() string

type GitFailure

type GitFailure struct {
	Reason GitFailure_Reason `protobuf:"varint,1,opt,name=reason,proto3,enum=gitd.v1.GitFailure_Reason" json:"reason,omitempty"`
	// The last useful line git wrote, e.g. "remote: Repository not found.".
	GitSaid string `protobuf:"bytes,2,opt,name=git_said,json=gitSaid,proto3" json:"git_said,omitempty"`
	// The repository the failure is about.
	Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

Attached to every error as a detail.

func (*GitFailure) Descriptor deprecated

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

Deprecated: Use GitFailure.ProtoReflect.Descriptor instead.

func (*GitFailure) GetGitSaid

func (x *GitFailure) GetGitSaid() string

func (*GitFailure) GetReason

func (x *GitFailure) GetReason() GitFailure_Reason

func (*GitFailure) GetRepository

func (x *GitFailure) GetRepository() string

func (*GitFailure) ProtoMessage

func (*GitFailure) ProtoMessage()

func (*GitFailure) ProtoReflect

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

func (*GitFailure) Reset

func (x *GitFailure) Reset()

func (*GitFailure) String

func (x *GitFailure) String() string

type GitFailure_Reason

type GitFailure_Reason int32
const (
	GitFailure_REASON_UNSPECIFIED   GitFailure_Reason = 0
	GitFailure_REASON_AUTH_REQUIRED GitFailure_Reason = 1
	GitFailure_REASON_AUTH_REFUSED  GitFailure_Reason = 2
	GitFailure_REASON_NOT_FOUND     GitFailure_Reason = 3
	GitFailure_REASON_BAD_ADDRESS   GitFailure_Reason = 4
	GitFailure_REASON_PATH_REFUSED  GitFailure_Reason = 5
	GitFailure_REASON_BUSY          GitFailure_Reason = 6
	GitFailure_REASON_TIMEOUT       GitFailure_Reason = 7
	GitFailure_REASON_CORRUPT       GitFailure_Reason = 8
	GitFailure_REASON_GIT_FAILED    GitFailure_Reason = 9
	GitFailure_REASON_NOTHING_NEW   GitFailure_Reason = 10
	// The branch is outside the prefix publishing is limited to.
	GitFailure_REASON_BRANCH_REFUSED GitFailure_Reason = 11
	// The workspace's git configuration sets something gitd does not run git under, such
	// as a filter or a hook path: whoever writes in the workspace could otherwise have gitd
	// run a command of theirs.
	GitFailure_REASON_CONFIG_REFUSED GitFailure_Reason = 12
	// What a publish brings breaks a publishing rule: a protected path changed, a kept
	// path deleted, or too many files changed. Nothing was pushed.
	GitFailure_REASON_POLICY_REFUSED GitFailure_Reason = 13
	// What was asked cannot be done with this host, such as a pull request where gitd does
	// not know the host's API.
	GitFailure_REASON_UNSUPPORTED GitFailure_Reason = 14
	// A limit of the tenant is reached: its workspaces, its disk or its tokens.
	GitFailure_REASON_LIMIT_REACHED GitFailure_Reason = 15
	// The branch already exists on the host as the publish may not take it: without update,
	// at all; with update, holding commits the publish does not have, which only a forced
	// push, never done, would drop. Nothing was pushed.
	GitFailure_REASON_BRANCH_EXISTS GitFailure_Reason = 16
)

func (GitFailure_Reason) Descriptor

func (GitFailure_Reason) Enum

func (GitFailure_Reason) EnumDescriptor deprecated

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

Deprecated: Use GitFailure_Reason.Descriptor instead.

func (GitFailure_Reason) Number

func (GitFailure_Reason) String

func (x GitFailure_Reason) String() string

func (GitFailure_Reason) Type

type InfoRequest

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

func (*InfoRequest) Descriptor deprecated

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

Deprecated: Use InfoRequest.ProtoReflect.Descriptor instead.

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) ProtoReflect

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

func (*InfoRequest) Reset

func (x *InfoRequest) Reset()

func (*InfoRequest) String

func (x *InfoRequest) String() string

type InfoResponse

type InfoResponse struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// What `git version` says, e.g. "git version 2.48.1".
	GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"`
	// How many pools there are and the disk they take, as of the last maintenance round.
	Pools      int32 `protobuf:"varint,3,opt,name=pools,proto3" json:"pools,omitempty"`
	PoolsBytes int64 `protobuf:"varint,4,opt,name=pools_bytes,json=poolsBytes,proto3" json:"pools_bytes,omitempty"`
	// How new workspaces are made on this machine, and why: what gitd detected at start.
	Strategy       Strategy `protobuf:"varint,5,opt,name=strategy,proto3,enum=gitd.v1.Strategy" json:"strategy,omitempty"`
	StrategyReason string   `protobuf:"bytes,6,opt,name=strategy_reason,json=strategyReason,proto3" json:"strategy_reason,omitempty"`
	// How many templates there are and the disk they take, as of the last maintenance round.
	Templates      int32 `protobuf:"varint,7,opt,name=templates,proto3" json:"templates,omitempty"`
	TemplatesBytes int64 `protobuf:"varint,8,opt,name=templates_bytes,json=templatesBytes,proto3" json:"templates_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*InfoResponse) Descriptor deprecated

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

Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.

func (*InfoResponse) GetGitVersion

func (x *InfoResponse) GetGitVersion() string

func (*InfoResponse) GetPools

func (x *InfoResponse) GetPools() int32

func (*InfoResponse) GetPoolsBytes

func (x *InfoResponse) GetPoolsBytes() int64

func (*InfoResponse) GetStrategy

func (x *InfoResponse) GetStrategy() Strategy

func (*InfoResponse) GetStrategyReason

func (x *InfoResponse) GetStrategyReason() string

func (*InfoResponse) GetTemplates

func (x *InfoResponse) GetTemplates() int32

func (*InfoResponse) GetTemplatesBytes

func (x *InfoResponse) GetTemplatesBytes() int64

func (*InfoResponse) GetVersion

func (x *InfoResponse) GetVersion() string

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) ProtoReflect

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

func (*InfoResponse) Reset

func (x *InfoResponse) Reset()

func (*InfoResponse) String

func (x *InfoResponse) String() string

type IssueTokenRequest

type IssueTokenRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The branch the sandbox starts from; empty for the repository's default branch.
	Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	// How long the token lives: an hour when zero, a day at most.
	LifetimeSeconds int64 `protobuf:"varint,3,opt,name=lifetime_seconds,json=lifetimeSeconds,proto3" json:"lifetime_seconds,omitempty"`
	// A token that clones and fetches only.
	ReadOnly bool `protobuf:"varint,4,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// A sandbox repository the token writes to, from an earlier token; empty makes a new one.
	Sandbox string `protobuf:"bytes,5,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueTokenRequest) Descriptor deprecated

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

Deprecated: Use IssueTokenRequest.ProtoReflect.Descriptor instead.

func (*IssueTokenRequest) GetBranch

func (x *IssueTokenRequest) GetBranch() string

func (*IssueTokenRequest) GetLifetimeSeconds

func (x *IssueTokenRequest) GetLifetimeSeconds() int64

func (*IssueTokenRequest) GetReadOnly

func (x *IssueTokenRequest) GetReadOnly() bool

func (*IssueTokenRequest) GetSandbox

func (x *IssueTokenRequest) GetSandbox() string

func (*IssueTokenRequest) GetUrl

func (x *IssueTokenRequest) GetUrl() string

func (*IssueTokenRequest) ProtoMessage

func (*IssueTokenRequest) ProtoMessage()

func (*IssueTokenRequest) ProtoReflect

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

func (*IssueTokenRequest) Reset

func (x *IssueTokenRequest) Reset()

func (*IssueTokenRequest) String

func (x *IssueTokenRequest) String() string

type IssueTokenResponse

type IssueTokenResponse struct {

	// The token, shown this once: gitd keeps only its hash.
	Token string     `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Info  *TokenInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// Where the sandbox clones from, e.g. `https://gitd.internal:9420/git/github.com/acme/web.git`,
	// with the token as the password: `git clone https://x:<token>@…`.
	CloneUrl string `protobuf:"bytes,3,opt,name=clone_url,json=cloneUrl,proto3" json:"clone_url,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueTokenResponse) Descriptor deprecated

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

Deprecated: Use IssueTokenResponse.ProtoReflect.Descriptor instead.

func (*IssueTokenResponse) GetCloneUrl

func (x *IssueTokenResponse) GetCloneUrl() string

func (*IssueTokenResponse) GetInfo

func (x *IssueTokenResponse) GetInfo() *TokenInfo

func (*IssueTokenResponse) GetToken

func (x *IssueTokenResponse) GetToken() string

func (*IssueTokenResponse) ProtoMessage

func (*IssueTokenResponse) ProtoMessage()

func (*IssueTokenResponse) ProtoReflect

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

func (*IssueTokenResponse) Reset

func (x *IssueTokenResponse) Reset()

func (*IssueTokenResponse) String

func (x *IssueTokenResponse) String() string

type Layers

type Layers struct {
	Lower string `protobuf:"bytes,1,opt,name=lower,proto3" json:"lower,omitempty"`
	Upper string `protobuf:"bytes,2,opt,name=upper,proto3" json:"upper,omitempty"`
	Work  string `protobuf:"bytes,3,opt,name=work,proto3" json:"work,omitempty"`
	// The warm layer between the template and the workspace's own, when it stands on one.
	Warm string `protobuf:"bytes,4,opt,name=warm,proto3" json:"warm,omitempty"`
	// contains filtered or unexported fields
}

The directories of an overlay workspace: the template below, read only, and the workspace's own layer above.

func (*Layers) Descriptor deprecated

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

Deprecated: Use Layers.ProtoReflect.Descriptor instead.

func (*Layers) GetLower

func (x *Layers) GetLower() string

func (*Layers) GetUpper

func (x *Layers) GetUpper() string

func (*Layers) GetWarm

func (x *Layers) GetWarm() string

func (*Layers) GetWork

func (x *Layers) GetWork() string

func (*Layers) ProtoMessage

func (*Layers) ProtoMessage()

func (*Layers) ProtoReflect

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

func (*Layers) Reset

func (x *Layers) Reset()

func (*Layers) String

func (x *Layers) String() string

type ListConnectionsRequest

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

func (*ListConnectionsRequest) Descriptor deprecated

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

Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.

func (*ListConnectionsRequest) ProtoMessage

func (*ListConnectionsRequest) ProtoMessage()

func (*ListConnectionsRequest) ProtoReflect

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

func (*ListConnectionsRequest) Reset

func (x *ListConnectionsRequest) Reset()

func (*ListConnectionsRequest) String

func (x *ListConnectionsRequest) String() string

type ListConnectionsResponse

type ListConnectionsResponse struct {
	Connections []*Connection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

func (*ListConnectionsResponse) Descriptor deprecated

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

Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.

func (*ListConnectionsResponse) GetConnections

func (x *ListConnectionsResponse) GetConnections() []*Connection

func (*ListConnectionsResponse) ProtoMessage

func (*ListConnectionsResponse) ProtoMessage()

func (*ListConnectionsResponse) ProtoReflect

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

func (*ListConnectionsResponse) Reset

func (x *ListConnectionsResponse) Reset()

func (*ListConnectionsResponse) String

func (x *ListConnectionsResponse) String() string

type ListPresetsRequest

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

func (*ListPresetsRequest) Descriptor deprecated

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

Deprecated: Use ListPresetsRequest.ProtoReflect.Descriptor instead.

func (*ListPresetsRequest) ProtoMessage

func (*ListPresetsRequest) ProtoMessage()

func (*ListPresetsRequest) ProtoReflect

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

func (*ListPresetsRequest) Reset

func (x *ListPresetsRequest) Reset()

func (*ListPresetsRequest) String

func (x *ListPresetsRequest) String() string

type ListPresetsResponse

type ListPresetsResponse struct {
	Presets []*Preset `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPresetsResponse) Descriptor deprecated

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

Deprecated: Use ListPresetsResponse.ProtoReflect.Descriptor instead.

func (*ListPresetsResponse) GetPresets

func (x *ListPresetsResponse) GetPresets() []*Preset

func (*ListPresetsResponse) ProtoMessage

func (*ListPresetsResponse) ProtoMessage()

func (*ListPresetsResponse) ProtoReflect

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

func (*ListPresetsResponse) Reset

func (x *ListPresetsResponse) Reset()

func (*ListPresetsResponse) String

func (x *ListPresetsResponse) String() string

type ListTokensRequest

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

func (*ListTokensRequest) Descriptor deprecated

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

Deprecated: Use ListTokensRequest.ProtoReflect.Descriptor instead.

func (*ListTokensRequest) ProtoMessage

func (*ListTokensRequest) ProtoMessage()

func (*ListTokensRequest) ProtoReflect

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

func (*ListTokensRequest) Reset

func (x *ListTokensRequest) Reset()

func (*ListTokensRequest) String

func (x *ListTokensRequest) String() string

type ListTokensResponse

type ListTokensResponse struct {
	Tokens []*TokenInfo `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTokensResponse) Descriptor deprecated

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

Deprecated: Use ListTokensResponse.ProtoReflect.Descriptor instead.

func (*ListTokensResponse) GetTokens

func (x *ListTokensResponse) GetTokens() []*TokenInfo

func (*ListTokensResponse) ProtoMessage

func (*ListTokensResponse) ProtoMessage()

func (*ListTokensResponse) ProtoReflect

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

func (*ListTokensResponse) Reset

func (x *ListTokensResponse) Reset()

func (*ListTokensResponse) String

func (x *ListTokensResponse) String() string

type ListWarmRequest

type ListWarmRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWarmRequest) Descriptor deprecated

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

Deprecated: Use ListWarmRequest.ProtoReflect.Descriptor instead.

func (*ListWarmRequest) GetUrl

func (x *ListWarmRequest) GetUrl() string

func (*ListWarmRequest) ProtoMessage

func (*ListWarmRequest) ProtoMessage()

func (*ListWarmRequest) ProtoReflect

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

func (*ListWarmRequest) Reset

func (x *ListWarmRequest) Reset()

func (*ListWarmRequest) String

func (x *ListWarmRequest) String() string

type ListWarmResponse

type ListWarmResponse struct {
	Warm []*WarmLayer `protobuf:"bytes,1,rep,name=warm,proto3" json:"warm,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWarmResponse) Descriptor deprecated

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

Deprecated: Use ListWarmResponse.ProtoReflect.Descriptor instead.

func (*ListWarmResponse) GetWarm

func (x *ListWarmResponse) GetWarm() []*WarmLayer

func (*ListWarmResponse) ProtoMessage

func (*ListWarmResponse) ProtoMessage()

func (*ListWarmResponse) ProtoReflect

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

func (*ListWarmResponse) Reset

func (x *ListWarmResponse) Reset()

func (*ListWarmResponse) String

func (x *ListWarmResponse) String() string

type OpenedPullRequest

type OpenedPullRequest struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Number int64  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// It was already open from the branch, and gitd updated its title and body.
	Updated bool `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

A pull request gitd opened, or updated.

func (*OpenedPullRequest) Descriptor deprecated

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

Deprecated: Use OpenedPullRequest.ProtoReflect.Descriptor instead.

func (*OpenedPullRequest) GetNumber

func (x *OpenedPullRequest) GetNumber() int64

func (*OpenedPullRequest) GetUpdated

func (x *OpenedPullRequest) GetUpdated() bool

func (*OpenedPullRequest) GetUrl

func (x *OpenedPullRequest) GetUrl() string

func (*OpenedPullRequest) ProtoMessage

func (*OpenedPullRequest) ProtoMessage()

func (*OpenedPullRequest) ProtoReflect

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

func (*OpenedPullRequest) Reset

func (x *OpenedPullRequest) Reset()

func (*OpenedPullRequest) String

func (x *OpenedPullRequest) String() string

type PendingSubmodule

type PendingSubmodule struct {
	Url     string      `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Path    string      `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Failure *GitFailure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
	// contains filtered or unexported fields
}

A submodule that could not be brought in, and why. The rest of the operation went on.

func (*PendingSubmodule) Descriptor deprecated

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

Deprecated: Use PendingSubmodule.ProtoReflect.Descriptor instead.

func (*PendingSubmodule) GetFailure

func (x *PendingSubmodule) GetFailure() *GitFailure

func (*PendingSubmodule) GetPath

func (x *PendingSubmodule) GetPath() string

func (*PendingSubmodule) GetUrl

func (x *PendingSubmodule) GetUrl() string

func (*PendingSubmodule) ProtoMessage

func (*PendingSubmodule) ProtoMessage()

func (*PendingSubmodule) ProtoReflect

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

func (*PendingSubmodule) Reset

func (x *PendingSubmodule) Reset()

func (*PendingSubmodule) String

func (x *PendingSubmodule) String() string

type PrepareRequest

type PrepareRequest struct {

	// The repository: `https://host/owner/[group/…]name`, `user@host:owner/name` or
	// `ssh://user@host[:port]/owner/name`, with or without `.git`.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// An absolute path inside one of the roots gitd is configured with.
	Path           string        `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Revision       *Revision     `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	WithSubmodules bool          `protobuf:"varint,4,opt,name=with_submodules,json=withSubmodules,proto3" json:"with_submodules,omitempty"`
	Credentials    []*Credential `protobuf:"bytes,5,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// The repository's whole history, for `git log` and `git blame` to go back as far as in
	// a clone; later updates keep it.
	// Otherwise only what is checked out, without the history behind it; submodules are
	// always so.
	FullHistory bool `protobuf:"varint,6,opt,name=full_history,json=fullHistory,proto3" json:"full_history,omitempty"`
	// How to make it, when there is a preference: STRATEGY_COPY writes every file even where
	// an overlay could be mounted. Unspecified is gitd's choice, the fastest this machine
	// allows. A strategy that cannot run here falls back to copy; the result says which ran.
	Strategy Strategy `protobuf:"varint,7,opt,name=strategy,proto3,enum=gitd.v1.Strategy" json:"strategy,omitempty"`
	// A warm layer of the repository to stand on, between the template and the workspace's
	// own layer: its dependencies are there already. The workspace must be at the commit the
	// layer was sealed at, and be made by overlay.
	Warm string `protobuf:"bytes,8,opt,name=warm,proto3" json:"warm,omitempty"`
	// The workspace names its pool by a path inside itself, `.git/gitd-pool`, where whoever
	// mounts the workspace elsewhere — the CSI driver into a pod — mounts the pool's objects
	// read-only (WorkspaceResult.pool_objects), so that it works wherever it is mounted. gitd
	// accepts it only while that is truly the pool's objects directory, mounted there.
	PoolInside bool `protobuf:"varint,9,opt,name=pool_inside,json=poolInside,proto3" json:"pool_inside,omitempty"`
	// contains filtered or unexported fields
}

func (*PrepareRequest) Descriptor deprecated

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

Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.

func (*PrepareRequest) GetCredentials

func (x *PrepareRequest) GetCredentials() []*Credential

func (*PrepareRequest) GetFullHistory

func (x *PrepareRequest) GetFullHistory() bool

func (*PrepareRequest) GetPath

func (x *PrepareRequest) GetPath() string

func (*PrepareRequest) GetPoolInside

func (x *PrepareRequest) GetPoolInside() bool

func (*PrepareRequest) GetRevision

func (x *PrepareRequest) GetRevision() *Revision

func (*PrepareRequest) GetStrategy

func (x *PrepareRequest) GetStrategy() Strategy

func (*PrepareRequest) GetUrl

func (x *PrepareRequest) GetUrl() string

func (*PrepareRequest) GetWarm

func (x *PrepareRequest) GetWarm() string

func (*PrepareRequest) GetWithSubmodules

func (x *PrepareRequest) GetWithSubmodules() bool

func (*PrepareRequest) ProtoMessage

func (*PrepareRequest) ProtoMessage()

func (*PrepareRequest) ProtoReflect

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

func (*PrepareRequest) Reset

func (x *PrepareRequest) Reset()

func (*PrepareRequest) String

func (x *PrepareRequest) String() string

type PrepareResponse

type PrepareResponse struct {

	// Types that are valid to be assigned to Event:
	//
	//	*PrepareResponse_Progress
	//	*PrepareResponse_Result
	Event isPrepareResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*PrepareResponse) Descriptor deprecated

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

Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.

func (*PrepareResponse) GetEvent

func (x *PrepareResponse) GetEvent() isPrepareResponse_Event

func (*PrepareResponse) GetProgress

func (x *PrepareResponse) GetProgress() *Progress

func (*PrepareResponse) GetResult

func (x *PrepareResponse) GetResult() *WorkspaceResult

func (*PrepareResponse) ProtoMessage

func (*PrepareResponse) ProtoMessage()

func (*PrepareResponse) ProtoReflect

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

func (*PrepareResponse) Reset

func (x *PrepareResponse) Reset()

func (*PrepareResponse) String

func (x *PrepareResponse) String() string

type PrepareResponse_Progress

type PrepareResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type PrepareResponse_Result

type PrepareResponse_Result struct {
	Result *WorkspaceResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type Preset

type Preset struct {

	// Lowercase letters, digits, `-`, `_` and `.`, up to 64.
	Name            string        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProtectedPaths  []string      `protobuf:"bytes,2,rep,name=protected_paths,json=protectedPaths,proto3" json:"protected_paths,omitempty"`
	KeptPaths       []string      `protobuf:"bytes,3,rep,name=kept_paths,json=keptPaths,proto3" json:"kept_paths,omitempty"`
	MaxChangedFiles *int32        `protobuf:"varint,4,opt,name=max_changed_files,json=maxChangedFiles,proto3,oneof" json:"max_changed_files,omitempty"`
	Origin          Preset_Origin `protobuf:"varint,5,opt,name=origin,proto3,enum=gitd.v1.Preset_Origin" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

A named set of rules settings take. gitd has its own `recommended`: it protects `.github/workflows/**`, `.gitlab-ci.yml`, `CODEOWNERS` and `.gitmodules`, keeps tests (`**/*_test.*`, `**/*.test.*`, `**/test/**`, `**/tests/**`, `**/__tests__/**`) and allows at most 200 files changed; a preset of that name replaces it.

func (*Preset) Descriptor deprecated

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

Deprecated: Use Preset.ProtoReflect.Descriptor instead.

func (*Preset) GetKeptPaths

func (x *Preset) GetKeptPaths() []string

func (*Preset) GetMaxChangedFiles

func (x *Preset) GetMaxChangedFiles() int32

func (*Preset) GetName

func (x *Preset) GetName() string

func (*Preset) GetOrigin

func (x *Preset) GetOrigin() Preset_Origin

func (*Preset) GetProtectedPaths

func (x *Preset) GetProtectedPaths() []string

func (*Preset) ProtoMessage

func (*Preset) ProtoMessage()

func (*Preset) ProtoReflect

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

func (*Preset) Reset

func (x *Preset) Reset()

func (*Preset) String

func (x *Preset) String() string

type Preset_Origin

type Preset_Origin int32

Where it comes from: gitd's own, the configuration file, or the API.

const (
	Preset_ORIGIN_UNSPECIFIED Preset_Origin = 0
	Preset_ORIGIN_BUILT_IN    Preset_Origin = 1
	Preset_ORIGIN_FILE        Preset_Origin = 2
	Preset_ORIGIN_API         Preset_Origin = 3
)

func (Preset_Origin) Descriptor

func (Preset_Origin) Enum

func (x Preset_Origin) Enum() *Preset_Origin

func (Preset_Origin) EnumDescriptor deprecated

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

Deprecated: Use Preset_Origin.Descriptor instead.

func (Preset_Origin) Number

func (Preset_Origin) String

func (x Preset_Origin) String() string

func (Preset_Origin) Type

type ProbeRequest

type ProbeRequest struct {
	Url         string        `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Credentials []*Credential `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*ProbeRequest) Descriptor deprecated

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

Deprecated: Use ProbeRequest.ProtoReflect.Descriptor instead.

func (*ProbeRequest) GetCredentials

func (x *ProbeRequest) GetCredentials() []*Credential

func (*ProbeRequest) GetUrl

func (x *ProbeRequest) GetUrl() string

func (*ProbeRequest) ProtoMessage

func (*ProbeRequest) ProtoMessage()

func (*ProbeRequest) ProtoReflect

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

func (*ProbeRequest) Reset

func (x *ProbeRequest) Reset()

func (*ProbeRequest) String

func (x *ProbeRequest) String() string

type ProbeResponse

type ProbeResponse struct {
	Access   ProbeResponse_Access `protobuf:"varint,1,opt,name=access,proto3,enum=gitd.v1.ProbeResponse_Access" json:"access,omitempty"`
	Branches []string             `protobuf:"bytes,2,rep,name=branches,proto3" json:"branches,omitempty"`
	// The branch the repository's HEAD points at.
	DefaultBranch string      `protobuf:"bytes,3,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"`
	Failure       *GitFailure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"`
	// The commit each branch points at, by branch: what a submodule's gitlink is set to.
	Commits map[string]string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProbeResponse) Descriptor deprecated

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

Deprecated: Use ProbeResponse.ProtoReflect.Descriptor instead.

func (*ProbeResponse) GetAccess

func (x *ProbeResponse) GetAccess() ProbeResponse_Access

func (*ProbeResponse) GetBranches

func (x *ProbeResponse) GetBranches() []string

func (*ProbeResponse) GetCommits

func (x *ProbeResponse) GetCommits() map[string]string

func (*ProbeResponse) GetDefaultBranch

func (x *ProbeResponse) GetDefaultBranch() string

func (*ProbeResponse) GetFailure

func (x *ProbeResponse) GetFailure() *GitFailure

func (*ProbeResponse) ProtoMessage

func (*ProbeResponse) ProtoMessage()

func (*ProbeResponse) ProtoReflect

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

func (*ProbeResponse) Reset

func (x *ProbeResponse) Reset()

func (*ProbeResponse) String

func (x *ProbeResponse) String() string

type ProbeResponse_Access

type ProbeResponse_Access int32
const (
	ProbeResponse_ACCESS_UNSPECIFIED ProbeResponse_Access = 0
	// Read with nothing.
	ProbeResponse_ACCESS_PUBLIC ProbeResponse_Access = 1
	// Read with the credentials given.
	ProbeResponse_ACCESS_REACHABLE ProbeResponse_Access = 2
	// Not readable with what was given.
	ProbeResponse_ACCESS_DENIED ProbeResponse_Access = 3
)

func (ProbeResponse_Access) Descriptor

func (ProbeResponse_Access) Enum

func (ProbeResponse_Access) EnumDescriptor deprecated

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

Deprecated: Use ProbeResponse_Access.Descriptor instead.

func (ProbeResponse_Access) Number

func (ProbeResponse_Access) String

func (x ProbeResponse_Access) String() string

func (ProbeResponse_Access) Type

type Progress

type Progress struct {

	// What git is doing: "Receiving objects", "Resolving deltas", "Submodule vendor/web".
	Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`
	// 0 to 100, or -1 when git does not say.
	Percent int32 `protobuf:"varint,2,opt,name=percent,proto3" json:"percent,omitempty"`
	// Which repository it is about, for an operation that touches several.
	Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*Progress) Descriptor deprecated

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

Deprecated: Use Progress.ProtoReflect.Descriptor instead.

func (*Progress) GetPercent

func (x *Progress) GetPercent() int32

func (*Progress) GetPhase

func (x *Progress) GetPhase() string

func (*Progress) GetRepository

func (x *Progress) GetRepository() string

func (*Progress) ProtoMessage

func (*Progress) ProtoMessage()

func (*Progress) ProtoReflect

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

func (*Progress) Reset

func (x *Progress) Reset()

func (*Progress) String

func (x *Progress) String() string

type Provenance

type Provenance struct {

	// The agent, e.g. `claude-code` or `openhands`.
	Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	// The model it ran on.
	Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
	// The platform's name for the session or run.
	Session string `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"`
	// Where the task is: an issue, a ticket.
	TaskUrl string `protobuf:"bytes,4,opt,name=task_url,json=taskUrl,proto3" json:"task_url,omitempty"`
	// contains filtered or unexported fields
}

Where a publish's work came from, as the platform says: gitd records it and never checks it, nor writes it into a commit. Each field is one line of at most 200 characters, never a secret; task_url is an https address.

func (*Provenance) Descriptor deprecated

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

Deprecated: Use Provenance.ProtoReflect.Descriptor instead.

func (*Provenance) GetAgent

func (x *Provenance) GetAgent() string

func (*Provenance) GetModel

func (x *Provenance) GetModel() string

func (*Provenance) GetSession

func (x *Provenance) GetSession() string

func (*Provenance) GetTaskUrl

func (x *Provenance) GetTaskUrl() string

func (*Provenance) ProtoMessage

func (*Provenance) ProtoMessage()

func (*Provenance) ProtoReflect

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

func (*Provenance) Reset

func (x *Provenance) Reset()

func (*Provenance) String

func (x *Provenance) String() string

type PublishRequest

type PublishRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// A branch that does not exist yet, unless update is set: nothing is ever pushed over
	// one. It must start with `[publish] branch_prefix`, when the configuration sets one.
	Branch      string        `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	Credentials []*Credential `protobuf:"bytes,3,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// Who asked for the work, as their account on the git host, e.g. `josue`: written in the
	// pull request and the audit log, and asked to review when the settings say so. gitd
	// records it as told.
	RequestedBy string `protobuf:"bytes,4,opt,name=requested_by,json=requestedBy,proto3" json:"requested_by,omitempty"`
	// This publish's pull request, beyond what the settings say.
	PullRequest *PullRequestOptions `protobuf:"bytes,5,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	// Where the work came from, written in the pull request and the audit log as told.
	Provenance *Provenance `protobuf:"bytes,6,opt,name=provenance,proto3" json:"provenance,omitempty"`
	// Publish what a sandbox pushed through the endpoint instead of a workspace: the ID of
	// its sandbox repository, with path left empty. branch names the branch it pushed there,
	// published under the same name.
	Sandbox string `protobuf:"bytes,7,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
	// The branch may already be on the host from an earlier publish of the same work: it is
	// moved forward, only ever as a fast-forward, and a pull request already open from it is
	// updated rather than another opened. When the work brings nothing beyond what gitd
	// published to the branch, nothing is pushed and the pull requests are still opened or
	// updated: a publish whose pull request failed is retried so.
	Update bool `protobuf:"varint,8,opt,name=update,proto3" json:"update,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishRequest) Descriptor deprecated

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

Deprecated: Use PublishRequest.ProtoReflect.Descriptor instead.

func (*PublishRequest) GetBranch

func (x *PublishRequest) GetBranch() string

func (*PublishRequest) GetCredentials

func (x *PublishRequest) GetCredentials() []*Credential

func (*PublishRequest) GetPath

func (x *PublishRequest) GetPath() string

func (*PublishRequest) GetProvenance

func (x *PublishRequest) GetProvenance() *Provenance

func (*PublishRequest) GetPullRequest

func (x *PublishRequest) GetPullRequest() *PullRequestOptions

func (*PublishRequest) GetRequestedBy

func (x *PublishRequest) GetRequestedBy() string

func (*PublishRequest) GetSandbox

func (x *PublishRequest) GetSandbox() string

func (*PublishRequest) GetUpdate

func (x *PublishRequest) GetUpdate() bool

func (*PublishRequest) ProtoMessage

func (*PublishRequest) ProtoMessage()

func (*PublishRequest) ProtoReflect

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

func (*PublishRequest) Reset

func (x *PublishRequest) Reset()

func (*PublishRequest) String

func (x *PublishRequest) String() string

type PublishResponse

type PublishResponse struct {
	Branch     string                 `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"`
	Repository *PublishedRepository   `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Submodules []*PublishedRepository `protobuf:"bytes,3,rep,name=submodules,proto3" json:"submodules,omitempty"`
	// The pull request opened, when one was.
	PullRequest *OpenedPullRequest `protobuf:"bytes,4,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	// Why the pull request could not be opened, when it was to be. The branch is published
	// all the same.
	PullRequestFailure *GitFailure `protobuf:"bytes,5,opt,name=pull_request_failure,json=pullRequestFailure,proto3" json:"pull_request_failure,omitempty"`
	// The pull request of each submodule pushed, when PullRequestOptions.submodules asked.
	SubmodulePullRequests []*SubmodulePullRequest `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PublishResponse) Descriptor deprecated

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

Deprecated: Use PublishResponse.ProtoReflect.Descriptor instead.

func (*PublishResponse) GetBranch

func (x *PublishResponse) GetBranch() string

func (*PublishResponse) GetPullRequest

func (x *PublishResponse) GetPullRequest() *OpenedPullRequest

func (*PublishResponse) GetPullRequestFailure

func (x *PublishResponse) GetPullRequestFailure() *GitFailure

func (*PublishResponse) GetRepository

func (x *PublishResponse) GetRepository() *PublishedRepository

func (*PublishResponse) GetSubmodulePullRequests

func (x *PublishResponse) GetSubmodulePullRequests() []*SubmodulePullRequest

func (*PublishResponse) GetSubmodules

func (x *PublishResponse) GetSubmodules() []*PublishedRepository

func (*PublishResponse) ProtoMessage

func (*PublishResponse) ProtoMessage()

func (*PublishResponse) ProtoReflect

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

func (*PublishResponse) Reset

func (x *PublishResponse) Reset()

func (*PublishResponse) String

func (x *PublishResponse) String() string

type PublishSettings

type PublishSettings struct {

	// The repositories these apply to; empty for every repository.
	UrlPrefix string `protobuf:"bytes,1,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// The name of a preset whose rules these take, and which the fields below add to.
	Preset string `protobuf:"bytes,2,opt,name=preset,proto3" json:"preset,omitempty"`
	// Paths a publish may not change, as git's glob pathspecs, e.g. `.github/workflows/**`.
	ProtectedPaths []string `protobuf:"bytes,3,rep,name=protected_paths,json=protectedPaths,proto3" json:"protected_paths,omitempty"`
	// Paths a publish may change but not delete or rename away, e.g. `tests/**`.
	KeptPaths []string `protobuf:"bytes,4,rep,name=kept_paths,json=keptPaths,proto3" json:"kept_paths,omitempty"`
	// At most this many files changed; unset for the preset's, or no limit.
	MaxChangedFiles *int32 `protobuf:"varint,5,opt,name=max_changed_files,json=maxChangedFiles,proto3,oneof" json:"max_changed_files,omitempty"`
	// What every published branch must start with, e.g. `agents/`.
	BranchPrefix string               `protobuf:"bytes,6,opt,name=branch_prefix,json=branchPrefix,proto3" json:"branch_prefix,omitempty"`
	PullRequests *PullRequestSettings `protobuf:"bytes,7,opt,name=pull_requests,json=pullRequests,proto3" json:"pull_requests,omitempty"`
	// From the configuration file: shown, never changed through the API.
	FromFile bool `protobuf:"varint,8,opt,name=from_file,json=fromFile,proto3" json:"from_file,omitempty"`
	// Paths these settings' own rules — their preset's and their own — leave free, as glob
	// pathspecs, e.g. `.gitmodules` under `recommended`. They never free what another
	// setting protects or keeps.
	AllowedPaths []string `protobuf:"bytes,9,rep,name=allowed_paths,json=allowedPaths,proto3" json:"allowed_paths,omitempty"`
	// contains filtered or unexported fields
}

The rules publishing follows for the repositories under a prefix.

Every setting whose prefix opens a repository applies to it: their paths add up and the smallest file limit wins, so a narrower setting never loosens a broader one. A branch prefix and pull request choices are the most specific setting's, and a narrower branch prefix must start with every broader one.

func (*PublishSettings) Descriptor deprecated

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

Deprecated: Use PublishSettings.ProtoReflect.Descriptor instead.

func (*PublishSettings) GetAllowedPaths

func (x *PublishSettings) GetAllowedPaths() []string

func (*PublishSettings) GetBranchPrefix

func (x *PublishSettings) GetBranchPrefix() string

func (*PublishSettings) GetFromFile

func (x *PublishSettings) GetFromFile() bool

func (*PublishSettings) GetKeptPaths

func (x *PublishSettings) GetKeptPaths() []string

func (*PublishSettings) GetMaxChangedFiles

func (x *PublishSettings) GetMaxChangedFiles() int32

func (*PublishSettings) GetPreset

func (x *PublishSettings) GetPreset() string

func (*PublishSettings) GetProtectedPaths

func (x *PublishSettings) GetProtectedPaths() []string

func (*PublishSettings) GetPullRequests

func (x *PublishSettings) GetPullRequests() *PullRequestSettings

func (*PublishSettings) GetUrlPrefix

func (x *PublishSettings) GetUrlPrefix() string

func (*PublishSettings) ProtoMessage

func (*PublishSettings) ProtoMessage()

func (*PublishSettings) ProtoReflect

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

func (*PublishSettings) Reset

func (x *PublishSettings) Reset()

func (*PublishSettings) String

func (x *PublishSettings) String() string

type PublishedRepository

type PublishedRepository struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Where it is in the workspace: empty for the workspace's own repository.
	Path   string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	// The subjects of the commits it brings, newest first: what a pull request is about.
	Subjects []string `protobuf:"bytes,4,rep,name=subjects,proto3" json:"subjects,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishedRepository) Descriptor deprecated

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

Deprecated: Use PublishedRepository.ProtoReflect.Descriptor instead.

func (*PublishedRepository) GetCommit

func (x *PublishedRepository) GetCommit() string

func (*PublishedRepository) GetPath

func (x *PublishedRepository) GetPath() string

func (*PublishedRepository) GetSubjects

func (x *PublishedRepository) GetSubjects() []string

func (*PublishedRepository) GetUrl

func (x *PublishedRepository) GetUrl() string

func (*PublishedRepository) ProtoMessage

func (*PublishedRepository) ProtoMessage()

func (*PublishedRepository) ProtoReflect

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

func (*PublishedRepository) Reset

func (x *PublishedRepository) Reset()

func (*PublishedRepository) String

func (x *PublishedRepository) String() string

type PullRequestOptions

type PullRequestOptions struct {

	// Open one even when the settings open them only when asked.
	Open bool `protobuf:"varint,1,opt,name=open,proto3" json:"open,omitempty"`
	// Empty: the subject of the newest commit.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// The platform's text; gitd's account of what it checked follows it.
	Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	// The branch it asks to merge into. Empty: the repository's default branch.
	Base  string `protobuf:"bytes,4,opt,name=base,proto3" json:"base,omitempty"`
	Draft *bool  `protobuf:"varint,5,opt,name=draft,proto3,oneof" json:"draft,omitempty"`
	// Open one too in the repository of each submodule the publish pushed, from the branch of
	// the same name, with the same title, into the branch `.gitmodules` names for it, else
	// its repository's default branch. They are opened first, and the workspace's pull
	// request lists them, to be merged first and with a merge commit; each links back to it.
	Submodules bool `protobuf:"varint,6,opt,name=submodules,proto3" json:"submodules,omitempty"`
	// contains filtered or unexported fields
}

A publish's own say on its pull request. Unset fields take the settings'.

func (*PullRequestOptions) Descriptor deprecated

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

Deprecated: Use PullRequestOptions.ProtoReflect.Descriptor instead.

func (*PullRequestOptions) GetBase

func (x *PullRequestOptions) GetBase() string

func (*PullRequestOptions) GetBody

func (x *PullRequestOptions) GetBody() string

func (*PullRequestOptions) GetDraft

func (x *PullRequestOptions) GetDraft() bool

func (*PullRequestOptions) GetOpen

func (x *PullRequestOptions) GetOpen() bool

func (*PullRequestOptions) GetSubmodules

func (x *PullRequestOptions) GetSubmodules() bool

func (*PullRequestOptions) GetTitle

func (x *PullRequestOptions) GetTitle() string

func (*PullRequestOptions) ProtoMessage

func (*PullRequestOptions) ProtoMessage()

func (*PullRequestOptions) ProtoReflect

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

func (*PullRequestOptions) Reset

func (x *PullRequestOptions) Reset()

func (*PullRequestOptions) String

func (x *PullRequestOptions) String() string

type PullRequestSettings

type PullRequestSettings struct {
	Open   PullRequestSettings_Open `protobuf:"varint,1,opt,name=open,proto3,enum=gitd.v1.PullRequestSettings_Open" json:"open,omitempty"`
	Draft  bool                     `protobuf:"varint,2,opt,name=draft,proto3" json:"draft,omitempty"`
	Labels []string                 `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
	// Ask the person the publish names in `requested_by` to review it.
	RequestReviewFromRequester bool `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

How publishes open pull requests.

func (*PullRequestSettings) Descriptor deprecated

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

Deprecated: Use PullRequestSettings.ProtoReflect.Descriptor instead.

func (*PullRequestSettings) GetDraft

func (x *PullRequestSettings) GetDraft() bool

func (*PullRequestSettings) GetLabels

func (x *PullRequestSettings) GetLabels() []string

func (*PullRequestSettings) GetOpen

func (*PullRequestSettings) GetRequestReviewFromRequester

func (x *PullRequestSettings) GetRequestReviewFromRequester() bool

func (*PullRequestSettings) ProtoMessage

func (*PullRequestSettings) ProtoMessage()

func (*PullRequestSettings) ProtoReflect

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

func (*PullRequestSettings) Reset

func (x *PullRequestSettings) Reset()

func (*PullRequestSettings) String

func (x *PullRequestSettings) String() string

type PullRequestSettings_Open

type PullRequestSettings_Open int32
const (
	PullRequestSettings_OPEN_UNSPECIFIED PullRequestSettings_Open = 0
	// Only when the publish asks (`PullRequestOptions.open`).
	PullRequestSettings_OPEN_WHEN_ASKED PullRequestSettings_Open = 1
	PullRequestSettings_OPEN_ALWAYS     PullRequestSettings_Open = 2
)

func (PullRequestSettings_Open) Descriptor

func (PullRequestSettings_Open) Enum

func (PullRequestSettings_Open) EnumDescriptor deprecated

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

Deprecated: Use PullRequestSettings_Open.Descriptor instead.

func (PullRequestSettings_Open) Number

func (PullRequestSettings_Open) String

func (x PullRequestSettings_Open) String() string

func (PullRequestSettings_Open) Type

type RemoveConnectionRequest

type RemoveConnectionRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveConnectionRequest) Descriptor deprecated

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

Deprecated: Use RemoveConnectionRequest.ProtoReflect.Descriptor instead.

func (*RemoveConnectionRequest) GetId

func (x *RemoveConnectionRequest) GetId() string

func (*RemoveConnectionRequest) ProtoMessage

func (*RemoveConnectionRequest) ProtoMessage()

func (*RemoveConnectionRequest) ProtoReflect

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

func (*RemoveConnectionRequest) Reset

func (x *RemoveConnectionRequest) Reset()

func (*RemoveConnectionRequest) String

func (x *RemoveConnectionRequest) String() string

type RemoveConnectionResponse

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

func (*RemoveConnectionResponse) Descriptor deprecated

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

Deprecated: Use RemoveConnectionResponse.ProtoReflect.Descriptor instead.

func (*RemoveConnectionResponse) ProtoMessage

func (*RemoveConnectionResponse) ProtoMessage()

func (*RemoveConnectionResponse) ProtoReflect

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

func (*RemoveConnectionResponse) Reset

func (x *RemoveConnectionResponse) Reset()

func (*RemoveConnectionResponse) String

func (x *RemoveConnectionResponse) String() string

type RemovePresetRequest

type RemovePresetRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePresetRequest) Descriptor deprecated

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

Deprecated: Use RemovePresetRequest.ProtoReflect.Descriptor instead.

func (*RemovePresetRequest) GetName

func (x *RemovePresetRequest) GetName() string

func (*RemovePresetRequest) ProtoMessage

func (*RemovePresetRequest) ProtoMessage()

func (*RemovePresetRequest) ProtoReflect

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

func (*RemovePresetRequest) Reset

func (x *RemovePresetRequest) Reset()

func (*RemovePresetRequest) String

func (x *RemovePresetRequest) String() string

type RemovePresetResponse

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

func (*RemovePresetResponse) Descriptor deprecated

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

Deprecated: Use RemovePresetResponse.ProtoReflect.Descriptor instead.

func (*RemovePresetResponse) ProtoMessage

func (*RemovePresetResponse) ProtoMessage()

func (*RemovePresetResponse) ProtoReflect

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

func (*RemovePresetResponse) Reset

func (x *RemovePresetResponse) Reset()

func (*RemovePresetResponse) String

func (x *RemovePresetResponse) String() string

type RemoveRequest

type RemoveRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveRequest) Descriptor deprecated

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

Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.

func (*RemoveRequest) GetPath

func (x *RemoveRequest) GetPath() string

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) ProtoReflect

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

func (*RemoveRequest) Reset

func (x *RemoveRequest) Reset()

func (*RemoveRequest) String

func (x *RemoveRequest) String() string

type RemoveResponse

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

func (*RemoveResponse) Descriptor deprecated

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

Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.

func (*RemoveResponse) ProtoMessage

func (*RemoveResponse) ProtoMessage()

func (*RemoveResponse) ProtoReflect

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

func (*RemoveResponse) Reset

func (x *RemoveResponse) Reset()

func (*RemoveResponse) String

func (x *RemoveResponse) String() string

type RemoveSettingsRequest

type RemoveSettingsRequest struct {
	UrlPrefix string `protobuf:"bytes,1,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveSettingsRequest) Descriptor deprecated

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

Deprecated: Use RemoveSettingsRequest.ProtoReflect.Descriptor instead.

func (*RemoveSettingsRequest) GetUrlPrefix

func (x *RemoveSettingsRequest) GetUrlPrefix() string

func (*RemoveSettingsRequest) ProtoMessage

func (*RemoveSettingsRequest) ProtoMessage()

func (*RemoveSettingsRequest) ProtoReflect

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

func (*RemoveSettingsRequest) Reset

func (x *RemoveSettingsRequest) Reset()

func (*RemoveSettingsRequest) String

func (x *RemoveSettingsRequest) String() string

type RemoveSettingsResponse

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

func (*RemoveSettingsResponse) Descriptor deprecated

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

Deprecated: Use RemoveSettingsResponse.ProtoReflect.Descriptor instead.

func (*RemoveSettingsResponse) ProtoMessage

func (*RemoveSettingsResponse) ProtoMessage()

func (*RemoveSettingsResponse) ProtoReflect

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

func (*RemoveSettingsResponse) Reset

func (x *RemoveSettingsResponse) Reset()

func (*RemoveSettingsResponse) String

func (x *RemoveSettingsResponse) String() string

type RetireRequest

type RetireRequest struct {

	// At least a day: a pool used moments ago is likely to be wanted again.
	UnusedForSeconds int64 `protobuf:"varint,1,opt,name=unused_for_seconds,json=unusedForSeconds,proto3" json:"unused_for_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*RetireRequest) Descriptor deprecated

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

Deprecated: Use RetireRequest.ProtoReflect.Descriptor instead.

func (*RetireRequest) GetUnusedForSeconds

func (x *RetireRequest) GetUnusedForSeconds() int64

func (*RetireRequest) ProtoMessage

func (*RetireRequest) ProtoMessage()

func (*RetireRequest) ProtoReflect

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

func (*RetireRequest) Reset

func (x *RetireRequest) Reset()

func (*RetireRequest) String

func (x *RetireRequest) String() string

type RetireResponse

type RetireResponse struct {
	Retired    int32 `protobuf:"varint,1,opt,name=retired,proto3" json:"retired,omitempty"`
	FreedBytes int64 `protobuf:"varint,2,opt,name=freed_bytes,json=freedBytes,proto3" json:"freed_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*RetireResponse) Descriptor deprecated

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

Deprecated: Use RetireResponse.ProtoReflect.Descriptor instead.

func (*RetireResponse) GetFreedBytes

func (x *RetireResponse) GetFreedBytes() int64

func (*RetireResponse) GetRetired

func (x *RetireResponse) GetRetired() int32

func (*RetireResponse) ProtoMessage

func (*RetireResponse) ProtoMessage()

func (*RetireResponse) ProtoReflect

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

func (*RetireResponse) Reset

func (x *RetireResponse) Reset()

func (*RetireResponse) String

func (x *RetireResponse) String() string

type Revision

type Revision struct {

	// Types that are valid to be assigned to Target:
	//
	//	*Revision_Branch
	//	*Revision_Commit
	Target isRevision_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

Where a workspace points: a branch, or a commit, or the repository's default branch.

func (*Revision) Descriptor deprecated

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

Deprecated: Use Revision.ProtoReflect.Descriptor instead.

func (*Revision) GetBranch

func (x *Revision) GetBranch() string

func (*Revision) GetCommit

func (x *Revision) GetCommit() string

func (*Revision) GetTarget

func (x *Revision) GetTarget() isRevision_Target

func (*Revision) ProtoMessage

func (*Revision) ProtoMessage()

func (*Revision) ProtoReflect

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

func (*Revision) Reset

func (x *Revision) Reset()

func (*Revision) String

func (x *Revision) String() string

type Revision_Branch

type Revision_Branch struct {
	Branch string `protobuf:"bytes,1,opt,name=branch,proto3,oneof"`
}

type Revision_Commit

type Revision_Commit struct {
	Commit string `protobuf:"bytes,2,opt,name=commit,proto3,oneof"`
}

type RevokeTokenRequest

type RevokeTokenRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Remove its sandbox repository too, with whatever was pushed there and not published.
	RemoveSandbox bool `protobuf:"varint,2,opt,name=remove_sandbox,json=removeSandbox,proto3" json:"remove_sandbox,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeTokenRequest) Descriptor deprecated

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

Deprecated: Use RevokeTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeTokenRequest) GetId

func (x *RevokeTokenRequest) GetId() string

func (*RevokeTokenRequest) GetRemoveSandbox

func (x *RevokeTokenRequest) GetRemoveSandbox() bool

func (*RevokeTokenRequest) ProtoMessage

func (*RevokeTokenRequest) ProtoMessage()

func (*RevokeTokenRequest) ProtoReflect

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

func (*RevokeTokenRequest) Reset

func (x *RevokeTokenRequest) Reset()

func (*RevokeTokenRequest) String

func (x *RevokeTokenRequest) String() string

type RevokeTokenResponse

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

func (*RevokeTokenResponse) Descriptor deprecated

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

Deprecated: Use RevokeTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeTokenResponse) ProtoMessage

func (*RevokeTokenResponse) ProtoMessage()

func (*RevokeTokenResponse) ProtoReflect

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

func (*RevokeTokenResponse) Reset

func (x *RevokeTokenResponse) Reset()

func (*RevokeTokenResponse) String

func (x *RevokeTokenResponse) String() string

type SealRequest

type SealRequest struct {

	// An overlay workspace, not itself standing on a warm layer.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// What to call the layer: lowercase letters, digits, dots, dashes and underscores, 64 at
	// most. Sealing a name again replaces the layer, once no workspace stands on it.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*SealRequest) Descriptor deprecated

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

Deprecated: Use SealRequest.ProtoReflect.Descriptor instead.

func (*SealRequest) GetName

func (x *SealRequest) GetName() string

func (*SealRequest) GetPath

func (x *SealRequest) GetPath() string

func (*SealRequest) ProtoMessage

func (*SealRequest) ProtoMessage()

func (*SealRequest) ProtoReflect

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

func (*SealRequest) Reset

func (x *SealRequest) Reset()

func (*SealRequest) String

func (x *SealRequest) String() string

type SealResponse

type SealResponse struct {
	Warm *WarmLayer `protobuf:"bytes,1,opt,name=warm,proto3" json:"warm,omitempty"`
	// contains filtered or unexported fields
}

func (*SealResponse) Descriptor deprecated

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

Deprecated: Use SealResponse.ProtoReflect.Descriptor instead.

func (*SealResponse) GetWarm

func (x *SealResponse) GetWarm() *WarmLayer

func (*SealResponse) ProtoMessage

func (*SealResponse) ProtoMessage()

func (*SealResponse) ProtoReflect

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

func (*SealResponse) Reset

func (x *SealResponse) Reset()

func (*SealResponse) String

func (x *SealResponse) String() string

type SetPresetRequest

type SetPresetRequest struct {
	Preset *Preset `protobuf:"bytes,1,opt,name=preset,proto3" json:"preset,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPresetRequest) Descriptor deprecated

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

Deprecated: Use SetPresetRequest.ProtoReflect.Descriptor instead.

func (*SetPresetRequest) GetPreset

func (x *SetPresetRequest) GetPreset() *Preset

func (*SetPresetRequest) ProtoMessage

func (*SetPresetRequest) ProtoMessage()

func (*SetPresetRequest) ProtoReflect

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

func (*SetPresetRequest) Reset

func (x *SetPresetRequest) Reset()

func (*SetPresetRequest) String

func (x *SetPresetRequest) String() string

type SetPresetResponse

type SetPresetResponse struct {
	Preset *Preset `protobuf:"bytes,1,opt,name=preset,proto3" json:"preset,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPresetResponse) Descriptor deprecated

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

Deprecated: Use SetPresetResponse.ProtoReflect.Descriptor instead.

func (*SetPresetResponse) GetPreset

func (x *SetPresetResponse) GetPreset() *Preset

func (*SetPresetResponse) ProtoMessage

func (*SetPresetResponse) ProtoMessage()

func (*SetPresetResponse) ProtoReflect

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

func (*SetPresetResponse) Reset

func (x *SetPresetResponse) Reset()

func (*SetPresetResponse) String

func (x *SetPresetResponse) String() string

type SetSettingsRequest

type SetSettingsRequest struct {
	Settings *PublishSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSettingsRequest) Descriptor deprecated

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

Deprecated: Use SetSettingsRequest.ProtoReflect.Descriptor instead.

func (*SetSettingsRequest) GetSettings

func (x *SetSettingsRequest) GetSettings() *PublishSettings

func (*SetSettingsRequest) ProtoMessage

func (*SetSettingsRequest) ProtoMessage()

func (*SetSettingsRequest) ProtoReflect

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

func (*SetSettingsRequest) Reset

func (x *SetSettingsRequest) Reset()

func (*SetSettingsRequest) String

func (x *SetSettingsRequest) String() string

type SetSettingsResponse

type SetSettingsResponse struct {
	Settings *PublishSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSettingsResponse) Descriptor deprecated

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

Deprecated: Use SetSettingsResponse.ProtoReflect.Descriptor instead.

func (*SetSettingsResponse) GetSettings

func (x *SetSettingsResponse) GetSettings() *PublishSettings

func (*SetSettingsResponse) ProtoMessage

func (*SetSettingsResponse) ProtoMessage()

func (*SetSettingsResponse) ProtoReflect

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

func (*SetSettingsResponse) Reset

func (x *SetSettingsResponse) Reset()

func (*SetSettingsResponse) String

func (x *SetSettingsResponse) String() string

type Side

type Side struct {

	// Types that are valid to be assigned to Of:
	//
	//	*Side_Workspace
	//	*Side_Branch
	Of isSide_Of `protobuf_oneof:"of"`
	// contains filtered or unexported fields
}

One work to compare: a workspace, by its path, or a branch gitd published — or any branch its pool holds — by its name.

func (*Side) Descriptor deprecated

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

Deprecated: Use Side.ProtoReflect.Descriptor instead.

func (*Side) GetBranch

func (x *Side) GetBranch() string

func (*Side) GetOf

func (x *Side) GetOf() isSide_Of

func (*Side) GetWorkspace

func (x *Side) GetWorkspace() string

func (*Side) ProtoMessage

func (*Side) ProtoMessage()

func (*Side) ProtoReflect

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

func (*Side) Reset

func (x *Side) Reset()

func (*Side) String

func (x *Side) String() string

type Side_Branch

type Side_Branch struct {
	Branch string `protobuf:"bytes,2,opt,name=branch,proto3,oneof"`
}

type Side_Workspace

type Side_Workspace struct {
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3,oneof"`
}

type StartGitHubLoginRequest

type StartGitHubLoginRequest struct {

	// The GitHub host: empty for github.com.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*StartGitHubLoginRequest) Descriptor deprecated

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

Deprecated: Use StartGitHubLoginRequest.ProtoReflect.Descriptor instead.

func (*StartGitHubLoginRequest) GetHost

func (x *StartGitHubLoginRequest) GetHost() string

func (*StartGitHubLoginRequest) ProtoMessage

func (*StartGitHubLoginRequest) ProtoMessage()

func (*StartGitHubLoginRequest) ProtoReflect

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

func (*StartGitHubLoginRequest) Reset

func (x *StartGitHubLoginRequest) Reset()

func (*StartGitHubLoginRequest) String

func (x *StartGitHubLoginRequest) String() string

type StartGitHubLoginResponse

type StartGitHubLoginResponse struct {

	// What the person enters at `verification_url`.
	UserCode        string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
	VerificationUrl string `protobuf:"bytes,2,opt,name=verification_url,json=verificationUrl,proto3" json:"verification_url,omitempty"`
	// Hands this sign-in to FinishGitHubLogin.
	LoginId string `protobuf:"bytes,3,opt,name=login_id,json=loginId,proto3" json:"login_id,omitempty"`
	// How long the code is good for.
	ExpiresInSeconds int32 `protobuf:"varint,4,opt,name=expires_in_seconds,json=expiresInSeconds,proto3" json:"expires_in_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*StartGitHubLoginResponse) Descriptor deprecated

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

Deprecated: Use StartGitHubLoginResponse.ProtoReflect.Descriptor instead.

func (*StartGitHubLoginResponse) GetExpiresInSeconds

func (x *StartGitHubLoginResponse) GetExpiresInSeconds() int32

func (*StartGitHubLoginResponse) GetLoginId

func (x *StartGitHubLoginResponse) GetLoginId() string

func (*StartGitHubLoginResponse) GetUserCode

func (x *StartGitHubLoginResponse) GetUserCode() string

func (*StartGitHubLoginResponse) GetVerificationUrl

func (x *StartGitHubLoginResponse) GetVerificationUrl() string

func (*StartGitHubLoginResponse) ProtoMessage

func (*StartGitHubLoginResponse) ProtoMessage()

func (*StartGitHubLoginResponse) ProtoReflect

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

func (*StartGitHubLoginResponse) Reset

func (x *StartGitHubLoginResponse) Reset()

func (*StartGitHubLoginResponse) String

func (x *StartGitHubLoginResponse) String() string

type Strategy

type Strategy int32

How a workspace was made.

const (
	Strategy_STRATEGY_UNSPECIFIED Strategy = 0
	// Every file written.
	Strategy_STRATEGY_COPY Strategy = 1
	// A layer of its own mounted on a shared template, read only: milliseconds, and only
	// what changes takes disk.
	Strategy_STRATEGY_OVERLAY Strategy = 2
	// The template cloned block by block: almost no disk.
	Strategy_STRATEGY_REFLINK Strategy = 3
)

func (Strategy) Descriptor

func (Strategy) Descriptor() protoreflect.EnumDescriptor

func (Strategy) Enum

func (x Strategy) Enum() *Strategy

func (Strategy) EnumDescriptor deprecated

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

Deprecated: Use Strategy.Descriptor instead.

func (Strategy) Number

func (x Strategy) Number() protoreflect.EnumNumber

func (Strategy) String

func (x Strategy) String() string

func (Strategy) Type

type SubmodulePullRequest

type SubmodulePullRequest struct {

	// Where it is in the workspace.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Its repository.
	Url         string             `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	PullRequest *OpenedPullRequest `protobuf:"bytes,3,opt,name=pull_request,json=pullRequest,proto3" json:"pull_request,omitempty"`
	Failure     *GitFailure        `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"`
	// contains filtered or unexported fields
}

The pull request of one submodule, or why it could not be opened: one that fails does not stop the others.

func (*SubmodulePullRequest) Descriptor deprecated

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

Deprecated: Use SubmodulePullRequest.ProtoReflect.Descriptor instead.

func (*SubmodulePullRequest) GetFailure

func (x *SubmodulePullRequest) GetFailure() *GitFailure

func (*SubmodulePullRequest) GetPath

func (x *SubmodulePullRequest) GetPath() string

func (*SubmodulePullRequest) GetPullRequest

func (x *SubmodulePullRequest) GetPullRequest() *OpenedPullRequest

func (*SubmodulePullRequest) GetUrl

func (x *SubmodulePullRequest) GetUrl() string

func (*SubmodulePullRequest) ProtoMessage

func (*SubmodulePullRequest) ProtoMessage()

func (*SubmodulePullRequest) ProtoReflect

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

func (*SubmodulePullRequest) Reset

func (x *SubmodulePullRequest) Reset()

func (*SubmodulePullRequest) String

func (x *SubmodulePullRequest) String() string

type SubmoduleState

type SubmoduleState struct {
	Path       string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Url        string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Commit     string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	CheckedOut bool   `protobuf:"varint,4,opt,name=checked_out,json=checkedOut,proto3" json:"checked_out,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmoduleState) Descriptor deprecated

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

Deprecated: Use SubmoduleState.ProtoReflect.Descriptor instead.

func (*SubmoduleState) GetCheckedOut

func (x *SubmoduleState) GetCheckedOut() bool

func (*SubmoduleState) GetCommit

func (x *SubmoduleState) GetCommit() string

func (*SubmoduleState) GetPath

func (x *SubmoduleState) GetPath() string

func (*SubmoduleState) GetUrl

func (x *SubmoduleState) GetUrl() string

func (*SubmoduleState) ProtoMessage

func (*SubmoduleState) ProtoMessage()

func (*SubmoduleState) ProtoReflect

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

func (*SubmoduleState) Reset

func (x *SubmoduleState) Reset()

func (*SubmoduleState) String

func (x *SubmoduleState) String() string

type SyncSubmodulesRequest

type SyncSubmodulesRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Only this submodule, by repository URL. Empty means all of them.
	OnlyUrl     string        `protobuf:"bytes,2,opt,name=only_url,json=onlyUrl,proto3" json:"only_url,omitempty"`
	Credentials []*Credential `protobuf:"bytes,3,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncSubmodulesRequest) Descriptor deprecated

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

Deprecated: Use SyncSubmodulesRequest.ProtoReflect.Descriptor instead.

func (*SyncSubmodulesRequest) GetCredentials

func (x *SyncSubmodulesRequest) GetCredentials() []*Credential

func (*SyncSubmodulesRequest) GetOnlyUrl

func (x *SyncSubmodulesRequest) GetOnlyUrl() string

func (*SyncSubmodulesRequest) GetPath

func (x *SyncSubmodulesRequest) GetPath() string

func (*SyncSubmodulesRequest) ProtoMessage

func (*SyncSubmodulesRequest) ProtoMessage()

func (*SyncSubmodulesRequest) ProtoReflect

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

func (*SyncSubmodulesRequest) Reset

func (x *SyncSubmodulesRequest) Reset()

func (*SyncSubmodulesRequest) String

func (x *SyncSubmodulesRequest) String() string

type SyncSubmodulesResponse

type SyncSubmodulesResponse struct {

	// Types that are valid to be assigned to Event:
	//
	//	*SyncSubmodulesResponse_Progress
	//	*SyncSubmodulesResponse_Result
	Event isSyncSubmodulesResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*SyncSubmodulesResponse) Descriptor deprecated

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

Deprecated: Use SyncSubmodulesResponse.ProtoReflect.Descriptor instead.

func (*SyncSubmodulesResponse) GetEvent

func (x *SyncSubmodulesResponse) GetEvent() isSyncSubmodulesResponse_Event

func (*SyncSubmodulesResponse) GetProgress

func (x *SyncSubmodulesResponse) GetProgress() *Progress

func (*SyncSubmodulesResponse) GetResult

func (*SyncSubmodulesResponse) ProtoMessage

func (*SyncSubmodulesResponse) ProtoMessage()

func (*SyncSubmodulesResponse) ProtoReflect

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

func (*SyncSubmodulesResponse) Reset

func (x *SyncSubmodulesResponse) Reset()

func (*SyncSubmodulesResponse) String

func (x *SyncSubmodulesResponse) String() string

type SyncSubmodulesResponse_Progress

type SyncSubmodulesResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type SyncSubmodulesResponse_Result

type SyncSubmodulesResponse_Result struct {
	Result *SyncSubmodulesResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type SyncSubmodulesResult

type SyncSubmodulesResult struct {
	Submodules        []*SubmoduleState   `protobuf:"bytes,1,rep,name=submodules,proto3" json:"submodules,omitempty"`
	PendingSubmodules []*PendingSubmodule `protobuf:"bytes,2,rep,name=pending_submodules,json=pendingSubmodules,proto3" json:"pending_submodules,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncSubmodulesResult) Descriptor deprecated

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

Deprecated: Use SyncSubmodulesResult.ProtoReflect.Descriptor instead.

func (*SyncSubmodulesResult) GetPendingSubmodules

func (x *SyncSubmodulesResult) GetPendingSubmodules() []*PendingSubmodule

func (*SyncSubmodulesResult) GetSubmodules

func (x *SyncSubmodulesResult) GetSubmodules() []*SubmoduleState

func (*SyncSubmodulesResult) ProtoMessage

func (*SyncSubmodulesResult) ProtoMessage()

func (*SyncSubmodulesResult) ProtoReflect

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

func (*SyncSubmodulesResult) Reset

func (x *SyncSubmodulesResult) Reset()

func (*SyncSubmodulesResult) String

func (x *SyncSubmodulesResult) String() string

type TokenInfo

type TokenInfo struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url       string                 `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Sandbox   string                 `protobuf:"bytes,3,opt,name=sandbox,proto3" json:"sandbox,omitempty"`
	Writable  bool                   `protobuf:"varint,4,opt,name=writable,proto3" json:"writable,omitempty"`
	IssuedAt  *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

A token as gitd shows it, never its secret.

func (*TokenInfo) Descriptor deprecated

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

Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead.

func (*TokenInfo) GetExpiresAt

func (x *TokenInfo) GetExpiresAt() *timestamppb.Timestamp

func (*TokenInfo) GetId

func (x *TokenInfo) GetId() string

func (*TokenInfo) GetIssuedAt

func (x *TokenInfo) GetIssuedAt() *timestamppb.Timestamp

func (*TokenInfo) GetSandbox

func (x *TokenInfo) GetSandbox() string

func (*TokenInfo) GetUrl

func (x *TokenInfo) GetUrl() string

func (*TokenInfo) GetWritable

func (x *TokenInfo) GetWritable() bool

func (*TokenInfo) ProtoMessage

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) ProtoReflect

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

func (*TokenInfo) Reset

func (x *TokenInfo) Reset()

func (*TokenInfo) String

func (x *TokenInfo) String() string

type UpdateRequest

type UpdateRequest struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Empty means the branch the workspace follows, also after a rollback left it detached.
	Branch         string        `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	WithSubmodules bool          `protobuf:"varint,3,opt,name=with_submodules,json=withSubmodules,proto3" json:"with_submodules,omitempty"`
	Credentials    []*Credential `protobuf:"bytes,4,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetBranch

func (x *UpdateRequest) GetBranch() string

func (*UpdateRequest) GetCredentials

func (x *UpdateRequest) GetCredentials() []*Credential

func (*UpdateRequest) GetPath

func (x *UpdateRequest) GetPath() string

func (*UpdateRequest) GetWithSubmodules

func (x *UpdateRequest) GetWithSubmodules() bool

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {

	// Types that are valid to be assigned to Event:
	//
	//	*UpdateResponse_Progress
	//	*UpdateResponse_Result
	Event isUpdateResponse_Event `protobuf_oneof:"event"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetEvent

func (x *UpdateResponse) GetEvent() isUpdateResponse_Event

func (*UpdateResponse) GetProgress

func (x *UpdateResponse) GetProgress() *Progress

func (*UpdateResponse) GetResult

func (x *UpdateResponse) GetResult() *WorkspaceResult

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

type UpdateResponse_Progress

type UpdateResponse_Progress struct {
	Progress *Progress `protobuf:"bytes,1,opt,name=progress,proto3,oneof"`
}

type UpdateResponse_Result

type UpdateResponse_Result struct {
	Result *WorkspaceResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type WarmLayer

type WarmLayer struct {
	Url  string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The commit it was sealed at: workspaces stand on it at that commit only.
	Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"`
	// When it was sealed, in seconds since the epoch, and from which workspace.
	SealedAt   int64  `protobuf:"varint,4,opt,name=sealed_at,json=sealedAt,proto3" json:"sealed_at,omitempty"`
	SealedFrom string `protobuf:"bytes,5,opt,name=sealed_from,json=sealedFrom,proto3" json:"sealed_from,omitempty"`
	// How many files it changes that git does not ignore, e.g. a lock file rewritten.
	ChangedFiles int32 `protobuf:"varint,6,opt,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"`
	// How many workspaces stand on it now.
	Users int32 `protobuf:"varint,7,opt,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

A layer sealed from a workspace, that later workspaces stand on.

func (*WarmLayer) Descriptor deprecated

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

Deprecated: Use WarmLayer.ProtoReflect.Descriptor instead.

func (*WarmLayer) GetChangedFiles

func (x *WarmLayer) GetChangedFiles() int32

func (*WarmLayer) GetCommit

func (x *WarmLayer) GetCommit() string

func (*WarmLayer) GetName

func (x *WarmLayer) GetName() string

func (*WarmLayer) GetSealedAt

func (x *WarmLayer) GetSealedAt() int64

func (*WarmLayer) GetSealedFrom

func (x *WarmLayer) GetSealedFrom() string

func (*WarmLayer) GetUrl

func (x *WarmLayer) GetUrl() string

func (*WarmLayer) GetUsers

func (x *WarmLayer) GetUsers() int32

func (*WarmLayer) ProtoMessage

func (*WarmLayer) ProtoMessage()

func (*WarmLayer) ProtoReflect

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

func (*WarmLayer) Reset

func (x *WarmLayer) Reset()

func (*WarmLayer) String

func (x *WarmLayer) String() string

type WatchRequest

type WatchRequest struct {

	// Only these workspaces; every workspace when empty.
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRequest) Descriptor deprecated

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

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) GetPaths

func (x *WatchRequest) GetPaths() []string

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect

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

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) String

func (x *WatchRequest) String() string

type WatchResponse

type WatchResponse struct {
	Kind WatchResponse_Kind     `protobuf:"varint,1,opt,name=kind,proto3,enum=gitd.v1.WatchResponse_Kind" json:"kind,omitempty"`
	Path string                 `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// The branch, for a publish done or refused.
	Branch string `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
	// The pull request opened, or why a publish was refused.
	Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchResponse) Descriptor deprecated

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

Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.

func (*WatchResponse) GetBranch

func (x *WatchResponse) GetBranch() string

func (*WatchResponse) GetDetail

func (x *WatchResponse) GetDetail() string

func (*WatchResponse) GetKind

func (x *WatchResponse) GetKind() WatchResponse_Kind

func (*WatchResponse) GetPath

func (x *WatchResponse) GetPath() string

func (*WatchResponse) GetTime

func (x *WatchResponse) GetTime() *timestamppb.Timestamp

func (*WatchResponse) ProtoMessage

func (*WatchResponse) ProtoMessage()

func (*WatchResponse) ProtoReflect

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

func (*WatchResponse) Reset

func (x *WatchResponse) Reset()

func (*WatchResponse) String

func (x *WatchResponse) String() string

type WatchResponse_Kind

type WatchResponse_Kind int32
const (
	WatchResponse_KIND_UNSPECIFIED WatchResponse_Kind = 0
	WatchResponse_KIND_MADE        WatchResponse_Kind = 1
	// Something in the workspace changed: seen in the agent's layer of an overlay workspace,
	// within a couple of seconds, and coalesced.
	WatchResponse_KIND_CHANGED   WatchResponse_Kind = 2
	WatchResponse_KIND_PUBLISHED WatchResponse_Kind = 3
	WatchResponse_KIND_REFUSED   WatchResponse_Kind = 4
	WatchResponse_KIND_REMOVED   WatchResponse_Kind = 5
)

func (WatchResponse_Kind) Descriptor

func (WatchResponse_Kind) Enum

func (WatchResponse_Kind) EnumDescriptor deprecated

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

Deprecated: Use WatchResponse_Kind.Descriptor instead.

func (WatchResponse_Kind) Number

func (WatchResponse_Kind) String

func (x WatchResponse_Kind) String() string

func (WatchResponse_Kind) Type

type WorkspaceResult

type WorkspaceResult struct {
	Commit            string              `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	Branch            string              `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
	PendingSubmodules []*PendingSubmodule `protobuf:"bytes,3,rep,name=pending_submodules,json=pendingSubmodules,proto3" json:"pending_submodules,omitempty"`
	// How the workspace was made, and its layers when by overlay.
	Strategy Strategy `protobuf:"varint,4,opt,name=strategy,proto3,enum=gitd.v1.Strategy" json:"strategy,omitempty"`
	Layers   *Layers  `protobuf:"bytes,5,opt,name=layers,proto3" json:"layers,omitempty"`
	// The patterns the repository's .gitattributes sends to git LFS, e.g. "*.onnx": those files
	// are pointers in the workspace, as gitd does not download LFS objects. Empty when the
	// repository uses no LFS.
	LfsPatterns []string `protobuf:"bytes,6,rep,name=lfs_patterns,json=lfsPatterns,proto3" json:"lfs_patterns,omitempty"`
	// With pool_inside: the pool's objects directory, to mount read-only at the workspace's
	// `.git/gitd-pool`.
	PoolObjects string `protobuf:"bytes,7,opt,name=pool_objects,json=poolObjects,proto3" json:"pool_objects,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceResult) Descriptor deprecated

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

Deprecated: Use WorkspaceResult.ProtoReflect.Descriptor instead.

func (*WorkspaceResult) GetBranch

func (x *WorkspaceResult) GetBranch() string

func (*WorkspaceResult) GetCommit

func (x *WorkspaceResult) GetCommit() string

func (*WorkspaceResult) GetLayers

func (x *WorkspaceResult) GetLayers() *Layers

func (*WorkspaceResult) GetLfsPatterns

func (x *WorkspaceResult) GetLfsPatterns() []string

func (*WorkspaceResult) GetPendingSubmodules

func (x *WorkspaceResult) GetPendingSubmodules() []*PendingSubmodule

func (*WorkspaceResult) GetPoolObjects

func (x *WorkspaceResult) GetPoolObjects() string

func (*WorkspaceResult) GetStrategy

func (x *WorkspaceResult) GetStrategy() Strategy

func (*WorkspaceResult) ProtoMessage

func (*WorkspaceResult) ProtoMessage()

func (*WorkspaceResult) ProtoReflect

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

func (*WorkspaceResult) Reset

func (x *WorkspaceResult) Reset()

func (*WorkspaceResult) String

func (x *WorkspaceResult) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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