router

package
v0.7.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 44 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributesRouter

type AttributesRouter interface {
	InitAttributesRouter(helmRouter *mux.Router)
}

type AttributesRouterImpl

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

func NewAttributesRouterImpl

func NewAttributesRouterImpl(attributesRestHandler restHandler.AttributesRestHandler) *AttributesRouterImpl

func (AttributesRouterImpl) InitAttributesRouter added in v0.6.10

func (router AttributesRouterImpl) InitAttributesRouter(attributesRouter *mux.Router)

type BatchOperationRouter

type BatchOperationRouter interface {
	// contains filtered or unexported methods
}

type BatchOperationRouterImpl

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

type BulkUpdateRouter added in v0.2.17

type BulkUpdateRouter interface {
	// contains filtered or unexported methods
}

type BulkUpdateRouterImpl added in v0.2.17

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

func NewBulkUpdateRouterImpl added in v0.2.17

func NewBulkUpdateRouterImpl(handler restHandler.BulkUpdateRestHandler) *BulkUpdateRouterImpl

type ChartRefRouter

type ChartRefRouter interface {
	// contains filtered or unexported methods
}

type ChartRefRouterImpl

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

func NewChartRefRouterImpl

func NewChartRefRouterImpl(chartRefRestHandler restHandler.ChartRefRestHandler) *ChartRefRouterImpl

type CommonRouter

type CommonRouter interface {
	InitCommonRouter(router *mux.Router)
}

type CommonRouterImpl

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

func NewCommonRouterImpl

func NewCommonRouterImpl(commonRestHandler restHandler.CommonRestHanlder) *CommonRouterImpl

func (CommonRouterImpl) InitCommonRouter

func (impl CommonRouterImpl) InitCommonRouter(router *mux.Router)

type ConfigMapRouter

type ConfigMapRouter interface {
	// contains filtered or unexported methods
}

type ConfigMapRouterImpl

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

func NewConfigMapRouterImpl

func NewConfigMapRouterImpl(restHandler restHandler.ConfigMapRestHandler) *ConfigMapRouterImpl

type CoreAppRouter added in v0.3.6

type CoreAppRouter interface {
	// contains filtered or unexported methods
}

type CoreAppRouterImpl added in v0.3.6

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

func NewCoreAppRouterImpl added in v0.3.6

func NewCoreAppRouterImpl(restHandler restHandler.CoreAppRestHandler) *CoreAppRouterImpl

type DeploymentGroupRouter

type DeploymentGroupRouter interface {
	// contains filtered or unexported methods
}

type DeploymentGroupRouterImpl

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

type DockerRegRouter

type DockerRegRouter interface {
	InitDockerRegRouter(gocdRouter *mux.Router)
}

type DockerRegRouterImpl

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

func NewDockerRegRouterImpl

func NewDockerRegRouterImpl(dockerRestHandler restHandler.DockerRegRestHandler) *DockerRegRouterImpl

func (DockerRegRouterImpl) InitDockerRegRouter

func (impl DockerRegRouterImpl) InitDockerRegRouter(configRouter *mux.Router)

type GitHostRouter added in v0.2.22

type GitHostRouter interface {
	InitGitHostRouter(gocdRouter *mux.Router)
}

type GitHostRouterImpl added in v0.2.22

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

func NewGitHostRouterImpl added in v0.2.22

func NewGitHostRouterImpl(gitHostRestHandler restHandler.GitHostRestHandler) *GitHostRouterImpl

func (GitHostRouterImpl) InitGitHostRouter added in v0.2.22

func (impl GitHostRouterImpl) InitGitHostRouter(configRouter *mux.Router)

type GitOpsConfigRouter

type GitOpsConfigRouter interface {
	InitGitOpsConfigRouter(gocdRouter *mux.Router)
}

type GitOpsConfigRouterImpl

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

func NewGitOpsConfigRouterImpl

func NewGitOpsConfigRouterImpl(gitOpsConfigRestHandler restHandler.GitOpsConfigRestHandler) *GitOpsConfigRouterImpl

func (GitOpsConfigRouterImpl) InitGitOpsConfigRouter

func (impl GitOpsConfigRouterImpl) InitGitOpsConfigRouter(configRouter *mux.Router)

