Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for omitManagedFields (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    				Level:             rule.Level,
    				OmitStages:        rule.OmitStages,
    				OmitManagedFields: isOmitManagedFields(&rule, p.OmitManagedFields),
    			}
    		}
    	}
    
    	return auditinternal.RequestAuditConfig{
    		Level:             DefaultAuditLevel,
    		OmitStages:        p.OmitStages,
    		OmitManagedFields: p.OmitManagedFields,
    	}
    }
    
    // isOmitManagedFields returns whether to omit managed fields from the request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/printers/managedfields.go

    	}
    	if meta.IsListType(obj) {
    		obj = obj.DeepCopyObject()
    		_ = meta.EachListItem(obj, func(item runtime.Object) error {
    			omitManagedFields(item)
    			return nil
    		})
    	} else if _, err := meta.Accessor(obj); err == nil {
    		obj = omitManagedFields(obj.DeepCopyObject())
    	}
    	return p.Delegate.PrintObj(obj, w)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 16 14:52:03 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    			if test.want != got.OmitManagedFields {
    				t.Errorf("Expected OmitManagedFields to match, want: %t, got: %t", test.want, got.OmitManagedFields)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	// If a value is not specified then the global default specified in
    	// Policy.OmitManagedFields will stand.
    	// +optional
    	OmitManagedFields *bool `json:"omitManagedFields,omitempty" protobuf:"varint,9,opt,name=omitManagedFields"`
    }
    
    // GroupResources represents resource kinds in an API group.
    type GroupResources struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/audit/evaluator.go

    	Level audit.Level
    
    	// OmitStages is the stages that need to be omitted from being audited.
    	OmitStages []audit.Stage
    
    	// OmitManagedFields indicates whether to omit the managed fields of the request
    	// and response bodies from being written to the API audit log.
    	OmitManagedFields bool
    }
    
    // PolicyRuleEvaluator exposes methods for evaluating the policy rules.
    type PolicyRuleEvaluator interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.conversion.go

    	out.ObjectMeta = in.ObjectMeta
    	out.Rules = *(*[]audit.PolicyRule)(unsafe.Pointer(&in.Rules))
    	out.OmitStages = *(*[]audit.Stage)(unsafe.Pointer(&in.OmitStages))
    	out.OmitManagedFields = in.OmitManagedFields
    	return nil
    }
    
    // Convert_v1_Policy_To_audit_Policy is an autogenerated conversion function.
    func Convert_v1_Policy_To_audit_Policy(in *Policy, out *audit.Policy, s conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      // Note that the value, if specified, in this rule will override the global default
      // If a value is not specified then the global default specified in
      // Policy.OmitManagedFields will stand.
      // +optional
      optional bool omitManagedFields = 9;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    	//   in the API audit log
    	// Note that the value, if specified, in this rule will override the global default
    	// If a value is not specified then the global default specified in
    	// Policy.OmitManagedFields will stand.
    	// +optional
    	OmitManagedFields *bool
    }
    
    // GroupResources represents resource kinds in an API group.
    type GroupResources struct {
    	// Group is the name of the API group that contains the resources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	if in.OmitStages != nil {
    		in, out := &in.OmitStages, &out.OmitStages
    		*out = make([]Stage, len(*in))
    		copy(*out, *in)
    	}
    	if in.OmitManagedFields != nil {
    		in, out := &in.OmitManagedFields, &out.OmitManagedFields
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	if in.OmitStages != nil {
    		in, out := &in.OmitStages, &out.OmitStages
    		*out = make([]Stage, len(*in))
    		copy(*out, *in)
    	}
    	if in.OmitManagedFields != nil {
    		in, out := &in.OmitManagedFields, &out.OmitManagedFields
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 7.9K bytes
    - Viewed (0)
Back to top