Documentation ¶
Overview ¶
Package dbusapi contains the D-Bus API.
Index ¶
Constants ¶
View Source
const ( Path = "/com/telekom_mms/fw_id_agent/Agent" Interface = "com.telekom_mms.fw_id_agent.Agent" )
D-Bus object path and interface.
View Source
const ( PropertyConfig = "Config" PropertyTrustedNetwork = "TrustedNetwork" PropertyLoginState = "LoginState" PropertyLastKeepAliveAt = "LastKeepAliveAt" PropertyKerberosTGTStartTime = "KerberosTGTStartTime" PropertyKerberosTGTEndTime = "KerberosTGTEndTime" )
Properties.
View Source
const ( TrustedNetworkUnknown uint32 = iota TrustedNetworkNotTrusted TrustedNetworkTrusted )
Property "Trusted Network" states.
View Source
const ( LoginStateUnknown uint32 = iota LoginStateLoggedOut LoginStateLoggingIn LoginStateLoggedIn LoginStateLoggingOut )
Property "Login State" states.
View Source
const (
ConfigInvalid = ""
)
Property "Config" values.
View Source
const (
KerberosTGTEndTimeInvalid int64 = -1
)
Property "Kerberos TGT End Time" values.
View Source
const (
KerberosTGTStartTimeInvalid int64 = -1
)
Property "Kerberos TGT Start Time" values.
View Source
const (
LastKeepAliveAtInvalid int64 = -1
)
Property "Last Keep Alive At" values.
View Source
const (
MethodReLogin = Interface + ".ReLogin"
)
Methods.
View Source
const (
RequestReLogin = "ReLogin"
)
Request Names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBusService ¶
type DBusService interface { Start() error Stop() Requests() chan *Request SetProperty(name string, value any) }
DBusService is the D-Bus Service interface.
type Request ¶
type Request struct { Name string Parameters []any Results []any Error error // contains filtered or unexported fields }
Request is a D-Bus client request.
func NewRequest ¶
NewRequest returns a new Request.
Click to show internal directories.
Click to hide internal directories.