Documentation ¶
Index ¶
- type Certificate
- type CertificateAssignRequestData
- type CertificateDownloadResponseData
- type CertificateIssueRequestData
- type CertificateUploadRequestData
- type Issuer
- type ProcessData
- type ServerData
- type ServerMonitorDiskResponseData
- type ServerMonitorNetworkResponseData
- type ServerMonitorOverviewResponseData
- type ServerMonitorProcessResponseData
- type ServerMonitorStatisticsRequestData
- type ServerMonitorStatisticsResponseData
- type ServerMonitorTimeLinePoint
- type StorageCertificateNameList
- type VirtualHost
- type VirtualHostAddress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { CN, ValidFrom, ValidTo string DNSNames, EmailAddresses, Organization, Province, Country, Locality []string IsCA, IsValid bool Issuer Issuer }
Certificate represents certificate data
type CertificateAssignRequestData ¶ added in v1.2.0
type CertificateAssignRequestData struct { ServerName, WebServer, CertName string }
CertificateAssignRequestData contains data required to assign a certificate to domain
type CertificateDownloadResponseData ¶ added in v1.2.0
type CertificateDownloadResponseData struct { CertFileName, CertContent string }
type CertificateIssueRequestData ¶
type CertificateIssueRequestData struct { Email, ServerName, DocRoot, WebServer, ChallengeType string Subjects []string AdditionalParams map[string]string Assign bool }
CertificateIssueRequestData contains data required to issue a certificate
func (*CertificateIssueRequestData) GetAdditionalParam ¶
func (ctd *CertificateIssueRequestData) GetAdditionalParam(key string) string
GetAdditionalParam returns additional param
type CertificateUploadRequestData ¶
type CertificateUploadRequestData struct { ServerName, WebServer, CertName, PemCertificate string }
CertificateUploadRequestData contains data required to upload a certificate
type ProcessData ¶ added in v1.1.0
type ServerData ¶
type ServerData struct { HostName, Os, Platform, PlatformFamily, PlatformVersion, AgentVersion, KernelVersion, KernelArch, Virtualization string Uptime, BootTime uint64 }
ServerData represents base server information
type ServerMonitorDiskResponseData ¶ added in v1.1.0
type ServerMonitorDiskResponseData struct { DiskUsageTimeLineData map[string][]ServerMonitorTimeLinePoint DiskIOTimeLineData map[string][]ServerMonitorTimeLinePoint DiskInfo map[string]map[string]string // mountpoint => {'total': ..., 'free': ..., 'used': ..., ...} }
type ServerMonitorNetworkResponseData ¶ added in v1.1.0
type ServerMonitorNetworkResponseData struct { TimeLineData map[string][]ServerMonitorTimeLinePoint InterfacesInfo []map[string]string }
type ServerMonitorOverviewResponseData ¶ added in v1.1.0
type ServerMonitorOverviewResponseData struct { CpuTimeLineData []ServerMonitorTimeLinePoint NetworkTimeLineData []ServerMonitorTimeLinePoint MemoryTimeLineData []ServerMonitorTimeLinePoint DiskTimeLineData []ServerMonitorTimeLinePoint }
type ServerMonitorProcessResponseData ¶ added in v1.1.0
type ServerMonitorProcessResponseData struct {
ProcessesData []ProcessData
}
type ServerMonitorStatisticsRequestData ¶ added in v1.1.0
type ServerMonitorStatisticsResponseData ¶ added in v1.1.0
type ServerMonitorStatisticsResponseData struct {
Data map[string][]ServerMonitorTimeLinePoint
}
type ServerMonitorTimeLinePoint ¶ added in v1.1.0
type StorageCertificateNameList ¶ added in v1.2.0
type StorageCertificateNameList struct {
CertNameList []string
}
type VirtualHost ¶
type VirtualHost struct { FilePath, ServerName, DocRoot, WebServer string Aliases []string Ssl bool Addresses []VirtualHostAddress }
VirtualHost represents webserver vhost
type VirtualHostAddress ¶
VirtualHostAddress repesents webserver vhost address
Click to show internal directories.
Click to hide internal directories.