Enum podman_api::opts::ContainerListFilter[][src]

pub enum ContainerListFilter {
Show 16 variants Ancestor(ImageOpt), Before(String), Expose(String), Exited(i32), Health(ContainerHealth), Id(Id), IsTask(bool), LabelKey(String), LabelKeyVal(StringString), Name(String), Network(String), Pod(String), Publish(String), Since(String), Status(ContainerStatus), Volume(String),
}
Expand description

Used to filter listed containers by one of the variants.

Variants

Ancestor(ImageOpt)

Tuple Fields

Images that are ancestors.

Before(String)

Tuple Fields

0: String

Container ID or name

Expose(String)

Tuple Fields

0: String

[/] or /[]

Exited(i32)

Tuple Fields

0: i32

Containers with exit code of

Health(ContainerHealth)

Tuple Fields

Id(Id)

Tuple Fields

0: Id

A container’s ID

IsTask(bool)

Tuple Fields

0: bool

LabelKey(String)

Tuple Fields

0: String

Container key label.

LabelKeyVal(StringString)

Tuple Fields

0: String
1: String

Container key-value label.

Name(String)

Tuple Fields

0: String

A container’s name

Network(String)

Tuple Fields

0: String

Network ID or name

Pod(String)

Tuple Fields

0: String

Pod ID or name

Publish(String)

Tuple Fields

0: String

[/] or /[]

Since(String)

Tuple Fields

0: String

Container ID or name

Status(ContainerStatus)

Tuple Fields

Volume(String)

Tuple Fields

0: String

Volume name or mount point destination

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more