Documentation ¶
Overview ¶
Package cri is used to get running sandboxes from the CRI socket
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIs ¶
type APIs interface {
GetRunningPodSandboxes(log logger.Logger) ([]*SandboxInfo, error)
}
APIs is the CRI interface
type Client ¶
type Client struct{}
Client is an empty struct
func (*Client) GetRunningPodSandboxes ¶
func (c *Client) GetRunningPodSandboxes(log logger.Logger) ([]*SandboxInfo, error)
GetRunningPodSandboxes get running sandboxIDs
type SandboxInfo ¶
SandboxInfo provides container information
Click to show internal directories.
Click to hide internal directories.