Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeTmpWebhookConfig (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/audit_test.go

    	v1 "k8s.io/client-go/tools/clientcmd/api/v1"
    )
    
    func TestAuditValidOptions(t *testing.T) {
    	tmpDir := t.TempDir()
    	auditPath := filepath.Join(tmpDir, "audit")
    
    	webhookConfig := makeTmpWebhookConfig(t)
    	defer os.Remove(webhookConfig)
    
    	policy := makeTmpPolicy(t)
    	defer os.Remove(policy)
    
    	testCases := []struct {
    		name     string
    		options  func() *AuditOptions
    		expected string
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 27 14:57:26 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top