type GitProviderRouter

type GitProviderRouter interface {
	InitGitProviderRouter(gocdRouter *mux.Router)
}

type GitProviderRouterImpl

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

func NewGitProviderRouterImpl

func NewGitProviderRouterImpl(gitRestHandler restHandler.GitProviderRestHandler) *GitProviderRouterImpl

func (GitProviderRouterImpl) InitGitProviderRouter

func (impl GitProviderRouterImpl) InitGitProviderRouter(configRouter *mux.Router)

type GlobalCMCSRouter added in v0.6.1

type GlobalCMCSRouter interface {
	// contains filtered or unexported methods
}

type GlobalCMCSRouterImpl added in v0.6.1

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

func NewGlobalCMCSRouterImpl added in v0.6.1

func NewGlobalCMCSRouterImpl(restHandler restHandler.GlobalCMCSRestHandler) *GlobalCMCSRouterImpl

type GlobalPluginRouter added in v0.4.2

type GlobalPluginRouter interface {
	// contains filtered or unexported methods
}

type GlobalPluginRouterImpl added in v0.4.2

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

func NewGlobalPluginRouter added in v0.4.2

func NewGlobalPluginRouter(logger *zap.SugaredLogger, globalPluginRestHandler restHandler.GlobalPluginRestHandler) *GlobalPluginRouterImpl

type GrafanaRouter

type GrafanaRouter interface {
	// contains filtered or unexported methods
}

type GrafanaRouterImpl

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

func NewGrafanaRouterImpl

func NewGrafanaRouterImpl(logger *zap.SugaredLogger, grafanaCfg *grafana.Config) (*GrafanaRouterImpl, error)

type ImageScanRouter

type ImageScanRouter interface {
	InitImageScanRouter(gocdRouter *mux.Router)
}

type ImageScanRouterImpl

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

func NewImageScanRouterImpl

func NewImageScanRouterImpl(imageScanRestHandler restHandler.ImageScanRestHandler) *ImageScanRouterImpl

func (ImageScanRouterImpl) InitImageScanRouter

func (impl ImageScanRouterImpl) InitImageScanRouter(configRouter *mux.Router)

type JobRouter added in v0.6.15

type JobRouter interface {
	InitJobRouter(router *mux.Router)
}

type JobRouterImpl added in v0.6.15

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

func NewJobRouterImpl added in v0.6.15

func NewJobRouterImpl(pipelineConfigRestHandler configure.PipelineConfigRestHandler, appListingRestHandler appList.AppListingRestHandler) *JobRouterImpl

func (JobRouterImpl) InitJobRouter added in v0.6.15

func (router JobRouterImpl) InitJobRouter(jobRouter *mux.Router)

type MuxRouter

type MuxRouter struct {
	Router                           *mux.Router
	JobRouter                        JobRouter
	EnvironmentClusterMappingsRouter cluster.EnvironmentRouter
	ClusterRouter                    cluster.ClusterRouter
	WebHookRouter                    WebhookRouter
	UserAuthRouter                   user.UserAuthRouter
	GitProviderRouter                GitProviderRouter
	GitHostRouter                    GitHostRouter
	DockerRegRouter                  DockerRegRouter
	NotificationRouter               NotificationRouter
	TeamRouter                       team.TeamRouter
	UserRouter                       user.UserRouter
	ChartRefRouter                   ChartRefRouter
	ConfigMapRouter                  ConfigMapRouter
	AppStoreRouter                   appStore.AppStoreRouter
	ChartRepositoryRouter            chartRepo.ChartRepositoryRouter
	ReleaseMetricsRouter             ReleaseMetricsRouter

	WebhookListenerRouter WebhookListenerRouter
	// contains filtered or unexported fields
}

func NewMuxRouter

