mocks

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthsStore

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

MockAuthsStore is a mock of AuthsStore interface.

func NewMockAuthsStore

func NewMockAuthsStore(ctrl *gomock.Controller) *MockAuthsStore

NewMockAuthsStore creates a new mock instance.

func (*MockAuthsStore) AddValueForAuth

func (m *MockAuthsStore) AddValueForAuth(ctx context.Context, name, description, value string) (*store.ValueForAuth, error)

AddValueForAuth mocks base method.

func (*MockAuthsStore) DeleteValueForAuth

func (m *MockAuthsStore) DeleteValueForAuth(ctx context.Context, id int64) (*store.ValueForAuth, error)

DeleteValueForAuth mocks base method.

func (*MockAuthsStore) EXPECT

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

func (*MockAuthsStore) GetLastUsedAuthByName

func (m *MockAuthsStore) GetLastUsedAuthByName(ctx context.Context, name string) (*store.ValueForAuth, error)

GetLastUsedAuthByName mocks base method.

func (*MockAuthsStore) GetValuesForAuth

func (m *MockAuthsStore) GetValuesForAuth(ctx context.Context, name string) ([]*store.ValueForAuth, error)

GetValuesForAuth mocks base method.

func (*MockAuthsStore) UpdateAuthLastUsedAtToNow

func (m *MockAuthsStore) UpdateAuthLastUsedAtToNow(ctx context.Context, id int64) error

UpdateAuthLastUsedAtToNow mocks base method.

type MockAuthsStoreMockRecorder

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

MockAuthsStoreMockRecorder is the mock recorder for MockAuthsStore.

func (*MockAuthsStoreMockRecorder) AddValueForAuth

func (mr *MockAuthsStoreMockRecorder) AddValueForAuth(ctx, name, description, value any) *gomock.Call

AddValueForAuth indicates an expected call of AddValueForAuth.

func (*MockAuthsStoreMockRecorder) DeleteValueForAuth

func (mr *MockAuthsStoreMockRecorder) DeleteValueForAuth(ctx, id any) *gomock.Call

DeleteValueForAuth indicates an expected call of DeleteValueForAuth.

func (*MockAuthsStoreMockRecorder) GetLastUsedAuthByName

func (mr *MockAuthsStoreMockRecorder) GetLastUsedAuthByName(ctx, name any) *gomock.Call

GetLastUsedAuthByName indicates an expected call of GetLastUsedAuthByName.

func (*MockAuthsStoreMockRecorder) GetValuesForAuth

func (mr *MockAuthsStoreMockRecorder) GetValuesForAuth(ctx, name any) *gomock.Call

GetValuesForAuth indicates an expected call of GetValuesForAuth.

func (*MockAuthsStoreMockRecorder) UpdateAuthLastUsedAtToNow

func (mr *MockAuthsStoreMockRecorder) UpdateAuthLastUsedAtToNow(ctx, id any) *gomock.Call

UpdateAuthLastUsedAtToNow indicates an expected call of UpdateAuthLastUsedAtToNow.

type MockGlobalsStore

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

MockGlobalsStore is a mock of GlobalsStore interface.

func NewMockGlobalsStore

func NewMockGlobalsStore(ctrl *gomock.Controller) *MockGlobalsStore

NewMockGlobalsStore creates a new mock instance.

func (*MockGlobalsStore) AddValueForGlobal

func (m *MockGlobalsStore) AddValueForGlobal(ctx context.Context, name, description, value string) (*store.ValueForGlobal, error)

AddValueForGlobal mocks base method.

func (*MockGlobalsStore) DeleteValueForGlobal

func (m *MockGlobalsStore) DeleteValueForGlobal(ctx context.Context, id int64) (*store.ValueForGlobal, error)

DeleteValueForGlobal mocks base method.

func (*MockGlobalsStore) EXPECT

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

func (*MockGlobalsStore) GetLastUsedGlobalByName

func (m *MockGlobalsStore) GetLastUsedGlobalByName(ctx context.Context, name string) (*store.ValueForGlobal, error)

GetLastUsedGlobalByName mocks base method.

func (*MockGlobalsStore) GetValuesForGlobal

func (m *MockGlobalsStore) GetValuesForGlobal(ctx context.Context, name string) ([]*store.ValueForGlobal, error)

GetValuesForGlobal mocks base method.

func (*MockGlobalsStore) UpdateGlobalLastUsedAtToNow

func (m *MockGlobalsStore) UpdateGlobalLastUsedAtToNow(ctx context.Context, id int64) error

UpdateGlobalLastUsedAtToNow mocks base method.

type MockGlobalsStoreMockRecorder

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

MockGlobalsStoreMockRecorder is the mock recorder for MockGlobalsStore.

func (*MockGlobalsStoreMockRecorder) AddValueForGlobal

func (mr *MockGlobalsStoreMockRecorder) AddValueForGlobal(ctx, name, description, value any) *gomock.Call

AddValueForGlobal indicates an expected call of AddValueForGlobal.

func (*MockGlobalsStoreMockRecorder) DeleteValueForGlobal

func (mr *MockGlobalsStoreMockRecorder) DeleteValueForGlobal(ctx, id any) *gomock.Call

DeleteValueForGlobal indicates an expected call of DeleteValueForGlobal.

func (*MockGlobalsStoreMockRecorder) GetLastUsedGlobalByName

func (mr *MockGlobalsStoreMockRecorder) GetLastUsedGlobalByName(ctx, name any) *gomock.Call

GetLastUsedGlobalByName indicates an expected call of GetLastUsedGlobalByName.

func (*MockGlobalsStoreMockRecorder) GetValuesForGlobal

func (mr *MockGlobalsStoreMockRecorder) GetValuesForGlobal(ctx, name any) *gomock.Call

GetValuesForGlobal indicates an expected call of GetValuesForGlobal.

func (*MockGlobalsStoreMockRecorder) UpdateGlobalLastUsedAtToNow

func (mr *MockGlobalsStoreMockRecorder) UpdateGlobalLastUsedAtToNow(ctx, id any) *gomock.Call

UpdateGlobalLastUsedAtToNow indicates an expected call of UpdateGlobalLastUsedAtToNow.

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddValueForAuth

func (m *MockStore) AddValueForAuth(ctx context.Context, name, description, value string) (*store.ValueForAuth, error)

AddValueForAuth mocks base method.

func (*MockStore) AddValueForGlobal

func (m *MockStore) AddValueForGlobal(ctx context.Context, name, description, value string) (*store.ValueForGlobal, error)

AddValueForGlobal mocks base method.

func (*MockStore) DeleteValueForAuth

func (m *MockStore) DeleteValueForAuth(ctx context.Context, id int64) (*store.ValueForAuth, error)

DeleteValueForAuth mocks base method.

func (*MockStore) DeleteValueForGlobal

func (m *MockStore) DeleteValueForGlobal(ctx context.Context, id int64) (*store.ValueForGlobal, error)

DeleteValueForGlobal mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetLastUsedAuthByName

func (m *MockStore) GetLastUsedAuthByName(ctx context.Context, name string) (*store.ValueForAuth, error)

GetLastUsedAuthByName mocks base method.

func (*MockStore) GetLastUsedGlobalByName

func (m *MockStore) GetLastUsedGlobalByName(ctx context.Context, name string) (*store.ValueForGlobal, error)

GetLastUsedGlobalByName mocks base method.

func (*MockStore) GetValuesForAuth

func (m *MockStore) GetValuesForAuth(ctx context.Context, name string) ([]*store.ValueForAuth, error)

GetValuesForAuth mocks base method.

func (*MockStore) GetValuesForGlobal

func (m *MockStore) GetValuesForGlobal(ctx context.Context, name string) ([]*store.ValueForGlobal, error)

GetValuesForGlobal mocks base method.

func (*MockStore) UpdateAuthLastUsedAtToNow

func (m *MockStore) UpdateAuthLastUsedAtToNow(ctx context.Context, id int64) error

UpdateAuthLastUsedAtToNow mocks base method.

func (*MockStore) UpdateGlobalLastUsedAtToNow

func (m *MockStore) UpdateGlobalLastUsedAtToNow(ctx context.Context, id int64) error

UpdateGlobalLastUsedAtToNow mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddValueForAuth

func (mr *MockStoreMockRecorder) AddValueForAuth(ctx, name, description, value any) *gomock.Call

AddValueForAuth indicates an expected call of AddValueForAuth.

func (*MockStoreMockRecorder) AddValueForGlobal

func (mr *MockStoreMockRecorder) AddValueForGlobal(ctx, name, description, value any) *gomock.Call

AddValueForGlobal indicates an expected call of AddValueForGlobal.

func (*MockStoreMockRecorder) DeleteValueForAuth

func (mr *MockStoreMockRecorder) DeleteValueForAuth(ctx, id any) *gomock.Call

DeleteValueForAuth indicates an expected call of DeleteValueForAuth.

func (*MockStoreMockRecorder) DeleteValueForGlobal

func (mr *MockStoreMockRecorder) DeleteValueForGlobal(ctx, id any) *gomock.Call

DeleteValueForGlobal indicates an expected call of DeleteValueForGlobal.

func (*MockStoreMockRecorder) GetLastUsedAuthByName

func (mr *MockStoreMockRecorder) GetLastUsedAuthByName(ctx, name any) *gomock.Call

GetLastUsedAuthByName indicates an expected call of GetLastUsedAuthByName.

func (*MockStoreMockRecorder) GetLastUsedGlobalByName

func (mr *MockStoreMockRecorder) GetLastUsedGlobalByName(ctx, name any) *gomock.Call

GetLastUsedGlobalByName indicates an expected call of GetLastUsedGlobalByName.

func (*MockStoreMockRecorder) GetValuesForAuth

func (mr *MockStoreMockRecorder) GetValuesForAuth(ctx, name any) *gomock.Call

GetValuesForAuth indicates an expected call of GetValuesForAuth.

func (*MockStoreMockRecorder) GetValuesForGlobal

func (mr *MockStoreMockRecorder) GetValuesForGlobal(ctx, name any) *gomock.Call

GetValuesForGlobal indicates an expected call of GetValuesForGlobal.

func (*MockStoreMockRecorder) UpdateAuthLastUsedAtToNow

func (mr *MockStoreMockRecorder) UpdateAuthLastUsedAtToNow(ctx, id any) *gomock.Call

UpdateAuthLastUsedAtToNow indicates an expected call of UpdateAuthLastUsedAtToNow.

func (*MockStoreMockRecorder) UpdateGlobalLastUsedAtToNow

func (mr *MockStoreMockRecorder) UpdateGlobalLastUsedAtToNow(ctx, id any) *gomock.Call

UpdateGlobalLastUsedAtToNow indicates an expected call of UpdateGlobalLastUsedAtToNow.

Jump to

Keyboard shortcuts

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