Documentation ¶
Index ¶
- func ClientGetType() gobject.Type
- func DeviceGetType() gobject.Type
- func EnumeratorGetType() gobject.Type
- type Client
- func (this0 *Client) GetStaticType() gobject.Type
- func (this0 *Client) InheritedFromGUdevClient() *C.GUdevClient
- func (this0 *Client) QueryByDeviceFile(device_file0 string) *Device
- func (this0 *Client) QueryByDeviceNumber(type0 DeviceType, number0 uint64) *Device
- func (this0 *Client) QueryBySubsystem(subsystem0 string) []*Device
- func (this0 *Client) QueryBySubsystemAndName(subsystem0 string, name0 string) *Device
- func (this0 *Client) QueryBySysfsPath(sysfs_path0 string) *Device
- type ClientLike
- type Device
- func (this0 *Device) GetAction() string
- func (this0 *Device) GetDeviceFile() string
- func (this0 *Device) GetDeviceFileSymlinks() []string
- func (this0 *Device) GetDeviceNumber() uint64
- func (this0 *Device) GetDeviceType() DeviceType
- func (this0 *Device) GetDevtype() string
- func (this0 *Device) GetDriver() string
- func (this0 *Device) GetIsInitialized() bool
- func (this0 *Device) GetName() string
- func (this0 *Device) GetNumber() string
- func (this0 *Device) GetParent() *Device
- func (this0 *Device) GetParentWithSubsystem(subsystem0 string, devtype0 string) *Device
- func (this0 *Device) GetProperty(key0 string) string
- func (this0 *Device) GetPropertyAsBoolean(key0 string) bool
- func (this0 *Device) GetPropertyAsDouble(key0 string) float64
- func (this0 *Device) GetPropertyAsInt(key0 string) int32
- func (this0 *Device) GetPropertyAsStrv(key0 string) []string
- func (this0 *Device) GetPropertyAsUint64(key0 string) uint64
- func (this0 *Device) GetPropertyKeys() []string
- func (this0 *Device) GetSeqnum() uint64
- func (this0 *Device) GetStaticType() gobject.Type
- func (this0 *Device) GetSubsystem() string
- func (this0 *Device) GetSysfsAttr(name0 string) string
- func (this0 *Device) GetSysfsAttrAsBoolean(name0 string) bool
- func (this0 *Device) GetSysfsAttrAsDouble(name0 string) float64
- func (this0 *Device) GetSysfsAttrAsInt(name0 string) int32
- func (this0 *Device) GetSysfsAttrAsStrv(name0 string) []string
- func (this0 *Device) GetSysfsAttrAsUint64(name0 string) uint64
- func (this0 *Device) GetSysfsAttrKeys() []string
- func (this0 *Device) GetSysfsPath() string
- func (this0 *Device) GetTags() []string
- func (this0 *Device) GetUsecSinceInitialized() uint64
- func (this0 *Device) HasProperty(key0 string) bool
- func (this0 *Device) HasSysfsAttr(key0 string) bool
- func (this0 *Device) InheritedFromGUdevDevice() *C.GUdevDevice
- type DeviceLike
- type DeviceType
- type Enumerator
- func (this0 *Enumerator) AddMatchIsInitialized() *Enumerator
- func (this0 *Enumerator) AddMatchName(name0 string) *Enumerator
- func (this0 *Enumerator) AddMatchProperty(name0 string, value0 string) *Enumerator
- func (this0 *Enumerator) AddMatchSubsystem(subsystem0 string) *Enumerator
- func (this0 *Enumerator) AddMatchSysfsAttr(name0 string, value0 string) *Enumerator
- func (this0 *Enumerator) AddMatchTag(tag0 string) *Enumerator
- func (this0 *Enumerator) AddNomatchSubsystem(subsystem0 string) *Enumerator
- func (this0 *Enumerator) AddNomatchSysfsAttr(name0 string, value0 string) *Enumerator
- func (this0 *Enumerator) AddSysfsPath(sysfs_path0 string) *Enumerator
- func (this0 *Enumerator) Execute() []*Device
- func (this0 *Enumerator) GetStaticType() gobject.Type
- func (this0 *Enumerator) InheritedFromGUdevEnumerator() *C.GUdevEnumerator
- type EnumeratorLike
- type GError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientGetType ¶
func ClientGetType() gobject.Type
func DeviceGetType ¶
func DeviceGetType() gobject.Type
func EnumeratorGetType ¶
func EnumeratorGetType() gobject.Type
Types ¶
type Client ¶
type Client struct {
gobject.Object
}
func (*Client) GetStaticType ¶
func (this0 *Client) GetStaticType() gobject.Type
func (*Client) InheritedFromGUdevClient ¶
func (this0 *Client) InheritedFromGUdevClient() *C.GUdevClient
func (*Client) QueryByDeviceFile ¶
func (*Client) QueryByDeviceNumber ¶
func (this0 *Client) QueryByDeviceNumber(type0 DeviceType, number0 uint64) *Device
func (*Client) QueryBySubsystem ¶
func (*Client) QueryBySubsystemAndName ¶
func (*Client) QueryBySysfsPath ¶
type ClientLike ¶
type ClientLike interface {
gobject.ObjectLike
InheritedFromGUdevClient() *C.GUdevClient
}
type Device ¶
type Device struct {
gobject.Object
}
func (*Device) GetDeviceFile ¶
func (*Device) GetDeviceFileSymlinks ¶
func (*Device) GetDeviceNumber ¶
func (*Device) GetDeviceType ¶
func (this0 *Device) GetDeviceType() DeviceType
func (*Device) GetDevtype ¶
func (*Device) GetIsInitialized ¶
func (*Device) GetParentWithSubsystem ¶
func (*Device) GetProperty ¶
func (*Device) GetPropertyAsBoolean ¶
func (*Device) GetPropertyAsDouble ¶
func (*Device) GetPropertyAsInt ¶
func (*Device) GetPropertyAsStrv ¶
func (*Device) GetPropertyAsUint64 ¶
func (*Device) GetPropertyKeys ¶
func (*Device) GetStaticType ¶
func (this0 *Device) GetStaticType() gobject.Type
func (*Device) GetSubsystem ¶
func (*Device) GetSysfsAttr ¶
func (*Device) GetSysfsAttrAsBoolean ¶
func (*Device) GetSysfsAttrAsDouble ¶
func (*Device) GetSysfsAttrAsInt ¶
func (*Device) GetSysfsAttrAsStrv ¶
func (*Device) GetSysfsAttrAsUint64 ¶
func (*Device) GetSysfsAttrKeys ¶
func (*Device) GetSysfsPath ¶
func (*Device) GetUsecSinceInitialized ¶
func (*Device) HasProperty ¶
func (*Device) HasSysfsAttr ¶
func (*Device) InheritedFromGUdevDevice ¶
func (this0 *Device) InheritedFromGUdevDevice() *C.GUdevDevice
type DeviceLike ¶
type DeviceLike interface {
gobject.ObjectLike
InheritedFromGUdevDevice() *C.GUdevDevice
}
type DeviceType ¶
const ( DeviceTypeNone DeviceType = 0 DeviceTypeBlock DeviceType = 98 DeviceTypeChar DeviceType = 99 )
type Enumerator ¶
type Enumerator struct {
gobject.Object
}
func NewEnumerator ¶
func NewEnumerator(client0 ClientLike) *Enumerator
func ToEnumerator ¶
func ToEnumerator(objlike gobject.ObjectLike) *Enumerator
func (*Enumerator) AddMatchIsInitialized ¶
func (this0 *Enumerator) AddMatchIsInitialized() *Enumerator
func (*Enumerator) AddMatchName ¶
func (this0 *Enumerator) AddMatchName(name0 string) *Enumerator
func (*Enumerator) AddMatchProperty ¶
func (this0 *Enumerator) AddMatchProperty(name0 string, value0 string) *Enumerator
func (*Enumerator) AddMatchSubsystem ¶
func (this0 *Enumerator) AddMatchSubsystem(subsystem0 string) *Enumerator
func (*Enumerator) AddMatchSysfsAttr ¶
func (this0 *Enumerator) AddMatchSysfsAttr(name0 string, value0 string) *Enumerator
func (*Enumerator) AddMatchTag ¶
func (this0 *Enumerator) AddMatchTag(tag0 string) *Enumerator
func (*Enumerator) AddNomatchSubsystem ¶
func (this0 *Enumerator) AddNomatchSubsystem(subsystem0 string) *Enumerator
func (*Enumerator) AddNomatchSysfsAttr ¶
func (this0 *Enumerator) AddNomatchSysfsAttr(name0 string, value0 string) *Enumerator
func (*Enumerator) AddSysfsPath ¶
func (this0 *Enumerator) AddSysfsPath(sysfs_path0 string) *Enumerator
func (*Enumerator) Execute ¶
func (this0 *Enumerator) Execute() []*Device
func (*Enumerator) GetStaticType ¶
func (this0 *Enumerator) GetStaticType() gobject.Type
func (*Enumerator) InheritedFromGUdevEnumerator ¶
func (this0 *Enumerator) InheritedFromGUdevEnumerator() *C.GUdevEnumerator
type EnumeratorLike ¶
type EnumeratorLike interface {
gobject.ObjectLike
InheritedFromGUdevEnumerator() *C.GUdevEnumerator
}
Click to show internal directories.
Click to hide internal directories.