github.com/ablease/cli@v6.37.1-0.20180613014814-3adbb7d7fb19+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 PollingInterval() time.Duration 10 RefreshToken() string 11 SetAccessToken(accessToken string) 12 SetRefreshToken(refreshToken string) 13 SetTargetInformation(api string, apiVersion string, auth string, minCLIVersion string, doppler string, routing string, skipSSLValidation bool) 14 SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string) 15 SetUAAClientCredentials(client string, clientSecret string) 16 SetUAAGrantType(uaaGrantType string) 17 SkipSSLValidation() bool 18 SSHOAuthClient() string 19 StagingTimeout() time.Duration 20 StartupTimeout() time.Duration 21 Target() string 22 UAAGrantType() string 23 UnsetOrganizationAndSpaceInformation() 24 UnsetSpaceInformation() 25 Verbose() (bool, []string) 26 }