Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GerritChange ¶
type GerritChangedFile ¶
type GerritEvent ¶
type GerritEvent struct { Change *GerritChange `json:"change"` Type GerritEventType `json:"type"` PatchSet *GerritPatchSet `json:"patchSet"` }
GerritEvent is the API message for Gerrit webhook.
type GerritEventType ¶
type GerritEventType string
const (
GerritEventChangeMerged GerritEventType = "change-merged"
)
type GerritFileChangeMessage ¶
type GerritFileChangeMessage struct {
Files []*GerritChangedFile
}
type GerritPatchSet ¶
type GerritPatchSet struct {
Revision string `json:"revision"`
}
type GitHubAuthor ¶
type GitHubCommit ¶
type GitHubCommit struct { Message string `json:"message"` Timestamp string `json:"timestamp"` Author GitHubAuthor `json:"author"` }
type GitHubPushEvent ¶
type GitHubPushEvent struct { Ref string `json:"ref"` Deleted bool `json:"deleted"` Compare string `json:"compare"` HeadCommit GitHubCommit `json:"head_commit"` Sender struct { Login string `json:"login"` } `json:"sender"` }
type IssueCreate ¶
type IssueCreate struct { // Related fields ProjectKey string `json:"projectKey"` Database string `json:"database"` Environment string `json:"environment"` // Domain specific fields Name string `json:"name"` Description string `json:"description"` MigrationType MigrationType `json:"migrationType"` Statement string `json:"statement"` SchemaVersion string `json:"schemaVersion"` }
IssueCreate is the API message for creating a issue.
type MigrationType ¶
type MigrationType string
MigrationType is the type of a migration.
const ( // Used for DDL change including CREATE DATABASE. Migrate MigrationType = "MIGRATE" // Used for DML change. Data MigrationType = "DATA" )
Click to show internal directories.
Click to hide internal directories.