Versions in this module Expand all Collapse all v1 v1.0.1 Jun 23, 2022 Changes in this version + func RegisterRouterHostname(router *mux.Router) + type Describe struct + Chassis string + DefaultHostname string + Deployment string + HardwareModel string + HardwareVendor string + Hostname string + HostnameSource string + IconName string + KernelName string + KernelRelease string + KernelVersion string + Location string + OperatingSystemCPEName string + OperatingSystemHomeURL string + OperatingSystemPrettyName string + PrettyHostname string + ProductUUID string + StaticHostname string + func MethodDescribe(ctx context.Context) (*Describe, error) + type Hostname struct + Hostname string + PrettyHostname string + StaticHostname string + TransientHostname string + func (h *Hostname) Update(ctx context.Context, w http.ResponseWriter) error + type SDConnection struct + func NewSDConnection() (*SDConnection, error) + func (c *SDConnection) Close() + func (c *SDConnection) DBusDescribe(ctx context.Context) (*Describe, error) + func (c *SDConnection) DBusDescribeFallback(ctx context.Context) (*Describe, error) + func (c *SDConnection) DBusExecuteMethod(ctx context.Context, method string, value string) error