Documentation ¶
Index ¶
- func AgentRouter(g *echo.Group)
- func ApplicationRouter(g *echo.Group)
- func AuthenticationAndAuthorizationHandler(handler echo.HandlerFunc) echo.HandlerFunc
- func BitbucketEventRouter(g *echo.Group)
- func BranchExists(steps []v1.Step, resourceRef string, gitType enums.REPOSITORY_TYPE) bool
- func CompanyRouter(g *echo.Group)
- func GithubEventRouter(g *echo.Group)
- func NewAgentApi(agentService service.Agent) api.Agent
- func NewApplicationApi(companyService service.Company, observerList []service.Observer, ...) api.Application
- func NewBitbucketApi(gitService service.Git, companyService service.Company, ...) api.Git
- func NewCompanyApi(companyService service.Company, githubService service.Git, ...) api.Company
- func NewGithubApi(gitService service.Git, companyService service.Company, ...) api.Git
- func NewPipelineApi(pipelineService service.Pipeline) api.Pipeline
- func NewRepositoryApi(companyService service.Company, observerList []service.Observer) api.Repository
- func NewSearchApi(searchService service.Search) api.Search
- func PipelineRouter(g *echo.Group)
- func RepositoryRouter(g *echo.Group)
- func Router(g *echo.Group)
- func SearchRouter(g *echo.Group)
- func UrlFormatter(url string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplicationRouter ¶
func ApplicationRouter(g *echo.Group)
ApplicationRouter api/v1/applications/* router
func AuthenticationAndAuthorizationHandler ¶
func AuthenticationAndAuthorizationHandler(handler echo.HandlerFunc) echo.HandlerFunc
AuthenticationAndAuthorizationHandler handle user authentication and authorization here.
func BitbucketEventRouter ¶
func BitbucketEventRouter(g *echo.Group)
BitbucketEventRouter api/v1/bitbuckets event router
func BranchExists ¶
branchExists returns boolean for branch existence
func GithubEventRouter ¶
func GithubEventRouter(g *echo.Group)
GithubEventRouter api/v1/githubs event router
func NewAgentApi ¶
NewAgentApi returns Agent type api
func NewApplicationApi ¶
func NewApplicationApi(companyService service.Company, observerList []service.Observer, pipelineService service.Pipeline) api.Application
NewApplicationApi returns Application type api
func NewBitbucketApi ¶
func NewBitbucketApi(gitService service.Git, companyService service.Company, processInventoryEventService service.ProcessInventoryEvent, observerList []service.Observer) api.Git
NewBitbucketApi returns Git type api
func NewCompanyApi ¶
func NewCompanyApi(companyService service.Company, githubService service.Git, bitbucketService service.Git, observerList []service.Observer) api.Company
NewCompanyApi returns Company type api
func NewGithubApi ¶
func NewGithubApi(gitService service.Git, companyService service.Company, processInventoryEventService service.ProcessInventoryEvent, observerList []service.Observer) api.Git
NewGithubApi returns Git type api
func NewPipelineApi ¶
NewPipelineApi returns Pipeline type api
func NewRepositoryApi ¶
func NewRepositoryApi(companyService service.Company, observerList []service.Observer) api.Repository
NewRepositoryApi returns Repository type api
func NewSearchApi ¶
NewSearchApi returns search type api
func RepositoryRouter ¶
func RepositoryRouter(g *echo.Group)
RepositoryRouter api/v1/repositories/* router
func UrlFormatter ¶
Types ¶
This section is empty.