Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AuditAnnotation (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    			for i, auditAnnotation := range tc.auditAnnotations {
    				actual := validateResult.AuditAnnotations[i]
    				if auditAnnotation.Action != actual.Action {
    					t.Errorf("Expected policy audit annotation action '%v' but got '%v'", auditAnnotation.Action, actual.Action)
    				}
    				if auditAnnotation.Error != actual.Error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    							Expression: expr,
    						}, options, envType)
    						if result.Error != nil {
    							t.Errorf("Unexpected error: %v", result.Error)
    						}
    					})
    					t.Run("auditAnnotation.valueExpression", func(t *testing.T) {
    						// Test audit annotation compilation by casting the result to a string
    						options := OptionalVariableDeclarations{HasParams: tc.hasParams, HasAuthorizer: tc.hasAuthorizer}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top