mocks

package
v0.0.0-...-869d168 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSServicer

type FSServicer struct {
	mock.Mock
}

func (*FSServicer) CloneBaseToJail

func (_m *FSServicer) CloneBaseToJail(_a0 string) error

CloneBaseToJail provides a mock function with given fields: _a0

func (*FSServicer) CreateBaseJailDataset

func (_m *FSServicer) CreateBaseJailDataset() error

CreateBaseJailDataset provides a mock function with given fields:

func (*FSServicer) CreateDataset

func (_m *FSServicer) CreateDataset() error

CreateDataset provides a mock function with given fields:

func (*FSServicer) CreateSnapshot

func (_m *FSServicer) CreateSnapshot() error

CreateSnapshot provides a mock function with given fields:

func (*FSServicer) RemoveDataset

func (_m *FSServicer) RemoveDataset(_a0 string) error

RemoveDataset provides a mock function with given fields: _a0

type JailServicer

type JailServicer struct {
	mock.Mock
}

func (*JailServicer) CreateJail

func (_m *JailServicer) CreateJail(_a0 string, _a1 bool) error

CreateJail provides a mock function with given fields: _a0, _a1

func (*JailServicer) InitializeSystem

func (_m *JailServicer) InitializeSystem() error

InitializeSystem provides a mock function with given fields:

func (*JailServicer) JailDetails

func (_m *JailServicer) JailDetails(_a0 int) (*jail.JLS, error)

JailDetails provides a mock function with given fields: _a0

func (*JailServicer) KillJail

func (_m *JailServicer) KillJail(_a0 int) error

KillJail provides a mock function with given fields: _a0

func (*JailServicer) RemoveJail

func (_m *JailServicer) RemoveJail(_a0 string) error

RemoveJail provides a mock function with given fields: _a0

type NetworkServicer

type NetworkServicer struct {
	mock.Mock
}

func (*NetworkServicer) Allocate

func (_m *NetworkServicer) Allocate(_a0 []byte) (string, error)

Allocate provides a mock function with given fields: _a0

func (*NetworkServicer) Pool

func (_m *NetworkServicer) Pool() map[string][]byte

Pool provides a mock function with given fields:

func (*NetworkServicer) UpdateIPState

func (_m *NetworkServicer) UpdateIPState(_a0 string, _a1 []byte) error

UpdateIPState provides a mock function with given fields: _a0, _a1

type RepoServicer

type RepoServicer struct {
	mock.Mock
}

func (*RepoServicer) CloneRepo

func (_m *RepoServicer) CloneRepo(jpath string, fname string) error

CloneRepo provides a mock function with given fields: jpath, fname

func (*RepoServicer) RemoveRepo

func (_m *RepoServicer) RemoveRepo(repo string) error

RemoveRepo provides a mock function with given fields: repo

type Wrapper

type Wrapper struct {
	mock.Mock
}

func (*Wrapper) CombinedOutput

func (_m *Wrapper) CombinedOutput(name string, args ...string) ([]byte, error)

CombinedOutput provides a mock function with given fields: name, args

func (*Wrapper) Output

func (_m *Wrapper) Output(name string, args ...string) ([]byte, error)

Output provides a mock function with given fields: name, args

Jump to

Keyboard shortcuts

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