reposfakes

package
v0.0.0-...-8366d43 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 4 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 FakePermissionRepo

type FakePermissionRepo struct {
	HasPermissionStub func(ctx context.Context, logger logx.Logger, query repos.HasPermissionQuery) (bool, error)

	ListResourcePatternsStub func(ctx context.Context, logger logx.Logger, query repos.ListResourcePatternsQuery) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakePermissionRepo) HasPermission

func (fake *FakePermissionRepo) HasPermission(ctx context.Context, logger logx.Logger, query repos.HasPermissionQuery) (bool, error)

func (*FakePermissionRepo) HasPermissionArgsForCall

func (fake *FakePermissionRepo) HasPermissionArgsForCall(i int) (context.Context, logx.Logger, repos.HasPermissionQuery)

func (*FakePermissionRepo) HasPermissionCallCount

func (fake *FakePermissionRepo) HasPermissionCallCount() int

func (*FakePermissionRepo) HasPermissionReturns

func (fake *FakePermissionRepo) HasPermissionReturns(result1 bool, result2 error)

func (*FakePermissionRepo) HasPermissionReturnsOnCall

func (fake *FakePermissionRepo) HasPermissionReturnsOnCall(i int, result1 bool, result2 error)

func (*FakePermissionRepo) Invocations

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

func (*FakePermissionRepo) ListResourcePatterns

func (fake *FakePermissionRepo) ListResourcePatterns(ctx context.Context, logger logx.Logger, query repos.ListResourcePatternsQuery) ([]string, error)

func (*FakePermissionRepo) ListResourcePatternsArgsForCall

func (fake *FakePermissionRepo) ListResourcePatternsArgsForCall(i int) (context.Context, logx.Logger, repos.ListResourcePatternsQuery)

func (*FakePermissionRepo) ListResourcePatternsCallCount

func (fake *FakePermissionRepo) ListResourcePatternsCallCount() int

func (*FakePermissionRepo) ListResourcePatternsReturns

func (fake *FakePermissionRepo) ListResourcePatternsReturns(result1 []string, result2 error)

func (*FakePermissionRepo) ListResourcePatternsReturnsOnCall

func (fake *FakePermissionRepo) ListResourcePatternsReturnsOnCall(i int, result1 []string, result2 error)

Jump to

Keyboard shortcuts

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