fakes

package
v1.35.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Package fakes holds counterfeiter-generated fakes for the AWS client interfaces defined in the root spruce package.

Generated files have their default `var _ spruce.SSMClient = ...` type-assertion guards removed to avoid a spruce -> fakes -> spruce import cycle. Interface conformance is instead enforced at the test call site in operator_test.go (e.g. `parameterstoreClient = fakeSSM`). If you regenerate these fakes via `go generate`, strip the type-assertion lines and the `spruce` import from the generated files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSSMClient

type FakeSSMClient struct {
	GetParameterStub func(context.Context, *ssm.GetParameterInput, ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
	// contains filtered or unexported fields
}

func (*FakeSSMClient) GetParameter

func (fake *FakeSSMClient) GetParameter(arg1 context.Context, arg2 *ssm.GetParameterInput, arg3 ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)

func (*FakeSSMClient) GetParameterArgsForCall

func (fake *FakeSSMClient) GetParameterArgsForCall(i int) (context.Context, *ssm.GetParameterInput, []func(*ssm.Options))

func (*FakeSSMClient) GetParameterCallCount

func (fake *FakeSSMClient) GetParameterCallCount() int

func (*FakeSSMClient) GetParameterCalls

func (fake *FakeSSMClient) GetParameterCalls(stub func(context.Context, *ssm.GetParameterInput, ...func(*ssm.Options)) (*ssm.GetParameterOutput, error))

func (*FakeSSMClient) GetParameterReturns

func (fake *FakeSSMClient) GetParameterReturns(result1 *ssm.GetParameterOutput, result2 error)

func (*FakeSSMClient) GetParameterReturnsOnCall

func (fake *FakeSSMClient) GetParameterReturnsOnCall(i int, result1 *ssm.GetParameterOutput, result2 error)

func (*FakeSSMClient) Invocations

func (fake *FakeSSMClient) Invocations() map[string][][]interface{}

type FakeSecretsManagerClient

type FakeSecretsManagerClient struct {
	GetSecretValueStub func(context.Context, *secretsmanager.GetSecretValueInput, ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
	// contains filtered or unexported fields
}

func (*FakeSecretsManagerClient) GetSecretValue

func (*FakeSecretsManagerClient) GetSecretValueArgsForCall

func (fake *FakeSecretsManagerClient) GetSecretValueArgsForCall(i int) (context.Context, *secretsmanager.GetSecretValueInput, []func(*secretsmanager.Options))

func (*FakeSecretsManagerClient) GetSecretValueCallCount

func (fake *FakeSecretsManagerClient) GetSecretValueCallCount() int

func (*FakeSecretsManagerClient) GetSecretValueCalls

func (*FakeSecretsManagerClient) GetSecretValueReturns

func (fake *FakeSecretsManagerClient) GetSecretValueReturns(result1 *secretsmanager.GetSecretValueOutput, result2 error)

func (*FakeSecretsManagerClient) GetSecretValueReturnsOnCall

func (fake *FakeSecretsManagerClient) GetSecretValueReturnsOnCall(i int, result1 *secretsmanager.GetSecretValueOutput, result2 error)

func (*FakeSecretsManagerClient) Invocations

func (fake *FakeSecretsManagerClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL