Commit 92d8b19c authored by Antoine Pelisse's avatar Antoine Pelisse

Generated files

parent eb904d8f
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -143,6 +143,13 @@ message CreateOptions { ...@@ -143,6 +143,13 @@ message CreateOptions {
// - All: all dry run stages will be processed // - All: all dry run stages will be processed
// +optional // +optional
repeated string dryRun = 1; repeated string dryRun = 1;
// fieldManager is a name associated with the actor or entity
// that is making these changes. The value must be less than or
// 128 characters long, and only contain printable characters,
// as defined by https://golang.org/pkg/unicode/#IsPrint.
// +optional
optional string fieldManager = 3;
} }
// DeleteOptions may be provided when deleting an API object. // DeleteOptions may be provided when deleting an API object.
...@@ -730,6 +737,16 @@ message PatchOptions { ...@@ -730,6 +737,16 @@ message PatchOptions {
// flag must be unset for non-apply patch requests. // flag must be unset for non-apply patch requests.
// +optional // +optional
optional bool force = 2; optional bool force = 2;
// fieldManager is a name associated with the actor or entity
// that is making these changes. The value must be less than or
// 128 characters long, and only contain printable characters,
// as defined by https://golang.org/pkg/unicode/#IsPrint. This
// field is required for apply requests
// (application/apply-patch) but optional for non-apply patch
// types (JsonPatch, MergePatch, StrategicMergePatch).
// +optional
optional string fieldManager = 3;
} }
// Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. // Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.
...@@ -926,6 +943,13 @@ message UpdateOptions { ...@@ -926,6 +943,13 @@ message UpdateOptions {
// - All: all dry run stages will be processed // - All: all dry run stages will be processed
// +optional // +optional
repeated string dryRun = 1; repeated string dryRun = 1;
// fieldManager is a name associated with the actor or entity
// that is making these changes. The value must be less than or
// 128 characters long, and only contain printable characters,
// as defined by https://golang.org/pkg/unicode/#IsPrint.
// +optional
optional string fieldManager = 2;
} }
// Verbs masks the value so protobuf can generate // Verbs masks the value so protobuf can generate
......
...@@ -87,8 +87,9 @@ func (APIVersions) SwaggerDoc() map[string]string { ...@@ -87,8 +87,9 @@ func (APIVersions) SwaggerDoc() map[string]string {
} }
var map_CreateOptions = map[string]string{ var map_CreateOptions = map[string]string{
"": "CreateOptions may be provided when creating an API object.", "": "CreateOptions may be provided when creating an API object.",
"dryRun": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "dryRun": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"fieldManager": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
} }
func (CreateOptions) SwaggerDoc() map[string]string { func (CreateOptions) SwaggerDoc() map[string]string {
...@@ -282,9 +283,10 @@ func (Patch) SwaggerDoc() map[string]string { ...@@ -282,9 +283,10 @@ func (Patch) SwaggerDoc() map[string]string {
} }
var map_PatchOptions = map[string]string{ var map_PatchOptions = map[string]string{
"": "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.", "": "PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.",
"dryRun": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "dryRun": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"force": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "force": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"fieldManager": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
} }
func (PatchOptions) SwaggerDoc() map[string]string { func (PatchOptions) SwaggerDoc() map[string]string {
...@@ -369,8 +371,9 @@ func (TypeMeta) SwaggerDoc() map[string]string { ...@@ -369,8 +371,9 @@ func (TypeMeta) SwaggerDoc() map[string]string {
} }
var map_UpdateOptions = map[string]string{ var map_UpdateOptions = map[string]string{
"": "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.", "": "UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.",
"dryRun": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", "dryRun": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"fieldManager": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
} }
func (UpdateOptions) SwaggerDoc() map[string]string { func (UpdateOptions) SwaggerDoc() map[string]string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment