package system
import "github.com/docker/cli/components/engine/api/server/router/system"
Index ¶
Functions ¶
func NewRouter ¶
NewRouter initializes a new system router
Types ¶
type Backend ¶
type Backend interface { SystemInfo() (*types.Info, error) SystemVersion() types.Version SystemDiskUsage(ctx context.Context) (*types.DiskUsage, error) SubscribeToEvents(since, until time.Time, ef filters.Args) ([]events.Message, chan interface{}) UnsubscribeFromEvents(chan interface{}) AuthenticateToRegistry(ctx context.Context, authConfig *types.AuthConfig) (string, string, error) }
Backend is the methods that need to be implemented to provide system specific functionality.
Source Files ¶
backend.go system.go system_routes.go
- Version
- v17.12.1-ce-rc1+incompatible
- Published
- Feb 13, 2018
- Platform
- darwin/amd64
- Imports
- 18 packages
- Last checked
- 3 minutes ago –
Tools for package owners.