code.cloudfoundry.org/cli@v7.1.0+incompatible/actor/v3action/config.go (about)

     1  package v3action
     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  	SetTargetInformation(args configv3.TargetInformationArgs)
    16  	SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
    17  	SetUAAClientCredentials(client string, clientSecret string)
    18  	SetUAAGrantType(uaaGrantType string)
    19  	SkipSSLValidation() bool
    20  	SSHOAuthClient() string
    21  	StartupTimeout() time.Duration
    22  	StagingTimeout() time.Duration
    23  	Target() string
    24  	UAAGrantType() string
    25  	UnsetOrganizationAndSpaceInformation()
    26  }