github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/actor/v7action/config.go (about)

     1  package v7action
     2  
     3  import (
     4  	"time"
     5  
     6  	"code.cloudfoundry.org/cli/util/configv3"
     7  )
     8  
     9  //go:generate counterfeiter . Config
    10  
    11  type Config interface {
    12  	AccessToken() string
    13  	DialTimeout() time.Duration
    14  	PollingInterval() time.Duration
    15  	RefreshToken() string
    16  	SSHOAuthClient() string
    17  	SetAccessToken(token string)
    18  	SetRefreshToken(token string)
    19  	SetTargetInformation(args configv3.TargetInformationArgs)
    20  	SetTokenInformation(accessToken string, refreshToken string, token string)
    21  	SetUAAClientCredentials(client string, clientSecret string)
    22  	SetUAAGrantType(grantType string)
    23  	SkipSSLValidation() bool
    24  	StagingTimeout() time.Duration
    25  	StartupTimeout() time.Duration
    26  	Target() string
    27  	UAAGrantType() string
    28  	UnsetOrganizationAndSpaceInformation()
    29  }