Documentation
¶
Index ¶
- type ArtifactConfig
- 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 LoadAvg
- type LoadMisc
- type LoadStat
- type LoggingConfig
- type LoggingInfo
- type LoggingTrigger
- 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 SshConfig
- type TriggerRequest
- type TriggerResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactConfig ¶
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 {
LoggingTrigger LoggingTrigger `json:"loggingTrigger"`
}
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{}
type CodeTrigger ¶
type CodeTrigger struct{}
type Config ¶
type Config struct { EnvVariables []EnvVariable `json:"envVariables"` BuildConfig BuildConfig `json:"buildConfig"` CodeConfig CodeConfig `json:"codeConfig"` NodeConfig NodeConfig `json:"nodeConfig"` 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 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 {
Duration string `json:"duration"`
}
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 TriggerRequest ¶
type TriggerRequest struct { BuildTrigger BuildTrigger `json:"buildTrigger"` CodeTrigger CodeTrigger `json:"codeTrigger"` NodeTrigger NodeTrigger `json:"nodeTrigger"` }
type TriggerResponse ¶
Click to show internal directories.
Click to hide internal directories.