api

package
v0.0.0-...-93529e1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 28 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(dbpg database.PgDB, queueService queue.Service, registryService registry.Service, hubService hub.InfoService, encryptionService encryption.Service)

StartServer starts the REST API.

Types

type BadgeCount

type BadgeCount struct {
	Badges int `json:"badges"`
	Images int `json:"images"`
}

BadgeCount includes the number of badges installed, and how many images they are installed across

type BadgeCounts

type BadgeCounts struct {
	DockerHub BadgeCount `json:"docker_hub"`
}

BadgeCounts includes a BadgeCount for different sources (for now we only look at Docker Hub)

Jump to

Keyboard shortcuts

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