Clarify set/regex options in relevant queries.

Set logic is used except in regex matching.
This commit is contained in:
Chris PeBenito 2014-08-01 09:00:07 -04:00
parent e379eea919
commit 09554705c1
3 changed files with 12 additions and 6 deletions

View File

@ -40,7 +40,8 @@ class RoleQuery(compquery.ComponentQuery):
match. Otherwise, any intersection
will match.
types_regex If true, regular expression matching
will be used on the type names.
will be used on the type names instead
of set logic.
"""
self.policy = policy
@ -83,7 +84,8 @@ class RoleQuery(compquery.ComponentQuery):
types Name to match the role's types.
Keyword Options:
regex If true, regular expression matching will be used.
regex If true, regular expression matching will be used
instead of set logic.
equal If true, the type set of the role
must equal the attributes criteria to
match. If false, any intersection in the

View File

@ -44,7 +44,8 @@ class TypeQuery(compquery.ComponentQuery):
match. Otherwise, any intersection
will match.
attrs_regex If true, regular expression matching
will be used on the attribute names.
will be used on the attribute names instead
of set logic.
"""
self.policy = policy
@ -115,7 +116,8 @@ class TypeQuery(compquery.ComponentQuery):
alias Name to match the component's attributes.
Keyword Options:
regex If true, regular expression matching will be used.
regex If true, regular expression matching will be used
instead of set logic.
equal If true, the attribute set of the type
must equal the attributes criteria to
match. If false, any intersection in the

View File

@ -40,7 +40,8 @@ class UserQuery(compquery.ComponentQuery):
match. Otherwise, any intersection
will match.
roles_regex If true, regular expression matching
will be used on the role names.
will be used on the role names instead
of set logic.
"""
self.policy = policy
@ -78,7 +79,8 @@ class UserQuery(compquery.ComponentQuery):
roles Name to match the component's attributes.
Keyword Options:
regex If true, regular expression matching will be used.
regex If true, regular expression matching will be used
instead of set logic.
equal If true, the role set of the user
must equal the attributes criteria to
match. If false, any intersection in the