filters

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateContainerFilterFuncs

func GenerateContainerFilterFuncs(filter string, filterValues []string, r *libpod.Runtime) (func(container *libpod.Container) bool, error)

GenerateContainerFilterFuncs return ContainerFilter functions based of filter.

func GeneratePodFilterFunc

func GeneratePodFilterFunc(filter string, filterValues []string, r *libpod.Runtime) (
	func(pod *libpod.Pod) bool, error)

GeneratePodFilterFunc takes a filter and filtervalue (key, value) and generates a libpod function that can be used to filter pods

func GeneratePruneContainerFilterFuncs

func GeneratePruneContainerFilterFuncs(filter string, filterValues []string, r *libpod.Runtime) (func(container *libpod.Container) bool, error)

GeneratePruneContainerFilterFuncs return ContainerFilter functions based of filter for prune operation

func GeneratePruneVolumeFilters

func GeneratePruneVolumeFilters(filters url.Values) ([]libpod.VolumeFilter, error)

func GenerateVolumeFilters

func GenerateVolumeFilters(filters url.Values) ([]libpod.VolumeFilter, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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