fakes

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 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 FakeCredentialStore

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

	DeleteStub func(key string) error

	AddPermissionStub func(credentialName string, actor string, ops []string) (*permissions.Permission, error)
	// contains filtered or unexported fields
}

func (*FakeCredentialStore) AddPermission added in v0.24.0

func (fake *FakeCredentialStore) AddPermission(credentialName string, actor string, ops []string) (*permissions.Permission, error)

func (*FakeCredentialStore) AddPermissionArgsForCall added in v0.24.0

func (fake *FakeCredentialStore) AddPermissionArgsForCall(i int) (string, string, []string)

func (*FakeCredentialStore) AddPermissionCallCount added in v0.24.0

func (fake *FakeCredentialStore) AddPermissionCallCount() int

func (*FakeCredentialStore) AddPermissionReturns added in v0.24.0

func (fake *FakeCredentialStore) AddPermissionReturns(result1 *permissions.Permission, result2 error)

func (*FakeCredentialStore) AddPermissionReturnsOnCall added in v0.24.0

func (fake *FakeCredentialStore) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 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)

Jump to

Keyboard shortcuts

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