Versions in this module Expand all Collapse all v1 v1.1.25 Oct 21, 2014 v1.1.24 Oct 11, 2014 v1.1.22 Oct 2, 2014 v1.1.20 Sep 29, 2014 Changes in this version + type APIResponse struct + Code APIResponseCode + Details interface{} + Message string + type APIResponseCode int + const ERROR + const OK + func (this *APIResponseCode) MarshalJSON() ([]byte, error) + func (this *APIResponseCode) String() string + type HttpAPI struct + var API HttpAPI = HttpAPI{} + func (this *HttpAPI) AbortSeed(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) AvailableLocalSnapshots(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) AvailableSnapshots(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) CreateSnapshot(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) DeleteMySQLDataDir(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) DiskUsage(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) GetMount(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) GetMySQLDataDirAvailableDiskSpace(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) Hostname(params martini.Params, r render.Render) + func (this *HttpAPI) ListLogicalVolumes(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) ListSnapshotsLogicalVolumes(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) LogicalVolume(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MountLV(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MySQLDiskUsage(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MySQLErrorLogTail(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MySQLPort(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MySQLRunning(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MySQLStart(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) MySQLStop(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) PostCopy(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) ReceiveMySQLSeedData(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) RegisterRequests(m *martini.ClassicMartini) + func (this *HttpAPI) RemoveLV(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) SeedCommandCompleted(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) SeedCommandSucceeded(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) SendMySQLSeedData(params martini.Params, r render.Render, req *http.Request) + func (this *HttpAPI) Unmount(params martini.Params, r render.Render, req *http.Request)