mocks

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 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 NodeCapabilitiesStore

type NodeCapabilitiesStore struct {
	mock.Mock
}

NodeCapabilitiesStore is an autogenerated mock type for the NodeCapabilitiesStore type

func NewNodeCapabilitiesStore

func NewNodeCapabilitiesStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *NodeCapabilitiesStore

NewNodeCapabilitiesStore creates a new instance of NodeCapabilitiesStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*NodeCapabilitiesStore) Get

func (_m *NodeCapabilitiesStore) Get(capName string) string

Get provides a mock function with given fields: capName

func (*NodeCapabilitiesStore) Load

func (_m *NodeCapabilitiesStore) Load() error

Load provides a mock function with given fields:

func (*NodeCapabilitiesStore) Save

func (_m *NodeCapabilitiesStore) Save() error

Save provides a mock function with given fields:

func (*NodeCapabilitiesStore) Set

func (_m *NodeCapabilitiesStore) Set(capName string, value string)

Set provides a mock function with given fields: capName, value

Jump to

Keyboard shortcuts

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