fakes

package
v1.2.20 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextCredentialsFactory

type ContextCredentialsFactory struct {
	ForIAMAPIKeyStub func(string, string, *zap.Logger) (provider.ContextCredentials, error)

	ForIAMAccessTokenStub func(string, *zap.Logger) (provider.ContextCredentials, error)

	ForIaaSAPIKeyStub func(string, string, string, *zap.Logger) (provider.ContextCredentials, error)
	// contains filtered or unexported fields
}

func (*ContextCredentialsFactory) ForIAMAPIKey

func (fake *ContextCredentialsFactory) ForIAMAPIKey(arg1 string, arg2 string, arg3 *zap.Logger) (provider.ContextCredentials, error)

func (*ContextCredentialsFactory) ForIAMAPIKeyArgsForCall

func (fake *ContextCredentialsFactory) ForIAMAPIKeyArgsForCall(i int) (string, string, *zap.Logger)

func (*ContextCredentialsFactory) ForIAMAPIKeyCallCount

func (fake *ContextCredentialsFactory) ForIAMAPIKeyCallCount() int

func (*ContextCredentialsFactory) ForIAMAPIKeyCalls

func (fake *ContextCredentialsFactory) ForIAMAPIKeyCalls(stub func(string, string, *zap.Logger) (provider.ContextCredentials, error))

func (*ContextCredentialsFactory) ForIAMAPIKeyReturns

func (fake *ContextCredentialsFactory) ForIAMAPIKeyReturns(result1 provider.ContextCredentials, result2 error)

func (*ContextCredentialsFactory) ForIAMAPIKeyReturnsOnCall

func (fake *ContextCredentialsFactory) ForIAMAPIKeyReturnsOnCall(i int, result1 provider.ContextCredentials, result2 error)

func (*ContextCredentialsFactory) ForIAMAccessToken

func (fake *ContextCredentialsFactory) ForIAMAccessToken(arg1 string, arg2 *zap.Logger) (provider.ContextCredentials, error)

func (*ContextCredentialsFactory) ForIAMAccessTokenArgsForCall

func (fake *ContextCredentialsFactory) ForIAMAccessTokenArgsForCall(i int) (string, *zap.Logger)

func (*ContextCredentialsFactory) ForIAMAccessTokenCallCount

func (fake *ContextCredentialsFactory) ForIAMAccessTokenCallCount() int

func (*ContextCredentialsFactory) ForIAMAccessTokenCalls

func (fake *ContextCredentialsFactory) ForIAMAccessTokenCalls(stub func(string, *zap.Logger) (provider.ContextCredentials, error))

func (*ContextCredentialsFactory) ForIAMAccessTokenReturns

func (fake *ContextCredentialsFactory) ForIAMAccessTokenReturns(result1 provider.ContextCredentials, result2 error)

func (*ContextCredentialsFactory) ForIAMAccessTokenReturnsOnCall

func (fake *ContextCredentialsFactory) ForIAMAccessTokenReturnsOnCall(i int, result1 provider.ContextCredentials, result2 error)

func (*ContextCredentialsFactory) ForIaaSAPIKey

func (fake *ContextCredentialsFactory) ForIaaSAPIKey(arg1 string, arg2 string, arg3 string, arg4 *zap.Logger) (provider.ContextCredentials, error)

func (*ContextCredentialsFactory) ForIaaSAPIKeyArgsForCall

func (fake *ContextCredentialsFactory) ForIaaSAPIKeyArgsForCall(i int) (string, string, string, *zap.Logger)

func (*ContextCredentialsFactory) ForIaaSAPIKeyCallCount

func (fake *ContextCredentialsFactory) ForIaaSAPIKeyCallCount() int

func (*ContextCredentialsFactory) ForIaaSAPIKeyCalls

func (fake *ContextCredentialsFactory) ForIaaSAPIKeyCalls(stub func(string, string, string, *zap.Logger) (provider.ContextCredentials, error))

func (*ContextCredentialsFactory) ForIaaSAPIKeyReturns

func (fake *ContextCredentialsFactory) ForIaaSAPIKeyReturns(result1 provider.ContextCredentials, result2 error)

func (*ContextCredentialsFactory) ForIaaSAPIKeyReturnsOnCall

func (fake *ContextCredentialsFactory) ForIaaSAPIKeyReturnsOnCall(i int, result1 provider.ContextCredentials, result2 error)

func (*ContextCredentialsFactory) Invocations

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

type Provider

type Provider struct {
	ContextCredentialsFactoryStub func(*string) (local.ContextCredentialsFactory, error)

	OpenSessionStub func(context.Context, provider.ContextCredentials, *zap.Logger) (provider.Session, error)
	// contains filtered or unexported fields
}

func (*Provider) ContextCredentialsFactory

func (fake *Provider) ContextCredentialsFactory(arg1 *string) (local.ContextCredentialsFactory, error)

func (*Provider) ContextCredentialsFactoryArgsForCall

func (fake *Provider) ContextCredentialsFactoryArgsForCall(i int) *string

func (*Provider) ContextCredentialsFactoryCallCount

func (fake *Provider) ContextCredentialsFactoryCallCount() int

func (*Provider) ContextCredentialsFactoryCalls

func (fake *Provider) ContextCredentialsFactoryCalls(stub func(*string) (local.ContextCredentialsFactory, error))

func (*Provider) ContextCredentialsFactoryReturns

func (fake *Provider) ContextCredentialsFactoryReturns(result1 local.ContextCredentialsFactory, result2 error)

func (*Provider) ContextCredentialsFactoryReturnsOnCall

func (fake *Provider) ContextCredentialsFactoryReturnsOnCall(i int, result1 local.ContextCredentialsFactory, result2 error)

func (*Provider) Invocations

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

func (*Provider) OpenSession

func (fake *Provider) OpenSession(arg1 context.Context, arg2 provider.ContextCredentials, arg3 *zap.Logger) (provider.Session, error)

func (*Provider) OpenSessionArgsForCall

func (fake *Provider) OpenSessionArgsForCall(i int) (context.Context, provider.ContextCredentials, *zap.Logger)

func (*Provider) OpenSessionCallCount

func (fake *Provider) OpenSessionCallCount() int

func (*Provider) OpenSessionCalls

func (fake *Provider) OpenSessionCalls(stub func(context.Context, provider.ContextCredentials, *zap.Logger) (provider.Session, error))

func (*Provider) OpenSessionReturns

func (fake *Provider) OpenSessionReturns(result1 provider.Session, result2 error)

func (*Provider) OpenSessionReturnsOnCall

func (fake *Provider) OpenSessionReturnsOnCall(i int, result1 provider.Session, result2 error)

Jump to

Keyboard shortcuts

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