Skip to content

io.systemd.Hostname

Property Value
Go package github.com/rossedman/sdvarlink/systemd/latest/hostname
Socket /run/systemd/io.systemd.Hostname
Available since systemd v257
Methods · types · errors 1 · 0 · 0

Methods

Describe

func (c *Client) Describe(ctx context.Context, in DescribeIn) (*DescribeOut, error)

Parameters

Field Type Description
allowInteractiveAuthentication ?bool Controls whether interactive authentication (via polkit) shall be allowed. If unspecified defaults to false.

Reply

Field Type Description
Hostname string
StaticHostname ?string
PrettyHostname ?string
DefaultHostname ?string
HostnameSource string
IconName ?string
Chassis ?string
ChassisAssetTag ?string An unique identifier of the system chassis.
Deployment ?string
Location ?string
KernelName string
KernelRelease string
KernelVersion string
OperatingSystemPrettyName ?string 'Pretty' name of the OS. This is the primary OS identifier that is suitable for presentation to the user. Typically includes a version too, but doesn't have to.
OperatingSystemFancyName ?string 'Fancy' name of the OS; may contain non-ASCII Unicode chars, as well as basic ANSI sequences. This is similar to 'OperatingSystemPrettyName', but is preferably used on terminals that support ANSI sequences and full Unicode.
OperatingSystemCPEName ?string
OperatingSystemHomeURL ?string
OperatingSystemSupportEnd ?int
OperatingSystemReleaseData ?[]string
OperatingSystemImageID ?string
OperatingSystemImageVersion ?string
MachineInformationData ?[]string
HardwareVendor ?string
HardwareModel ?string
HardwareSerial ?string
HardwareSKU ?string
HardwareVersion ?string
FirmwareVersion ?string
FirmwareVendor ?string
FirmwareDate ?int
MachineID string
BootID string
ProductUUID ?string
VSockCID ?int