filter

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(containers []docker.Container, opts Options) []docker.Container

Apply filters containers by search terms and running state, then sorts.

Types

type Options

type Options struct {
	SearchTerms []string
	ShowAll     bool
	OrderBy     string // "name", "created", or "" (default: newest first)
	Reverse     bool
}

Options controls how containers are filtered and sorted.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL