mocks

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRollbacker

type MockRollbacker struct {
	mock.Mock
}

MockRollbacker is an autogenerated mock type for the Rollbacker type

func NewMockRollbacker

func NewMockRollbacker(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRollbacker

NewMockRollbacker creates a new instance of MockRollbacker. 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 (*MockRollbacker) AppendAction

func (_m *MockRollbacker) AppendAction(_a0 action.RollbackableAction)

AppendAction provides a mock function with given fields: _a0

func (*MockRollbacker) Backup

func (_m *MockRollbacker) Backup() error

Backup provides a mock function with given fields:

func (*MockRollbacker) Rollback

func (_m *MockRollbacker) Rollback()

Rollback 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