v1

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentRouter

func AgentRouter(g *echo.Group)

AgentRouter api/v1/agents/* router

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

func BranchExists(steps []v1.Step, resourceRef string, gitType enums.REPOSITORY_TYPE) bool

branchExists returns boolean for branch existence

func CompanyRouter

func CompanyRouter(g *echo.Group)

CompanyRouter api/v1/companies/* router

func GithubEventRouter

func GithubEventRouter(g *echo.Group)

GithubEventRouter api/v1/githubs event router

func NewAgentApi

func NewAgentApi(agentService service.Agent) api.Agent

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

func NewPipelineApi(pipelineService service.Pipeline) api.Pipeline

NewPipelineApi returns Pipeline type api

func NewRepositoryApi

func NewRepositoryApi(companyService service.Company, observerList []service.Observer) api.Repository

NewRepositoryApi returns Repository type api

func NewSearchApi

func NewSearchApi(searchService service.Search) api.Search

NewSearchApi returns search type api

func PipelineRouter

func PipelineRouter(g *echo.Group)

PipelineRouter api/v1/pipelines/* router

func RepositoryRouter

func RepositoryRouter(g *echo.Group)

RepositoryRouter api/v1/repositories/* router

func Router

func Router(g *echo.Group)

Router api/v1 base router

func SearchRouter

func SearchRouter(g *echo.Group)

SearchRouter api/v1/search/* router

func UrlFormatter

func UrlFormatter(url string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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