Documentation
¶
Overview ¶
Package dozzle implements the Dozzle Docker log viewer provider (health-only MVP).
Index ¶
Constants ¶
View Source
const ( ID = "dozzle" EndpointKey = "endpoint" UsernameKey = "username" PasswordKey = "password" TokenKey = "token" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dozzle ¶
type Dozzle struct {
// contains filtered or unexported fields
}
Dozzle is an HTTP client for Dozzle health/version endpoints.
func GetClient ¶
func GetClient() *Dozzle
GetClient builds a Dozzle client from vendors.dozzle config. Returns nil when endpoint is not configured.
func NewDozzle ¶
NewDozzle creates a Dozzle client with optional Basic or Bearer auth. Returns nil when endpoint is empty.
type VersionInfo ¶
type VersionInfo struct {
Version string `json:"version"`
}
VersionInfo holds Dozzle version text from /api/version.
Click to show internal directories.
Click to hide internal directories.