Documentation ¶
Index ¶
- type SecretsManagerInterface
- func (_m *SecretsManagerInterface) AccessSecretVersion(ctx context.Context, req *secretmanagerpb.AccessSecretVersionRequest, ...) (*secretmanagerpb.AccessSecretVersionResponse, error)
- func (_m *SecretsManagerInterface) AddSecretVersion(ctx context.Context, req *secretmanagerpb.AddSecretVersionRequest, ...) (*secretmanagerpb.SecretVersion, error)
- func (_m *SecretsManagerInterface) CreateSecret(ctx context.Context, req *secretmanagerpb.CreateSecretRequest, ...) (*secretmanagerpb.Secret, error)
- func (_m *SecretsManagerInterface) DeleteSecret(ctx context.Context, req *secretmanagerpb.DeleteSecretRequest, ...) error
- func (_m *SecretsManagerInterface) GetSecret(ctx context.Context, req *secretmanagerpb.GetSecretRequest, ...) (*secretmanagerpb.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsManagerInterface ¶
SecretsManagerInterface is an autogenerated mock type for the SecretsManagerInterface type
func NewSecretsManagerInterface ¶
func NewSecretsManagerInterface(t mockConstructorTestingTNewSecretsManagerInterface) *SecretsManagerInterface
NewSecretsManagerInterface creates a new instance of SecretsManagerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SecretsManagerInterface) AccessSecretVersion ¶
func (_m *SecretsManagerInterface) AccessSecretVersion(ctx context.Context, req *secretmanagerpb.AccessSecretVersionRequest, opts ...gax.CallOption) (*secretmanagerpb.AccessSecretVersionResponse, error)
AccessSecretVersion provides a mock function with given fields: ctx, req, opts
func (*SecretsManagerInterface) AddSecretVersion ¶
func (_m *SecretsManagerInterface) AddSecretVersion(ctx context.Context, req *secretmanagerpb.AddSecretVersionRequest, opts ...gax.CallOption) (*secretmanagerpb.SecretVersion, error)
AddSecretVersion provides a mock function with given fields: ctx, req, opts
func (*SecretsManagerInterface) CreateSecret ¶
func (_m *SecretsManagerInterface) CreateSecret(ctx context.Context, req *secretmanagerpb.CreateSecretRequest, opts ...gax.CallOption) (*secretmanagerpb.Secret, error)
CreateSecret provides a mock function with given fields: ctx, req, opts
func (*SecretsManagerInterface) DeleteSecret ¶
func (_m *SecretsManagerInterface) DeleteSecret(ctx context.Context, req *secretmanagerpb.DeleteSecretRequest, opts ...gax.CallOption) error
DeleteSecret provides a mock function with given fields: ctx, req, opts
func (*SecretsManagerInterface) GetSecret ¶
func (_m *SecretsManagerInterface) GetSecret(ctx context.Context, req *secretmanagerpb.GetSecretRequest, opts ...gax.CallOption) (*secretmanagerpb.Secret, error)
GetSecret provides a mock function with given fields: ctx, req, opts