Documentation ¶
Overview ¶
Package secret is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) Delete(ctx context.Context, subID vanus.ID) error
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Read(ctx context.Context, subID vanus.ID, credentialType primitive.CredentialType) (primitive.SinkCredential, error)
- func (m *MockStorage) Write(ctx context.Context, subID vanus.ID, credential primitive.SinkCredential) error
- type MockStorageMockRecorder
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) Read ¶
func (m *MockStorage) Read(ctx context.Context, subID vanus.ID, credentialType primitive.CredentialType) (primitive.SinkCredential, error)
Read mocks base method.
func (*MockStorage) Write ¶
func (m *MockStorage) Write(ctx context.Context, subID vanus.ID, credential primitive.SinkCredential) error
Write mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Delete ¶
func (mr *MockStorageMockRecorder) Delete(ctx, subID interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStorageMockRecorder) Read ¶
func (mr *MockStorageMockRecorder) Read(ctx, subID, credentialType interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockStorageMockRecorder) Write ¶
func (mr *MockStorageMockRecorder) Write(ctx, subID, credential interface{}) *gomock.Call
Write indicates an expected call of Write.
Click to show internal directories.
Click to hide internal directories.