routers

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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, authMiddleware, initMiddleware, instanceMiddleware auth.Middleware, manageWebhooks bool) *mux.Router

func WithDebugServer added in v0.1.2

func WithDebugServer(parentRouter *mux.Router) *mux.Router

func WithMetricsRouter

func WithMetricsRouter(parentRouter *mux.Router, disableAuth bool, metricsMiddlerware auth.Middleware) *mux.Router

Types

This section is empty.

Jump to

Keyboard shortcuts

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