Documentation
¶
Index ¶
- type ArtifactConfig
- type ArtifactInfo
- type ArtifactTrigger
- type BuildConfig
- type BuildInfo
- type BuildTrigger
- type CGroupDockerStat
- type CGroupMemDocker
- type CodeConfig
- type CodeInfo
- type CodeTrigger
- type Config
- type ConfigResponse
- type CpuStat
- type CpuTime
- type DiskPartition
- type DiskStat
- type DiskUsage
- type DockerStat
- type EnvVariable
- type GptConfig
- type HostStat
- type LintConfig
- type LintVote
- type LoadAvg
- type LoadMisc
- type LoadStat
- type LoggingConfig
- type LoggingInfo
- type LoggingTrigger
- type MailInfo
- type MemStat
- type MemSwapDevice
- type MemSwapMemory
- type MemVirtual
- type NetInterface
- type NetIo
- type NetStat
- type NodeConfig
- type NodeInfo
- type NodeReport
- type NodeStat
- type NodeTrigger
- type ProcessInfo
- type ProcessMemoryInfo
- type ProcessRLimit
- type ProcessStat
- type RepoConfig
- type RepoInfo
- type ReviewConfig
- type ReviewInfo
- type ReviewTrigger
- type SshConfig
- type ToolchainConfig
- type ToolchainInfo
- type ToolchainTrigger
- type TriggerRequest
- type TriggerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactConfig ¶
type ArtifactInfo ¶ added in v1.3.0
type ArtifactInfo struct{}
type ArtifactTrigger ¶ added in v1.3.0
type ArtifactTrigger struct{}
type BuildConfig ¶
type BuildConfig struct {
LoggingConfig LoggingConfig `json:"loggingConfig"`
}
type BuildInfo ¶
type BuildInfo struct {
LoggingInfo LoggingInfo `json:"loggingInfo"`
RepoInfo RepoInfo `json:"repoInfo"`
ReviewInfo ReviewInfo `json:"reviewInfo"`
}
type BuildTrigger ¶
type BuildTrigger struct {
EnvVariables []EnvVariable `json:"envVariables"`
LoggingTrigger LoggingTrigger `json:"loggingTrigger"`
ReviewTrigger ReviewTrigger `json:"reviewTrigger"`
}
type CGroupDockerStat ¶
type CGroupMemDocker ¶
type CGroupMemDocker struct {
Cache uint64 `json:"cache"`
Rss uint64 `json:"rss"`
RssHuge uint64 `json:"rssHuge"`
MappedFile uint64 `json:"mappedFile"`
TotalCache uint64 `json:"totalCache"`
TotalRss uint64 `json:"totalRss"`
TotalRssHuge uint64 `json:"totalRssHuge"`
TotalMappedFile uint64 `json:"totalMappedFile"`
MemUsageInBytes uint64 `json:"memUsageInBytes"`
MemMaxUsageInBytes uint64 `json:"memMaxUsageInBytes"`
MemLimitInBytes uint64 `json:"memLimitInBytes"`
}
type CodeConfig ¶
type CodeConfig struct {
Duration string `json:"duration"`
LintConfigs []LintConfig `json:"lintConfigs"`
LintVote LintVote `json:"lintVote"`
}
type CodeTrigger ¶
type CodeTrigger struct {
ReviewTrigger ReviewTrigger `json:"reviewTrigger"`
}
type Config ¶
type Config struct {
BuildConfig BuildConfig `json:"buildConfig"`
CodeConfig CodeConfig `json:"codeConfig"`
NodeConfig NodeConfig `json:"nodeConfig"`
ToolchainConfig ToolchainConfig `json:"toolchainConfig"`
ArtifactConfig ArtifactConfig `json:"artifactConfig"`
GptConfig GptConfig `json:"gptConfig"`
RepoConfig RepoConfig `json:"repoConfig"`
ReviewConfig ReviewConfig `json:"reviewConfig"`
}
type ConfigResponse ¶
type ConfigResponse struct{}
type CpuTime ¶
type CpuTime struct {
Cpu string `json:"cpu"`
User float64 `json:"user"`
System float64 `json:"system"`
Idle float64 `json:"idle"`
Nice float64 `json:"nice"`
IoWait float64 `json:"iowait"`
Irq float64 `json:"irq"`
SoftIrq float64 `json:"softirq"`
Steal float64 `json:"steal"`
Guest float64 `json:"guest"`
GuestNice float64 `json:"guestNice"`
}
type DiskPartition ¶
type DiskStat ¶
type DiskStat struct {
DiskPartitions []DiskPartition `json:"diskPartitions"`
DiskUsage DiskUsage `json:"diskUsage"`
}
type DockerStat ¶
type DockerStat struct {
CGroupCpuDockerUsages []float64 `json:"cgroupCpuDockerUsages"`
CGroupDockerStats []CGroupDockerStat `json:"cgroupDockerStats"`
CGroupMemDockers []CGroupMemDocker `json:"cgroupMemDockers"`
}
type EnvVariable ¶
type HostStat ¶
type HostStat struct {
Hostname string `json:"hostname"`
Procs uint64 `json:"procs"`
OS string `json:"os"`
Platform string `json:"platform"`
PlatformFamily string `json:"platformFamily"`
PlatformVersion string `json:"platformVersion"`
KernelVersion string `json:"kernelVersion"`
KernelArch string `json:"kernelArch"`
HostID string `json:"hostID"`
}
type LintConfig ¶ added in v1.3.0
type LoggingConfig ¶
type LoggingInfo ¶
type LoggingTrigger ¶
type MemStat ¶
type MemStat struct {
MemSwapDevices []MemSwapDevice `json:"memSwapDevices"`
MemSwapMemory MemSwapMemory `json:"memSwapMemory"`
MemVirtual MemVirtual `json:"memVirtual"`
}
type MemSwapDevice ¶
type MemSwapMemory ¶
type MemVirtual ¶
type MemVirtual struct {
Total uint64 `json:"total"`
Available uint64 `json:"available"`
Used uint64 `json:"used"`
UsedPercent float64 `json:"usedPercent"`
Free uint64 `json:"free"`
Buffer uint64 `json:"buffer"`
Cached uint64 `json:"cached"`
SwapCached uint64 `json:"swapCached"`
SwapTotal uint64 `json:"swapTotal"`
SwapFree uint64 `json:"swapFree"`
Mapped uint64 `json:"mapped"`
VMallocTotal uint64 `json:"vmallocTotal"`
VMallocUsed uint64 `json:"vmallocUsed"`
VMallocChunk uint64 `json:"vmallocChunk"`
HugePagesTotal uint64 `json:"hugePagesTotal"`
HugePagesFree uint64 `json:"hugePagesFree"`
HugePagesRsvd uint64 `json:"hugePagesRsvd"`
HugePagesSurp uint64 `json:"hugePagesSurp"`
HugePageSize uint64 `json:"hugePageSize"`
AnonHugePage uint64 `json:"anonHugePage"`
}
type NetInterface ¶
type NetStat ¶
type NetStat struct {
NetIos []NetIo `json:"netIos"`
NetInterfaces []NetInterface `json:"netInterfaces"`
}
type NodeConfig ¶
type NodeConfig struct{}
type NodeInfo ¶
type NodeInfo struct {
NodeStat NodeStat `json:"nodeStat"`
NodeReport NodeReport `json:"nodeReport"`
}
type NodeReport ¶
type NodeReport struct {
CpuReport string `json:"cpuReport"`
DiskReport string `json:"diskReport"`
DockerReport string `json:"dockerReport"`
HealthReport string `json:"healthReport"`
HostReport string `json:"hostReport"`
LoadReport string `json:"loadReport"`
MemReport string `json:"memReport"`
NetReport string `json:"netReport"`
ProcessReport string `json:"processReport"`
}
type NodeStat ¶
type NodeStat struct {
CpuStat CpuStat `json:"cpuStat"`
DiskStat DiskStat `json:"diskStat"`
DockerStat DockerStat `json:"dockerStat"`
HostStat HostStat `json:"hostStat"`
LoadStat LoadStat `json:"loadStat"`
MemStat MemStat `json:"memStat"`
NetStat NetStat `json:"netStat"`
ProcessStat ProcessStat `json:"processStat"`
}
type NodeTrigger ¶
type NodeTrigger struct {
SshConfig SshConfig `json:"sshConfig"`
}
type ProcessInfo ¶
type ProcessInfo struct {
Background bool `json:"background"`
CpuPercent float64 `json:"cpuPercent"`
Children []int32 `json:"children"`
Cmdline string `json:"cmdline"`
Environs []string `json:"environs"`
IoNice int32 `json:"ionice"`
IsRunning bool `json:"isRunning"`
ProcessMemoryInfo ProcessMemoryInfo `json:"processMemoryInfo"`
MemoryPercent float32 `json:"memoryPercent"`
Name string `json:"name"`
NumFd int32 `json:"numFd"`
NumThread int32 `json:"numThread"`
Parent int32 `json:"parent"`
Ppid int32 `json:"ppid"`
ProcessRLimits []ProcessRLimit `json:"processRlimit"`
Statuses []string `json:"statuss"`
UIDs []int32 `json:"uids"`
Username string `json:"username"`
}
type ProcessMemoryInfo ¶
type ProcessRLimit ¶
type ProcessStat ¶
type ProcessStat struct {
ProcessInfos []ProcessInfo `json:"processInfos"`
}
type RepoConfig ¶
type ReviewConfig ¶
type ReviewInfo ¶
type ReviewTrigger ¶ added in v1.3.0
type ReviewTrigger struct {
Host string `json:"host"`
Port string `json:"port"`
Project string `json:"project"`
Topic string `json:"topic"`
Branch string `json:"branch"`
EventType string `json:"eventType"`
Scheme string `json:"scheme"`
Refspec string `json:"refspec"`
ChangeID string `json:"changeID"`
ChangeUrl string `json:"changeUrl"`
ChangeNumber string `json:"changeNumber"`
ChangeSubject string `json:"changeSubject"`
ChangeOwner string `json:"changeOwner"`
ChangeOwnerName string `json:"changeOwnerName"`
ChangeOwnerEmail string `json:"changeOwnerEmail"`
ChangeWIPState string `json:"changeWIPState"`
ChangePrivateState string `json:"changePrivateState"`
ChangeCommitMessage string `json:"changeCommitMessage"`
PatchsetNumber string `json:"patchsetNumber"`
PatchsetRevision string `json:"patchsetRevision"`
PatchsetUploader string `json:"patchsetUploader"`
PatchsetUploaderName string `json:"patchsetUploaderName"`
PatchsetUploaderEmail string `json:"patchsetUploaderEmail"`
}
type ToolchainConfig ¶ added in v1.24.0
type ToolchainConfig struct{}
type ToolchainInfo ¶ added in v1.24.0
type ToolchainInfo struct{}
type ToolchainTrigger ¶ added in v1.24.0
type ToolchainTrigger struct{}
type TriggerRequest ¶
type TriggerRequest struct {
ArtifactTrigger *ArtifactTrigger `json:"artifactTrigger"`
BuildTrigger *BuildTrigger `json:"buildTrigger"`
CodeTrigger *CodeTrigger `json:"codeTrigger"`
NodeTrigger *NodeTrigger `json:"nodeTrigger"`
ToolchainTrigger *ToolchainTrigger `json:"toolchainTrigger"`
}
type TriggerResponse ¶
type TriggerResponse struct {
ArtifactInfo ArtifactInfo `json:"artifactInfo"`
BuildInfos []BuildInfo `json:"buildInfos"`
CodeInfo CodeInfo `json:"codeInfo"`
MailInfo MailInfo `json:"mailInfo"`
NodeInfo NodeInfo `json:"nodeInfo"`
ToolchainInfo ToolchainInfo `json:"toolchainInfo"`
}
Click to show internal directories.
Click to hide internal directories.