filter

package
v0.26.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 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 SetupCLI added in v0.23.0

func SetupCLI(cmd *cobra.Command)

SetupCLI 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