github.com/jghiloni/cli@v6.28.1-0.20170628223758-0ce05fe032a2+incompatible/actor/pushaction/actor.go (about) 1 // Package pushaction contains the business logic for orchestrating a V2 app 2 // push. 3 package pushaction 4 5 // Warnings is a list of warnings returned back from the cloud controller 6 type Warnings []string 7 8 // Actor handles all business logic for Cloud Controller v2 operations. 9 type Actor struct { 10 V2Actor V2Actor 11 } 12 13 // NewActor returns a new actor. 14 func NewActor(v2Actor V2Actor) *Actor { 15 return &Actor{ 16 V2Actor: v2Actor, 17 } 18 }