Documentation ¶
Overview ¶
Package v1 implements routing paths. Each services in own file.
Index ¶
- Variables
- func FetchLatestRelease(c *gin.Context, repo string) (*github.Release, error)
- func LatestReleaseHandler(c *gin.Context)
- func NewRouter(handler *gin.Engine, l logger.Interface, t usecase.Usecases, ...)
- func RepositoryError(status string) error
- type CIRAConfigCountResponse
- type DeviceCountResponse
- type DeviceStatResponse
- type DomainCountResponse
- type IEEE8021xConfigCountResponse
- type OData
- type ProfileCountResponse
- type WirelessConfigRoutes
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrGithub = consoleerrors.CreateConsoleError("LatestReleaseHandler") ErrFailedToFetch = errors.New("repositoryError") )
View Source
var Config *config.Config
Functions ¶
func FetchLatestRelease ¶
FetchLatestRelease fetches the latest release information from GitHub API
func LatestReleaseHandler ¶
LatestReleaseHandler is the Gin handler function to check for the latest release
func NewRouter ¶
NewRouter -. Swagger spec: @title Console API for Device Management Toolkit @description Provides a single pane of glass for managing devices with Intel® Active Management Technology and other device technologies @version 1.0 @host localhost:8181 @BasePath /v1
func RepositoryError ¶
Types ¶
type CIRAConfigCountResponse ¶
type CIRAConfigCountResponse struct { Count int `json:"totalCount"` Data []dto.CIRAConfig `json:"data"` }
type DeviceCountResponse ¶
type DeviceStatResponse ¶
type DomainCountResponse ¶
type IEEE8021xConfigCountResponse ¶
type IEEE8021xConfigCountResponse struct { Count int `json:"totalCount"` Data []dto.IEEE8021xConfig `json:"data"` }
type ProfileCountResponse ¶
type WirelessConfigRoutes ¶
type WirelessConfigRoutes struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.