Documentation ¶
Overview ¶
Package schema Date: 2022/11/9 10:18 Author: Amu Description:
Package schema Date: 2024/3/27 16:36 Author: Amu Description:
Package schema Date: 2024/3/6 13:20 Author: Amu Description:
Package schema Date: 2024/3/6 13:20 Author: Amu Description:
Package schema Date: 2024/3/6 13:19 Author: Amu Description:
Package schema Date: 2024/3/27 16:36 Author: Amu Description:
Index ¶
- type Audit
- type AuditQueryArgs
- type AuditQueryReply
- type CPUInfoReply
- type CPUUsageArgs
- type CPUUsageReply
- type Container
- type ContainerQueryArgs
- type ContainerQueryRely
- type ContainerRemoveArgs
- type ContainerRestartArgs
- type ContainerStartArgs
- type ContainerStopArgs
- type DiskIO
- type DiskInfo
- type DiskInfoReply
- type DiskUsageArgs
- type DiskUsageReply
- type Docker
- type HostInfoReply
- type Image
- type ImageQueryArgs
- type ImageQueryReply
- type ImageRemoveArgs
- type LoginArgs
- type LoginResult
- type MemoryInfoReply
- type MemoryUsageArgs
- type MemoryUsageReply
- type NetIO
- type NetworkUsageArgs
- type NetworkUsageReply
- type Pagination
- type PasswordUpdateArgs
- type Usage
- type User
- type UserInfo
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditQueryArgs ¶
type AuditQueryReply ¶
type CPUInfoReply ¶
type CPUInfoReply struct {
Percent float64 `json:"percent"`
}
type CPUUsageArgs ¶
type CPUUsageReply ¶
type CPUUsageReply struct {
Data []Usage `json:"data"`
}
type Container ¶
type Container struct { ID string `json:"id"` Name string `json:"name"` Image string `json:"image"` IP string `json:"ip"` State string `json:"state"` Uptime string `json:"uptime"` CPUPercent string `json:"cpu_percent"` MemoryPercent string `json:"memory_percent"` MemoryUsage string `json:"memory_usage"` MemoryLimit string `json:"memory_limit"` }
type ContainerQueryArgs ¶
type ContainerQueryRely ¶
type ContainerRemoveArgs ¶
type ContainerRemoveArgs struct {
ContainerID string `json:"container_id" validate:"required"`
}
type ContainerRestartArgs ¶
type ContainerRestartArgs struct {
ContainerID string `json:"container_id" validate:"required"`
}
type ContainerStartArgs ¶
type ContainerStartArgs struct {
ContainerID string `json:"container_id" validate:"required"`
}
type ContainerStopArgs ¶
type ContainerStopArgs struct {
ContainerID string `json:"container_id" validate:"required"`
}
type DiskInfoReply ¶
type DiskInfoReply struct {
Info []DiskInfo `json:"info"`
}
type DiskUsageArgs ¶
type DiskUsageReply ¶
type HostInfoReply ¶
type HostInfoReply struct { Timestamp int64 `json:"timestamp"` Uptime string `json:"uptime"` Hostname string `json:"hostname"` OS string `json:"os"` Platform string `json:"platform"` PlatformVersion string `json:"platform_version"` KernelVersion string `json:"kernel_version"` KernelArch string `json:"kernel_arch"` }
type ImageQueryArgs ¶
type ImageQueryReply ¶
type ImageRemoveArgs ¶
type ImageRemoveArgs struct {
ImageID string `json:"image_id" validate:"required"`
}
type LoginResult ¶
type MemoryInfoReply ¶
type MemoryUsageArgs ¶
type MemoryUsageReply ¶
type MemoryUsageReply struct {
Data []Usage `json:"data"`
}
type NetworkUsageArgs ¶
type NetworkUsageReply ¶
type Pagination ¶
type PasswordUpdateArgs ¶
Click to show internal directories.
Click to hide internal directories.