MutationPatch

data class MutationPatch(val applyConfiguration: ApplyConfigurationPatch? = null, val jsonPatch: JSONPatchPatch? = null, val patchType: String? = null)

Mutation specifies the CEL expression which is used to apply the Mutation.

Constructors

Link copied to clipboard
constructor(applyConfiguration: ApplyConfigurationPatch? = null, jsonPatch: JSONPatchPatch? = null, patchType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using structured merge diff. A CEL expression is used to create apply configuration.

Link copied to clipboard

jsonPatch defines a JSON patch operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.

Link copied to clipboard
val patchType: String? = null

patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.