Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouterHostname ¶
Types ¶
type Describe ¶
type Describe struct { Chassis string `json:"Chassis"` DefaultHostname string `json:"DefaultHostname"` Deployment string `json:"Deployment"` HardwareModel string `json:"HardwareModel"` HardwareVendor string `json:"HardwareVendor"` Hostname string `json:"Hostname"` HostnameSource string `json:"HostnameSource"` IconName string `json:"IconName"` KernelName string `json:"KernelName"` KernelRelease string `json:"KernelRelease"` KernelVersion string `json:"KernelVersion"` Location string `json:"Location"` OperatingSystemCPEName string `json:"OperatingSystemCPEName"` OperatingSystemHomeURL string `json:"OperatingSystemHomeURL"` OperatingSystemPrettyName string `json:"OperatingSystemPrettyName"` PrettyHostname string `json:"PrettyHostname"` ProductUUID string `json:"ProductUUID"` StaticHostname string `json:"StaticHostname"` }
type Hostname ¶
type SDConnection ¶
type SDConnection struct {
// contains filtered or unexported fields
}
func NewSDConnection ¶
func NewSDConnection() (*SDConnection, error)
func (*SDConnection) Close ¶
func (c *SDConnection) Close()
func (*SDConnection) DBusDescribe ¶
func (c *SDConnection) DBusDescribe(ctx context.Context) (*Describe, error)
func (*SDConnection) DBusDescribeFallback ¶
func (c *SDConnection) DBusDescribeFallback(ctx context.Context) (*Describe, error)
func (*SDConnection) DBusExecuteMethod ¶
Click to show internal directories.
Click to hide internal directories.