MCPcopy Create free account
hub / github.com/cloudfoundry/multiapps-cli-plugin / Action

Interface Action

commands/action.go:12–14  ·  view source on GitHub ↗

Action interface representing actions to be excuted on processes

Source from the content-addressed store, hash-verified

10
11// Action interface representing actions to be excuted on processes
12type Action interface {
13 Execute(operationID string, mtaClient mtaclient.MtaClientOperations) ExecutionStatus
14}
15
16// GetActionToExecute returns the action to execute specified with action ID
17func GetActionToExecute(actionID, commandName string, monitoringRetries uint) Action {

Implementers 4

MonitorActioncommands/monitor_action.go
actioncommands/action.go
monitoringActioncommands/action.go
BaseCommandcommands/base_command.go

Calls

no outgoing calls

Tested by

no test coverage detected