filters

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFilter

func BuildFilter(names []string, disableNames []string, enableLabel bool, scope string) (t.Filter, string)

BuildFilter creates the needed filter of containers

func FilterByDisableNames added in v1.7.0

func FilterByDisableNames(disableNames []string, baseFilter t.Filter) t.Filter

FilterByDisableNames returns all containers that don't match any of the specified names

func FilterByDisabledLabel

func FilterByDisabledLabel(baseFilter t.Filter) t.Filter

FilterByDisabledLabel returns all containers that have the enabled label set to disable

func FilterByEnableLabel

func FilterByEnableLabel(baseFilter t.Filter) t.Filter

FilterByEnableLabel returns all containers that have the enabled label set

func FilterByImage added in v1.5.0

func FilterByImage(images []string, baseFilter t.Filter) t.Filter

FilterByImage returns all containers that have a specific image

func FilterByNames

func FilterByNames(names []string, baseFilter t.Filter) t.Filter

FilterByNames returns all containers that match one of the specified names

func FilterByScope added in v1.0.3

func FilterByScope(scope string, baseFilter t.Filter) t.Filter

FilterByScope returns all containers that belongs to a specific scope

func NoFilter

func NoFilter(t.FilterableContainer) bool

NoFilter will not filter out any containers

func WatchtowerContainersFilter

func WatchtowerContainersFilter(c t.FilterableContainer) bool

WatchtowerContainersFilter filters only watchtower containers

Types

This section is empty.

Jump to

Keyboard shortcuts

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