Documentation ¶
Overview ¶
Package mock_credentialprovider is a generated GoMock package.
Index ¶
- type MockCredentialProvider
- func (m *MockCredentialProvider) EXPECT() *MockCredentialProviderMockRecorder
- func (m *MockCredentialProvider) GetCredential(ctx context.Context, spaceHeader *spacesyncproto.RawSpaceHeaderWithId) ([]byte, error)
- func (m *MockCredentialProvider) Init(a *app.App) error
- func (m *MockCredentialProvider) Name() string
- type MockCredentialProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCredentialProvider ¶
type MockCredentialProvider struct {
// contains filtered or unexported fields
}
MockCredentialProvider is a mock of CredentialProvider interface.
func NewMockCredentialProvider ¶
func NewMockCredentialProvider(ctrl *gomock.Controller) *MockCredentialProvider
NewMockCredentialProvider creates a new mock instance.
func (*MockCredentialProvider) EXPECT ¶
func (m *MockCredentialProvider) EXPECT() *MockCredentialProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCredentialProvider) GetCredential ¶
func (m *MockCredentialProvider) GetCredential(ctx context.Context, spaceHeader *spacesyncproto.RawSpaceHeaderWithId) ([]byte, error)
GetCredential mocks base method.
func (*MockCredentialProvider) Init ¶ added in v0.2.0
func (m *MockCredentialProvider) Init(a *app.App) error
Init mocks base method.
func (*MockCredentialProvider) Name ¶ added in v0.2.0
func (m *MockCredentialProvider) Name() string
Name mocks base method.
type MockCredentialProviderMockRecorder ¶
type MockCredentialProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockCredentialProviderMockRecorder is the mock recorder for MockCredentialProvider.
func (*MockCredentialProviderMockRecorder) GetCredential ¶
func (mr *MockCredentialProviderMockRecorder) GetCredential(ctx, spaceHeader any) *gomock.Call
GetCredential indicates an expected call of GetCredential.
func (*MockCredentialProviderMockRecorder) Init ¶ added in v0.2.0
func (mr *MockCredentialProviderMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockCredentialProviderMockRecorder) Name ¶ added in v0.2.0
func (mr *MockCredentialProviderMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
Click to show internal directories.
Click to hide internal directories.