Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + type FakeRepository struct + AuthenticateStub func(map[string]string) error + AuthorizeStub func(string) (string, error) + DumpRequestStub func(*http.Request) + DumpResponseStub func(*http.Response) + GetLoginPromptsAndSaveUAAServerURLStub func() (map[string]coreconfig.AuthPrompt, error) + RefreshAuthTokenStub func() (string, error) + RefreshTokenStub func(string) (string, error) + func (fake *FakeRepository) Authenticate(arg1 map[string]string) error + func (fake *FakeRepository) AuthenticateArgsForCall(i int) map[string]string + func (fake *FakeRepository) AuthenticateCallCount() int + func (fake *FakeRepository) AuthenticateCalls(stub func(map[string]string) error) + func (fake *FakeRepository) AuthenticateReturns(result1 error) + func (fake *FakeRepository) AuthenticateReturnsOnCall(i int, result1 error) + func (fake *FakeRepository) Authorize(arg1 string) (string, error) + func (fake *FakeRepository) AuthorizeArgsForCall(i int) string + func (fake *FakeRepository) AuthorizeCallCount() int + func (fake *FakeRepository) AuthorizeCalls(stub func(string) (string, error)) + func (fake *FakeRepository) AuthorizeReturns(result1 string, result2 error) + func (fake *FakeRepository) AuthorizeReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeRepository) DumpRequest(arg1 *http.Request) + func (fake *FakeRepository) DumpRequestArgsForCall(i int) *http.Request + func (fake *FakeRepository) DumpRequestCallCount() int + func (fake *FakeRepository) DumpRequestCalls(stub func(*http.Request)) + func (fake *FakeRepository) DumpResponse(arg1 *http.Response) + func (fake *FakeRepository) DumpResponseArgsForCall(i int) *http.Response + func (fake *FakeRepository) DumpResponseCallCount() int + func (fake *FakeRepository) DumpResponseCalls(stub func(*http.Response)) + func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]coreconfig.AuthPrompt, error) + func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int + func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLCalls(stub func() (map[string]coreconfig.AuthPrompt, error)) + func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]coreconfig.AuthPrompt, result2 error) + func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturnsOnCall(i int, result1 map[string]coreconfig.AuthPrompt, result2 error) + func (fake *FakeRepository) Invocations() map[string][][]interface{} + func (fake *FakeRepository) RefreshAuthToken() (string, error) + func (fake *FakeRepository) RefreshAuthTokenCallCount() int + func (fake *FakeRepository) RefreshAuthTokenCalls(stub func() (string, error)) + func (fake *FakeRepository) RefreshAuthTokenReturns(result1 string, result2 error) + func (fake *FakeRepository) RefreshAuthTokenReturnsOnCall(i int, result1 string, result2 error) + func (fake *FakeRepository) RefreshToken(arg1 string) (string, error) + func (fake *FakeRepository) RefreshTokenArgsForCall(i int) string + func (fake *FakeRepository) RefreshTokenCallCount() int + func (fake *FakeRepository) RefreshTokenCalls(stub func(string) (string, error)) + func (fake *FakeRepository) RefreshTokenReturns(result1 string, result2 error) + func (fake *FakeRepository) RefreshTokenReturnsOnCall(i int, result1 string, result2 error) + type FakeTokenRefresher struct + RefreshAuthTokenStub func() (string, error) + func (fake *FakeTokenRefresher) Invocations() map[string][][]interface{} + func (fake *FakeTokenRefresher) RefreshAuthToken() (string, error) + func (fake *FakeTokenRefresher) RefreshAuthTokenCallCount() int + func (fake *FakeTokenRefresher) RefreshAuthTokenCalls(stub func() (string, error)) + func (fake *FakeTokenRefresher) RefreshAuthTokenReturns(result1 string, result2 error) + func (fake *FakeTokenRefresher) RefreshAuthTokenReturnsOnCall(i int, result1 string, result2 error) Other modules containing this package github.com/LukasHeimann/cloudfoundrycli