Versions in this module Expand all Collapse all v0 v0.3.14 Mar 12, 2016 Changes in this version + const DELIMITER + const SERVER_HDFS + const SERVER_NODE + const USER + var AppBasePath string = func(dir string, err error) string { ... }(os.Getwd()) + var EC_APP_PATH string = os.Getenv("EC_APP_PATH") + var EC_DATA_PATH string = os.Getenv("EC_DATA_PATH") + var IncludeFiles []string = []string + var LayoutFile string = "views/layout.html" + func DateToString(tm time.Time) string + func GetHomeDir() string + func GetSedotandWindows() bool + type AdministrationController struct + func CreateAdminisrationController(s *knot.Server) *AdministrationController + func (a *AdministrationController) ConnectToDataSource() (dbox.IConnection, error) + func (a *AdministrationController) SaveAccess(r *knot.WebContext) interface{} + type App struct + Server *knot.Server + type ApplicationController struct + func CreateApplicationController(s *knot.Server) *ApplicationController + func (a *ApplicationController) ConnectToDataSource() (dbox.IConnection, error) + func (a *ApplicationController) CreateNewFile(r *knot.WebContext) interface{} + func (a *ApplicationController) DeleteApps(r *knot.WebContext) interface{} + func (a *ApplicationController) DeleteFileSelected(r *knot.WebContext) interface{} + func (a *ApplicationController) Deploy(r *knot.WebContext) interface{} + func (a *ApplicationController) GetApps(r *knot.WebContext) interface{} + func (a *ApplicationController) GetServerPathSeparator(server *colonycore.Server) string + func (a *ApplicationController) ReadContent(r *knot.WebContext) interface{} + func (a *ApplicationController) ReadDirectory(r *knot.WebContext) interface{} + func (a *ApplicationController) RenameFileSelected(r *knot.WebContext) interface{} + func (a *ApplicationController) SaveAccess(r *knot.WebContext) interface{} + func (a *ApplicationController) SaveApps(r *knot.WebContext) interface{} + func (a *ApplicationController) SelectApps(r *knot.WebContext) interface{} + type DataBrowserController struct + func CreateDataBrowserController(s *knot.Server) *DataBrowserController + func (d *DataBrowserController) CheckConnection(r *knot.WebContext) interface{} + func (d *DataBrowserController) DeleteBrowser(r *knot.WebContext) interface{} + func (d *DataBrowserController) DetailDB(r *knot.WebContext) interface{} + func (d *DataBrowserController) GetBrowser(r *knot.WebContext) interface{} + func (d *DataBrowserController) GetDesignView(r *knot.WebContext) interface{} + func (d *DataBrowserController) SaveBrowser(r *knot.WebContext) interface{} + func (d *DataBrowserController) TestQuery(r *knot.WebContext) interface{} + type DataGrabberController struct + func CreateDataGrabberController(s *knot.Server) *DataGrabberController + func (d *DataGrabberController) AutoGenerateDataSources(payload *colonycore.DataGrabberWizardPayload, formatTime string) ([]*colonycore.DataGrabber, error) + func (d *DataGrabberController) FindDataGrabber(r *knot.WebContext) interface{} + func (d *DataGrabberController) GenerateNewField(payload *colonycore.DataGrabber) (bool, error) + func (d *DataGrabberController) GetDataGrabber(r *knot.WebContext) interface{} + func (d *DataGrabberController) GetLogs(r *knot.WebContext) interface{} + func (d *DataGrabberController) GetSampleDataForAddWizard() colonycore.DataGrabberWizardPayload + func (d *DataGrabberController) GetTransformedData(r *knot.WebContext) interface{} + func (d *DataGrabberController) RemoveDataGrabber(r *knot.WebContext) interface{} + func (d *DataGrabberController) RemoveMultipleDataGrabber(r *knot.WebContext) interface{} + func (d *DataGrabberController) SaveDataGrabber(r *knot.WebContext) interface{} + func (d *DataGrabberController) SaveDataGrabberWizard(r *knot.WebContext) interface{} + func (d *DataGrabberController) SelectDataGrabber(r *knot.WebContext) interface{} + func (d *DataGrabberController) StartTransformation(r *knot.WebContext) interface{} + func (d *DataGrabberController) Stat(r *knot.WebContext) interface{} + func (d *DataGrabberController) StopTransformation(r *knot.WebContext) interface{} + func (d *DataGrabberController) Transform(dataGrabber *colonycore.DataGrabber) (bool, []toolkit.M, string) + type DataSourceController struct + func CreateDataSourceController(s *knot.Server) *DataSourceController + func (d *DataSourceController) ConnectToDataSource(_id string) (*colonycore.DataSource, *colonycore.Connection, dbox.IConnection, dbox.IQuery, ...) + func (d *DataSourceController) ConnectToDataSourceDB(payload toolkit.M) (int, []toolkit.M, *colonycore.DataBrowser, error) + func (d *DataSourceController) DoFetchDataSourceMetaData(dataConn *colonycore.Connection, from string) (bool, []*colonycore.FieldInfo, error) + func (d *DataSourceController) FetchDataSourceLookupData(r *knot.WebContext) interface{} + func (d *DataSourceController) FetchDataSourceMetaData(r *knot.WebContext) interface{} + func (d *DataSourceController) FetchDataSourceSubData(r *knot.WebContext) interface{} + func (d *DataSourceController) FindConnection(r *knot.WebContext) interface{} + func (d *DataSourceController) GetConnections(r *knot.WebContext) interface{} + func (d *DataSourceController) GetDataSourceCollections(r *knot.WebContext) interface{} + func (d *DataSourceController) GetDataSources(r *knot.WebContext) interface{} + func (d *DataSourceController) RemoveMultipleConnection(r *knot.WebContext) interface{} + func (d *DataSourceController) RemoveMultipleDataSource(r *knot.WebContext) interface{} + func (d *DataSourceController) RunDataSourceQuery(r *knot.WebContext) interface{} + func (d *DataSourceController) SaveConnection(r *knot.WebContext) interface{} + func (d *DataSourceController) SaveDataSource(r *knot.WebContext) interface{} + func (d *DataSourceController) SelectConnection(r *knot.WebContext) interface{} + func (d *DataSourceController) SelectDataSource(r *knot.WebContext) interface{} + func (d *DataSourceController) TestConnection(r *knot.WebContext) interface{} + type FileBrowserController struct + func CreateFileBrowserController(s *knot.Server) *FileBrowserController + func (s *FileBrowserController) Delete(r *knot.WebContext) interface{} + func (s *FileBrowserController) Download(r *knot.WebContext) interface{} + func (s *FileBrowserController) Edit(r *knot.WebContext) interface{} + func (s *FileBrowserController) GetContent(r *knot.WebContext) interface{} + func (s *FileBrowserController) GetDir(r *knot.WebContext) interface{} + func (s *FileBrowserController) GetServers(r *knot.WebContext) interface{} + func (s *FileBrowserController) NewFile(r *knot.WebContext) interface{} + func (s *FileBrowserController) NewFolder(r *knot.WebContext) interface{} + func (s *FileBrowserController) Permission(r *knot.WebContext) interface{} + func (s *FileBrowserController) Rename(r *knot.WebContext) interface{} + func (s *FileBrowserController) Upload(r *knot.WebContext) interface{} + type GroupController struct + func CreateGroupController(s *knot.Server) *GroupController + type MetaSave struct + type ServerController struct + func CreateServerController(s *knot.Server) *ServerController + func (s *ServerController) CheckPing(r *knot.WebContext) interface{} + func (s *ServerController) DeleteServers(r *knot.WebContext) interface{} + func (s *ServerController) GetServers(r *knot.WebContext) interface{} + func (s *ServerController) SSHConnect(payload *colonycore.Server) (sshclient.SshSetting, *ssh.Client, error) + func (s *ServerController) SaveServers(r *knot.WebContext) interface{} + func (s *ServerController) SelectServers(r *knot.WebContext) interface{} + func (s *ServerController) TestConnection(r *knot.WebContext) interface{} + type UserController struct + func CreateUserController(s *knot.Server) *UserController + type WebController struct + func CreateWebController(s *knot.Server) *WebController + func (w *WebController) Administration(r *knot.WebContext) interface{} + func (w *WebController) Application(r *knot.WebContext) interface{} + func (w *WebController) DataBrowser(r *knot.WebContext) interface{} + func (w *WebController) DataGrabber(r *knot.WebContext) interface{} + func (w *WebController) DataSource(r *knot.WebContext) interface{} + func (w *WebController) FileBrowser(r *knot.WebContext) interface{} + func (w *WebController) Index(r *knot.WebContext) interface{} + func (w *WebController) WebGrabber(r *knot.WebContext) interface{} + type WebGrabberController struct + func CreateWebGrabberController(s *knot.Server) *WebGrabberController + func GetDirSnapshot(nameid string) *WebGrabberController + func NewHistory(nameid string) *WebGrabberController + func (d *WebGrabberController) FindWebGrabber(r *knot.WebContext) interface{} + func (d *WebGrabberController) GetConnections(r *knot.WebContext) interface{} + func (w *WebGrabberController) DaemonStat(r *knot.WebContext) interface{} + func (w *WebGrabberController) DaemonToggle(r *knot.WebContext) interface{} + func (w *WebGrabberController) FetchContent(r *knot.WebContext) interface{} + func (w *WebGrabberController) GetFetchedData(r *knot.WebContext) interface{} + func (w *WebGrabberController) GetHistory(r *knot.WebContext) interface{} + func (w *WebGrabberController) GetLog(r *knot.WebContext) interface{} + func (w *WebGrabberController) GetLogHistory(datas []interface{}, date string) interface{} + func (w *WebGrabberController) GetScrapperData(r *knot.WebContext) interface{} + func (w *WebGrabberController) GetSnapshot(r *knot.WebContext) interface{} + func (w *WebGrabberController) OpenHistory() ([]interface{}, error) + func (w *WebGrabberController) OpenSnapShot(Nameid string) ([]interface{}, error) + func (w *WebGrabberController) RemoveGrabber(r *knot.WebContext) interface{} + func (w *WebGrabberController) RemoveMultipleWebGrabber(r *knot.WebContext) interface{} + func (w *WebGrabberController) SaveScrapperData(r *knot.WebContext) interface{} + func (w *WebGrabberController) SelectScrapperData(r *knot.WebContext) interface{} + func (w *WebGrabberController) StartService(r *knot.WebContext) interface{} + func (w *WebGrabberController) Stat(r *knot.WebContext) interface{} + func (w *WebGrabberController) StopService(r *knot.WebContext) interface{}