Documentation ¶
Index ¶
- type PodmanRuntime
- func (r *PodmanRuntime) GetContainerFromID(containerId string) (*models.Container, error)
- func (r *PodmanRuntime) GetContainerFromName(containerName string) (*models.Container, error)
- func (r *PodmanRuntime) GetInfraContainerFromPod(pod *libpod.Pod) (*models.Container, error)
- func (r *PodmanRuntime) GetPodFromID(podId string) (*models.PodmanPod, error)
- func (r *PodmanRuntime) GetPodFromName(podName string) (*models.PodmanPod, error)
- func (r *PodmanRuntime) ListContainers() ([]*models.Container, error)
- func (r *PodmanRuntime) ListPods() ([]*models.PodmanPod, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodmanRuntime ¶
type PodmanRuntime struct { Stop context.CancelFunc // contains filtered or unexported fields }
func NewPodmanRuntime ¶
func NewPodmanRuntime() (*PodmanRuntime, error)
func (*PodmanRuntime) GetContainerFromID ¶
func (r *PodmanRuntime) GetContainerFromID(containerId string) (*models.Container, error)
GetContainerFromID retrieve a specific container using its ID
func (*PodmanRuntime) GetContainerFromName ¶
func (r *PodmanRuntime) GetContainerFromName(containerName string) (*models.Container, error)
GetContainerFromName retrieve a specific container using its name
func (*PodmanRuntime) GetInfraContainerFromPod ¶
func (*PodmanRuntime) GetPodFromID ¶
func (r *PodmanRuntime) GetPodFromID(podId string) (*models.PodmanPod, error)
func (*PodmanRuntime) GetPodFromName ¶
func (r *PodmanRuntime) GetPodFromName(podName string) (*models.PodmanPod, error)
func (*PodmanRuntime) ListContainers ¶
func (r *PodmanRuntime) ListContainers() ([]*models.Container, error)
ListContainers retrieve all containers
Click to show internal directories.
Click to hide internal directories.