mocks

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKekUseCase

type MockKekUseCase struct {
	mock.Mock
}

func NewMockKekUseCase

func NewMockKekUseCase(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockKekUseCase

func (*MockKekUseCase) Create

func (_mock *MockKekUseCase) Create(ctx context.Context, masterKeyChain *keyring.MasterKeyChain, alg keyring.Algorithm) error

Create provides a mock function for the type MockKekUseCase

func (*MockKekUseCase) EXPECT

func (*MockKekUseCase) Rotate

func (_mock *MockKekUseCase) Rotate(ctx context.Context, masterKeyChain *keyring.MasterKeyChain, alg keyring.Algorithm) error

Rotate provides a mock function for the type MockKekUseCase

type MockKekUseCase_Create_Call

type MockKekUseCase_Create_Call struct {
	*mock.Call
}

func (*MockKekUseCase_Create_Call) Return

func (*MockKekUseCase_Create_Call) Run

func (*MockKekUseCase_Create_Call) RunAndReturn

type MockKekUseCase_Expecter

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

func (*MockKekUseCase_Expecter) Create

func (_e *MockKekUseCase_Expecter) Create(ctx interface{}, masterKeyChain interface{}, alg interface{}) *MockKekUseCase_Create_Call

func (*MockKekUseCase_Expecter) Rotate

func (_e *MockKekUseCase_Expecter) Rotate(ctx interface{}, masterKeyChain interface{}, alg interface{}) *MockKekUseCase_Rotate_Call

type MockKekUseCase_Rotate_Call

type MockKekUseCase_Rotate_Call struct {
	*mock.Call
}

func (*MockKekUseCase_Rotate_Call) Return

func (*MockKekUseCase_Rotate_Call) Run

func (*MockKekUseCase_Rotate_Call) RunAndReturn

Jump to

Keyboard shortcuts

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