mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks holds the generated doubles of the secret group's dependencies, for the methods' tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockVaults

type MockVaults struct {
	// contains filtered or unexported fields
}

MockVaults is a mock of Vaults interface.

func NewMockVaults

func NewMockVaults(ctrl *gomock.Controller) *MockVaults

NewMockVaults creates a new mock instance.

func (*MockVaults) EXPECT

func (m *MockVaults) EXPECT() *MockVaultsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVaults) Get

func (m *MockVaults) Get(name string) (vault.Vault, bool)

Get mocks base method.

func (*MockVaults) Names

func (m *MockVaults) Names() []string

Names mocks base method.

func (*MockVaults) Spec

func (m *MockVaults) Spec(name string) (vault.Spec, bool)

Spec mocks base method.

type MockVaultsMockRecorder

type MockVaultsMockRecorder struct {
	// contains filtered or unexported fields
}

MockVaultsMockRecorder is the mock recorder for MockVaults.

func (*MockVaultsMockRecorder) Get

func (mr *MockVaultsMockRecorder) Get(name any) *gomock.Call

Get indicates an expected call of Get.

func (*MockVaultsMockRecorder) Names

func (mr *MockVaultsMockRecorder) Names() *gomock.Call

Names indicates an expected call of Names.

func (*MockVaultsMockRecorder) Spec

func (mr *MockVaultsMockRecorder) Spec(name any) *gomock.Call

Spec indicates an expected call of Spec.

Jump to

Keyboard shortcuts

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