You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/client/client.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,11 @@ type Options struct {
61
61
// This default can be overridden for a specific call by passing a [FieldOwner] option
62
62
// to the method.
63
63
FieldOwnerstring
64
+
65
+
// FieldValidation, if provided, sets the field validation strategy for all Patch, Update, and Create operations performed by this client and subresource clients created from it.
66
+
// This option does not affect Apply operations.
67
+
// For more details, see: https://kubernetes.io/docs/reference/using-api/api-concepts/#field-validation
68
+
FieldValidationstring
64
69
}
65
70
66
71
// CacheOptions are options for creating a cache-backed client.
0 commit comments