Documentation
¶
Overview ¶
Package mocks holds the generated double of the sshkey provider, for the methods' tests.
Package mocks is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) Add(ctx context.Context, name, line string) (string, bool, error)
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) Keys(ctx context.Context, name string) ([]sshkey.Key, error)
- func (m *MockProvider) Remove(ctx context.Context, name, fingerprint string) (bool, error)
- type MockProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) Add ¶
func (mr *MockProviderMockRecorder) Add(ctx, name, line any) *gomock.Call
Add indicates an expected call of Add.