controllers

package
v0.0.0-...-1d8067a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadJobArtefact

func DownloadJobArtefact(c *gin.Context)

func GetGitlabRepoUrl

func GetGitlabRepoUrl(event interface{}) string

func GithubAppConnections

func GithubAppConnections(c *gin.Context)

func SetJobArtefact

func SetJobArtefact(c *gin.Context)

Types

type DiggerEEController

type DiggerEEController struct {
	GithubClientProvider utils.GithubClientProvider
	GitlabProvider       utils.GitlabProvider
	CiBackendProvider    ci_backends.CiBackendProvider
}

func (DiggerEEController) GetSpec

func (d DiggerEEController) GetSpec(c *gin.Context)

func (DiggerEEController) GithubAppConnectionsConfirm

func (d DiggerEEController) GithubAppConnectionsConfirm(c *gin.Context)

GithubAppConnectionsConfirm handles the user coming back from creating their app A code query parameter is exchanged for this app's ID, key, and webhook_secret Implements https://developer.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/#implementing-the-github-app-manifest-flow

func (DiggerEEController) GithubAppConnectionsDelete

func (d DiggerEEController) GithubAppConnectionsDelete(c *gin.Context)

func (DiggerEEController) GitlabWebHookHandler

func (d DiggerEEController) GitlabWebHookHandler(c *gin.Context)

type WebController

type WebController struct {
	Config *config.Config
}

func (*WebController) AddPolicyPage

func (web *WebController) AddPolicyPage(c *gin.Context)

func (*WebController) PoliciesPage

func (web *WebController) PoliciesPage(c *gin.Context)

func (*WebController) PolicyDetailsPage

func (web *WebController) PolicyDetailsPage(c *gin.Context)

func (*WebController) PolicyDetailsUpdatePage

func (web *WebController) PolicyDetailsUpdatePage(c *gin.Context)

func (*WebController) ProjectDetailsPage

func (web *WebController) ProjectDetailsPage(c *gin.Context)

func (*WebController) ProjectDetailsUpdatePage

func (web *WebController) ProjectDetailsUpdatePage(c *gin.Context)

func (*WebController) ProjectsPage

func (web *WebController) ProjectsPage(c *gin.Context)

func (*WebController) ReposPage

func (web *WebController) ReposPage(c *gin.Context)

func (*WebController) RunDetailsPage

func (web *WebController) RunDetailsPage(c *gin.Context)

func (*WebController) RunsPage

func (web *WebController) RunsPage(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL