Documentation
¶
Index ¶
- func PollTopic(r *http.Request) (string, error)
- type AppListingRouter
- type AppListingRouterImpl
- type AppStoreRouter
- type AppStoreRouterImpl
- type ApplicationRouter
- type ApplicationRouterImpl
- type AttributesRouter
- type AttributesRouterImpl
- type BatchOperationRouter
- type BatchOperationRouterImpl
- type CDRouter
- type CDRouterImpl
- type ChartGroupRouter
- type ChartGroupRouterImpl
- type ChartRefRouter
- type ChartRefRouterImpl
- type ClusterAccountsRouter
- type ClusterAccountsRouterImpl
- type ClusterHelmConfigRouter
- type ClusterHelmConfigRouterImpl
- type ClusterRouter
- type ClusterRouterImpl
- type CommonRouter
- type CommonRouterImpl
- type ConfigMapRouter
- type ConfigMapRouterImpl
- type DashboardRouter
- type DashboardRouterImpl
- type DeploymentGroupRouter
- type DeploymentGroupRouterImpl
- type DockerRegRouter
- type DockerRegRouterImpl
- type EnvironmentRouter
- type EnvironmentRouterImpl
- type GitOpsConfigRouter
- type GitOpsConfigRouterImpl
- type GitProviderRouter
- type GitProviderRouterImpl
- type GrafanaRouter
- type GrafanaRouterImpl
- type HelmRouter
- type HelmRouterImpl
- type ImageScanRouter
- type ImageScanRouterImpl
- type MigrateDbRouter
- type MigrateDbRouterImpl
- type MuxRouter
- type NotificationRouter
- type NotificationRouterImpl
- type PipelineConfigRouter
- type PipelineConfigRouterImpl
- type PolicyRouter
- type PolicyRouterImpl
- type ProjectManagementRouter
- type ProjectManagementRouterImpl
- type ReleaseMetricsRouter
- type ReleaseMetricsRouterImpl
- type SsoLoginRouter
- type SsoLoginRouterImpl
- type TeamRouter
- type TeamRouterImpl
- type TelemetryRouter
- type TelemetryRouterImpl
- type TestSuitRouter
- type TestSuitRouterImpl
- type UserAuthRouter
- type UserAuthRouterImpl
- type UserRouter
- type UserRouterImpl
- type WebhookRouter
- type WebhookRouterImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppListingRouter ¶
type AppListingRouter interface {
// contains filtered or unexported methods
}
type AppListingRouterImpl ¶
type AppListingRouterImpl struct {
// contains filtered or unexported fields
}
func NewAppListingRouterImpl ¶
func NewAppListingRouterImpl(appListingRestHandler restHandler.AppListingRestHandler) *AppListingRouterImpl
type AppStoreRouter ¶
type AppStoreRouter interface {
// contains filtered or unexported methods
}
type AppStoreRouterImpl ¶
type AppStoreRouterImpl struct {
// contains filtered or unexported fields
}
func NewAppStoreRouterImpl ¶
func NewAppStoreRouterImpl(appStoreRestHandler restHandler.AppStoreRestHandler, restHandler restHandler.InstalledAppRestHandler, appStoreValuesRestHandler restHandler.AppStoreValuesRestHandler) *AppStoreRouterImpl
type ApplicationRouter ¶
type ApplicationRouter interface {
// contains filtered or unexported methods
}
type ApplicationRouterImpl ¶
type ApplicationRouterImpl struct {
// contains filtered or unexported fields
}
func NewApplicationRouterImpl ¶
func NewApplicationRouterImpl(handler restHandler.ApplicationRestHandler, logger *zap.SugaredLogger) *ApplicationRouterImpl
type AttributesRouter ¶
type AttributesRouter interface {
// contains filtered or unexported methods
}
type AttributesRouterImpl ¶
type AttributesRouterImpl struct {
// contains filtered or unexported fields
}
func NewAttributesRouterImpl ¶
func NewAttributesRouterImpl(attributesRestHandler restHandler.AttributesRestHandler) *AttributesRouterImpl
type BatchOperationRouter ¶
type BatchOperationRouter interface {
// contains filtered or unexported methods
}
type BatchOperationRouterImpl ¶
type BatchOperationRouterImpl struct {
// contains filtered or unexported fields
}
func NewBatchOperationRouterImpl ¶
func NewBatchOperationRouterImpl(handler restHandler.BatchOperationRestHandler, logger *zap.SugaredLogger) *BatchOperationRouterImpl
type CDRouterImpl ¶
type CDRouterImpl struct {
// contains filtered or unexported fields
}
func NewCDRouterImpl ¶
func NewCDRouterImpl(logger *zap.SugaredLogger, cdRestHandler restHandler.CDRestHandler) *CDRouterImpl
type ChartGroupRouter ¶
type ChartGroupRouter interface {
// contains filtered or unexported methods
}
type ChartGroupRouterImpl ¶
type ChartGroupRouterImpl struct {
ChartGroupRestHandler restHandler.ChartGroupRestHandler
}
func NewChartGroupRouterImpl ¶
func NewChartGroupRouterImpl(ChartGroupRestHandler restHandler.ChartGroupRestHandler) *ChartGroupRouterImpl
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 ClusterAccountsRouter ¶
type ClusterAccountsRouterImpl ¶
type ClusterAccountsRouterImpl struct {
// contains filtered or unexported fields
}
func NewClusterAccountsRouterImpl ¶
func NewClusterAccountsRouterImpl(clusterAccountsRestHandler restHandler.ClusterAccountsRestHandler) *ClusterAccountsRouterImpl
func (ClusterAccountsRouterImpl) InitClusterAccountsRouter ¶
func (impl ClusterAccountsRouterImpl) InitClusterAccountsRouter(clusterAccountsRouter *mux.Router)
type ClusterHelmConfigRouter ¶
type ClusterHelmConfigRouterImpl ¶
type ClusterHelmConfigRouterImpl struct {
// contains filtered or unexported fields
}
func NewClusterHelmConfigRouterImpl ¶
func NewClusterHelmConfigRouterImpl(handler restHandler.ClusterHelmConfigRestHandler) *ClusterHelmConfigRouterImpl
func (ClusterHelmConfigRouterImpl) InitClusterHelmConfigRouter ¶
func (impl ClusterHelmConfigRouterImpl) InitClusterHelmConfigRouter(clusterHelmConfigRouter *mux.Router)
type ClusterRouter ¶
type ClusterRouterImpl ¶
type ClusterRouterImpl struct {
// contains filtered or unexported fields
}
func NewClusterRouterImpl ¶
func NewClusterRouterImpl(handler restHandler.ClusterRestHandler) *ClusterRouterImpl
func (ClusterRouterImpl) InitClusterRouter ¶
func (impl ClusterRouterImpl) InitClusterRouter(clusterRouter *mux.Router)
type CommonRouter ¶
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 DashboardRouter ¶
type DashboardRouter interface {
// contains filtered or unexported methods
}
type DashboardRouterImpl ¶
type DashboardRouterImpl struct {
// contains filtered or unexported fields
}
func NewDashboardRouterImpl ¶
func NewDashboardRouterImpl(logger *zap.SugaredLogger, dashboardCfg *dashboard.Config) *DashboardRouterImpl
type DeploymentGroupRouter ¶
type DeploymentGroupRouter interface {
// contains filtered or unexported methods
}
type DeploymentGroupRouterImpl ¶
type DeploymentGroupRouterImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentGroupRouterImpl ¶
func NewDeploymentGroupRouterImpl(restHandler restHandler.DeploymentGroupRestHandler) *DeploymentGroupRouterImpl
type DockerRegRouter ¶
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 EnvironmentRouter ¶
type EnvironmentRouterImpl ¶
type EnvironmentRouterImpl struct {
// contains filtered or unexported fields
}
func NewEnvironmentRouterImpl ¶
func NewEnvironmentRouterImpl(environmentClusterMappingsRestHandler restHandler.EnvironmentRestHandler) *EnvironmentRouterImpl
func (EnvironmentRouterImpl) InitEnvironmentClusterMappingsRouter ¶
func (impl EnvironmentRouterImpl) InitEnvironmentClusterMappingsRouter(environmentClusterMappingsRouter *mux.Router)
type GitOpsConfigRouter ¶
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 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 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
type HelmRouter ¶
type HelmRouter interface {
// contains filtered or unexported methods
}
type HelmRouterImpl ¶
type HelmRouterImpl struct {
// contains filtered or unexported fields
}
func NewHelmRouter ¶
func NewHelmRouter(pipelineRestHandler restHandler.PipelineTriggerRestHandler, sseChannel *sse2.SSE) *HelmRouterImpl
type ImageScanRouter ¶
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 MigrateDbRouter ¶
type MigrateDbRouterImpl ¶
type MigrateDbRouterImpl struct {
// contains filtered or unexported fields
}
func NewMigrateDbRouterImpl ¶
func NewMigrateDbRouterImpl(migrateDbRestHandler restHandler.MigrateDbRestHandler) *MigrateDbRouterImpl
func (MigrateDbRouterImpl) InitMigrateDbRouter ¶
func (impl MigrateDbRouterImpl) InitMigrateDbRouter(migrateRouter *mux.Router)
type MuxRouter ¶
type MuxRouter struct { Router *mux.Router HelmRouter HelmRouter PipelineConfigRouter PipelineConfigRouter ClusterAccountsRouter ClusterAccountsRouter MigrateDbRouter MigrateDbRouter EnvironmentClusterMappingsRouter EnvironmentRouter AppListingRouter AppListingRouter ClusterRouter ClusterRouter ClusterHelmConfigRouter ClusterHelmConfigRouter WebHookRouter WebhookRouter UserAuthRouter UserAuthRouter ApplicationRouter ApplicationRouter CDRouter CDRouter ProjectManagementRouter ProjectManagementRouter GitProviderRouter GitProviderRouter DockerRegRouter DockerRegRouter NotificationRouter NotificationRouter TeamRouter TeamRouter UserRouter UserRouter ChartRefRouter ChartRefRouter ConfigMapRouter ConfigMapRouter AppStoreRouter AppStoreRouter ReleaseMetricsRouter ReleaseMetricsRouter // contains filtered or unexported fields }
func NewMuxRouter ¶
func NewMuxRouter(logger *zap.SugaredLogger, HelmRouter HelmRouter, PipelineConfigRouter PipelineConfigRouter, MigrateDbRouter MigrateDbRouter, ClusterAccountsRouter ClusterAccountsRouter, AppListingRouter AppListingRouter, EnvironmentClusterMappingsRouter EnvironmentRouter, ClusterRouter ClusterRouter, ClusterHelmConfigRouter ClusterHelmConfigRouter, WebHookRouter WebhookRouter, UserAuthRouter UserAuthRouter, ApplicationRouter ApplicationRouter, CDRouter CDRouter, ProjectManagementRouter ProjectManagementRouter, GitProviderRouter GitProviderRouter, DockerRegRouter DockerRegRouter, NotificationRouter NotificationRouter, TeamRouter TeamRouter, gitWebhookHandler pubsub.GitWebhookHandler, workflowUpdateHandler pubsub.WorkflowStatusUpdateHandler, appUpdateHandler pubsub.ApplicationStatusUpdateHandler, ciEventHandler pubsub.CiEventHandler, pubsubClient *pubsub2.PubSubClient, UserRouter UserRouter, cronBasedEventReceiver pubsub.CronBasedEventReceiver, ChartRefRouter ChartRefRouter, ConfigMapRouter ConfigMapRouter, AppStoreRouter AppStoreRouter, ReleaseMetricsRouter ReleaseMetricsRouter, deploymentGroupRouter DeploymentGroupRouter, batchOperationRouter BatchOperationRouter, chartGroupRouter ChartGroupRouter, testSuitRouter TestSuitRouter, imageScanRouter ImageScanRouter, policyRouter PolicyRouter, gitOpsConfigRouter GitOpsConfigRouter, dashboardRouter DashboardRouter, attributesRouter AttributesRouter, commonRouter CommonRouter, grafanaRouter GrafanaRouter, ssoLoginRouter SsoLoginRouter, telemetryRouter TelemetryRouter, telemetryWatcher telemetry.TelemetryEventClient) *MuxRouter
type NotificationRouter ¶
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 PipelineConfigRouter ¶
type PipelineConfigRouter interface {
// contains filtered or unexported methods
}
type PipelineConfigRouterImpl ¶
type PipelineConfigRouterImpl struct {
// contains filtered or unexported fields
}
func NewPipelineRouterImpl ¶
func NewPipelineRouterImpl(restHandler restHandler.PipelineConfigRestHandler, appWorkflowRestHandler restHandler.AppWorkflowRestHandler) *PipelineConfigRouterImpl
type PolicyRouter ¶
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 ProjectManagementRouter ¶
type ProjectManagementRouterImpl ¶
type ProjectManagementRouterImpl struct {
// contains filtered or unexported fields
}
func NewProjectManagementRouterImpl ¶
func NewProjectManagementRouterImpl(jiraRestHandler restHandler.JiraRestHandler) *ProjectManagementRouterImpl
func (ProjectManagementRouterImpl) InitProjectManagementRouter ¶
func (impl ProjectManagementRouterImpl) InitProjectManagementRouter(jiraRouter *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 SsoLoginRouter ¶ added in v0.2.13
type SsoLoginRouter interface {
// contains filtered or unexported methods
}
type SsoLoginRouterImpl ¶ added in v0.2.13
type SsoLoginRouterImpl struct {
// contains filtered or unexported fields
}
func NewSsoLoginRouterImpl ¶ added in v0.2.13
func NewSsoLoginRouterImpl(logger *zap.SugaredLogger, handler restHandler.SsoLoginRestHandler, cdCfg *argocdServer.Config, dexCfg *dex.Config, settings *settings.ArgoCDSettings, userService user.UserService) *SsoLoginRouterImpl
type TeamRouter ¶
type TeamRouterImpl ¶
type TeamRouterImpl struct {
// contains filtered or unexported fields
}
func NewTeamRouterImpl ¶
func NewTeamRouterImpl(teamRestHandler restHandler.TeamRestHandler) *TeamRouterImpl
func (TeamRouterImpl) InitTeamRouter ¶
func (impl TeamRouterImpl) InitTeamRouter(configRouter *mux.Router)
type TelemetryRouter ¶ added in v0.2.14
type TelemetryRouter interface {
// contains filtered or unexported methods
}
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
type TestSuitRouter ¶
type TestSuitRouterImpl ¶
type TestSuitRouterImpl struct {
// contains filtered or unexported fields
}
func NewTestSuitRouterImpl ¶
func NewTestSuitRouterImpl(testSuitRouter restHandler.TestSuitRestHandler) *TestSuitRouterImpl
func (TestSuitRouterImpl) InitTestSuitRouter ¶
func (impl TestSuitRouterImpl) InitTestSuitRouter(configRouter *mux.Router)
type UserAuthRouter ¶
type UserAuthRouter interface {
// contains filtered or unexported methods
}
type UserAuthRouterImpl ¶
type UserAuthRouterImpl struct {
// contains filtered or unexported fields
}
func NewUserAuthRouterImpl ¶
func NewUserAuthRouterImpl(logger *zap.SugaredLogger, userAuthHandler restHandler.UserAuthHandler, cdCfg *argocdServer.Config, dexCfg *dex.Config, settings *settings.ArgoCDSettings, userService user.UserService) *UserAuthRouterImpl
type UserRouter ¶
type UserRouter interface {
// contains filtered or unexported methods
}
type UserRouterImpl ¶
type UserRouterImpl struct {
// contains filtered or unexported fields
}
func NewUserRouterImpl ¶
func NewUserRouterImpl(userRestHandler restHandler.UserRestHandler, dexCfg *dex.Config, cdCfg *argocdServer.Config, settings *settings.ArgoCDSettings) *UserRouterImpl
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 restHandler.PipelineConfigRestHandler, externalCiRestHandler restHandler.ExternalCiRestHandler, pubSubClientRestHandler restHandler.PubSubClientRestHandler) *WebhookRouterImpl
Source Files
¶
- AppListingRouter.go
- AppStoreRouter.go
- ApplicationRouter.go
- AttributesRouter.go
- BatchOperationRouter.go
- CDRouter.go
- ChartGroupRouter.go
- ChartRefRouter.go
- ClusterAccountsRouter.go
- ClusterHelmConfigRouter.go
- ClusterRouter.go
- CommonRouter.go
- ConfigMapRouter.go
- DashboardRouter.go
- DeploymentGroupRouter.go
- DockerRegRouter.go
- EnvironmentRouter.go
- GitOpsConfigRouter.go
- GitProviderRouter.go
- GrafanaRouter.go
- HelmRouter.go
- ImageScanRouter.go
- K8sRouter.go
- MigrateDbRouter.go
- NotificationRouter.go
- PipelineConfigRouter.go
- PolicyRouter.go
- ProjectManagementRouter.go
- ReleaseMetricsRouter.go
- SsoLoginRouter.go
- TeamRouter.go
- TelemetryRouter.go
- TestSuites.go
- UserAuthRouter.go
- UserRouter.go
- WebhookRouter.go
- router.go
Click to show internal directories.
Click to hide internal directories.