Versions in this module Expand all Collapse all v1 v1.0.1 Oct 27, 2020 v1.0.0 Oct 15, 2020 Changes in this version + type MockMySQLPasswordClient struct + SetPasswordFunc func(ctx context.Context, creds db.NewPassword) error + VerifyPasswordFunc func(ctx context.Context, creds db.NewPassword) error + func (m MockMySQLPasswordClient) SetPassword(ctx context.Context, creds db.NewPassword) error + func (m MockMySQLPasswordClient) VerifyPassword(ctx context.Context, creds db.NewPassword) error + type MockPasswordSetter struct + InitFunc func(context.Context, map[string]string) error + RollbackFunc func(ctx context.Context, creds db.NewPassword) error + SetPasswordFunc func(ctx context.Context, creds db.NewPassword) error + VerifyPasswordFunc func(ctx context.Context, creds db.NewPassword) error + func (m MockPasswordSetter) Init(ctx context.Context, s map[string]string) error + func (m MockPasswordSetter) Rollback(ctx context.Context, creds db.NewPassword) error + func (m MockPasswordSetter) SetPassword(ctx context.Context, creds db.NewPassword) error + func (m MockPasswordSetter) VerifyPassword(ctx context.Context, creds db.NewPassword) error + type MockRDSClient struct + DescribeDBInstancesFunc func(*rds.DescribeDBInstancesInput) (*rds.DescribeDBInstancesOutput, error) + func (m MockRDSClient) DescribeDBInstances(input *rds.DescribeDBInstancesInput) (*rds.DescribeDBInstancesOutput, error) + type MockSecretSetter struct + CredentialsFunc func(secret map[string]string) (username, password string) + HandlerFunc func(context.Context, map[string]string) error + InitFunc func(context.Context, map[string]string) error + RotateFunc func(secret map[string]string) error + func (m MockSecretSetter) Credentials(secret map[string]string) (username, password string) + func (m MockSecretSetter) Handler(ctx context.Context, event map[string]string) error + func (m MockSecretSetter) Init(ctx context.Context, event map[string]string) error + func (m MockSecretSetter) Rotate(secret map[string]string) error + type MockSecretsManager struct + GetSecretValueFunc func(*secretsmanager.GetSecretValueInput) (*secretsmanager.GetSecretValueOutput, error) + PutSecretValueFunc func(*secretsmanager.PutSecretValueInput) (*secretsmanager.PutSecretValueOutput, error) + UpdateSecretVersionStageFunc func(*secretsmanager.UpdateSecretVersionStageInput) (*secretsmanager.UpdateSecretVersionStageOutput, error) + func (m MockSecretsManager) GetSecretValue(input *secretsmanager.GetSecretValueInput) (*secretsmanager.GetSecretValueOutput, error) + func (m MockSecretsManager) PutSecretValue(input *secretsmanager.PutSecretValueInput) (*secretsmanager.PutSecretValueOutput, error) + func (m MockSecretsManager) UpdateSecretVersionStage(input *secretsmanager.UpdateSecretVersionStageInput) (*secretsmanager.UpdateSecretVersionStageOutput, error) Other modules containing this package github.com/square/password-rotation-lambda/v2