Versions in this module Expand all Collapse all v0 v0.6.0 Mar 31, 2026 Changes in this version + type Client struct + func NewClient(ctx context.Context) (*Client, error) + func (c *Client) Close() error + func (c *Client) GetContainerInfoFromPod(ctx context.Context, podName string, containerNames []string) ([]ContainerPIDInfo, error) + func (c *Client) InspectContainer(ctx context.Context, containerID string) (*InspectResponse, error) + func (c *Client) ListContainers(ctx context.Context, podID string) (*ContainersResponse, error) + func (c *Client) ListPods(ctx context.Context, nameFilter string) (*PodsResponse, error) + type ContainerImageRef struct + Image string + type ContainerInfo struct + CreatedAt int64 + ID string + Image ContainerImageRef + ImageRef string + Labels map[string]string + Metadata ContainerMetadata + PodID string + State string + type ContainerMetadata struct + Attempt uint32 + Name string + type ContainerMount struct + ContainerPath string + HostPath string + Readonly bool + type ContainerPIDInfo struct + ContainerID string + ContainerName string + Namespace string + PID int32 + PodName string + func GetContainerPIDsFromPod(ctx context.Context, podName string, containerNames []string) ([]ContainerPIDInfo, error) + type ContainerStatus struct + Annotations map[string]string + CreatedAt int64 + ExitCode int32 + FinishedAt int64 + ID string + Image ContainerImageRef + ImageRef string + Labels map[string]string + LogPath string + Message string + Metadata ContainerMetadata + Mounts []ContainerMount + Reason string + StartedAt int64 + State string + type ContainersResponse struct + Containers []ContainerInfo + type InspectResponse struct + Info map[string]interface{} + Status ContainerStatus + type PodInfo struct + CreatedAt int64 + ID string + Labels map[string]string + Metadata PodMetadata + State string + type PodMetadata struct + Attempt uint32 + Name string + Namespace string + UID string + type PodsResponse struct + Items []PodInfo