Versions in this module Expand all Collapse all v4 v4.0.1 May 22, 2018 Changes in this version + type FakeAccessToken struct + RefreshStub func() (uaa.AccessToken, error) + RefreshTokenStub func() uaa.Token + TypeStub func() string + ValueStub func() string + func (fake *FakeAccessToken) Invocations() map[string][][]interface{} + func (fake *FakeAccessToken) Refresh() (uaa.AccessToken, error) + func (fake *FakeAccessToken) RefreshCallCount() int + func (fake *FakeAccessToken) RefreshReturns(result1 uaa.AccessToken, result2 error) + func (fake *FakeAccessToken) RefreshReturnsOnCall(i int, result1 uaa.AccessToken, result2 error) + func (fake *FakeAccessToken) RefreshToken() uaa.Token + func (fake *FakeAccessToken) RefreshTokenCallCount() int + func (fake *FakeAccessToken) RefreshTokenReturns(result1 uaa.Token) + func (fake *FakeAccessToken) RefreshTokenReturnsOnCall(i int, result1 uaa.Token) + func (fake *FakeAccessToken) Type() string + func (fake *FakeAccessToken) TypeCallCount() int + func (fake *FakeAccessToken) TypeReturns(result1 string) + func (fake *FakeAccessToken) TypeReturnsOnCall(i int, result1 string) + func (fake *FakeAccessToken) Value() string + func (fake *FakeAccessToken) ValueCallCount() int + func (fake *FakeAccessToken) ValueReturns(result1 string) + func (fake *FakeAccessToken) ValueReturnsOnCall(i int, result1 string) + type FakeToken struct + TypeStub func() string + ValueStub func() string + func (fake *FakeToken) Invocations() map[string][][]interface{} + func (fake *FakeToken) Type() string + func (fake *FakeToken) TypeCallCount() int + func (fake *FakeToken) TypeReturns(result1 string) + func (fake *FakeToken) TypeReturnsOnCall(i int, result1 string) + func (fake *FakeToken) Value() string + func (fake *FakeToken) ValueCallCount() int + func (fake *FakeToken) ValueReturns(result1 string) + func (fake *FakeToken) ValueReturnsOnCall(i int, result1 string) + type FakeUAA struct + ClientCredentialsGrantStub func() (uaa.Token, error) + NewStaleAccessTokenStub func(refreshValue string) uaa.StaleAccessToken + OwnerPasswordCredentialsGrantStub func([]uaa.PromptAnswer) (uaa.AccessToken, error) + PromptsStub func() ([]uaa.Prompt, error) + func (fake *FakeUAA) ClientCredentialsGrant() (uaa.Token, error) + func (fake *FakeUAA) ClientCredentialsGrantCallCount() int + func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.Token, result2 error) + func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.Token, result2 error) + func (fake *FakeUAA) Invocations() map[string][][]interface{} + func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken + func (fake *FakeUAA) NewStaleAccessTokenArgsForCall(i int) string + func (fake *FakeUAA) NewStaleAccessTokenCallCount() int + func (fake *FakeUAA) NewStaleAccessTokenReturns(result1 uaa.StaleAccessToken) + func (fake *FakeUAA) NewStaleAccessTokenReturnsOnCall(i int, result1 uaa.StaleAccessToken) + func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.PromptAnswer) (uaa.AccessToken, error) + func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.PromptAnswer + func (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int + func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error) + func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error) + func (fake *FakeUAA) Prompts() ([]uaa.Prompt, error) + func (fake *FakeUAA) PromptsCallCount() int + func (fake *FakeUAA) PromptsReturns(result1 []uaa.Prompt, result2 error) + func (fake *FakeUAA) PromptsReturnsOnCall(i int, result1 []uaa.Prompt, result2 error) Other modules containing this package gopkg.in/cloudfoundry/bosh-cli.v0 gopkg.in/cloudfoundry/bosh-cli.v2 gopkg.in/cloudfoundry/bosh-cli.v3 gopkg.in/cloudfoundry/bosh-cli.v5 gopkg.in/cloudfoundry/bosh-cli.v6