MatchResources

io.k8s.api.admissionregistration.v1alpha1.MatchResources
See theMatchResources companion object
final case class MatchResources(resourceRules: Option[Seq[NamedRuleWithOperations]], matchPolicy: Option[String], namespaceSelector: Option[LabelSelector], objectSelector: Option[LabelSelector], excludeResourceRules: Option[Seq[NamedRuleWithOperations]])

MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

Attributes

Companion:
object
Source:
MatchResources.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Appends new values to excludeResourceRules

Appends new values to excludeResourceRules

Attributes

Source:
MatchResources.scala

Appends new values to resourceRules

Appends new values to resourceRules

Attributes

Source:
MatchResources.scala

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

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

Attributes

Source:
MatchResources.scala

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

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

Attributes

Source:
MatchResources.scala

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

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

Attributes

Source:
MatchResources.scala

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

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

Attributes

Source:
MatchResources.scala

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

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

Attributes

Source:
MatchResources.scala

Returns a new data with excludeResourceRules set to new value

Returns a new data with excludeResourceRules set to new value

Attributes

Source:
MatchResources.scala

Returns a new data with matchPolicy set to new value

Returns a new data with matchPolicy set to new value

Attributes

Source:
MatchResources.scala

Returns a new data with namespaceSelector set to new value

Returns a new data with namespaceSelector set to new value

Attributes

Source:
MatchResources.scala

Returns a new data with objectSelector set to new value

Returns a new data with objectSelector set to new value

Attributes

Source:
MatchResources.scala

Returns a new data with resourceRules set to new value

Returns a new data with resourceRules set to new value

Attributes

Source:
MatchResources.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product