Documentation ¶
Overview ¶
Package admin implements administrative endpoints for satellite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errs.Class("admin")
Error is default error class for admin package.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `help:"admin peer http listening address" releaseDefault:"" devDefault:""` AuthorizationToken string `internal:"true"` }
Config defines configuration for debug server.
type DB ¶ added in v0.34.1
type DB interface { // ProjectAccounting returns database for storing information about project data use ProjectAccounting() accounting.ProjectAccounting // Console returns database for satellite console Console() console.DB }
DB is databases needed for the admin server.
Click to show internal directories.
Click to hide internal directories.