Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultipleMetaFilter ¶ added in v0.7.0
type MultipleMetaFilter struct {
// contains filtered or unexported fields
}
MultipleMetaFilter stores multiples metaFilter rule
func GenerateMultipleMetadataFiltering ¶ added in v0.7.0
func GenerateMultipleMetadataFiltering(str string) (*MultipleMetaFilter, error)
GenerateMultipleMetadataFiltering extract filterings and generates MultipleMetadataFiltering
func (*MultipleMetaFilter) AreExpected ¶ added in v0.7.0
func (mmf *MultipleMetaFilter) AreExpected(object *api.VM) (bool, error)
AreExpected checks fileting rules are expected, an AND logical condition is applid between the underlying filters
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 NewVMFilterAll ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.