Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) BatchGetSecretValue(ctx context.Context, params *secretsmanager.BatchGetSecretValueInput, ...) (*secretsmanager.BatchGetSecretValueOutput, error)
- func (_m *IClient) CancelRotateSecret(ctx context.Context, params *secretsmanager.CancelRotateSecretInput, ...) (*secretsmanager.CancelRotateSecretOutput, error)
- func (_m *IClient) CreateSecret(ctx context.Context, params *secretsmanager.CreateSecretInput, ...) (*secretsmanager.CreateSecretOutput, error)
- func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *secretsmanager.DeleteResourcePolicyInput, ...) (*secretsmanager.DeleteResourcePolicyOutput, error)
- func (_m *IClient) DeleteSecret(ctx context.Context, params *secretsmanager.DeleteSecretInput, ...) (*secretsmanager.DeleteSecretOutput, error)
- func (_m *IClient) DescribeSecret(ctx context.Context, params *secretsmanager.DescribeSecretInput, ...) (*secretsmanager.DescribeSecretOutput, error)
- func (_m *IClient) GetRandomPassword(ctx context.Context, params *secretsmanager.GetRandomPasswordInput, ...) (*secretsmanager.GetRandomPasswordOutput, error)
- func (_m *IClient) GetResourcePolicy(ctx context.Context, params *secretsmanager.GetResourcePolicyInput, ...) (*secretsmanager.GetResourcePolicyOutput, error)
- func (_m *IClient) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error)
- func (_m *IClient) ListSecretVersionIds(ctx context.Context, params *secretsmanager.ListSecretVersionIdsInput, ...) (*secretsmanager.ListSecretVersionIdsOutput, error)
- func (_m *IClient) ListSecrets(ctx context.Context, params *secretsmanager.ListSecretsInput, ...) (*secretsmanager.ListSecretsOutput, error)
- func (_m *IClient) Options() secretsmanager.Options
- func (_m *IClient) PutResourcePolicy(ctx context.Context, params *secretsmanager.PutResourcePolicyInput, ...) (*secretsmanager.PutResourcePolicyOutput, error)
- func (_m *IClient) PutSecretValue(ctx context.Context, params *secretsmanager.PutSecretValueInput, ...) (*secretsmanager.PutSecretValueOutput, error)
- func (_m *IClient) RemoveRegionsFromReplication(ctx context.Context, params *secretsmanager.RemoveRegionsFromReplicationInput, ...) (*secretsmanager.RemoveRegionsFromReplicationOutput, error)
- func (_m *IClient) ReplicateSecretToRegions(ctx context.Context, params *secretsmanager.ReplicateSecretToRegionsInput, ...) (*secretsmanager.ReplicateSecretToRegionsOutput, error)
- func (_m *IClient) RestoreSecret(ctx context.Context, params *secretsmanager.RestoreSecretInput, ...) (*secretsmanager.RestoreSecretOutput, error)
- func (_m *IClient) RotateSecret(ctx context.Context, params *secretsmanager.RotateSecretInput, ...) (*secretsmanager.RotateSecretOutput, error)
- func (_m *IClient) StopReplicationToReplica(ctx context.Context, params *secretsmanager.StopReplicationToReplicaInput, ...) (*secretsmanager.StopReplicationToReplicaOutput, error)
- func (_m *IClient) TagResource(ctx context.Context, params *secretsmanager.TagResourceInput, ...) (*secretsmanager.TagResourceOutput, error)
- func (_m *IClient) UntagResource(ctx context.Context, params *secretsmanager.UntagResourceInput, ...) (*secretsmanager.UntagResourceOutput, error)
- func (_m *IClient) UpdateSecret(ctx context.Context, params *secretsmanager.UpdateSecretInput, ...) (*secretsmanager.UpdateSecretOutput, error)
- func (_m *IClient) UpdateSecretVersionStage(ctx context.Context, params *secretsmanager.UpdateSecretVersionStageInput, ...) (*secretsmanager.UpdateSecretVersionStageOutput, error)
- func (_m *IClient) ValidateResourcePolicy(ctx context.Context, params *secretsmanager.ValidateResourcePolicyInput, ...) (*secretsmanager.ValidateResourcePolicyOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func NewIClient ¶
NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IClient) BatchGetSecretValue ¶
func (_m *IClient) BatchGetSecretValue(ctx context.Context, params *secretsmanager.BatchGetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.BatchGetSecretValueOutput, error)
BatchGetSecretValue provides a mock function with given fields: ctx, params, optFns
func (*IClient) CancelRotateSecret ¶
func (_m *IClient) CancelRotateSecret(ctx context.Context, params *secretsmanager.CancelRotateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.CancelRotateSecretOutput, error)
CancelRotateSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) CreateSecret ¶
func (_m *IClient) CreateSecret(ctx context.Context, params *secretsmanager.CreateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.CreateSecretOutput, error)
CreateSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteResourcePolicy ¶
func (_m *IClient) DeleteResourcePolicy(ctx context.Context, params *secretsmanager.DeleteResourcePolicyInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DeleteResourcePolicyOutput, error)
DeleteResourcePolicy provides a mock function with given fields: ctx, params, optFns
func (*IClient) DeleteSecret ¶
func (_m *IClient) DeleteSecret(ctx context.Context, params *secretsmanager.DeleteSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DeleteSecretOutput, error)
DeleteSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) DescribeSecret ¶
func (_m *IClient) DescribeSecret(ctx context.Context, params *secretsmanager.DescribeSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DescribeSecretOutput, error)
DescribeSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetRandomPassword ¶
func (_m *IClient) GetRandomPassword(ctx context.Context, params *secretsmanager.GetRandomPasswordInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetRandomPasswordOutput, error)
GetRandomPassword provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetResourcePolicy ¶
func (_m *IClient) GetResourcePolicy(ctx context.Context, params *secretsmanager.GetResourcePolicyInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetResourcePolicyOutput, error)
GetResourcePolicy provides a mock function with given fields: ctx, params, optFns
func (*IClient) GetSecretValue ¶
func (_m *IClient) GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
GetSecretValue provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListSecretVersionIds ¶
func (_m *IClient) ListSecretVersionIds(ctx context.Context, params *secretsmanager.ListSecretVersionIdsInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.ListSecretVersionIdsOutput, error)
ListSecretVersionIds provides a mock function with given fields: ctx, params, optFns
func (*IClient) ListSecrets ¶
func (_m *IClient) ListSecrets(ctx context.Context, params *secretsmanager.ListSecretsInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.ListSecretsOutput, error)
ListSecrets provides a mock function with given fields: ctx, params, optFns
func (*IClient) Options ¶
func (_m *IClient) Options() secretsmanager.Options
Options provides a mock function with given fields:
func (*IClient) PutResourcePolicy ¶
func (_m *IClient) PutResourcePolicy(ctx context.Context, params *secretsmanager.PutResourcePolicyInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.PutResourcePolicyOutput, error)
PutResourcePolicy provides a mock function with given fields: ctx, params, optFns
func (*IClient) PutSecretValue ¶
func (_m *IClient) PutSecretValue(ctx context.Context, params *secretsmanager.PutSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.PutSecretValueOutput, error)
PutSecretValue provides a mock function with given fields: ctx, params, optFns
func (*IClient) RemoveRegionsFromReplication ¶
func (_m *IClient) RemoveRegionsFromReplication(ctx context.Context, params *secretsmanager.RemoveRegionsFromReplicationInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.RemoveRegionsFromReplicationOutput, error)
RemoveRegionsFromReplication provides a mock function with given fields: ctx, params, optFns
func (*IClient) ReplicateSecretToRegions ¶
func (_m *IClient) ReplicateSecretToRegions(ctx context.Context, params *secretsmanager.ReplicateSecretToRegionsInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.ReplicateSecretToRegionsOutput, error)
ReplicateSecretToRegions provides a mock function with given fields: ctx, params, optFns
func (*IClient) RestoreSecret ¶
func (_m *IClient) RestoreSecret(ctx context.Context, params *secretsmanager.RestoreSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.RestoreSecretOutput, error)
RestoreSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) RotateSecret ¶
func (_m *IClient) RotateSecret(ctx context.Context, params *secretsmanager.RotateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.RotateSecretOutput, error)
RotateSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) StopReplicationToReplica ¶
func (_m *IClient) StopReplicationToReplica(ctx context.Context, params *secretsmanager.StopReplicationToReplicaInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.StopReplicationToReplicaOutput, error)
StopReplicationToReplica provides a mock function with given fields: ctx, params, optFns
func (*IClient) TagResource ¶
func (_m *IClient) TagResource(ctx context.Context, params *secretsmanager.TagResourceInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.TagResourceOutput, error)
TagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UntagResource ¶
func (_m *IClient) UntagResource(ctx context.Context, params *secretsmanager.UntagResourceInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.UntagResourceOutput, error)
UntagResource provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateSecret ¶
func (_m *IClient) UpdateSecret(ctx context.Context, params *secretsmanager.UpdateSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.UpdateSecretOutput, error)
UpdateSecret provides a mock function with given fields: ctx, params, optFns
func (*IClient) UpdateSecretVersionStage ¶
func (_m *IClient) UpdateSecretVersionStage(ctx context.Context, params *secretsmanager.UpdateSecretVersionStageInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.UpdateSecretVersionStageOutput, error)
UpdateSecretVersionStage provides a mock function with given fields: ctx, params, optFns
func (*IClient) ValidateResourcePolicy ¶
func (_m *IClient) ValidateResourcePolicy(ctx context.Context, params *secretsmanager.ValidateResourcePolicyInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.ValidateResourcePolicyOutput, error)
ValidateResourcePolicy provides a mock function with given fields: ctx, params, optFns