package
0.0.0-20240627152451-2434619c82ee
Repository: https://github.com/storj/changesetchihuahua.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

OpenClient opens a Gerrit API client.
ParseTimestamp converts a timestamp from the Gerrit API to a time.Time in UTC.

# Constants

PatchSetIsEdit means that the value of the patchset number field was "edit" instead of an integer.
TimeLayout is the expected format of timestamps from Gerrit.

# Structs

AccountInfo contains information about a Gerrit account.
ActionInfo describes a REST API call the client can make to manipulate a resource.
ApprovalInfo describes an approval vote by a user on a changeset.
ChangeInfo refers to a change being reviewed, or that was already reviewed.
ChangeMessageInfo contains information about a message attached to a change.
CommentInfo contains information about an inline comment.
CommentRange describes the range of an inline comment.
CommitInfo contains information about a commit.
FetchInfo contains information about how to fetch a patch set via a certain protocol.
The FileInfo entity contains information about a file in a patch set.
GitPersonInfo contains information about the author/committer of a commit.
GpgKeyInfo contains information about a GPG public key.
LabelInfo contains information about a label on a change, always corresponding to the current patch set.
ProblemInfo contains a description of a potential consistency problem with a change.
PushCertificateInfo contains information about a push certificate provided when the user pushed for review with git push --signed HEAD:refs/for/<branch>.
QueryAccountsOpts is a structure representing options that affect the behavior of the QueryAccountsEx method on the Gerrit API client.
QueryChangesOpts controls behavior of queries to change-related API endpoints.
Requirement contains information about a requirement relative to a change.
ReviewerInfo entity contains information about a reviewer and its votes on a change.
ReviewerUpdateInfo contains information about updates to change’s reviewers set.
RevisionInfo contains information about a patch set.
TrackingIDInfo describes a reference to an external tracking system.
VotingRangeInfo describes the continuous voting range from min to max values.
WebLinkInfo describes a link to an external site.

# Interfaces

Client abstracts interaction with the Gerrit client, largely just so that it can be possible to mock.

# Type aliases

PatchSetNumber exists to allow parsing one stupid field in RevisionInfo which can end up being either a number or the string "edit".