Documentation ¶
Index ¶
- Variables
- func NewClient(ctx context.Context, endpoints []string) (*client, error)
- type Client
- type ContainerStatus
- type ContainerStatusInfo
- type ContainerStatusInfoRuntimeSpec
- type ContainerStatusInfoRuntimeSpecLinux
- type ContainerStatusInfoRuntimeSpecLinuxResources
- type ContainerStatusInfoRuntimeSpecLinuxResourcesCPU
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NotFoundErr = fmt.Errorf("not found")
)
Functions ¶
Types ¶
type ContainerStatus ¶
type ContainerStatus struct { Status *pb.ContainerStatus Info ContainerStatusInfo }
type ContainerStatusInfo ¶
type ContainerStatusInfo struct {
RuntimeSpec *ContainerStatusInfoRuntimeSpec `json:"runtimeSpec,omitempty"`
}
type ContainerStatusInfoRuntimeSpec ¶
type ContainerStatusInfoRuntimeSpec struct {
Linux ContainerStatusInfoRuntimeSpecLinux `json:"linux"`
}
type ContainerStatusInfoRuntimeSpecLinux ¶
type ContainerStatusInfoRuntimeSpecLinux struct {
Resources ContainerStatusInfoRuntimeSpecLinuxResources `json:"resources"`
}
type ContainerStatusInfoRuntimeSpecLinuxResources ¶
type ContainerStatusInfoRuntimeSpecLinuxResources struct {
CPU ContainerStatusInfoRuntimeSpecLinuxResourcesCPU `json:"cpu"`
}
Click to show internal directories.
Click to hide internal directories.