github.com/cloudfoundry/cli@v7.1.0+incompatible/actor/v2action/config.go (about)

     1  package v2action
     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  	BinaryName() string
    14  	DialTimeout() time.Duration
    15  	PollingInterval() time.Duration
    16  	RefreshToken() string
    17  	SetAccessToken(accessToken string)
    18  	SetRefreshToken(refreshToken string)
    19  	SetTargetInformation(args configv3.TargetInformationArgs)
    20  	SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
    21  	SetUAAClientCredentials(client string, clientSecret string)
    22  	SetUAAGrantType(uaaGrantType string)
    23  	SkipSSLValidation() bool
    24  	SSHOAuthClient() string
    25  	StagingTimeout() time.Duration
    26  	StartupTimeout() time.Duration
    27  	Target() string
    28  	UAAGrantType() string
    29  	UnsetOrganizationAndSpaceInformation()
    30  	UnsetSpaceInformation()
    31  	Verbose() (bool, []string)
    32  }