Documentation ¶
Index ¶
- type Routing
- func (r *Routing) DeleteProjectRoutes(project string)
- func (r *Routing) HandleRoutes(modules modulesInterface) http.HandlerFunc
- func (r *Routing) SetCachingModule(c cachingInterface)
- func (r *Routing) SetGlobalConfig(globalConfig *config.GlobalRoutesConfig)
- func (r *Routing) SetProjectRoutes(project string, routesConfig config.IngressRoutes) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Routing ¶
type Routing struct {
// contains filtered or unexported fields
}
Routing manages the routing functionality of space cloud
func (*Routing) DeleteProjectRoutes ¶
DeleteProjectRoutes deletes a project's routes from the global list or routes
func (*Routing) HandleRoutes ¶
func (r *Routing) HandleRoutes(modules modulesInterface) http.HandlerFunc
HandleRoutes handles incoming http requests and routes them according to the configured rules.
func (*Routing) SetCachingModule ¶
func (r *Routing) SetCachingModule(c cachingInterface)
SetCachingModule sets caching module
func (*Routing) SetGlobalConfig ¶
func (r *Routing) SetGlobalConfig(globalConfig *config.GlobalRoutesConfig)
SetGlobalConfig sets the project level config of the routing module
func (*Routing) SetProjectRoutes ¶
func (r *Routing) SetProjectRoutes(project string, routesConfig config.IngressRoutes) error
SetProjectRoutes adds a project's routes to the global list of routes
Source Files ¶
Click to show internal directories.
Click to hide internal directories.