Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubCommit ¶
type GithubCommit struct {
Author struct {
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
Username string `json:"username,omitempty"`
} `json:"author,omitempty"`
Committer struct {
Name string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
} `json:"committer,omitempty"`
Message string `json:"message,omitempty"`
ID string `json:"id,omitempty"`
URL string `json:"url,omitempty"`
}
type GithubEvent ¶
type GithubEvent struct {
GithubOrganization `json:"organization,omitempty"`
GithubSender `json:"sender,omitempty"`
GithubRelease `json:"release,omitempty"`
GithubCommits []GithubCommit `json:"commits,omitempty"`
Action string `json:"action,omitempty"`
}
type GithubOrganization ¶
type GithubRelease ¶
type GithubSender ¶
type HookEvent ¶
type HookEvent struct {
GithubEvent GithubEvent `json:"fullPayload"`
K8sDeployEvent
}
type Hooks ¶
func (*Hooks) HandleHook ¶
func (h *Hooks) HandleHook(w http.ResponseWriter, r *http.Request)
func (*Hooks) InformOrchestrator ¶
Click to show internal directories.
Click to hide internal directories.