logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Monitoring::Livestatus::Class::Base::Abstract - Base class to generate livestatus statments

Attributes

ctx
       Reference to context object Monitoring::Livestatus::Class

   modecompining_prefix

Author

       See "AUTHOR" in Monitoring::Livestatus::Class and "CONTRIBUTORS" in Monitoring::Livestatus::Class.

Internal Methods

       build_mode
       build_compining_prefix
       build_operators
       _execute
       _recurse_cond
       _cond_UNDEF
       _cond_ARRAYREF
       _cond_HASHREF
       _cond_hashpair_SCALAR
       _cond_hashpair_ARRAYREF
       _cond_hashpair_HASHREF
       _refkind
       _dispatch_refkind
       _METHOD_FOR_refkind

Methods

apply
       Example usage:

           my $filter_obj         = Monitoring::Livestatus::Class::Abstract::...->new();
           $filter_obj->apply( { name => 'localhost' } );
           $filter_obj->apply( { name => [ 'localhost', 'gateway' ] } );
           $filter_obj->apply( [ { name => 'localhost' }, { name => 'gateway' } ] );

       Returns: @statments|\@statments

Name

       Monitoring::Livestatus::Class::Base::Abstract - Base class to generate livestatus statments

   SYNOPSIS

See Also