Documentation ¶
Index ¶
- Variables
- func Init(ctx context.Context, path string) (*server.Server, *config.Server, func(), error)
- func ParseFlags(args []string) (bool, string, bool, bool)
- func RegisterRoutes(cfg *config.Server, api, ui bool, srv *server.Server)
- func RegisterRoutesWithGates(cfg *config.Server, api, ui bool, srv *server.Server, ...)
- func Start(srv *server.Server, ch chan os.Signal)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultGates = map[string]func(*sqlx.DB) web.Gate{ "build": buildrouter.Gate, "cron": cronrouter.Gate, "image": imagerouter.Gate, "key": keyrouter.Gate, "namespace": namespacerouter.Gate, "oauth2": oauth2router.Gate, "object": objectrouter.Gate, "provider": providerrouter.Gate, "variable": variablerouter.Gate, } )
Functions ¶
func RegisterRoutesWithGates ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.