Documentation ¶
Overview ¶
Package mock_secret_manager is a generated GoMock package.
Index ¶
- type MockSecretManagerClient
- func (m *MockSecretManagerClient) AccessSecretVersion(arg0 context.Context, arg1 *secretmanager.AccessSecretVersionRequest, ...) (*secretmanager.AccessSecretVersionResponse, error)
- func (m *MockSecretManagerClient) AddSecretVersion(arg0 context.Context, arg1 *secretmanager.AddSecretVersionRequest, ...) (*secretmanager.SecretVersion, error)
- func (m *MockSecretManagerClient) CreateSecret(arg0 context.Context, arg1 *secretmanager.CreateSecretRequest, ...) (*secretmanager.Secret, error)
- func (m *MockSecretManagerClient) EXPECT() *MockSecretManagerClientMockRecorder
- func (m *MockSecretManagerClient) GetSecret(arg0 context.Context, arg1 *secretmanager.GetSecretRequest, ...) (*secretmanager.Secret, error)
- func (m *MockSecretManagerClient) UpdateSecret(arg0 context.Context, arg1 *secretmanager.UpdateSecretRequest, ...) (*secretmanager.Secret, error)
- type MockSecretManagerClientMockRecorder
- func (mr *MockSecretManagerClientMockRecorder) AccessSecretVersion(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSecretManagerClientMockRecorder) AddSecretVersion(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSecretManagerClientMockRecorder) CreateSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSecretManagerClientMockRecorder) GetSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSecretManagerClientMockRecorder) UpdateSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretManagerClient ¶
type MockSecretManagerClient struct {
// contains filtered or unexported fields
}
MockSecretManagerClient is a mock of SecretManagerClient interface.
func NewMockSecretManagerClient ¶
func NewMockSecretManagerClient(ctrl *gomock.Controller) *MockSecretManagerClient
NewMockSecretManagerClient creates a new mock instance.
func (*MockSecretManagerClient) AccessSecretVersion ¶
func (m *MockSecretManagerClient) AccessSecretVersion(arg0 context.Context, arg1 *secretmanager.AccessSecretVersionRequest, arg2 ...gax.CallOption) (*secretmanager.AccessSecretVersionResponse, error)
AccessSecretVersion mocks base method.
func (*MockSecretManagerClient) AddSecretVersion ¶
func (m *MockSecretManagerClient) AddSecretVersion(arg0 context.Context, arg1 *secretmanager.AddSecretVersionRequest, arg2 ...gax.CallOption) (*secretmanager.SecretVersion, error)
AddSecretVersion mocks base method.
func (*MockSecretManagerClient) CreateSecret ¶
func (m *MockSecretManagerClient) CreateSecret(arg0 context.Context, arg1 *secretmanager.CreateSecretRequest, arg2 ...gax.CallOption) (*secretmanager.Secret, error)
CreateSecret mocks base method.
func (*MockSecretManagerClient) EXPECT ¶
func (m *MockSecretManagerClient) EXPECT() *MockSecretManagerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretManagerClient) GetSecret ¶
func (m *MockSecretManagerClient) GetSecret(arg0 context.Context, arg1 *secretmanager.GetSecretRequest, arg2 ...gax.CallOption) (*secretmanager.Secret, error)
GetSecret mocks base method.
func (*MockSecretManagerClient) UpdateSecret ¶
func (m *MockSecretManagerClient) UpdateSecret(arg0 context.Context, arg1 *secretmanager.UpdateSecretRequest, arg2 ...gax.CallOption) (*secretmanager.Secret, error)
UpdateSecret mocks base method.
type MockSecretManagerClientMockRecorder ¶
type MockSecretManagerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretManagerClientMockRecorder is the mock recorder for MockSecretManagerClient.
func (*MockSecretManagerClientMockRecorder) AccessSecretVersion ¶
func (mr *MockSecretManagerClientMockRecorder) AccessSecretVersion(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AccessSecretVersion indicates an expected call of AccessSecretVersion.
func (*MockSecretManagerClientMockRecorder) AddSecretVersion ¶
func (mr *MockSecretManagerClientMockRecorder) AddSecretVersion(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AddSecretVersion indicates an expected call of AddSecretVersion.
func (*MockSecretManagerClientMockRecorder) CreateSecret ¶
func (mr *MockSecretManagerClientMockRecorder) CreateSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateSecret indicates an expected call of CreateSecret.
func (*MockSecretManagerClientMockRecorder) GetSecret ¶
func (mr *MockSecretManagerClientMockRecorder) GetSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockSecretManagerClientMockRecorder) UpdateSecret ¶
func (mr *MockSecretManagerClientMockRecorder) UpdateSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret.