Documentation ¶
Index ¶
- type GithubEventHandler
- func (handler *GithubEventHandler) HandleDeploymentEvent(req *http.Request, body []byte) error
- func (handler *GithubEventHandler) HandleDeploymentStatusEvent(req *http.Request, body []byte) error
- func (handler *GithubEventHandler) HandleEvent(req *http.Request, event string, body []byte) error
- func (handler *GithubEventHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubEventHandler ¶
type GithubEventHandler struct { Applications *config.Applications PreDeployment func(*http.Request, *context.Deployment) error PreDeploymentStatus func(*http.Request, *context.Deployment) error }
func (*GithubEventHandler) HandleDeploymentEvent ¶
func (handler *GithubEventHandler) HandleDeploymentEvent(req *http.Request, body []byte) error
func (*GithubEventHandler) HandleDeploymentStatusEvent ¶
func (handler *GithubEventHandler) HandleDeploymentStatusEvent(req *http.Request, body []byte) error
func (*GithubEventHandler) HandleEvent ¶
func (*GithubEventHandler) ServeHTTP ¶
func (handler *GithubEventHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.