Documentation ¶
Index ¶
- Constants
- func GetSupportedWebServers() []string
- type HostManager
- type NginxWebServer
- func (nws *NginxWebServer) GetCode() string
- func (nws *NginxWebServer) GetProcessManager() (ProcessManager, error)
- func (nws *NginxWebServer) GetVhostByName(serverName string) (*agentintegration.VirtualHost, error)
- func (nws *NginxWebServer) GetVhostManager() HostManager
- func (nws *NginxWebServer) GetVhosts() ([]agentintegration.VirtualHost, error)
- type ProcessManager
- type WebServer
Constants ¶
View Source
const ( WebServerNginxCode = "nginx" WebServerApacheCode = "apache" )
Variables ¶
This section is empty.
Functions ¶
func GetSupportedWebServers ¶
func GetSupportedWebServers() []string
Types ¶
type HostManager ¶
type NginxWebServer ¶
type NginxWebServer struct { Config *nginxConfig.Config // contains filtered or unexported fields }
func GetNginxWebServer ¶
func GetNginxWebServer(options map[string]string) (*NginxWebServer, error)
func (*NginxWebServer) GetCode ¶
func (nws *NginxWebServer) GetCode() string
func (*NginxWebServer) GetProcessManager ¶
func (nws *NginxWebServer) GetProcessManager() (ProcessManager, error)
func (*NginxWebServer) GetVhostByName ¶
func (nws *NginxWebServer) GetVhostByName(serverName string) (*agentintegration.VirtualHost, error)
func (*NginxWebServer) GetVhostManager ¶
func (nws *NginxWebServer) GetVhostManager() HostManager
func (*NginxWebServer) GetVhosts ¶
func (nws *NginxWebServer) GetVhosts() ([]agentintegration.VirtualHost, error)
type ProcessManager ¶
type ProcessManager interface {
Reload() error
}
type WebServer ¶
type WebServer interface { GetVhostByName(serverName string) (*agentintegration.VirtualHost, error) GetVhosts() ([]agentintegration.VirtualHost, error) GetCode() string GetVhostManager() HostManager GetProcessManager() (ProcessManager, error) }
Click to show internal directories.
Click to hide internal directories.