Documentation ¶
Index ¶
- func CreatePod() error
- func Exists(ctx context.Context, nameOrID string) (bool, error)
- func Inspect(ctx context.Context, nameOrID string) (*libpod.PodInspect, error)
- func Kill(ctx context.Context, nameOrID string, signal *string) error
- func List(ctx context.Context, filters map[string][]string) ([]*libpod.PodInspect, error)
- func Pause(ctx context.Context, nameOrID string) error
- func Prune(ctx context.Context) error
- func Remove(ctx context.Context, nameOrID string, force *bool) error
- func Restart(ctx context.Context, nameOrID string) error
- func Start(ctx context.Context, nameOrID string) error
- func Stats() error
- func Stop(ctx context.Context, nameOrID string, timeout *int) error
- func Top() error
- func Unpause(ctx context.Context, nameOrID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Kill ¶
Kill sends a SIGTERM to all the containers in a pod. The optional signal parameter can be used to override SIGTERM.
func List ¶
List returns all pods in local storage. The optional filters parameter can be used to refine which pods should be listed.
func Remove ¶
Remove deletes a Pod from from local storage. The optional force parameter denotes that the Pod can be removed even if in a running state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.