Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAccess
- func (fake *FakeAccess) CSRFToken() string
- func (fake *FakeAccess) CSRFTokenCallCount() int
- func (fake *FakeAccess) CSRFTokenReturns(result1 string)
- func (fake *FakeAccess) CSRFTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeAccess) Invocations() map[string][][]interface{}
- func (fake *FakeAccess) IsAdmin() bool
- func (fake *FakeAccess) IsAdminCallCount() int
- func (fake *FakeAccess) IsAdminReturns(result1 bool)
- func (fake *FakeAccess) IsAdminReturnsOnCall(i int, result1 bool)
- func (fake *FakeAccess) IsAuthenticated() bool
- func (fake *FakeAccess) IsAuthenticatedCallCount() int
- func (fake *FakeAccess) IsAuthenticatedReturns(result1 bool)
- func (fake *FakeAccess) IsAuthenticatedReturnsOnCall(i int, result1 bool)
- func (fake *FakeAccess) IsAuthorized(arg1 string) bool
- func (fake *FakeAccess) IsAuthorizedArgsForCall(i int) string
- func (fake *FakeAccess) IsAuthorizedCallCount() int
- func (fake *FakeAccess) IsAuthorizedReturns(result1 bool)
- func (fake *FakeAccess) IsAuthorizedReturnsOnCall(i int, result1 bool)
- func (fake *FakeAccess) IsSystem() bool
- func (fake *FakeAccess) IsSystemCallCount() int
- func (fake *FakeAccess) IsSystemReturns(result1 bool)
- func (fake *FakeAccess) IsSystemReturnsOnCall(i int, result1 bool)
- func (fake *FakeAccess) TeamNames() []string
- func (fake *FakeAccess) TeamNamesCallCount() int
- func (fake *FakeAccess) TeamNamesReturns(result1 []string)
- func (fake *FakeAccess) TeamNamesReturnsOnCall(i int, result1 []string)
- type FakeAccessFactory
- func (fake *FakeAccessFactory) Create(arg1 *http.Request) accessor.Access
- func (fake *FakeAccessFactory) CreateArgsForCall(i int) *http.Request
- func (fake *FakeAccessFactory) CreateCallCount() int
- func (fake *FakeAccessFactory) CreateReturns(result1 accessor.Access)
- func (fake *FakeAccessFactory) CreateReturnsOnCall(i int, result1 accessor.Access)
- func (fake *FakeAccessFactory) Invocations() map[string][][]interface{}
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{}
Click to show internal directories.
Click to hide internal directories.