github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/actor/v2action/actor.go (about) 1 // Package v2action contains the business logic for the commands/v2 package 2 package v2action 3 4 // Warnings is a list of warnings returned back from the cloud controller 5 type Warnings []string 6 7 // Actor handles all business logic for Cloud Controller v2 operations. 8 type Actor struct { 9 CloudControllerClient CloudControllerClient 10 UAAClient UAAClient 11 } 12 13 // NewActor returns a new actor. 14 func NewActor(ccClient CloudControllerClient, uaaClient UAAClient) Actor { 15 return Actor{ 16 CloudControllerClient: ccClient, 17 UAAClient: uaaClient, 18 } 19 }