accessorfakes

package
v3.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 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 FakeAccess

type FakeAccess struct {
	IsAuthenticatedStub func() bool

	IsAuthorizedStub func(string) bool

	IsAdminStub func() bool

	IsSystemStub func() bool

	TeamNamesStub func() []string

	CSRFTokenStub func() string
	// contains filtered or unexported fields
}

func (*FakeAccess) CSRFToken

func (fake *FakeAccess) CSRFToken() string

func (*FakeAccess) CSRFTokenCallCount

func (fake *FakeAccess) CSRFTokenCallCount() int

func (*FakeAccess) CSRFTokenReturns

func (fake *FakeAccess) CSRFTokenReturns(result1 string)

func (*FakeAccess) CSRFTokenReturnsOnCall

func (fake *FakeAccess) CSRFTokenReturnsOnCall(i int, result1 string)

func (*FakeAccess) Invocations

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

func (*FakeAccess) IsAdmin

func (fake *FakeAccess) IsAdmin() bool

func (*FakeAccess) IsAdminCallCount

func (fake *FakeAccess) IsAdminCallCount() int

func (*FakeAccess) IsAdminReturns

func (fake *FakeAccess) IsAdminReturns(result1 bool)

func (*FakeAccess) IsAdminReturnsOnCall

func (fake *FakeAccess) IsAdminReturnsOnCall(i int, result1 bool)

func (*FakeAccess) IsAuthenticated

func (fake *FakeAccess) IsAuthenticated() bool

func (*FakeAccess) IsAuthenticatedCallCount

func (fake *FakeAccess) IsAuthenticatedCallCount() int

func (*FakeAccess) IsAuthenticatedReturns

func (fake *FakeAccess) IsAuthenticatedReturns(result1 bool)

func (*FakeAccess) IsAuthenticatedReturnsOnCall

func (fake *FakeAccess) IsAuthenticatedReturnsOnCall(i int, result1 bool)

func (*FakeAccess) IsAuthorized

func (fake *FakeAccess) IsAuthorized(arg1 string) bool

func (*FakeAccess) IsAuthorizedArgsForCall

func (fake *FakeAccess) IsAuthorizedArgsForCall(i int) string

func (*FakeAccess) IsAuthorizedCallCount

func (fake *FakeAccess) IsAuthorizedCallCount() int

func (*FakeAccess) IsAuthorizedReturns

func (fake *FakeAccess) IsAuthorizedReturns(result1 bool)

func (*FakeAccess) IsAuthorizedReturnsOnCall

func (fake *FakeAccess) IsAuthorizedReturnsOnCall(i int, result1 bool)

func (*FakeAccess) IsSystem

func (fake *FakeAccess) IsSystem() bool

func (*FakeAccess) IsSystemCallCount

func (fake *FakeAccess) IsSystemCallCount() int

func (*FakeAccess) IsSystemReturns

func (fake *FakeAccess) IsSystemReturns(result1 bool)

func (*FakeAccess) IsSystemReturnsOnCall

func (fake *FakeAccess) IsSystemReturnsOnCall(i int, result1 bool)

func (*FakeAccess) TeamNames

func (fake *FakeAccess) TeamNames() []string

func (*FakeAccess) TeamNamesCallCount

func (fake *FakeAccess) TeamNamesCallCount() int

func (*FakeAccess) TeamNamesReturns

func (fake *FakeAccess) TeamNamesReturns(result1 []string)

func (*FakeAccess) TeamNamesReturnsOnCall

func (fake *FakeAccess) TeamNamesReturnsOnCall(i int, result1 []string)

type FakeAccessFactory

type FakeAccessFactory struct {
	CreateStub func(*http.Request) accessor.Access
	// contains filtered or unexported fields
}

func (*FakeAccessFactory) Create

func (fake *FakeAccessFactory) Create(arg1 *http.Request) accessor.Access

func (*FakeAccessFactory) CreateArgsForCall

func (fake *FakeAccessFactory) CreateArgsForCall(i int) *http.Request

func (*FakeAccessFactory) CreateCallCount

func (fake *FakeAccessFactory) CreateCallCount() int

func (*FakeAccessFactory) CreateReturns

func (fake *FakeAccessFactory) CreateReturns(result1 accessor.Access)

func (*FakeAccessFactory) CreateReturnsOnCall

func (fake *FakeAccessFactory) CreateReturnsOnCall(i int, result1 accessor.Access)

func (*FakeAccessFactory) Invocations

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

Jump to

Keyboard shortcuts

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