package
4.5.1+incompatible
Repository: https://github.com/sourcegraph/sourcegraph.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ChangesetEventKindFor returns the ChangesetEventKind for the given specific code host event.
No description provided by the author
ComputeBatchSpecState computes the BatchSpecState based on the given stats.
No description provided by the author
IsKindSupported returns whether the given extsvc Kind is supported by batch changes.
IsRepoSupported returns whether the given ExternalRepoSpec is supported by the batch changes feature, based on the external service type.
No description provided by the author
No description provided by the author
No description provided by the author
NewBatchSpecFromRaw parses and validates the given rawSpec, and returns a BatchSpec containing the result.
No description provided by the author
NewChangesetEventMetadata returns a new metadata object for the given ChangesetEventKind.
No description provided by the author
No description provided by the author
ParseJSONLogsFromOutput tries to parse the given src-cli json lines output into *batcheslib.LogEvents.
ParseLogLines looks at all given log lines and determines the derived *StepInfo for each step it could find logs for.
No description provided by the author
WithCurrentSpecID returns a predicate function that can be passed to Changesets.Filter/Find, etc.
WithExternalID returns a predicate function that can be passed to Changesets.Filter/Find, etc.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
BatchSpecResolutionJobState constants.
BatchSpecResolutionJobState constants.
BatchSpecResolutionJobState constants.
BatchSpecResolutionJobState constants.
BatchSpecResolutionJobState constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BatchSpecTTL specifies the TTL of BatchSpecs that haven't been applied yet.
BatchSpecWorkspaceExecutionJobState constants.
BatchSpecWorkspaceExecutionJobState constants.
BatchSpecWorkspaceExecutionJobState constants.
BatchSpecWorkspaceExecutionJobState constants.
BatchSpecWorkspaceExecutionJobState constants.
BulkOperationState constants.
BulkOperationState constants.
BulkOperationState constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These changeset events are created as the result of regular syncs with Bitbucket Cloud.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
PullRequestApprovalEvent.
PullRequestChangesRequestCreatedEvent.
PullRequestChangesRequestRemovedEvent.
PullRequestCommentCreatedEvent.
PullRequestCommentDeletedEvent.
PullRequestCommentUpdatedEvent.
PullRequestFulfilledEvent.
PullRequestRejectedEvent.
PullRequestUnapprovedEvent.
PullRequestUpdatedEvent.
RepoCommitStatusCreatedEvent.
RepoCommitStatusUpdatedEvent.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
BitbucketServer calls this an Unapprove event but we've called it Dismissed to more clearly convey that it only occurs when a request for changes has been dismissed.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
Valid ChangesetEvent kinds.
ChangesetExternalState constants.
ChangesetExternalState constants.
ChangesetExternalState constants.
ChangesetExternalState constants.
ChangesetExternalState constants.
ChangesetExternalState constants.
ChangesetJobState constants.
ChangesetJobState constants.
ChangesetJobState constants.
ChangesetJobState constants.
ChangesetJobState constants.
ChangesetPublicationState constants.
ChangesetPublicationState constants.
ChangesetReviewState constants.
ChangesetReviewState constants.
ChangesetReviewState constants.
ChangesetReviewState constants.
ChangesetReviewState constants.
ChangesetSpecTTL specifies the TTL of ChangesetSpecs that haven't been attached to a BatchSpec.
No description provided by the author
No description provided by the author
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
ChangesetState constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReconcilerState constants.
ReconcilerState constants.
ReconcilerState constants.
ReconcilerState constants.
ReconcilerState constants.
ReconcilerState constants.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SupportedExternalServices are the external service types currently supported by the batch changes feature.

# Structs

A BatchChange of changesets over multiple Repos over time.
BatchChangeAssoc stores the details of a association to a BatchChange.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BatchSpecWorkspaceFile contains the metadata about the workspace file for the batch spec.
BulkOperation represents a virtual entity of a bulk operation, as represented in the database.
BulkOperationError represents an error on a changeset that occurred within a bulk job while executing.
A Changeset is a changeset on a code host belonging to a Repository and many BatchChanges.
A ChangesetEvent is an event that happened in the lifetime and context of a Changeset.
ChangesetJob describes a one-time action to be taken on a changeset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ChangesetLabel represents a label applied to a changeset.
No description provided by the author
ChangesetsStats holds additional stats information on a list of changesets.
ChangesetSyncData represents data about the sync status of a changeset.
No description provided by the author
CodeHost represents one configured external code host available on this Sourcegraph instance.
No description provided by the author
GlobalChangesetsStats holds stats information on all the changsets across the instance.
RepoChangesetsStats holds stats information on a list of changesets for a repo.
RewirerMapping maps a connection between ChangesetSpec and Changeset.
No description provided by the author
No description provided by the author
StepInfo holds all information that could be found in a slice of batcheslib.LogEvents about a step.

# Interfaces

No description provided by the author
Keyer represents items that return a unique key.

# Type aliases

BatchChangeState defines the possible states of a BatchChange.
BatchSpecResolutionJobState defines the possible states of a batch spec resolution job.
BatchSpecSource defines the possible sources for creating a BatchSpec.
BatchSpecState defines the possible states of a BatchSpec that was created to be executed server-side.
BatchSpecWorkspaceExecutionJobState defines the possible states of a changeset job.
BulkOperationState defines the possible states of a bulk operation.
ChangesetCheckState constants.
ChangesetEventKind defines the kind of a ChangesetEvent.
ChangesetExternalState defines the possible states of a Changeset on a code host.
ChangesetJobState defines the possible states of a changeset job.
ChangesetJobType specifies all valid type of jobs that the bulk processor understands.
ChangesetPublicationState defines the possible publication states of a Changeset.
ChangesetReviewState defines the possible states of a Changeset's review.
Changesets is a slice of *Changesets.
ChangesetSpecs is a slice of *ChangesetSpecs.
No description provided by the author
ChangesetState defines the possible states of a Changeset.
No description provided by the author
No description provided by the author
No description provided by the author
ReconcilerOperation is an enum to distinguish between different reconciler operations.
ReconcilerState defines the possible states of a Reconciler.
No description provided by the author