Documentation
¶
Overview ¶
Package configaction handles all operations done to the CF Config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct {
Config Config
CloudControllerClient CloudControllerClient
}
Actor handles all operations done to the CF Config
func NewActor ¶
func NewActor(config Config, client CloudControllerClient) Actor
NewActor returns an Actor with default settings
func (Actor) ClearTarget ¶
func (actor Actor) ClearTarget()
ClearTarget clears target information from the actor.
type CloudControllerClient ¶
type Config ¶
type Config interface {
Target() string
SkipSSLValidation() bool
SetTargetInformation(api string, apiVersion string, auth string, loggregator string, minCLIVersion string, doppler string, uaa string, routing string, skipSSLValidation bool)
SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
}
Config a way of getting basic CF configuration
type TargetSettings ¶
type TargetSettings ccv2.TargetSettings
Directories
¶
| Path | Synopsis |
|---|---|
|
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.