agent

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

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 com.deepin.lastore.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) 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) 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