github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/actor/sharedaction/config.go (about)

     1  package sharedaction
     2  
     3  //go:generate counterfeiter . Config
     4  
     5  // Config a way of getting basic CF configuration
     6  type Config interface {
     7  	AccessToken() string
     8  	BinaryName() string
     9  	CurrentUserName() (string, error)
    10  	HasTargetedOrganization() bool
    11  	HasTargetedSpace() bool
    12  	RefreshToken() string
    13  	TargetedOrganizationName() string
    14  	Verbose() (bool, []string)
    15  }