Documentation ¶
Overview ¶
Package mock_mocks is a generated GoMock package.
Index ¶
- type MockClientFactory
- type MockClientFactoryMockRecorder
- type MockSecretClient
- func (m *MockSecretClient) AccessSecretVersion(req *secretmanager.AccessSecretVersionRequest) (*secretmanager.AccessSecretVersionResponse, error)
- func (m *MockSecretClient) AddSecretVersion(req *secretmanager.AddSecretVersionRequest) (*secretmanager.SecretVersion, error)
- func (m *MockSecretClient) Close() error
- func (m *MockSecretClient) CreateSecret(req *secretmanager.CreateSecretRequest) (*secretmanager.Secret, error)
- func (m *MockSecretClient) DeleteSecret(req *secretmanager.DeleteSecretRequest) error
- func (m *MockSecretClient) DestroySecretVersion(req *secretmanager.DestroySecretVersionRequest) (*secretmanager.SecretVersion, error)
- func (m *MockSecretClient) EXPECT() *MockSecretClientMockRecorder
- func (m *MockSecretClient) ListSecretVersions(req *secretmanager.ListSecretVersionsRequest) api.SecretListIterator
- type MockSecretClientMockRecorder
- func (mr *MockSecretClientMockRecorder) AccessSecretVersion(req interface{}) *gomock.Call
- func (mr *MockSecretClientMockRecorder) AddSecretVersion(req interface{}) *gomock.Call
- func (mr *MockSecretClientMockRecorder) Close() *gomock.Call
- func (mr *MockSecretClientMockRecorder) CreateSecret(req interface{}) *gomock.Call
- func (mr *MockSecretClientMockRecorder) DeleteSecret(req interface{}) *gomock.Call
- func (mr *MockSecretClientMockRecorder) DestroySecretVersion(req interface{}) *gomock.Call
- func (mr *MockSecretClientMockRecorder) ListSecretVersions(req interface{}) *gomock.Call
- type MockSecretListIterator
- type MockSecretListIteratorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientFactory ¶
type MockClientFactory struct {
// contains filtered or unexported fields
}
MockClientFactory is a mock of ClientFactory interface
func NewMockClientFactory ¶
func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory
NewMockClientFactory creates a new mock instance
func (*MockClientFactory) EXPECT ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClientFactory) NewSecretClient ¶
func (m *MockClientFactory) NewSecretClient(ctx context.Context) (api.SecretClient, error)
NewSecretClient mocks base method
type MockClientFactoryMockRecorder ¶
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory
func (*MockClientFactoryMockRecorder) NewSecretClient ¶
func (mr *MockClientFactoryMockRecorder) NewSecretClient(ctx interface{}) *gomock.Call
NewSecretClient indicates an expected call of NewSecretClient
type MockSecretClient ¶
type MockSecretClient struct {
// contains filtered or unexported fields
}
MockSecretClient is a mock of SecretClient interface
func NewMockSecretClient ¶
func NewMockSecretClient(ctrl *gomock.Controller) *MockSecretClient
NewMockSecretClient creates a new mock instance
func (*MockSecretClient) AccessSecretVersion ¶
func (m *MockSecretClient) AccessSecretVersion(req *secretmanager.AccessSecretVersionRequest) (*secretmanager.AccessSecretVersionResponse, error)
AccessSecretVersion mocks base method
func (*MockSecretClient) AddSecretVersion ¶
func (m *MockSecretClient) AddSecretVersion(req *secretmanager.AddSecretVersionRequest) (*secretmanager.SecretVersion, error)
AddSecretVersion mocks base method
func (*MockSecretClient) CreateSecret ¶
func (m *MockSecretClient) CreateSecret(req *secretmanager.CreateSecretRequest) (*secretmanager.Secret, error)
CreateSecret mocks base method
func (*MockSecretClient) DeleteSecret ¶
func (m *MockSecretClient) DeleteSecret(req *secretmanager.DeleteSecretRequest) error
DeleteSecret mocks base method
func (*MockSecretClient) DestroySecretVersion ¶
func (m *MockSecretClient) DestroySecretVersion(req *secretmanager.DestroySecretVersionRequest) (*secretmanager.SecretVersion, error)
DestroySecretVersion mocks base method
func (*MockSecretClient) EXPECT ¶
func (m *MockSecretClient) EXPECT() *MockSecretClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSecretClient) ListSecretVersions ¶
func (m *MockSecretClient) ListSecretVersions(req *secretmanager.ListSecretVersionsRequest) api.SecretListIterator
ListSecretVersions mocks base method
type MockSecretClientMockRecorder ¶
type MockSecretClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretClientMockRecorder is the mock recorder for MockSecretClient
func (*MockSecretClientMockRecorder) AccessSecretVersion ¶
func (mr *MockSecretClientMockRecorder) AccessSecretVersion(req interface{}) *gomock.Call
AccessSecretVersion indicates an expected call of AccessSecretVersion
func (*MockSecretClientMockRecorder) AddSecretVersion ¶
func (mr *MockSecretClientMockRecorder) AddSecretVersion(req interface{}) *gomock.Call
AddSecretVersion indicates an expected call of AddSecretVersion
func (*MockSecretClientMockRecorder) Close ¶
func (mr *MockSecretClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockSecretClientMockRecorder) CreateSecret ¶
func (mr *MockSecretClientMockRecorder) CreateSecret(req interface{}) *gomock.Call
CreateSecret indicates an expected call of CreateSecret
func (*MockSecretClientMockRecorder) DeleteSecret ¶
func (mr *MockSecretClientMockRecorder) DeleteSecret(req interface{}) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret
func (*MockSecretClientMockRecorder) DestroySecretVersion ¶
func (mr *MockSecretClientMockRecorder) DestroySecretVersion(req interface{}) *gomock.Call
DestroySecretVersion indicates an expected call of DestroySecretVersion
func (*MockSecretClientMockRecorder) ListSecretVersions ¶
func (mr *MockSecretClientMockRecorder) ListSecretVersions(req interface{}) *gomock.Call
ListSecretVersions indicates an expected call of ListSecretVersions
type MockSecretListIterator ¶
type MockSecretListIterator struct {
// contains filtered or unexported fields
}
MockSecretListIterator is a mock of SecretListIterator interface
func NewMockSecretListIterator ¶
func NewMockSecretListIterator(ctrl *gomock.Controller) *MockSecretListIterator
NewMockSecretListIterator creates a new mock instance
func (*MockSecretListIterator) EXPECT ¶
func (m *MockSecretListIterator) EXPECT() *MockSecretListIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSecretListIterator) Next ¶
func (m *MockSecretListIterator) Next() (*secretmanager.SecretVersion, error)
Next mocks base method
type MockSecretListIteratorMockRecorder ¶
type MockSecretListIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretListIteratorMockRecorder is the mock recorder for MockSecretListIterator
func (*MockSecretListIteratorMockRecorder) Next ¶
func (mr *MockSecretListIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next