github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/connection.go (about)

     1  // Package cloudcontroller contains shared utilies 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 counterfeiter . Connection
    14  
    15  // Connection creates and executes http requests
    16  type Connection interface {
    17  	Make(request *Request, passedResponse *Response) error
    18  }