NAME
Tapper::Reports::Web::Util::Filter::Overview
SYNOPSIS
use Tapper::Overviews::Web::Util::Filter::Overview;
my $filter = Tapper::Overviews::Web::Util::Filter::Overview->new();
my $filter_args = ['host','bullock','days','3'];
my $allowed_filter_keys = ['host','days'];
my $searchoptions = $filter->parse_filters($filter_args, $allowed_filter_keys);
weeks
Add weeks filters to early filters. This checks whether the overview element was used in the last given weeks.
@param hash ref - current version of filters @param int - number of weeks
@return hash ref - updated filters
like
Add like filters to early filters. Note that the expected regular expression is not a real regexp. Instead * as wildcard is accepted.
@param hash ref - current version of filters @param string - like regexp
@return hash ref - updated filters
hostname
Add like for the hostname filters to early filters. Note that the expected regular expression is not a real regexp. Instead * as wildcard is accepted.
@param hash ref - current version of filters @param string - like regexp
@return hash ref - updated filters
NAME
Tapper::Reports::Web::Util::Filter::Overview - Filter utilities for overview listing
AUTHORS
AMD OSRC Tapper Team <tapper@amd64.org>
Tapper Team <tapper-ops@amazon.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2024 by Advanced Micro Devices, Inc.
This is free software, licensed under:
The (two-clause) FreeBSD License