Documentation ¶
Overview ¶
Package mock_gcloud_secret is a generated GoMock package.
Index ¶
- type MockSecretIterator
- type MockSecretIteratorMockRecorder
- 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) EXPECT() *MockSecretManagerClientMockRecorder
- func (m *MockSecretManagerClient) ListSecrets(arg0 context.Context, arg1 *secretmanager.ListSecretsRequest, ...) ifaces_gcloud_secret.SecretIterator
- 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) ListSecrets(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 MockSecretIterator ¶
type MockSecretIterator struct {
// contains filtered or unexported fields
}
MockSecretIterator is a mock of SecretIterator interface.
func NewMockSecretIterator ¶
func NewMockSecretIterator(ctrl *gomock.Controller) *MockSecretIterator
NewMockSecretIterator creates a new mock instance.
func (*MockSecretIterator) EXPECT ¶
func (m *MockSecretIterator) EXPECT() *MockSecretIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretIterator) Next ¶
func (m *MockSecretIterator) Next() (*secretmanager.Secret, error)
Next mocks base method.
type MockSecretIteratorMockRecorder ¶
type MockSecretIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretIteratorMockRecorder is the mock recorder for MockSecretIterator.
func (*MockSecretIteratorMockRecorder) Next ¶
func (mr *MockSecretIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
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) EXPECT ¶
func (m *MockSecretManagerClient) EXPECT() *MockSecretManagerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretManagerClient) ListSecrets ¶
func (m *MockSecretManagerClient) ListSecrets(arg0 context.Context, arg1 *secretmanager.ListSecretsRequest, arg2 ...gax.CallOption) ifaces_gcloud_secret.SecretIterator
ListSecrets 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) ListSecrets ¶
func (mr *MockSecretManagerClientMockRecorder) ListSecrets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListSecrets indicates an expected call of ListSecrets.
func (*MockSecretManagerClientMockRecorder) UpdateSecret ¶
func (mr *MockSecretManagerClientMockRecorder) UpdateSecret(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret.