app

package
v0.0.0-...-56cd9bb Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectDeadBrunches

func DetectDeadBrunches(client client.GitlabClient, cfg *config.Config)

Types

type MRController

type MRController struct {
	Config      *config.Config
	Client      client.GitlabClient
	LdapService ldap.Service
}

func NewMRController

func NewMRController(config *config.Config, client client.GitlabClient, ldapService ldap.Service) *MRController

func (*MRController) HandleDead

func (c *MRController) HandleDead(w http.ResponseWriter, _ *http.Request)

func (*MRController) HandleDeadLetter

func (c *MRController) HandleDeadLetter(w http.ResponseWriter, _ *http.Request)

func (*MRController) HandleMR

func (c *MRController) HandleMR(w http.ResponseWriter, _ *http.Request)

func (*MRController) HandleMRApply

func (c *MRController) HandleMRApply(w http.ResponseWriter, _ *http.Request)

func (*MRController) HandleMRMerged

func (c *MRController) HandleMRMerged(w http.ResponseWriter, _ *http.Request)

func (*MRController) HandleMROpened

func (c *MRController) HandleMROpened(w http.ResponseWriter, _ *http.Request)

func (*MRController) Handler

func (c *MRController) Handler(w http.ResponseWriter, _ *http.Request)

type MrAction

type MrAction struct {
	Pid      int
	Mid      int
	Aid      int
	Award    string
	MergedBy string
	Path     string
	State    bool
	Name     string
	Author   string
}

func DetectMR

func DetectMR(ldapService ldap.Service, client client.GitlabClient, cfg *config.Config) []MrAction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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