daemon

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSecretStore

type MockSecretStore struct {
	mock.Mock
}

MockSecretStore is an autogenerated mock type for the SecretStore type

func NewMockSecretStore

func NewMockSecretStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSecretStore

NewMockSecretStore creates a new instance of MockSecretStore. 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 (*MockSecretStore) EXPECT

func (*MockSecretStore) GetSecret

func (_m *MockSecretStore) GetSecret(_a0 string) (string, bool)

GetSecret provides a mock function with given fields: _a0

func (*MockSecretStore) SetSecret

func (_m *MockSecretStore) SetSecret(_a0 string, _a1 string)

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

type MockSecretStore_Expecter

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

func (*MockSecretStore_Expecter) GetSecret

func (_e *MockSecretStore_Expecter) GetSecret(_a0 interface{}) *MockSecretStore_GetSecret_Call

GetSecret is a helper method to define mock.On call

  • _a0 string

func (*MockSecretStore_Expecter) SetSecret

func (_e *MockSecretStore_Expecter) SetSecret(_a0 interface{}, _a1 interface{}) *MockSecretStore_SetSecret_Call

SetSecret is a helper method to define mock.On call

  • _a0 string
  • _a1 string

type MockSecretStore_GetSecret_Call

type MockSecretStore_GetSecret_Call struct {
	*mock.Call
}

MockSecretStore_GetSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecret'

func (*MockSecretStore_GetSecret_Call) Return

func (*MockSecretStore_GetSecret_Call) Run

func (*MockSecretStore_GetSecret_Call) RunAndReturn

type MockSecretStore_SetSecret_Call

type MockSecretStore_SetSecret_Call struct {
	*mock.Call
}

MockSecretStore_SetSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSecret'

func (*MockSecretStore_SetSecret_Call) Return

func (*MockSecretStore_SetSecret_Call) Run

func (*MockSecretStore_SetSecret_Call) RunAndReturn

Jump to

Keyboard shortcuts

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