code: func (p *Plugin) GetAllProcesses() []ProcessInstance {
  	var processes []ProcessInstance
  	for _, pr := range p.processes {
  		processes = append(processes, pr)
  	}
  	return processes
  }
docs: // GetAllProcesses returns all processes known to plugin