github.com/loafoe/cli@v7.1.0+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  }