server

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package server renders the servers screen: host stats history, Docker daemon info, and the server-level default settings.

templ: version: v0.3.1001

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(d Deps) *handler

NewHandler creates a new server handler.

Types

type Deps

type Deps struct {
	Store   repo.Store
	Runtime *runtime.Runtime
	Proxy   *proxy.Proxy
	Nodes   *nodes.Service
	Cluster *cluster.Cluster
	Mover   *volmove.Service
	BaseURL string
	DataDir string
	Version string
}

Deps is what the servers screens need. A struct rather than nine positional arguments, which is what it had grown to.

Jump to

Keyboard shortcuts

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