filter

package
v0.20.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package filter provides CLI-controlled filtering of namespaces by type. It provides the CLI commands "--filter" flag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter(ns model.Namespace) bool

Filter returns true if the given Linux-kernel namespace passes the namespace type filter.

func FilterSetupCLI

func FilterSetupCLI(cmd *cobra.Command)

FilterSetupCLI adds the "--filter" flag to the specified command. The filter flag accepts a set of namespace type names, either separated by commas, or specified using multiple "--filter" flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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