github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/sharedaction/config.go (about)

     1  package sharedaction
     2  
     3  //go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . 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  	IsCFOnK8s() bool
    13  	RefreshToken() string
    14  	TargetedOrganizationName() string
    15  	Verbose() (bool, []string)
    16  }