github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/actor/v7action/config.go (about) 1 package v7action 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 SSHOAuthClient() string 13 SetAccessToken(token string) 14 SetRefreshToken(token string) 15 SetTokenInformation(accessToken string, refreshToken string, token string) 16 SetUAAClientCredentials(client string, clientSecret string) 17 SetUAAGrantType(grantType string) 18 StagingTimeout() time.Duration 19 StartupTimeout() time.Duration 20 UAAGrantType() string 21 UnsetOrganizationAndSpaceInformation() 22 }