github.com/willmadison/cli@v6.40.1-0.20181018160101-29d5937903ff+incompatible/actor/v2action/config.go (about)

     1  package v2action
     2  
     3  import "time"
     4  
     5  //go:generate counterfeiter . Config
     6  
     7  type Config interface {
     8  	AccessToken() string
     9  	DialTimeout() time.Duration
    10  	PollingInterval() time.Duration
    11  	RefreshToken() string
    12  	SetAccessToken(accessToken string)
    13  	SetRefreshToken(refreshToken string)
    14  	SetTargetInformation(api string, apiVersion string, auth string, minCLIVersion string, doppler string, routing string, skipSSLValidation bool)
    15  	SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
    16  	SetUAAClientCredentials(client string, clientSecret string)
    17  	SetUAAGrantType(uaaGrantType string)
    18  	SkipSSLValidation() bool
    19  	SSHOAuthClient() string
    20  	StagingTimeout() time.Duration
    21  	StartupTimeout() time.Duration
    22  	Target() string
    23  	UAAGrantType() string
    24  	UnsetOrganizationAndSpaceInformation()
    25  	UnsetSpaceInformation()
    26  	Verbose() (bool, []string)
    27  }