Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAccess
- func (fake *FakeAccess) Claims() accessor.Claims
- func (fake *FakeAccess) ClaimsCallCount() int
- func (fake *FakeAccess) ClaimsCalls(stub func() accessor.Claims)
- func (fake *FakeAccess) ClaimsReturns(result1 accessor.Claims)
- func (fake *FakeAccess) ClaimsReturnsOnCall(i int, result1 accessor.Claims)
- func (fake *FakeAccess) HasToken() bool
- func (fake *FakeAccess) HasTokenCallCount() int
- func (fake *FakeAccess) HasTokenCalls(stub func() bool)
- func (fake *FakeAccess) HasTokenReturns(result1 bool)
- func (fake *FakeAccess) HasTokenReturnsOnCall(i int, result1 bool)
- func (fake *FakeAccess) Invocations() map[string][][]interface{}
- func (fake *FakeAccess) IsAdmin() bool
- func (fake *FakeAccess) IsAdminCallCount() int
- func (fake *FakeAccess) IsAdminCalls(stub func() bool)
- 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) IsAuthenticatedCalls(stub func() bool)
- 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) IsAuthorizedCalls(stub func(string) bool)
- 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) IsSystemCalls(stub func() bool)
- 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) TeamNamesCalls(stub func() []string)
- func (fake *FakeAccess) TeamNamesReturns(result1 []string)
- func (fake *FakeAccess) TeamNamesReturnsOnCall(i int, result1 []string)
- func (fake *FakeAccess) TeamRoles() map[string][]string
- func (fake *FakeAccess) TeamRolesCallCount() int
- func (fake *FakeAccess) TeamRolesCalls(stub func() map[string][]string)
- func (fake *FakeAccess) TeamRolesReturns(result1 map[string][]string)
- func (fake *FakeAccess) TeamRolesReturnsOnCall(i int, result1 map[string][]string)
- type FakeAccessFactory
- func (fake *FakeAccessFactory) Create(arg1 *http.Request, arg2 string) (accessor.Access, error)
- func (fake *FakeAccessFactory) CreateArgsForCall(i int) (*http.Request, string)
- func (fake *FakeAccessFactory) CreateCallCount() int
- func (fake *FakeAccessFactory) CreateCalls(stub func(*http.Request, string) (accessor.Access, error))
- func (fake *FakeAccessFactory) CreateReturns(result1 accessor.Access, result2 error)
- func (fake *FakeAccessFactory) CreateReturnsOnCall(i int, result1 accessor.Access, result2 error)
- func (fake *FakeAccessFactory) Invocations() map[string][][]interface{}
- type FakeAccessTokenFetcher
- func (fake *FakeAccessTokenFetcher) GetAccessToken(arg1 string) (db.AccessToken, bool, error)
- func (fake *FakeAccessTokenFetcher) GetAccessTokenArgsForCall(i int) string
- func (fake *FakeAccessTokenFetcher) GetAccessTokenCallCount() int
- func (fake *FakeAccessTokenFetcher) GetAccessTokenCalls(stub func(string) (db.AccessToken, bool, error))
- func (fake *FakeAccessTokenFetcher) GetAccessTokenReturns(result1 db.AccessToken, result2 bool, result3 error)
- func (fake *FakeAccessTokenFetcher) GetAccessTokenReturnsOnCall(i int, result1 db.AccessToken, result2 bool, result3 error)
- func (fake *FakeAccessTokenFetcher) Invocations() map[string][][]interface{}
- type FakeHandler
- func (fake *FakeHandler) Invocations() map[string][][]interface{}
- func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
- func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
- func (fake *FakeHandler) ServeHTTPCallCount() int
- func (fake *FakeHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
- type FakeNotifications
- func (fake *FakeNotifications) Invocations() map[string][][]interface{}
- func (fake *FakeNotifications) Listen(arg1 string) (chan bool, error)
- func (fake *FakeNotifications) ListenArgsForCall(i int) string
- func (fake *FakeNotifications) ListenCallCount() int
- func (fake *FakeNotifications) ListenCalls(stub func(string) (chan bool, error))
- func (fake *FakeNotifications) ListenReturns(result1 chan bool, result2 error)
- func (fake *FakeNotifications) ListenReturnsOnCall(i int, result1 chan bool, result2 error)
- func (fake *FakeNotifications) Unlisten(arg1 string, arg2 chan bool) error
- func (fake *FakeNotifications) UnlistenArgsForCall(i int) (string, chan bool)
- func (fake *FakeNotifications) UnlistenCallCount() int
- func (fake *FakeNotifications) UnlistenCalls(stub func(string, chan bool) error)
- func (fake *FakeNotifications) UnlistenReturns(result1 error)
- func (fake *FakeNotifications) UnlistenReturnsOnCall(i int, result1 error)
- type FakeTeamFetcher
- func (fake *FakeTeamFetcher) GetTeams() ([]db.Team, error)
- func (fake *FakeTeamFetcher) GetTeamsCallCount() int
- func (fake *FakeTeamFetcher) GetTeamsCalls(stub func() ([]db.Team, error))
- func (fake *FakeTeamFetcher) GetTeamsReturns(result1 []db.Team, result2 error)
- func (fake *FakeTeamFetcher) GetTeamsReturnsOnCall(i int, result1 []db.Team, result2 error)
- func (fake *FakeTeamFetcher) Invocations() map[string][][]interface{}
- type FakeTokenVerifier
- func (fake *FakeTokenVerifier) Invocations() map[string][][]interface{}
- func (fake *FakeTokenVerifier) Verify(arg1 *http.Request) (map[string]interface{}, error)
- func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) *http.Request
- func (fake *FakeTokenVerifier) VerifyCallCount() int
- func (fake *FakeTokenVerifier) VerifyCalls(stub func(*http.Request) (map[string]interface{}, error))
- func (fake *FakeTokenVerifier) VerifyReturns(result1 map[string]interface{}, result2 error)
- func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccess ¶
type FakeAccess struct { ClaimsStub func() accessor.Claims HasTokenStub func() bool IsAdminStub func() bool IsAuthenticatedStub func() bool IsAuthorizedStub func(string) bool IsSystemStub func() bool TeamNamesStub func() []string TeamRolesStub func() map[string][]string // contains filtered or unexported fields }
func (*FakeAccess) Claims ¶
func (fake *FakeAccess) Claims() accessor.Claims
func (*FakeAccess) ClaimsCallCount ¶
func (fake *FakeAccess) ClaimsCallCount() int
func (*FakeAccess) ClaimsCalls ¶
func (fake *FakeAccess) ClaimsCalls(stub func() accessor.Claims)
func (*FakeAccess) ClaimsReturns ¶
func (fake *FakeAccess) ClaimsReturns(result1 accessor.Claims)
func (*FakeAccess) ClaimsReturnsOnCall ¶
func (fake *FakeAccess) ClaimsReturnsOnCall(i int, result1 accessor.Claims)
func (*FakeAccess) HasToken ¶
func (fake *FakeAccess) HasToken() bool
func (*FakeAccess) HasTokenCallCount ¶
func (fake *FakeAccess) HasTokenCallCount() int
func (*FakeAccess) HasTokenCalls ¶
func (fake *FakeAccess) HasTokenCalls(stub func() bool)
func (*FakeAccess) HasTokenReturns ¶
func (fake *FakeAccess) HasTokenReturns(result1 bool)
func (*FakeAccess) HasTokenReturnsOnCall ¶
func (fake *FakeAccess) HasTokenReturnsOnCall(i int, result1 bool)
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) IsAdminCalls ¶
func (fake *FakeAccess) IsAdminCalls(stub func() bool)
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) IsAuthenticatedCalls ¶
func (fake *FakeAccess) IsAuthenticatedCalls(stub func() bool)
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) IsAuthorizedCalls ¶
func (fake *FakeAccess) IsAuthorizedCalls(stub func(string) bool)
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) IsSystemCalls ¶
func (fake *FakeAccess) IsSystemCalls(stub func() bool)
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) TeamNamesCalls ¶
func (fake *FakeAccess) TeamNamesCalls(stub func() []string)
func (*FakeAccess) TeamNamesReturns ¶
func (fake *FakeAccess) TeamNamesReturns(result1 []string)
func (*FakeAccess) TeamNamesReturnsOnCall ¶
func (fake *FakeAccess) TeamNamesReturnsOnCall(i int, result1 []string)
func (*FakeAccess) TeamRoles ¶
func (fake *FakeAccess) TeamRoles() map[string][]string
func (*FakeAccess) TeamRolesCallCount ¶
func (fake *FakeAccess) TeamRolesCallCount() int
func (*FakeAccess) TeamRolesCalls ¶
func (fake *FakeAccess) TeamRolesCalls(stub func() map[string][]string)
func (*FakeAccess) TeamRolesReturns ¶
func (fake *FakeAccess) TeamRolesReturns(result1 map[string][]string)
func (*FakeAccess) TeamRolesReturnsOnCall ¶
func (fake *FakeAccess) TeamRolesReturnsOnCall(i int, result1 map[string][]string)
type FakeAccessFactory ¶
type FakeAccessFactory struct { CreateStub func(*http.Request, string) (accessor.Access, error) // contains filtered or unexported fields }
func (*FakeAccessFactory) CreateArgsForCall ¶
func (fake *FakeAccessFactory) CreateArgsForCall(i int) (*http.Request, string)
func (*FakeAccessFactory) CreateCallCount ¶
func (fake *FakeAccessFactory) CreateCallCount() int
func (*FakeAccessFactory) CreateCalls ¶
func (*FakeAccessFactory) CreateReturns ¶
func (fake *FakeAccessFactory) CreateReturns(result1 accessor.Access, result2 error)
func (*FakeAccessFactory) CreateReturnsOnCall ¶
func (fake *FakeAccessFactory) CreateReturnsOnCall(i int, result1 accessor.Access, result2 error)
func (*FakeAccessFactory) Invocations ¶
func (fake *FakeAccessFactory) Invocations() map[string][][]interface{}
type FakeAccessTokenFetcher ¶
type FakeAccessTokenFetcher struct { GetAccessTokenStub func(string) (db.AccessToken, bool, error) // contains filtered or unexported fields }
func (*FakeAccessTokenFetcher) GetAccessToken ¶
func (fake *FakeAccessTokenFetcher) GetAccessToken(arg1 string) (db.AccessToken, bool, error)
func (*FakeAccessTokenFetcher) GetAccessTokenArgsForCall ¶
func (fake *FakeAccessTokenFetcher) GetAccessTokenArgsForCall(i int) string
func (*FakeAccessTokenFetcher) GetAccessTokenCallCount ¶
func (fake *FakeAccessTokenFetcher) GetAccessTokenCallCount() int
func (*FakeAccessTokenFetcher) GetAccessTokenCalls ¶
func (fake *FakeAccessTokenFetcher) GetAccessTokenCalls(stub func(string) (db.AccessToken, bool, error))
func (*FakeAccessTokenFetcher) GetAccessTokenReturns ¶
func (fake *FakeAccessTokenFetcher) GetAccessTokenReturns(result1 db.AccessToken, result2 bool, result3 error)
func (*FakeAccessTokenFetcher) GetAccessTokenReturnsOnCall ¶
func (fake *FakeAccessTokenFetcher) GetAccessTokenReturnsOnCall(i int, result1 db.AccessToken, result2 bool, result3 error)
func (*FakeAccessTokenFetcher) Invocations ¶
func (fake *FakeAccessTokenFetcher) Invocations() map[string][][]interface{}
type FakeHandler ¶
type FakeHandler struct { ServeHTTPStub func(http.ResponseWriter, *http.Request) // contains filtered or unexported fields }
func (*FakeHandler) Invocations ¶
func (fake *FakeHandler) Invocations() map[string][][]interface{}
func (*FakeHandler) ServeHTTP ¶
func (fake *FakeHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
func (*FakeHandler) ServeHTTPArgsForCall ¶
func (fake *FakeHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
func (*FakeHandler) ServeHTTPCallCount ¶
func (fake *FakeHandler) ServeHTTPCallCount() int
func (*FakeHandler) ServeHTTPCalls ¶
func (fake *FakeHandler) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
type FakeNotifications ¶
type FakeNotifications struct { ListenStub func(string) (chan bool, error) UnlistenStub func(string, chan bool) error // contains filtered or unexported fields }
func (*FakeNotifications) Invocations ¶
func (fake *FakeNotifications) Invocations() map[string][][]interface{}
func (*FakeNotifications) Listen ¶
func (fake *FakeNotifications) Listen(arg1 string) (chan bool, error)
func (*FakeNotifications) ListenArgsForCall ¶
func (fake *FakeNotifications) ListenArgsForCall(i int) string
func (*FakeNotifications) ListenCallCount ¶
func (fake *FakeNotifications) ListenCallCount() int
func (*FakeNotifications) ListenCalls ¶
func (fake *FakeNotifications) ListenCalls(stub func(string) (chan bool, error))
func (*FakeNotifications) ListenReturns ¶
func (fake *FakeNotifications) ListenReturns(result1 chan bool, result2 error)
func (*FakeNotifications) ListenReturnsOnCall ¶
func (fake *FakeNotifications) ListenReturnsOnCall(i int, result1 chan bool, result2 error)
func (*FakeNotifications) Unlisten ¶
func (fake *FakeNotifications) Unlisten(arg1 string, arg2 chan bool) error
func (*FakeNotifications) UnlistenArgsForCall ¶
func (fake *FakeNotifications) UnlistenArgsForCall(i int) (string, chan bool)
func (*FakeNotifications) UnlistenCallCount ¶
func (fake *FakeNotifications) UnlistenCallCount() int
func (*FakeNotifications) UnlistenCalls ¶
func (fake *FakeNotifications) UnlistenCalls(stub func(string, chan bool) error)
func (*FakeNotifications) UnlistenReturns ¶
func (fake *FakeNotifications) UnlistenReturns(result1 error)
func (*FakeNotifications) UnlistenReturnsOnCall ¶
func (fake *FakeNotifications) UnlistenReturnsOnCall(i int, result1 error)
type FakeTeamFetcher ¶
type FakeTeamFetcher struct { GetTeamsStub func() ([]db.Team, error) // contains filtered or unexported fields }
func (*FakeTeamFetcher) GetTeamsCallCount ¶
func (fake *FakeTeamFetcher) GetTeamsCallCount() int
func (*FakeTeamFetcher) GetTeamsCalls ¶
func (fake *FakeTeamFetcher) GetTeamsCalls(stub func() ([]db.Team, error))
func (*FakeTeamFetcher) GetTeamsReturns ¶
func (fake *FakeTeamFetcher) GetTeamsReturns(result1 []db.Team, result2 error)
func (*FakeTeamFetcher) GetTeamsReturnsOnCall ¶
func (fake *FakeTeamFetcher) GetTeamsReturnsOnCall(i int, result1 []db.Team, result2 error)
func (*FakeTeamFetcher) Invocations ¶
func (fake *FakeTeamFetcher) Invocations() map[string][][]interface{}
type FakeTokenVerifier ¶
type FakeTokenVerifier struct { VerifyStub func(*http.Request) (map[string]interface{}, error) // contains filtered or unexported fields }
func (*FakeTokenVerifier) Invocations ¶
func (fake *FakeTokenVerifier) Invocations() map[string][][]interface{}
func (*FakeTokenVerifier) Verify ¶
func (fake *FakeTokenVerifier) Verify(arg1 *http.Request) (map[string]interface{}, error)
func (*FakeTokenVerifier) VerifyArgsForCall ¶
func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) *http.Request
func (*FakeTokenVerifier) VerifyCallCount ¶
func (fake *FakeTokenVerifier) VerifyCallCount() int
func (*FakeTokenVerifier) VerifyCalls ¶
func (fake *FakeTokenVerifier) VerifyCalls(stub func(*http.Request) (map[string]interface{}, error))
func (*FakeTokenVerifier) VerifyReturns ¶
func (fake *FakeTokenVerifier) VerifyReturns(result1 map[string]interface{}, result2 error)
func (*FakeTokenVerifier) VerifyReturnsOnCall ¶
func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
Click to show internal directories.
Click to hide internal directories.