fakes

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: Apache-2.0 Imports: 3 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 FakeCredentialStore

type FakeCredentialStore struct {
	SetStub func(key string, value interface{}) error

	DeleteStub func(key string) error

	AuthenticateStub func() error

	AddPermissionsStub func(credentialName string, perms []permissions.Permission) ([]permissions.Permission, error)
	// contains filtered or unexported fields
}

func (*FakeCredentialStore) AddPermissions added in v0.18.0

func (fake *FakeCredentialStore) AddPermissions(credentialName string, perms []permissions.Permission) ([]permissions.Permission, error)

func (*FakeCredentialStore) AddPermissionsArgsForCall added in v0.18.0

func (fake *FakeCredentialStore) AddPermissionsArgsForCall(i int) (string, []permissions.Permission)

func (*FakeCredentialStore) AddPermissionsCallCount added in v0.18.0

func (fake *FakeCredentialStore) AddPermissionsCallCount() int

func (*FakeCredentialStore) AddPermissionsReturns added in v0.18.0

func (fake *FakeCredentialStore) AddPermissionsReturns(result1 []permissions.Permission, result2 error)

func (*FakeCredentialStore) AddPermissionsReturnsOnCall added in v0.18.0

func (fake *FakeCredentialStore) AddPermissionsReturnsOnCall(i int, result1 []permissions.Permission, result2 error)

func (*FakeCredentialStore) Authenticate

func (fake *FakeCredentialStore) Authenticate() error

func (*FakeCredentialStore) AuthenticateCallCount

func (fake *FakeCredentialStore) AuthenticateCallCount() int

func (*FakeCredentialStore) AuthenticateReturns

func (fake *FakeCredentialStore) AuthenticateReturns(result1 error)

func (*FakeCredentialStore) AuthenticateReturnsOnCall

func (fake *FakeCredentialStore) AuthenticateReturnsOnCall(i int, result1 error)

func (*FakeCredentialStore) Delete

func (fake *FakeCredentialStore) Delete(key string) error

func (*FakeCredentialStore) DeleteArgsForCall

func (fake *FakeCredentialStore) DeleteArgsForCall(i int) string

func (*FakeCredentialStore) DeleteCallCount

func (fake *FakeCredentialStore) DeleteCallCount() int

func (*FakeCredentialStore) DeleteReturns

func (fake *FakeCredentialStore) DeleteReturns(result1 error)

func (*FakeCredentialStore) DeleteReturnsOnCall

func (fake *FakeCredentialStore) DeleteReturnsOnCall(i int, result1 error)

func (*FakeCredentialStore) Invocations

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

func (*FakeCredentialStore) Set

func (fake *FakeCredentialStore) Set(key string, value interface{}) error

func (*FakeCredentialStore) SetArgsForCall

func (fake *FakeCredentialStore) SetArgsForCall(i int) (string, interface{})

func (*FakeCredentialStore) SetCallCount

func (fake *FakeCredentialStore) SetCallCount() int

func (*FakeCredentialStore) SetReturns

func (fake *FakeCredentialStore) SetReturns(result1 error)

func (*FakeCredentialStore) SetReturnsOnCall

func (fake *FakeCredentialStore) SetReturnsOnCall(i int, result1 error)

type FakeCredentialStoreFactory added in v0.18.0

type FakeCredentialStoreFactory struct {
	NewStub func() (credhubbroker.CredentialStore, error)
	// contains filtered or unexported fields
}

func (*FakeCredentialStoreFactory) Invocations added in v0.18.0

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

func (*FakeCredentialStoreFactory) New added in v0.18.0

func (*FakeCredentialStoreFactory) NewCallCount added in v0.18.0

func (fake *FakeCredentialStoreFactory) NewCallCount() int

func (*FakeCredentialStoreFactory) NewReturns added in v0.18.0

func (fake *FakeCredentialStoreFactory) NewReturns(result1 credhubbroker.CredentialStore, result2 error)

func (*FakeCredentialStoreFactory) NewReturnsOnCall added in v0.18.0

func (fake *FakeCredentialStoreFactory) NewReturnsOnCall(i int, result1 credhubbroker.CredentialStore, result2 error)

Jump to

Keyboard shortcuts

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