func NewMuxRouter(logger *zap.SugaredLogger,
	EnvironmentClusterMappingsRouter cluster.EnvironmentRouter, ClusterRouter cluster.ClusterRouter,
	WebHookRouter WebhookRouter, UserAuthRouter user.UserAuthRouter,
	GitProviderRouter GitProviderRouter, GitHostRouter GitHostRouter,
	DockerRegRouter DockerRegRouter,
	NotificationRouter NotificationRouter,
	TeamRouter team.TeamRouter,
	UserRouter user.UserRouter,
	ChartRefRouter ChartRefRouter, ConfigMapRouter ConfigMapRouter, AppStoreRouter appStore.AppStoreRouter, chartRepositoryRouter chartRepo.ChartRepositoryRouter,
	ReleaseMetricsRouter ReleaseMetricsRouter, deploymentGroupRouter DeploymentGroupRouter, batchOperationRouter BatchOperationRouter,
	chartGroupRouter chartGroup.ChartGroupRouter, imageScanRouter ImageScanRouter,
	policyRouter PolicyRouter, gitOpsConfigRouter GitOpsConfigRouter, dashboardRouter dashboard.DashboardRouter, attributesRouter AttributesRouter, userAttributesRouter UserAttributesRouter,
	commonRouter CommonRouter, grafanaRouter GrafanaRouter, ssoLoginRouter sso.SsoLoginRouter, telemetryRouter TelemetryRouter, telemetryWatcher telemetry.TelemetryEventClient, bulkUpdateRouter BulkUpdateRouter, webhookListenerRouter WebhookListenerRouter, appRouter app.AppRouter,
	coreAppRouter CoreAppRouter, helmAppRouter client.HelmAppRouter, k8sApplicationRouter application.K8sApplicationRouter,
	pProfRouter PProfRouter, deploymentConfigRouter deployment.DeploymentConfigRouter, dashboardTelemetryRouter dashboardEvent.DashboardTelemetryRouter,
	commonDeploymentRouter appStoreDeployment.CommonDeploymentRouter, externalLinkRouter externalLink.ExternalLinkRouter,
	globalPluginRouter GlobalPluginRouter, moduleRouter module.ModuleRouter,
	serverRouter server.ServerRouter, apiTokenRouter apiToken.ApiTokenRouter,
	helmApplicationStatusUpdateHandler cron.CdApplicationStatusUpdateHandler, k8sCapacityRouter capacity.K8sCapacityRouter,
	webhookHelmRouter webhookHelm.WebhookHelmRouter, globalCMCSRouter GlobalCMCSRouter,
	userTerminalAccessRouter terminal2.UserTerminalAccessRouter,
	jobRouter JobRouter, ciStatusUpdateCron cron.CiStatusUpdateCron, resourceGroupingRouter ResourceGroupingRouter,
	rbacRoleRouter user.RbacRoleRouter,
	scopedVariableRouter ScopedVariableRouter,
	ciTriggerCron cron.CiTriggerCron,
	proxyRouter proxy.ProxyRouter,
	infraConfigRouter infraConfig.InfraConfigRouter,
	argoApplicationRouter argoApplication.ArgoApplicationRouter,
	devtronResourceRouter devtronResource.DevtronResourceRouter) *MuxRouter

func (MuxRouter) Init

func (r MuxRouter) Init()

type NotificationRouter

type NotificationRouter interface {
	InitNotificationRegRouter(gocdRouter *mux.Router)
}

type NotificationRouterImpl

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

func NewNotificationRouterImpl

func NewNotificationRouterImpl(notificationRestHandler restHandler.NotificationRestHandler) *NotificationRouterImpl

func (NotificationRouterImpl) InitNotificationRegRouter

func (impl NotificationRouterImpl) InitNotificationRegRouter(configRouter *mux.Router)

type PProfRouter added in v0.3.15

type PProfRouter interface {
	// contains filtered or unexported methods
}

type PProfRouterImpl added in v0.3.15

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

func NewPProfRouter added in v0.3.15

func NewPProfRouter(logger *zap.SugaredLogger,
	pprofRestHandler restHandler.PProfRestHandler) *PProfRouterImpl

type PolicyRouter

type PolicyRouter interface {
	InitPolicyRouter(configRouter *mux.Router)
}

type PolicyRouterImpl

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

func NewPolicyRouterImpl

func NewPolicyRouterImpl(policyRestHandler restHandler.PolicyRestHandler) *PolicyRouterImpl

func (PolicyRouterImpl) InitPolicyRouter

func (impl PolicyRouterImpl) InitPolicyRouter(configRouter *mux.Router)

