service

package
v0.0.0-...-32a8221 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteConfiguration

func DeleteConfiguration(tag string, isAll bool)

func RemoveCurrentConf

func RemoveCurrentConf()

func SaveConfig

func SaveConfig(tag string)

func ShowCurrentConfig

func ShowCurrentConfig() (error, model.ConfigInfo)

func ShowSavedConfigs

func ShowSavedConfigs() (error, model.ConfigInfo)

func UseConfig

func UseConfig(tag string)

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 (r RemoteComputer) AppPoolChange(pool string, runtime string, startmode string, autostart string,
	idleaction string, idleminute string, pipelinemode string, rename string)

func (RemoteComputer) AppPoolCreate

func (r RemoteComputer) AppPoolCreate(poolName string, startmode string, autostart string, runtime string,
	pipelinemode string, idleaction string, idleminute string)

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 (r RemoteComputer) ChangeApplicationProps(site string, app string, pool string, preload string, path string, rename string)

func (RemoteComputer) ChangeStartMode

func (r RemoteComputer) ChangeStartMode(serviceName string, startMode string)

func (RemoteComputer) ChangeWebSite

func (r RemoteComputer) ChangeWebSite(sitename string, rename string, preload string, pool string, binding string, path string)

func (RemoteComputer) ChangeWinSvc

func (r RemoteComputer) ChangeWinSvc(serviceName string, displayName string, description string, exePath string, startupType string)

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 (r RemoteComputer) CreateSite(siteName string, siteAddress string, sitePath string, poolName string, isPreloadEnabled string)

func (RemoteComputer) CreateSiteApp

func (r RemoteComputer) CreateSiteApp(app string, site string, path string, pool string)

func (RemoteComputer) CreateWinsvc

func (r RemoteComputer) CreateWinsvc(serviceName string, displayName string, description string, exePath string, startupType string)

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 (r RemoteComputer) VdirChangeProps(vdir string, site string, pool string, path string, rename string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL