Documentation ¶
Index ¶
- func DeleteConfiguration(tag string, isAll bool)
- func RemoveCurrentConf()
- func SaveConfig(tag string)
- func ShowCurrentConfig() (error, model.ConfigInfo)
- func ShowSavedConfigs() (error, model.ConfigInfo)
- func UseConfig(tag string)
- type RemoteComputer
- func (r RemoteComputer) AppChangePath(site string, app string, path string)
- func (r RemoteComputer) AppChangePool(site string, app string, pool string)
- func (r RemoteComputer) AppChangePreload(site string, app string, preload string)
- func (r RemoteComputer) AppPoolChange(pool string, runtime string, startmode string, autostart string, ...)
- func (r RemoteComputer) AppPoolCreate(poolName string, startmode string, autostart string, runtime string, ...)
- func (r RemoteComputer) AppRename(site string, app string, rename string)
- func (r RemoteComputer) BackupIISConfig(foldername string)
- func (r RemoteComputer) ChangeApplicationProps(site string, app string, pool string, preload string, path string, ...)
- func (r RemoteComputer) ChangeStartMode(serviceName string, startMode string)
- func (r RemoteComputer) ChangeWebSite(sitename string, rename string, preload string, pool string, binding string, ...)
- func (r RemoteComputer) ChangeWinSvc(serviceName string, displayName string, description string, exePath string, ...)
- func (r RemoteComputer) ConfigBackupLists()
- func (r RemoteComputer) ConfigClearAll()
- func (r RemoteComputer) CopyFromTarget(remotepath string, localpath string)
- func (r RemoteComputer) CopyToTarget(remotepath string, localpath string)
- func (r RemoteComputer) CreateBackupDir(source string, destination string)
- func (r RemoteComputer) CreateSite(siteName string, siteAddress string, sitePath string, poolName string, ...)
- func (r RemoteComputer) CreateSiteApp(app string, site string, path string, pool string)
- func (r RemoteComputer) CreateWinsvc(serviceName string, displayName string, description string, exePath string, ...)
- func (r RemoteComputer) DeleteWinSvc(serviceName string)
- func (r RemoteComputer) ExecuteCommand(command string)
- func (r RemoteComputer) FindSiteNameByVdir(vdir string) string
- func (r RemoteComputer) FindSubApps(app string) []string
- func (r RemoteComputer) FolderList(source string) model.FolderList
- func (r RemoteComputer) GetAppPoolState(appName string) string
- func (r RemoteComputer) GetPoolInfo(poolName string) model.AppPool
- func (r RemoteComputer) GetSiteState(siteName string) string
- func (r RemoteComputer) GetWindowsServiceState(serviceName string) (string, string)
- func (r RemoteComputer) GetWindowsServiceStats(serviceName string) model.WindowsService
- func (r RemoteComputer) IsAppExist(app string, site string) bool
- func (r RemoteComputer) IsIISRunning() bool
- func (r RemoteComputer) IsPoolExist(poolName string) bool
- func (r RemoteComputer) IsVdirHasApplication(app string, site string) []string
- func (r RemoteComputer) ListAllAppPools() []model.AppPool
- func (r RemoteComputer) ListAllSites() []model.SitesIIS
- func (r RemoteComputer) ListAppPoolsByStatus(status string) []model.AppPool
- func (r RemoteComputer) ListSingleSite(siteName string) []model.SitesIIS
- func (r RemoteComputer) OpenSession(command string)
- func (r RemoteComputer) RemoveFolder(path string)
- func (r RemoteComputer) RemoveIISBackup(folder string, isForce bool)
- func (r RemoteComputer) RemoveSite(siteName string)
- func (r RemoteComputer) RemoveSiteApplication(app string, site string, force bool)
- func (r RemoteComputer) RemoveSiteApplicationForce(app string, site string, force bool)
- func (r RemoteComputer) RemoveWebAppPool(isForce bool, appName string)
- func (r RemoteComputer) ResetIIS()
- func (r RemoteComputer) RestartWebAppPool(appName string, all bool)
- func (r RemoteComputer) RestartWindowsService(serviceName string)
- func (r RemoteComputer) RestoreIISConfig(isLatest bool, backupFolderName string)
- func (r RemoteComputer) RunCommandJSON(command string) string
- func (r RemoteComputer) RunCommandPlain(command string) string
- func (r RemoteComputer) SiteAppList() []model.SitesApplications
- func (r RemoteComputer) StartIIS()
- func (r RemoteComputer) StartIISSite(siteName string)
- func (r RemoteComputer) StartWebAppPool(appName string)
- func (r RemoteComputer) StartWindowsService(serviceName string)
- func (r RemoteComputer) StopIIS()
- func (r RemoteComputer) StopIISSite(siteName string)
- func (r RemoteComputer) StopWebAppPool(appName string)
- func (r RemoteComputer) StopWindowsService(serviceName string)
- func (r RemoteComputer) VdirAddToApp(vdir string, site string, path string, app string)
- func (r RemoteComputer) VdirChangeProps(vdir string, site string, pool string, path string, rename string)
- func (r RemoteComputer) VirtualDirCreate(sitename string, virtualdirName string, path string, app string)
- func (r RemoteComputer) VirtualDirList() []model.VirtualDir
- func (r RemoteComputer) VirtualDirRemove(vdir string, sitename string, appname string)
- func (r RemoteComputer) WebSitesListByStatus(status string) []model.SitesIIS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConfiguration ¶
func RemoveCurrentConf ¶
func RemoveCurrentConf()
func SaveConfig ¶
func SaveConfig(tag string)
func ShowCurrentConfig ¶
func ShowCurrentConfig() (error, model.ConfigInfo)
func ShowSavedConfigs ¶
func ShowSavedConfigs() (error, model.ConfigInfo)
Types ¶
type RemoteComputer ¶
type RemoteComputer struct { ComputerName string Username string Password string DomainName string }
func (RemoteComputer) AppChangePath ¶
func (r RemoteComputer) AppChangePath(site string, app string, path string)
func (RemoteComputer) AppChangePool ¶
func (r RemoteComputer) AppChangePool(site string, app string, pool string)
func (RemoteComputer) AppChangePreload ¶
func (r RemoteComputer) AppChangePreload(site string, app string, preload string)
func (RemoteComputer) AppPoolChange ¶
func (RemoteComputer) AppPoolCreate ¶
func (RemoteComputer) AppRename ¶
func (r RemoteComputer) AppRename(site string, app string, rename string)
func (RemoteComputer) BackupIISConfig ¶
func (r RemoteComputer) BackupIISConfig(foldername string)
func (RemoteComputer) ChangeApplicationProps ¶
func (RemoteComputer) ChangeStartMode ¶
func (r RemoteComputer) ChangeStartMode(serviceName string, startMode string)
func (RemoteComputer) ChangeWebSite ¶
func (RemoteComputer) ChangeWinSvc ¶
func (RemoteComputer) ConfigBackupLists ¶
func (r RemoteComputer) ConfigBackupLists()
func (RemoteComputer) ConfigClearAll ¶
func (r RemoteComputer) ConfigClearAll()
func (RemoteComputer) CopyFromTarget ¶
func (r RemoteComputer) CopyFromTarget(remotepath string, localpath string)
func (RemoteComputer) CopyToTarget ¶
func (r RemoteComputer) CopyToTarget(remotepath string, localpath string)
func (RemoteComputer) CreateBackupDir ¶
func (r RemoteComputer) CreateBackupDir(source string, destination string)
func (RemoteComputer) CreateSite ¶
func (RemoteComputer) CreateSiteApp ¶
func (r RemoteComputer) CreateSiteApp(app string, site string, path string, pool string)
func (RemoteComputer) CreateWinsvc ¶
func (RemoteComputer) DeleteWinSvc ¶
func (r RemoteComputer) DeleteWinSvc(serviceName string)
func (RemoteComputer) ExecuteCommand ¶
func (r RemoteComputer) ExecuteCommand(command string)
func (RemoteComputer) FindSiteNameByVdir ¶
func (r RemoteComputer) FindSiteNameByVdir(vdir string) string
func (RemoteComputer) FindSubApps ¶
func (r RemoteComputer) FindSubApps(app string) []string
func (RemoteComputer) FolderList ¶
func (r RemoteComputer) FolderList(source string) model.FolderList
func (RemoteComputer) GetAppPoolState ¶
func (r RemoteComputer) GetAppPoolState(appName string) string
func (RemoteComputer) GetPoolInfo ¶
func (r RemoteComputer) GetPoolInfo(poolName string) model.AppPool
func (RemoteComputer) GetSiteState ¶
func (r RemoteComputer) GetSiteState(siteName string) string
func (RemoteComputer) GetWindowsServiceState ¶
func (r RemoteComputer) GetWindowsServiceState(serviceName string) (string, string)
func (RemoteComputer) GetWindowsServiceStats ¶
func (r RemoteComputer) GetWindowsServiceStats(serviceName string) model.WindowsService
func (RemoteComputer) IsAppExist ¶
func (r RemoteComputer) IsAppExist(app string, site string) bool
func (RemoteComputer) IsIISRunning ¶
func (r RemoteComputer) IsIISRunning() bool
func (RemoteComputer) IsPoolExist ¶
func (r RemoteComputer) IsPoolExist(poolName string) bool
func (RemoteComputer) IsVdirHasApplication ¶
func (r RemoteComputer) IsVdirHasApplication(app string, site string) []string
func (RemoteComputer) ListAllAppPools ¶
func (r RemoteComputer) ListAllAppPools() []model.AppPool
func (RemoteComputer) ListAllSites ¶
func (r RemoteComputer) ListAllSites() []model.SitesIIS
func (RemoteComputer) ListAppPoolsByStatus ¶
func (r RemoteComputer) ListAppPoolsByStatus(status string) []model.AppPool
func (RemoteComputer) ListSingleSite ¶
func (r RemoteComputer) ListSingleSite(siteName string) []model.SitesIIS
func (RemoteComputer) OpenSession ¶
func (r RemoteComputer) OpenSession(command string)
func (RemoteComputer) RemoveFolder ¶
func (r RemoteComputer) RemoveFolder(path string)
func (RemoteComputer) RemoveIISBackup ¶
func (r RemoteComputer) RemoveIISBackup(folder string, isForce bool)
func (RemoteComputer) RemoveSite ¶
func (r RemoteComputer) RemoveSite(siteName string)
func (RemoteComputer) RemoveSiteApplication ¶
func (r RemoteComputer) RemoveSiteApplication(app string, site string, force bool)
func (RemoteComputer) RemoveSiteApplicationForce ¶
func (r RemoteComputer) RemoveSiteApplicationForce(app string, site string, force bool)
func (RemoteComputer) RemoveWebAppPool ¶
func (r RemoteComputer) RemoveWebAppPool(isForce bool, appName string)
func (RemoteComputer) ResetIIS ¶
func (r RemoteComputer) ResetIIS()
func (RemoteComputer) RestartWebAppPool ¶
func (r RemoteComputer) RestartWebAppPool(appName string, all bool)
func (RemoteComputer) RestartWindowsService ¶
func (r RemoteComputer) RestartWindowsService(serviceName string)
func (RemoteComputer) RestoreIISConfig ¶
func (r RemoteComputer) RestoreIISConfig(isLatest bool, backupFolderName string)
func (RemoteComputer) RunCommandJSON ¶
func (r RemoteComputer) RunCommandJSON(command string) string
func (RemoteComputer) RunCommandPlain ¶
func (r RemoteComputer) RunCommandPlain(command string) string
func (RemoteComputer) SiteAppList ¶
func (r RemoteComputer) SiteAppList() []model.SitesApplications
func (RemoteComputer) StartIIS ¶
func (r RemoteComputer) StartIIS()
func (RemoteComputer) StartIISSite ¶
func (r RemoteComputer) StartIISSite(siteName string)
func (RemoteComputer) StartWebAppPool ¶
func (r RemoteComputer) StartWebAppPool(appName string)
func (RemoteComputer) StartWindowsService ¶
func (r RemoteComputer) StartWindowsService(serviceName string)
func (RemoteComputer) StopIIS ¶
func (r RemoteComputer) StopIIS()
func (RemoteComputer) StopIISSite ¶
func (r RemoteComputer) StopIISSite(siteName string)
func (RemoteComputer) StopWebAppPool ¶
func (r RemoteComputer) StopWebAppPool(appName string)
func (RemoteComputer) StopWindowsService ¶
func (r RemoteComputer) StopWindowsService(serviceName string)
func (RemoteComputer) VdirAddToApp ¶
func (r RemoteComputer) VdirAddToApp(vdir string, site string, path string, app string)
func (RemoteComputer) VdirChangeProps ¶
func (RemoteComputer) VirtualDirCreate ¶
func (r RemoteComputer) VirtualDirCreate(sitename string, virtualdirName string, path string, app string)
func (RemoteComputer) VirtualDirList ¶
func (r RemoteComputer) VirtualDirList() []model.VirtualDir
func (RemoteComputer) VirtualDirRemove ¶
func (r RemoteComputer) VirtualDirRemove(vdir string, sitename string, appname string)
func (RemoteComputer) WebSitesListByStatus ¶
func (r RemoteComputer) WebSitesListByStatus(status string) []model.SitesIIS
Click to show internal directories.
Click to hide internal directories.