type ReleaseMetricsRouter

type ReleaseMetricsRouter interface {
	// contains filtered or unexported methods
}

type ReleaseMetricsRouterImpl

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

func NewReleaseMetricsRouterImpl

func NewReleaseMetricsRouterImpl(logger *zap.SugaredLogger,
	releaseMetricsRestHandler restHandler.ReleaseMetricsRestHandler) *ReleaseMetricsRouterImpl

type ResourceGroupingRouter added in v0.6.24

type ResourceGroupingRouter interface {
	InitResourceGroupingRouter(router *mux.Router)
}

type ResourceGroupingRouterImpl added in v0.6.24

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

func NewResourceGroupingRouterImpl added in v0.6.24

func NewResourceGroupingRouterImpl(restHandler configure.PipelineConfigRestHandler,
	appWorkflowRestHandler workflow.AppWorkflowRestHandler,
	resourceGroupRestHandler restHandler.ResourceGroupRestHandler) *ResourceGroupingRouterImpl

func (ResourceGroupingRouterImpl) InitResourceGroupingRouter added in v0.6.24

func (router ResourceGroupingRouterImpl) InitResourceGroupingRouter(resourceGroupingRouter *mux.Router)

type ScopedVariableRouter added in v0.6.23

type ScopedVariableRouter interface {
	InitScopedVariableRouter(router *mux.Router)
}

type ScopedVariableRouterImpl added in v0.6.23

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

func NewScopedVariableRouterImpl added in v0.6.23

func NewScopedVariableRouterImpl(scopedVariableRestHandler scopedVariable.ScopedVariableRestHandler) *ScopedVariableRouterImpl

func (ScopedVariableRouterImpl) InitScopedVariableRouter added in v0.6.23

func (impl ScopedVariableRouterImpl) InitScopedVariableRouter(router *mux.Router)

type TelemetryRouter added in v0.2.14

type TelemetryRouter interface {
	InitTelemetryRouter(router *mux.Router)
}

type TelemetryRouterImpl added in v0.2.14

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

func NewTelemetryRouterImpl added in v0.2.14

func NewTelemetryRouterImpl(logger *zap.SugaredLogger, handler restHandler.TelemetryRestHandler) *TelemetryRouterImpl

func (TelemetryRouterImpl) InitTelemetryRouter added in v0.5.3

func (router TelemetryRouterImpl) InitTelemetryRouter(telemetryRouter *mux.Router)

type UserAttributesRouter added in v0.5.3

type UserAttributesRouter interface {
	InitUserAttributesRouter(helmRouter *mux.Router)
}

type UserAttributesRouterImpl added in v0.5.3

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

func NewUserAttributesRouterImpl added in v0.5.3

func NewUserAttributesRouterImpl(userAttributesRestHandler user.UserAttributesRestHandler) *UserAttributesRouterImpl

func (UserAttributesRouterImpl) InitUserAttributesRouter added in v0.5.3

func (router UserAttributesRouterImpl) InitUserAttributesRouter(attributesRouter *mux.Router)

type WebhookListenerRouter added in v0.2.22

type WebhookListenerRouter interface {
	InitWebhookListenerRouter(gocdRouter *mux.Router)
}

type WebhookListenerRouterImpl added in v0.2.22

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

func NewWebhookListenerRouterImpl added in v0.2.22

func NewWebhookListenerRouterImpl(webhookEventHandler restHandler.WebhookEventHandler) *WebhookListenerRouterImpl

func (WebhookListenerRouterImpl) InitWebhookListenerRouter added in v0.2.22

func (impl WebhookListenerRouterImpl) InitWebhookListenerRouter(configRouter *mux.Router)

type WebhookRouter

type WebhookRouter interface {
	// contains filtered or unexported methods
}

type WebhookRouterImpl

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

func NewWebhookRouterImpl

func NewWebhookRouterImpl(gitWebhookRestHandler restHandler.GitWebhookRestHandler,
	pipelineRestHandler configure.PipelineConfigRestHandler, externalCiRestHandler restHandler.ExternalCiRestHandler,
	pubSubClientRestHandler restHandler.PubSubClientRestHandler) *WebhookRouterImpl

Jump to

Keyboard shortcuts

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