signerfakes

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0, BSD-3-Clause, MIT, + 1 more Imports: 3 Imported by: 0

Documentation

Overview

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 FakeVault

type FakeVault struct {
	AlgStub func() string

	KeyStub func(context.Context, string, string) (*signer.VaultKey, error)

	KeysStub func(context.Context, string) ([]*signer.VaultKey, error)

	NamespaceKeysStub func(context.Context, string) ([]string, error)

	NamespacesStub func(context.Context) ([]string, error)

	SignStub func([]byte) ([]byte, error)

	WithKeyStub func(string, string) signer.Vault
	// contains filtered or unexported fields
}

func (*FakeVault) Alg

func (fake *FakeVault) Alg() string

func (*FakeVault) AlgCallCount

func (fake *FakeVault) AlgCallCount() int

func (*FakeVault) AlgCalls

func (fake *FakeVault) AlgCalls(stub func() string)

func (*FakeVault) AlgReturns

func (fake *FakeVault) AlgReturns(result1 string)

func (*FakeVault) AlgReturnsOnCall

func (fake *FakeVault) AlgReturnsOnCall(i int, result1 string)

func (*FakeVault) Invocations

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

func (*FakeVault) Key

func (fake *FakeVault) Key(arg1 context.Context, arg2 string, arg3 string) (*signer.VaultKey, error)

func (*FakeVault) KeyArgsForCall

func (fake *FakeVault) KeyArgsForCall(i int) (context.Context, string, string)

func (*FakeVault) KeyCallCount

func (fake *FakeVault) KeyCallCount() int

func (*FakeVault) KeyCalls

func (fake *FakeVault) KeyCalls(stub func(context.Context, string, string) (*signer.VaultKey, error))

func (*FakeVault) KeyReturns

func (fake *FakeVault) KeyReturns(result1 *signer.VaultKey, result2 error)

func (*FakeVault) KeyReturnsOnCall

func (fake *FakeVault) KeyReturnsOnCall(i int, result1 *signer.VaultKey, result2 error)

func (*FakeVault) Keys

func (fake *FakeVault) Keys(arg1 context.Context, arg2 string) ([]*signer.VaultKey, error)

func (*FakeVault) KeysArgsForCall

func (fake *FakeVault) KeysArgsForCall(i int) (context.Context, string)

func (*FakeVault) KeysCallCount

func (fake *FakeVault) KeysCallCount() int

func (*FakeVault) KeysCalls

func (fake *FakeVault) KeysCalls(stub func(context.Context, string) ([]*signer.VaultKey, error))

func (*FakeVault) KeysReturns

func (fake *FakeVault) KeysReturns(result1 []*signer.VaultKey, result2 error)

func (*FakeVault) KeysReturnsOnCall

func (fake *FakeVault) KeysReturnsOnCall(i int, result1 []*signer.VaultKey, result2 error)

func (*FakeVault) NamespaceKeys

func (fake *FakeVault) NamespaceKeys(arg1 context.Context, arg2 string) ([]string, error)

func (*FakeVault) NamespaceKeysArgsForCall

func (fake *FakeVault) NamespaceKeysArgsForCall(i int) (context.Context, string)

func (*FakeVault) NamespaceKeysCallCount

func (fake *FakeVault) NamespaceKeysCallCount() int

func (*FakeVault) NamespaceKeysCalls

func (fake *FakeVault) NamespaceKeysCalls(stub func(context.Context, string) ([]string, error))

func (*FakeVault) NamespaceKeysReturns

func (fake *FakeVault) NamespaceKeysReturns(result1 []string, result2 error)

func (*FakeVault) NamespaceKeysReturnsOnCall

func (fake *FakeVault) NamespaceKeysReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeVault) Namespaces

func (fake *FakeVault) Namespaces(arg1 context.Context) ([]string, error)

func (*FakeVault) NamespacesArgsForCall

func (fake *FakeVault) NamespacesArgsForCall(i int) context.Context

func (*FakeVault) NamespacesCallCount

func (fake *FakeVault) NamespacesCallCount() int

func (*FakeVault) NamespacesCalls

func (fake *FakeVault) NamespacesCalls(stub func(context.Context) ([]string, error))

func (*FakeVault) NamespacesReturns

func (fake *FakeVault) NamespacesReturns(result1 []string, result2 error)

func (*FakeVault) NamespacesReturnsOnCall

func (fake *FakeVault) NamespacesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeVault) Sign

func (fake *FakeVault) Sign(arg1 []byte) ([]byte, error)

func (*FakeVault) SignArgsForCall

func (fake *FakeVault) SignArgsForCall(i int) []byte

func (*FakeVault) SignCallCount

func (fake *FakeVault) SignCallCount() int

func (*FakeVault) SignCalls

func (fake *FakeVault) SignCalls(stub func([]byte) ([]byte, error))

func (*FakeVault) SignReturns

func (fake *FakeVault) SignReturns(result1 []byte, result2 error)

func (*FakeVault) SignReturnsOnCall

func (fake *FakeVault) SignReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeVault) WithKey

func (fake *FakeVault) WithKey(arg1 string, arg2 string) signer.Vault

func (*FakeVault) WithKeyArgsForCall

func (fake *FakeVault) WithKeyArgsForCall(i int) (string, string)

func (*FakeVault) WithKeyCallCount

func (fake *FakeVault) WithKeyCallCount() int

func (*FakeVault) WithKeyCalls

func (fake *FakeVault) WithKeyCalls(stub func(string, string) signer.Vault)

func (*FakeVault) WithKeyReturns

func (fake *FakeVault) WithKeyReturns(result1 signer.Vault)

func (*FakeVault) WithKeyReturnsOnCall

func (fake *FakeVault) WithKeyReturnsOnCall(i int, result1 signer.Vault)

Jump to

Keyboard shortcuts

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