mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	mock.Mock
}

System is an autogenerated mock type for the System type

func (*System) HasUpdate

func (_m *System) HasUpdate() bool

HasUpdate provides a mock function with given fields:

func (*System) LatestVersion

func (_m *System) LatestVersion() string

LatestVersion provides a mock function with given fields:

func (*System) Restart

func (_m *System) Restart() error

Restart provides a mock function with given fields:

func (*System) Update

func (_m *System) Update() (string, error)

Update provides a mock function with given fields:

Jump to

Keyboard shortcuts

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