- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for OldObject (0.18 sec)
-
pkg/kube/adapter.go
Operation string `json:"operation"` // Object is the object from the incoming request. Object runtime.RawExtension `json:"object,omitempty"` // OldObject is the existing object. Only populated for DELETE and UPDATE requests. OldObject runtime.RawExtension `json:"oldObject,omitempty"` // DryRun indicates that modifications will definitely not be persisted for this request. // Defaults to false.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 10 16:40:00 UTC 2023 - 13.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/attributes.go
resource: resource, subresource: subresource, operation: operation, options: operationOptions, dryRun: dryRun, object: object, oldObject: oldObject, userInfo: userInfo, reinvocationContext: &reinvocationContext{}, } } func (record *attributesRecord) GetKind() schema.GroupVersionKind { return record.kind }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 07 17:53:14 UTC 2019 - 6.2K bytes - Viewed (0) -
pkg/apis/admission/zz_generated.deepcopy.go
*out = new(v1.GroupVersionResource) **out = **in } in.UserInfo.DeepCopyInto(&out.UserInfo) if in.Object != nil { out.Object = in.Object.DeepCopyObject() } if in.OldObject != nil { out.OldObject = in.OldObject.DeepCopyObject() } if in.DryRun != nil { in, out := &in.DryRun, &out.DryRun *out = new(bool) **out = **in } if in.Options != nil { out.Options = in.Options.DeepCopyObject()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go
hasParams: false, }, { name: "oldObject comparison", expressions: []string{"object.foo == oldObject.foo"}, }, { name: "object null checks", // since object and oldObject are CEL variable, has() cannot be used (it works only on fields), // so we always populate it to allow for a null check in the case of CREATE, where oldObject is // null, and DELETE, where object is null.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go
compiler Compiler } func NewFilterCompiler(env *environment.EnvSet) FilterCompiler { return &filterCompiler{compiler: NewCompiler(env)} } type evaluationActivation struct { object, oldObject, params, request, namespace, authorizer, requestResourceAuthorizer, variables interface{} } // ResolveName returns a value from the activation by qualified name, or false if the name // could not be found.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
results: []EvaluationResult{ { EvalResult: celtypes.True, }, }, hasParamKind: false, }, { name: "valid syntax for oldObject", validations: []ExpressionAccessor{ &condition{ Expression: "oldObject == null", }, &condition{ Expression: "object != null", }, }, attributes: newValidAttribute(nil, false), results: []EvaluationResult{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedupdater_test.go
} } func TestLargeLastApplied(t *testing.T) { tests := []struct { name string oldObject *unstructured.Unstructured newObject *unstructured.Unstructured }{ { name: "old object + new object last-applied annotation is too big", oldObject: func() *unstructured.Unstructured { u := &unstructured.Unstructured{} err := json.Unmarshal([]byte(` { "metadata": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1beta1.AdmissionReview.yaml
version: versionValue name: nameValue namespace: namespaceValue object: apiVersion: example.com/v1 kind: CustomType spec: replicas: 1 status: available: 1 oldObject: apiVersion: example.com/v1 kind: CustomType spec: replicas: 1 status: available: 1 operation: operationValue options: apiVersion: example.com/v1 kind: CustomType
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 19 15:31:53 UTC 2022 - 1.7K bytes - Viewed (0) -
pkg/apis/admission/v1/zz_generated.conversion.go
return err } if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Object, &out.Object, s); err != nil { return err } if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.OldObject, &out.OldObject, s); err != nil { return err } out.DryRun = (*bool)(unsafe.Pointer(in.DryRun)) if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Options, &out.Options, s); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 9.4K bytes - Viewed (0) -
pkg/apis/admission/v1beta1/zz_generated.conversion.go
return err } if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Object, &out.Object, s); err != nil { return err } if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.OldObject, &out.OldObject, s); err != nil { return err } out.DryRun = (*bool)(unsafe.Pointer(in.DryRun)) if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Options, &out.Options, s); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 9.7K bytes - Viewed (0)