filters

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 4

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) (
	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 added in v3.1.1

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 added in v3.1.1

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