package
0.0.0-20240627152451-2434619c82ee
Repository: https://github.com/storj/changesetchihuahua.git
Documentation: pkg.go.dev
# Functions
DecodeGerritEvent decodes a gerrit event from JSON to a GerritEvent structure.
UnixInt64Time translates an int64 UNIX epoch time to a time.Time.
# Constants
MaxEventPayloadSize is the size of the largest event payload this system will allow.
# Variables
EventDecodingError wraps errors encountered during event decoding.
# Structs
Account is a Gerrit user account.
Approval records a code review approval granted to a patchset.
AssigneeChangedEvent is sent when the assignee of a change has been modified.
Base is a base for gerrit event types, providing the necessary methods for GerritEvent compatibility.
Change refers to a change being reviewed, or that was already reviewed.
ChangeAbandonedEvent is sent when a change has been abandoned.
ChangeMergedEvent is sent when a change has been merged into the git repository.
ChangeRestoredEvent is sent when an abandoned change has been restored.
CommentAddedEvent is sent when a review comment has been posted on a change.
Dependency is information about a change or patchset dependency.
DroppedOutputEvent is sent to notify a client that events have been dropped.
FilePatch is information about a patch on a file.
HashtagsChangedEvent is sent when the hashtags have been added to or removed from a change.
Label contains information about a code review label for a change.
Message is a comment added on a change by a reviewer.
PatchSet refers to a specific patchset within a change.
PatchSetComment is a comment added on a patchset by a reviewer.
PatchSetCreatedEvent is sent when a new change has been uploaded, or a new patchset has been uploaded to an existing change.
PrivateStateChangedEvent is sent when the private state of the changeset has changed.
ProjectCreatedEvent is sent when a new project has been created.
RefUpdate is information about a ref that was updated.
RefUpdatedEvent is sent when a reference is updated in a git repository.
Requirement gives information about a requirement in order to submit a change.
ReviewerAddedEvent is sent when a reviewer is added to a change.
ReviewerDeletedEvent is sent when a reviewer (with a vote) is removed from a change.
SubmitRecord is information about the submit status of a change.
TopicChangedEvent is sent when the topic of a change has been changed.
VoteDeletedEvent is sent when a vote was removed from a change.
WipStateChangedEvent is sent when the wip state is changed on a changeset.
# Interfaces
GerritEvent is a common interface to various gerrit event structures.