timedate1

package
v0.0.0-...-454a0ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 5 Imported by: 4

Documentation

Overview

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterfaceTimedate

type MockInterfaceTimedate struct {
	mock.Mock
}

func (*MockInterfaceTimedate) CanNTP

func (v *MockInterfaceTimedate) CanNTP() proxy.PropBool

func (*MockInterfaceTimedate) GoListTimezones

func (v *MockInterfaceTimedate) GoListTimezones(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceTimedate) GoSetLocalRTC

func (v *MockInterfaceTimedate) GoSetLocalRTC(flags dbus.Flags, ch chan *dbus.Call, arg0 bool, arg1 bool, arg2 bool) *dbus.Call

func (*MockInterfaceTimedate) GoSetNTP

func (v *MockInterfaceTimedate) GoSetNTP(flags dbus.Flags, ch chan *dbus.Call, arg0 bool, arg1 bool) *dbus.Call

func (*MockInterfaceTimedate) GoSetTime

func (v *MockInterfaceTimedate) GoSetTime(flags dbus.Flags, ch chan *dbus.Call, arg0 int64, arg1 bool, arg2 bool) *dbus.Call

func (*MockInterfaceTimedate) GoSetTimezone

func (v *MockInterfaceTimedate) GoSetTimezone(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 bool) *dbus.Call

func (*MockInterfaceTimedate) ListTimezones

func (v *MockInterfaceTimedate) ListTimezones(flags dbus.Flags) ([]string, error)

func (*MockInterfaceTimedate) LocalRTC

func (v *MockInterfaceTimedate) LocalRTC() proxy.PropBool

func (*MockInterfaceTimedate) NTP

func (*MockInterfaceTimedate) NTPSynchronized

func (v *MockInterfaceTimedate) NTPSynchronized() proxy.PropBool

func (*MockInterfaceTimedate) RTCTimeUSec

func (v *MockInterfaceTimedate) RTCTimeUSec() proxy.PropUint64

func (*MockInterfaceTimedate) SetLocalRTC

func (v *MockInterfaceTimedate) SetLocalRTC(flags dbus.Flags, arg0 bool, arg1 bool, arg2 bool) error

func (*MockInterfaceTimedate) SetNTP

func (v *MockInterfaceTimedate) SetNTP(flags dbus.Flags, arg0 bool, arg1 bool) error

func (*MockInterfaceTimedate) SetTime

func (v *MockInterfaceTimedate) SetTime(flags dbus.Flags, arg0 int64, arg1 bool, arg2 bool) error

func (*MockInterfaceTimedate) SetTimezone

func (v *MockInterfaceTimedate) SetTimezone(flags dbus.Flags, arg0 string, arg1 bool) error

func (*MockInterfaceTimedate) TimeUSec

func (v *MockInterfaceTimedate) TimeUSec() proxy.PropUint64

func (*MockInterfaceTimedate) Timezone

func (v *MockInterfaceTimedate) Timezone() proxy.PropString

type MockTimedate

type MockTimedate struct {
	MockInterfaceTimedate // interface org.freedesktop.timedate1
	proxy.MockObject
}

type Timedate

type Timedate interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewTimedate

func NewTimedate(conn *dbus.Conn) Timedate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL