| 1 |
// Copyright 2019 The Kubernetes Authors. |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package types |
| 5 |
|
| 6 |
// PatchArgs represent set of options on resources of a patch. |
| 7 |
type PatchArgs struct { |
| 8 |
// AllowNameChange allows name changes to the resource. |
| 9 |
AllowNameChange bool `json:"allowNameChange,omitempty" yaml:"allowNameChange,omitempty"` |
| 10 |
|
| 11 |
// AllowKindChange allows kind changes to the resource. |
| 12 |
AllowKindChange bool `json:"allowKindChange,omitempty" yaml:"allowKindChange,omitempty"` |
| 13 |
} |