Documentation
¶
Overview ¶
Package routers Garm API.
The Garm API generated using go-swagger.
BasePath: /api/v1
Version: 1.0.0
License: Apache 2.0 https://www.apache.org/licenses/LICENSE-2.0
Consumes:
- application/json
Produces:
- application/json
Security:
- Bearer:
SecurityDefinitions:
Bearer:
type: apiKey
name: Authorization
in: header
description: >-
The token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIRouter ¶
func NewAPIRouter(han *controllers.APIController, logWriter io.Writer, authMiddleware, initMiddleware, instanceMiddleware auth.Middleware) *mux.Router
func WithMetricsRouter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.