forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.go
28 lines (25 loc) · 875 Bytes
/
config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package v2action
import "time"
//go:generate counterfeiter . Config
type Config interface {
AccessToken() string
BinaryName() string
DialTimeout() time.Duration
PollingInterval() time.Duration
RefreshToken() string
SetAccessToken(accessToken string)
SetRefreshToken(refreshToken string)
SetTargetInformation(api string, apiVersion string, auth string, minCLIVersion string, doppler string, routing string, skipSSLValidation bool)
SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
SetUAAClientCredentials(client string, clientSecret string)
SetUAAGrantType(uaaGrantType string)
SkipSSLValidation() bool
SSHOAuthClient() string
StagingTimeout() time.Duration
StartupTimeout() time.Duration
Target() string
UAAGrantType() string
UnsetOrganizationAndSpaceInformation()
UnsetSpaceInformation()
Verbose() (bool, []string)
}