team

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const PROJECT_DELETE_SUCCESS_RESP = "Project deleted successfully."

Variables

Functions

This section is empty.

Types

type TeamRestHandler

type TeamRestHandler interface {
	SaveTeam(w http.ResponseWriter, r *http.Request)
	FetchAll(w http.ResponseWriter, r *http.Request)
	FetchOne(w http.ResponseWriter, r *http.Request)
	UpdateTeam(w http.ResponseWriter, r *http.Request)
	DeleteTeam(w http.ResponseWriter, r *http.Request)

	FetchForAutocomplete(w http.ResponseWriter, r *http.Request)
}

type TeamRestHandlerImpl

type TeamRestHandlerImpl struct {
	// contains filtered or unexported fields
}

func NewTeamRestHandlerImpl

func NewTeamRestHandlerImpl(logger *zap.SugaredLogger,
	teamService team.TeamService,
	userService user.UserService,
	enforcer casbin.Enforcer,
	validator *validator.Validate, userAuthService user.UserAuthService,
	deleteService delete2.DeleteService,
) *TeamRestHandlerImpl

func (TeamRestHandlerImpl) DeleteTeam added in v0.3.15

func (impl TeamRestHandlerImpl) DeleteTeam(w http.ResponseWriter, r *http.Request)

func (TeamRestHandlerImpl) FetchAll

func (impl TeamRestHandlerImpl) FetchAll(w http.ResponseWriter, r *http.Request)

func (TeamRestHandlerImpl) FetchForAutocomplete

func (impl TeamRestHandlerImpl) FetchForAutocomplete(w http.ResponseWriter, r *http.Request)

func (TeamRestHandlerImpl) FetchOne

func (impl TeamRestHandlerImpl) FetchOne(w http.ResponseWriter, r *http.Request)

func (TeamRestHandlerImpl) SaveTeam

func (impl TeamRestHandlerImpl) SaveTeam(w http.ResponseWriter, r *http.Request)

func (TeamRestHandlerImpl) UpdateTeam

func (impl TeamRestHandlerImpl) UpdateTeam(w http.ResponseWriter, r *http.Request)

type TeamRouter

type TeamRouter interface {
	InitTeamRouter(gocdRouter *mux.Router)
}

type TeamRouterImpl

type TeamRouterImpl struct {
	// contains filtered or unexported fields
}

func NewTeamRouterImpl

func NewTeamRouterImpl(teamRestHandler TeamRestHandler) *TeamRouterImpl

func (TeamRouterImpl) InitTeamRouter

func (impl TeamRouterImpl) InitTeamRouter(configRouter *mux.Router)

Jump to

Keyboard shortcuts

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