Documentation ¶
Index ¶
- type EndpointHandler
- func (eh *EndpointHandler) GetCommitByRef(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetCommitsAll(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetCommitsByProject(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetCommitsByService(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetDeployByRef(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetDeploysAll(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetDeploysByProject(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetDeploysByService(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetProjectByID(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetProjectsAll(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetProjectsByService(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetServiceByID(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetServicesAll(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetTimelineByRef(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetTimelinesAll(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetTimelinesByProject(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GetTimelinesByService(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) Github(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GithubWebhook(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) GitlabWebhook(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) LubdubHandler(w http.ResponseWriter, r *http.Request)
- func (eh *EndpointHandler) OpenAPIHandler(cfg *config.Config) http.HandlerFunc
- func (eh *EndpointHandler) TektonTaskRun(w http.ResponseWriter, r *http.Request)
- type GithubPayload
- type PingEvent
- type RepInfo
- type TektonPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointHandler ¶
type EndpointHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(conn db.DBConnector) EndpointHandler
func (*EndpointHandler) GetCommitByRef ¶
func (eh *EndpointHandler) GetCommitByRef(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetCommitsAll ¶
func (eh *EndpointHandler) GetCommitsAll(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetCommitsByProject ¶
func (eh *EndpointHandler) GetCommitsByProject(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetCommitsByService ¶
func (eh *EndpointHandler) GetCommitsByService(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetDeployByRef ¶
func (eh *EndpointHandler) GetDeployByRef(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetDeploysAll ¶
func (eh *EndpointHandler) GetDeploysAll(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetDeploysByProject ¶
func (eh *EndpointHandler) GetDeploysByProject(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetDeploysByService ¶
func (eh *EndpointHandler) GetDeploysByService(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetProjectByID ¶
func (eh *EndpointHandler) GetProjectByID(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetProjectsAll ¶
func (eh *EndpointHandler) GetProjectsAll(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetProjectsByService ¶
func (eh *EndpointHandler) GetProjectsByService(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetServiceByID ¶
func (eh *EndpointHandler) GetServiceByID(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetServicesAll ¶
func (eh *EndpointHandler) GetServicesAll(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetTimelineByRef ¶
func (eh *EndpointHandler) GetTimelineByRef(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetTimelinesAll ¶
func (eh *EndpointHandler) GetTimelinesAll(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetTimelinesByProject ¶
func (eh *EndpointHandler) GetTimelinesByProject(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GetTimelinesByService ¶
func (eh *EndpointHandler) GetTimelinesByService(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) Github ¶
func (eh *EndpointHandler) Github(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) GithubWebhook ¶
func (eh *EndpointHandler) GithubWebhook(w http.ResponseWriter, r *http.Request)
GithubWebhook gets data from the webhook and enters it into the DB
func (*EndpointHandler) GitlabWebhook ¶
func (eh *EndpointHandler) GitlabWebhook(w http.ResponseWriter, r *http.Request)
GitlabWebhook gets data from the webhook and enters it into the DB
func (*EndpointHandler) LubdubHandler ¶
func (eh *EndpointHandler) LubdubHandler(w http.ResponseWriter, r *http.Request)
func (*EndpointHandler) OpenAPIHandler ¶
func (eh *EndpointHandler) OpenAPIHandler(cfg *config.Config) http.HandlerFunc
func (*EndpointHandler) TektonTaskRun ¶
func (eh *EndpointHandler) TektonTaskRun(w http.ResponseWriter, r *http.Request)
type GithubPayload ¶
type RepInfo ¶
type RepInfo *struct { ID string `json:"id"` Message string `json:"message"` Title string `json:"title"` Timestamp *time.Time `json:"timestamp"` URL string `json:"url"` Author struct { Name string `json:"name"` Email string `json:"email"` } `json:"author"` Added []string `json:"added"` Modified []string `json:"modified"` Removed []string `json:"removed"` }
Click to show internal directories.
Click to hide internal directories.