github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/actor/pluginaction/actor.go (about)

     1  // Package pluginaction handles all operations related to plugin commands
     2  package pluginaction
     3  
     4  // Actor handles all plugin actions
     5  type Actor struct {
     6  	config Config
     7  	client PluginClient
     8  }
     9  
    10  // NewActor returns a pluginaction Actor
    11  func NewActor(config Config, client PluginClient) *Actor {
    12  	return &Actor{config: config, client: client}
    13  }