github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/api/cloudcontroller/connection.go (about)

     1  // Package cloudcontroller contains shared utilities between the V2 and V3
     2  // clients.
     3  //
     4  // These sets of packages are still under development/pre-pre-pre...alpha. Use
     5  // at your own risk! Functionality and design may change without warning.
     6  //
     7  // Where are the clients?
     8  //
     9  // These clients live in ccv2 and ccv3 packages. Each of them only works with
    10  // the V2 and V3 api respectively.
    11  package cloudcontroller
    12  
    13  //go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . Connection
    14  
    15  // Connection creates and executes http requests
    16  type Connection interface {
    17  	Make(request *Request, passedResponse *Response) error
    18  }