Versions in this module Expand all Collapse all v0 v0.0.1 Sep 15, 2015 Changes in this version + type MockMesosClient struct + func NewMockMesosClient(t *testing.T, pid *upid.UPID) *MockMesosClient + func (c *MockMesosClient) SendMessage(targetPid *upid.UPID, message proto.Message) + type MockMesosHttpServer struct + Addr string + PID *upid.UPID + func NewMockMasterHttpServer(t *testing.T, handler func(rsp http.ResponseWriter, req *http.Request)) *MockMesosHttpServer + func NewMockSlaveHttpServer(t *testing.T, handler func(rsp http.ResponseWriter, req *http.Request)) *MockMesosHttpServer + func (m *MockMesosHttpServer) On(uri string) When + func (s *MockMesosHttpServer) Close() + type When interface + Do func(http.HandlerFunc) + type WhenFunc func(http.HandlerFunc) + func (w WhenFunc) Do(f http.HandlerFunc)