PolicyRulesWithSubjects

final case class PolicyRulesWithSubjects(subjects: Seq[Subject], nonResourceRules: Option[Seq[NonResourcePolicyRule]], resourceRules: Option[Seq[ResourcePolicyRule]])

PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.

Source:
PolicyRulesWithSubjects.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to nonResourceRules

Appends new values to nonResourceRules

Source:
PolicyRulesWithSubjects.scala

Appends new values to resourceRules

Appends new values to resourceRules

Source:
PolicyRulesWithSubjects.scala

Appends new values to subjects

Appends new values to subjects

Source:
PolicyRulesWithSubjects.scala

if nonResourceRules has a value, transforms to the result of function

if nonResourceRules has a value, transforms to the result of function

Source:
PolicyRulesWithSubjects.scala

if resourceRules has a value, transforms to the result of function

if resourceRules has a value, transforms to the result of function

Source:
PolicyRulesWithSubjects.scala

transforms subjects to result of function

transforms subjects to result of function

Source:
PolicyRulesWithSubjects.scala

Returns a new data with nonResourceRules set to new value

Returns a new data with nonResourceRules set to new value

Source:
PolicyRulesWithSubjects.scala

Returns a new data with resourceRules set to new value

Returns a new data with resourceRules set to new value

Source:
PolicyRulesWithSubjects.scala

Returns a new data with subjects set to new value

Returns a new data with subjects set to new value

Source:
PolicyRulesWithSubjects.scala

Inherited methods

Inherited from:
Product