agent

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: 6 Imported by: 1

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 Agent

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

func NewAgent

func NewAgent(conn *dbus.Conn, serviceName string, path dbus.ObjectPath) (Agent, error)

type MockAgent

type MockAgent struct {
	MockInterfaceAgent // interface org.deepin.dde.Lastore1.Agent
	proxy.MockObject
}

type MockInterfaceAgent

type MockInterfaceAgent struct {
	mock.Mock
}

func (*MockInterfaceAgent) CloseNotification

func (v *MockInterfaceAgent) CloseNotification(flags dbus.Flags, id uint32) error

func (*MockInterfaceAgent) GetManualProxy

func (v *MockInterfaceAgent) GetManualProxy(flags dbus.Flags) (map[string]string, error)

func (*MockInterfaceAgent) GoCloseNotification

func (v *MockInterfaceAgent) GoCloseNotification(flags dbus.Flags, ch chan *dbus.Call, id uint32) *dbus.Call

func (*MockInterfaceAgent) GoGetManualProxy

func (v *MockInterfaceAgent) GoGetManualProxy(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceAgent) GoReportLog

func (v *MockInterfaceAgent) GoReportLog(flags dbus.Flags, ch chan *dbus.Call, log string) *dbus.Call

func (*MockInterfaceAgent) GoSendNotify

func (v *MockInterfaceAgent) GoSendNotify(flags dbus.Flags, ch chan *dbus.Call, app_name string, replaces_id uint32, app_icon string, summary string, body string, actions []string, hints map[string]dbus.Variant, expire_timeout int32) *dbus.Call

func (*MockInterfaceAgent) ReportLog

func (v *MockInterfaceAgent) ReportLog(flags dbus.Flags, log string) error

func (*MockInterfaceAgent) SendNotify

func (v *MockInterfaceAgent) SendNotify(flags dbus.Flags, app_name string, replaces_id uint32, app_icon string, summary string, body string, actions []string, hints map[string]dbus.Variant, expire_timeout int32) (uint32, error)

Jump to

Keyboard shortcuts

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