filter

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMFilter added in v0.4.0

type VMFilter struct {
	*filter.IDNameFilter
	// contains filtered or unexported fields
}

The VMFilter filters only VMs, but has special functionality for matching If wanting to match all VMs, input a blank string as the prefix This ObjectFilter embeds a MetaFilter, which is OK, as ObjectFilter interface compatibility is checked before the MetaFilter interface

func NewVMFilter added in v0.4.0

func NewVMFilter(p string) *VMFilter

func NewVMFilterAll added in v0.4.0

func NewVMFilterAll(p string, all bool) *VMFilter

func (*VMFilter) Filter added in v0.4.0

func (f *VMFilter) Filter(object runtime.Object) (filterer.Match, error)

Jump to

Keyboard shortcuts

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