github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+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 SharedActor SharedActor 12 } 13 14 // NewActor returns a new actor. 15 func NewActor(v2Actor V2Actor, sharedActor SharedActor) *Actor { 16 return &Actor{ 17 V2Actor: v2Actor, 18 SharedActor: sharedActor, 19 } 20 }