Documentation ¶
Index ¶
- Variables
- func CreateAccessTokenWithTokenInfo(tokenInfo configuration.TokenInfo) (accessToken string, err error)
- type FakeConfigRepository
- func (repo FakeConfigRepository) ClearSession() (err error)
- func (repo FakeConfigRepository) ClearTokens() (err error)
- func (repo FakeConfigRepository) Delete()
- func (repo FakeConfigRepository) Get() (c *configuration.Configuration, err error)
- func (repo FakeConfigRepository) Login() (c *configuration.Configuration)
- func (repo FakeConfigRepository) Save() (err error)
- func (repo FakeConfigRepository) SetOrganization(org cf.OrganizationFields) (err error)
- func (repo FakeConfigRepository) SetSpace(space cf.SpaceFields) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var SavedConfiguration configuration.Configuration
View Source
var TestConfigurationSingleton *configuration.Configuration
Functions ¶
func CreateAccessTokenWithTokenInfo ¶
func CreateAccessTokenWithTokenInfo(tokenInfo configuration.TokenInfo) (accessToken string, err error)
Types ¶
type FakeConfigRepository ¶
type FakeConfigRepository struct { }
func (FakeConfigRepository) ClearSession ¶
func (repo FakeConfigRepository) ClearSession() (err error)
func (FakeConfigRepository) ClearTokens ¶
func (repo FakeConfigRepository) ClearTokens() (err error)
func (FakeConfigRepository) Delete ¶
func (repo FakeConfigRepository) Delete()
func (FakeConfigRepository) Get ¶
func (repo FakeConfigRepository) Get() (c *configuration.Configuration, err error)
func (FakeConfigRepository) Login ¶
func (repo FakeConfigRepository) Login() (c *configuration.Configuration)
func (FakeConfigRepository) Save ¶
func (repo FakeConfigRepository) Save() (err error)
func (FakeConfigRepository) SetOrganization ¶
func (repo FakeConfigRepository) SetOrganization(org cf.OrganizationFields) (err error)
func (FakeConfigRepository) SetSpace ¶
func (repo FakeConfigRepository) SetSpace(space cf.SpaceFields) (err error)
Click to show internal directories.
Click to hide internal directories.