routing

package
v4.5.9+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package routing temporarily breaks circular dependencies within the

structure of the apiserver package

The apiserver package contains a mix of package content (used by external code) and refactored functionality from the *service folders. The refactored functionality of the *service folders causes import dependencies on the apiserver package.

Strictly speaking, the *service folders are an organizational element and their dependencies could be resolved via dot-import. Idiomatic Go guidelines point out that using a dot-import outside of testing scenarios is a sign that package structure needs to be reconsidered and should not be used outside of the *_test.go scenarios.

Creating this package is preferable to pushing all service-common code into a 'junk-drawer' package to resolve the circular dependency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAllRoutes

func RegisterAllRoutes(r *mux.Router)

RegisterAllRoutes adds all routes supported by the apiserver to the provided router

func RegisterBackrestSvcRoutes

func RegisterBackrestSvcRoutes(r *mux.Router)

RegisterBackrestSvcRoutes registers all routes from the Backrest Service

func RegisterCatSvcRoutes

func RegisterCatSvcRoutes(r *mux.Router)

RegisterCatSvcRoutes registers all routes from the Cat Service

func RegisterCloneSvcRoutes

func RegisterCloneSvcRoutes(r *mux.Router)

RegisterCloneSvcRoutes registers all routes from the Clone Service

func RegisterClusterSvcRoutes

func RegisterClusterSvcRoutes(r *mux.Router)

RegisterClusterSvcRoutes registers all routes from the Cluster Service

func RegisterConfigSvcRoutes

func RegisterConfigSvcRoutes(r *mux.Router)

RegisterConfigSvcRoutes registers all routes from the Config Service

func RegisterDfSvcRoutes

func RegisterDfSvcRoutes(r *mux.Router)

RegisterDfSvcRoutes registers all routes from the Df Service

func RegisterFailoverSvcRoutes

func RegisterFailoverSvcRoutes(r *mux.Router)

RegisterFailoverSvcRoutes registers all routes from the Failover Service

func RegisterLabelSvcRoutes

func RegisterLabelSvcRoutes(r *mux.Router)

RegisterLabelSvcRoutes registers all routes from the Label Service

func RegisterNamespaceSvcRoutes

func RegisterNamespaceSvcRoutes(r *mux.Router)

RegisterNamespaceSvcRoutes registers all routes from the Namespace Service

func RegisterPGAdminSvcRoutes

func RegisterPGAdminSvcRoutes(r *mux.Router)

RegisterPGAdminSvcRoutes registers all routes from the PGAdmin Service

func RegisterPGBouncerSvcRoutes

func RegisterPGBouncerSvcRoutes(r *mux.Router)

RegisterPGBouncerSvcRoutes registers all routes from the PGBouncer Service

func RegisterPGDumpSvcRoutes

func RegisterPGDumpSvcRoutes(r *mux.Router)

RegisterPGDumpSvcRoutes registers all routes from the PGDump Service

func RegisterPGORoleSvcRoutes

func RegisterPGORoleSvcRoutes(r *mux.Router)

RegisterPGORoleSvcRoutes registers all routes from the PGORole Service

func RegisterPGOUserSvcRoutes

func RegisterPGOUserSvcRoutes(r *mux.Router)

RegisterPGOUserSvcRoutes registers all routes from the PGOUser Service

func RegisterPVCSvcRoutes

func RegisterPVCSvcRoutes(r *mux.Router)

RegisterPVCSvcRoutes registers all routes from the PVC Service

func RegisterPolicySvcRoutes

func RegisterPolicySvcRoutes(r *mux.Router)

RegisterPolicySvcRoutes registers all routes from the Policy Service

func RegisterReloadSvcRoutes

func RegisterReloadSvcRoutes(r *mux.Router)

RegisterReloadSvcRoutes registers all routes from the Reload Service

func RegisterRestartSvcRoutes

func RegisterRestartSvcRoutes(r *mux.Router)

RegisterRestartSvcRoutes registers all routes from the Restart Service

func RegisterScheduleSvcRoutes

func RegisterScheduleSvcRoutes(r *mux.Router)

RegisterScheduleSvcRoutes registers all routes from the Schedule Service

func RegisterStatusSvcRoutes

func RegisterStatusSvcRoutes(r *mux.Router)

RegisterStatusSvcRoutes registers all routes from the Status Service

func RegisterUpgradeSvcRoutes

func RegisterUpgradeSvcRoutes(r *mux.Router)

RegisterUpgradeSvcRoutes registers all routes from the Upgrade Service

func RegisterUserSvcRoutes

func RegisterUserSvcRoutes(r *mux.Router)

RegisterUserSvcRoutes registers all routes from the User Service

func RegisterVersionSvcRoutes

func RegisterVersionSvcRoutes(r *mux.Router)

RegisterVersionSvcRoutes registers all routes from the Version Service

func RegisterWorkflowSvcRoutes

func RegisterWorkflowSvcRoutes(r *mux.Router)

RegisterWorkflowSvcRoutes registers all routes from the Workflow Service

Types

This section is empty.

Jump to

Keyboard shortcuts

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