Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeGithubAuthClient
- func (fake *FakeGithubAuthClient) GetDeviceCode() (*auth.GithubDeviceCodeResponse, error)
- func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatus(arg1 string) (string, error)
- func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusArgsForCall(i int) string
- func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusCallCount() int
- func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusCalls(stub func(string) (string, error))
- func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusReturns(result1 string, result2 error)
- func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGithubAuthClient) GetDeviceCodeCallCount() int
- func (fake *FakeGithubAuthClient) GetDeviceCodeCalls(stub func() (*auth.GithubDeviceCodeResponse, error))
- func (fake *FakeGithubAuthClient) GetDeviceCodeReturns(result1 *auth.GithubDeviceCodeResponse, result2 error)
- func (fake *FakeGithubAuthClient) GetDeviceCodeReturnsOnCall(i int, result1 *auth.GithubDeviceCodeResponse, result2 error)
- func (fake *FakeGithubAuthClient) Invocations() map[string][][]interface{}
- type FakeJWTClient
- func (fake *FakeJWTClient) GenerateJWT(arg1 time.Duration, arg2 gitproviders.GitProviderName, arg3 string) (string, error)
- func (fake *FakeJWTClient) GenerateJWTArgsForCall(i int) (time.Duration, gitproviders.GitProviderName, string)
- func (fake *FakeJWTClient) GenerateJWTCallCount() int
- func (fake *FakeJWTClient) GenerateJWTCalls(stub func(time.Duration, gitproviders.GitProviderName, string) (string, error))
- func (fake *FakeJWTClient) GenerateJWTReturns(result1 string, result2 error)
- func (fake *FakeJWTClient) GenerateJWTReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeJWTClient) Invocations() map[string][][]interface{}
- func (fake *FakeJWTClient) VerifyJWT(arg1 string) (*auth.Claims, error)
- func (fake *FakeJWTClient) VerifyJWTArgsForCall(i int) string
- func (fake *FakeJWTClient) VerifyJWTCallCount() int
- func (fake *FakeJWTClient) VerifyJWTCalls(stub func(string) (*auth.Claims, error))
- func (fake *FakeJWTClient) VerifyJWTReturns(result1 *auth.Claims, result2 error)
- func (fake *FakeJWTClient) VerifyJWTReturnsOnCall(i int, result1 *auth.Claims, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGithubAuthClient ¶ added in v0.3.0
type FakeGithubAuthClient struct { GetDeviceCodeStub func() (*auth.GithubDeviceCodeResponse, error) GetDeviceCodeAuthStatusStub func(string) (string, error) // contains filtered or unexported fields }
func (*FakeGithubAuthClient) GetDeviceCode ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCode() (*auth.GithubDeviceCodeResponse, error)
func (*FakeGithubAuthClient) GetDeviceCodeAuthStatus ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatus(arg1 string) (string, error)
func (*FakeGithubAuthClient) GetDeviceCodeAuthStatusArgsForCall ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusArgsForCall(i int) string
func (*FakeGithubAuthClient) GetDeviceCodeAuthStatusCallCount ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusCallCount() int
func (*FakeGithubAuthClient) GetDeviceCodeAuthStatusCalls ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusCalls(stub func(string) (string, error))
func (*FakeGithubAuthClient) GetDeviceCodeAuthStatusReturns ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusReturns(result1 string, result2 error)
func (*FakeGithubAuthClient) GetDeviceCodeAuthStatusReturnsOnCall ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeAuthStatusReturnsOnCall(i int, result1 string, result2 error)
func (*FakeGithubAuthClient) GetDeviceCodeCallCount ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeCallCount() int
func (*FakeGithubAuthClient) GetDeviceCodeCalls ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeCalls(stub func() (*auth.GithubDeviceCodeResponse, error))
func (*FakeGithubAuthClient) GetDeviceCodeReturns ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeReturns(result1 *auth.GithubDeviceCodeResponse, result2 error)
func (*FakeGithubAuthClient) GetDeviceCodeReturnsOnCall ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) GetDeviceCodeReturnsOnCall(i int, result1 *auth.GithubDeviceCodeResponse, result2 error)
func (*FakeGithubAuthClient) Invocations ¶ added in v0.3.0
func (fake *FakeGithubAuthClient) Invocations() map[string][][]interface{}
type FakeJWTClient ¶
type FakeJWTClient struct { GenerateJWTStub func(time.Duration, gitproviders.GitProviderName, string) (string, error) VerifyJWTStub func(string) (*auth.Claims, error) // contains filtered or unexported fields }
func (*FakeJWTClient) GenerateJWT ¶
func (fake *FakeJWTClient) GenerateJWT(arg1 time.Duration, arg2 gitproviders.GitProviderName, arg3 string) (string, error)
func (*FakeJWTClient) GenerateJWTArgsForCall ¶
func (fake *FakeJWTClient) GenerateJWTArgsForCall(i int) (time.Duration, gitproviders.GitProviderName, string)
func (*FakeJWTClient) GenerateJWTCallCount ¶
func (fake *FakeJWTClient) GenerateJWTCallCount() int
func (*FakeJWTClient) GenerateJWTCalls ¶
func (fake *FakeJWTClient) GenerateJWTCalls(stub func(time.Duration, gitproviders.GitProviderName, string) (string, error))
func (*FakeJWTClient) GenerateJWTReturns ¶
func (fake *FakeJWTClient) GenerateJWTReturns(result1 string, result2 error)
func (*FakeJWTClient) GenerateJWTReturnsOnCall ¶
func (fake *FakeJWTClient) GenerateJWTReturnsOnCall(i int, result1 string, result2 error)
func (*FakeJWTClient) Invocations ¶
func (fake *FakeJWTClient) Invocations() map[string][][]interface{}
func (*FakeJWTClient) VerifyJWT ¶
func (fake *FakeJWTClient) VerifyJWT(arg1 string) (*auth.Claims, error)
func (*FakeJWTClient) VerifyJWTArgsForCall ¶
func (fake *FakeJWTClient) VerifyJWTArgsForCall(i int) string
func (*FakeJWTClient) VerifyJWTCallCount ¶
func (fake *FakeJWTClient) VerifyJWTCallCount() int
func (*FakeJWTClient) VerifyJWTCalls ¶
func (fake *FakeJWTClient) VerifyJWTCalls(stub func(string) (*auth.Claims, error))
func (*FakeJWTClient) VerifyJWTReturns ¶
func (fake *FakeJWTClient) VerifyJWTReturns(result1 *auth.Claims, result2 error)
func (*FakeJWTClient) VerifyJWTReturnsOnCall ¶
func (fake *FakeJWTClient) VerifyJWTReturnsOnCall(i int, result1 *auth.Claims, result2 error)
Click to show internal directories.
Click to hide internal directories.