package
0.0.2
Repository: https://github.com/tmax-cloud/cd-operator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetChangedLinesFromDiff parses a diffString and returns the number of changed lines (additions / deletions).
GetPaginatedRequest gets paginated APIs and accumulates them together.
ParseLinkHeader parses url, rel from the header "Link".
RequestHTTP requests api call.

# Constants

CommitStatusStates.
CommitStatusStates.
CommitStatusStates.
CommitStatusStates.
Event Types.
Event Types.
Event Types.
Event Types.
Event Types.
FakeSha is a fake SHA for a commit.
IssueType constants.
IssueType constants.
MergeMethod types.
MergeMethod types.
Pull Request actions.
Pull Request actions.
Pull Request actions.
Pull Request actions.
Pull Request actions.
Pull Request actions.
Pull Request review state.
Pull Request review state.
Pull Request states.
Pull Request states.

# Structs

Base is a reference for base commit.
Branch is a branch info.
Change is a diff of a changed file.
Comment is a comment body.
Commit is a commit structure.
CommitStatus is a commit status body.
Diff is a diff between commits or of a pull-request.
Head is a reference for head commit.
Issue is an issue related to the Comment.
IssueComment is a common structure for issue comment.
IssueLabel is a label struct.
LinkHeaderEntry is an entry for a LinkHeader.
PullRequest is a common structure for pull request events.
Push is a common structure for push events.
Repository is a repository of the git.
UnauthorizedError is an error struct for git clients.
User is who triggered the event.
Webhook is a common structure for git webhooks github-specific or gitlab-specific webhook bodies are converted to this structure before being consumed.
WebhookEntry is a body of registered webhook list.

# Interfaces

Client is a git client interface.

# Type aliases

CommitStatusState is a commit status type.
EventType is a type of webhook event.
IssueType is a type of the issue.
LinkHeader is a header list for "Link".
MergeMethod is method kind.
PullRequestAction is an action of the pull request event.
PullRequestReviewState is a state of the pr's review.
PullRequestState is a state of the pull request.