Documentation ¶
Index ¶
- type MockSecretsManagerClient
- func (c *MockSecretsManagerClient) DescribeSecretWithContext(_ aws.Context, in *secretsmanager.DescribeSecretInput, _ ...request.Option) (*secretsmanager.DescribeSecretOutput, error)
- func (c *MockSecretsManagerClient) GetResourcePolicyWithContext(_ aws.Context, in *secretsmanager.GetResourcePolicyInput, _ ...request.Option) (*secretsmanager.GetResourcePolicyOutput, error)
- func (c *MockSecretsManagerClient) GetSecretValueWithContext(_ aws.Context, in *secretsmanager.GetSecretValueInput, _ ...request.Option) (*secretsmanager.GetSecretValueOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretsManagerClient ¶
type MockSecretsManagerClient struct { secretsmanageriface.SecretsManagerAPI MockDescribeSecretWithContext func(*secretsmanager.DescribeSecretInput) (*secretsmanager.DescribeSecretOutput, error) MockGetSecretValueWithContext func(*secretsmanager.GetSecretValueInput) (*secretsmanager.GetSecretValueOutput, error) MockGetResourcePolicyWithContext func(*secretsmanager.GetResourcePolicyInput) (*secretsmanager.GetResourcePolicyOutput, error) }
MockSecretsManagerClient mocks the secretsmanageriface.SecretsManagerAPI.
func (*MockSecretsManagerClient) DescribeSecretWithContext ¶
func (c *MockSecretsManagerClient) DescribeSecretWithContext(_ aws.Context, in *secretsmanager.DescribeSecretInput, _ ...request.Option) (*secretsmanager.DescribeSecretOutput, error)
DescribeSecretWithContext calls c.MockDescribeSecretWithContext
func (*MockSecretsManagerClient) GetResourcePolicyWithContext ¶
func (c *MockSecretsManagerClient) GetResourcePolicyWithContext(_ aws.Context, in *secretsmanager.GetResourcePolicyInput, _ ...request.Option) (*secretsmanager.GetResourcePolicyOutput, error)
GetResourcePolicyWithContext calls c.MockGetResourcePolicyWithContext
func (*MockSecretsManagerClient) GetSecretValueWithContext ¶
func (c *MockSecretsManagerClient) GetSecretValueWithContext(_ aws.Context, in *secretsmanager.GetSecretValueInput, _ ...request.Option) (*secretsmanager.GetSecretValueOutput, error)
GetSecretValueWithContext calls c.MockGetSecretValueWithContext
Click to show internal directories.
Click to hide internal directories.