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 ¶
- func RegisterAllRoutes(r *mux.Router)
- func RegisterBackrestSvcRoutes(r *mux.Router)
- func RegisterCatSvcRoutes(r *mux.Router)
- func RegisterCloneSvcRoutes(r *mux.Router)
- func RegisterClusterSvcRoutes(r *mux.Router)
- func RegisterConfigSvcRoutes(r *mux.Router)
- func RegisterDfSvcRoutes(r *mux.Router)
- func RegisterFailoverSvcRoutes(r *mux.Router)
- func RegisterLabelSvcRoutes(r *mux.Router)
- func RegisterLoadSvcRoutes(r *mux.Router)
- func RegisterNamespaceSvcRoutes(r *mux.Router)
- func RegisterPGBouncerSvcRoutes(r *mux.Router)
- func RegisterPGDumpSvcRoutes(r *mux.Router)
- func RegisterPGORoleSvcRoutes(r *mux.Router)
- func RegisterPGOUserSvcRoutes(r *mux.Router)
- func RegisterPVCSvcRoutes(r *mux.Router)
- func RegisterPolicySvcRoutes(r *mux.Router)
- func RegisterReloadSvcRoutes(r *mux.Router)
- func RegisterScheduleSvcRoutes(r *mux.Router)
- func RegisterStatusSvcRoutes(r *mux.Router)
- func RegisterUpgradeSvcRoutes(r *mux.Router)
- func RegisterUserSvcRoutes(r *mux.Router)
- func RegisterVersionSvcRoutes(r *mux.Router)
- func RegisterWorkflowSvcRoutes(r *mux.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAllRoutes ¶
RegisterAllRoutes adds all routes supported by the apiserver to the provided router
func RegisterBackrestSvcRoutes ¶
RegisterBackrestSvcRoutes registers all routes from the Backrest Service
func RegisterCatSvcRoutes ¶
RegisterCatSvcRoutes registers all routes from the Cat Service
func RegisterCloneSvcRoutes ¶
RegisterCloneSvcRoutes registers all routes from the Clone Service
func RegisterClusterSvcRoutes ¶
RegisterClusterSvcRoutes registers all routes from the Cluster Service
func RegisterConfigSvcRoutes ¶
RegisterConfigSvcRoutes registers all routes from the Config Service
func RegisterDfSvcRoutes ¶
RegisterDfSvcRoutes registers all routes from the Df Service
func RegisterFailoverSvcRoutes ¶
RegisterFailoverSvcRoutes registers all routes from the Failover Service
func RegisterLabelSvcRoutes ¶
RegisterLabelSvcRoutes registers all routes from the Label Service
func RegisterLoadSvcRoutes ¶
RegisterLoadSvcRoutes registers all routes from the Load Service
func RegisterNamespaceSvcRoutes ¶
RegisterNamespaceSvcRoutes registers all routes from the Namespace Service
func RegisterPGBouncerSvcRoutes ¶
RegisterPGBouncerSvcRoutes registers all routes from the PGBouncer Service
func RegisterPGDumpSvcRoutes ¶
RegisterPGDumpSvcRoutes registers all routes from the PGDump Service
func RegisterPGORoleSvcRoutes ¶
RegisterPGORoleSvcRoutes registers all routes from the PGORole Service
func RegisterPGOUserSvcRoutes ¶
RegisterPGOUserSvcRoutes registers all routes from the PGOUser Service
func RegisterPVCSvcRoutes ¶
RegisterPVCSvcRoutes registers all routes from the PVC Service
func RegisterPolicySvcRoutes ¶
RegisterPolicySvcRoutes registers all routes from the Policy Service
func RegisterReloadSvcRoutes ¶
RegisterReloadSvcRoutes registers all routes from the Reload Service
func RegisterScheduleSvcRoutes ¶
RegisterScheduleSvcRoutes registers all routes from the Schedule Service
func RegisterStatusSvcRoutes ¶
RegisterStatusSvcRoutes registers all routes from the Status Service
func RegisterUpgradeSvcRoutes ¶
RegisterUpgradeSvcRoutes registers all routes from the Upgrade Service
func RegisterUserSvcRoutes ¶
RegisterUserSvcRoutes registers all routes from the User Service
func RegisterVersionSvcRoutes ¶
RegisterVersionSvcRoutes registers all routes from the Version Service
func RegisterWorkflowSvcRoutes ¶
RegisterWorkflowSvcRoutes registers all routes from the Workflow Service
Types ¶
This section is empty.