func NewDummyWebAgent(path string, handler http.HandlerFunc) *DummyWebAgent {
	return &DummyWebAgent{
		path:    path,
		handler: handler,
	}
}
TODO: accept both handler and handler func
package agent
import (
	"net/http"
	core "github.com/awesome-flow/flow/pkg/corev1alpha1"
)
type WebAgent interface {
	GetPath() string
	GetHandler() http.Handler
	core.Runner
}
type WebAgents []WebAgent
func (w WebAgents) Len() int           { return len(w) }
func (w WebAgents) Swap(i, j int)      { w[i], w[j] = w[j], w[i] }
func (w WebAgents) Less(i, j int) bool { return w[i].GetPath() < w[j].GetPath() }
type DummyWebAgent struct {
	path    string
	handler http.Handler
}