Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetEncryptionConfigHash (0.18 sec)

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

    		return nil
    	}
    
    	lines := strings.Split(strings.TrimSpace(logs), "\n")
    	for i, line := range lines {
    		lines[i] = strings.SplitN(line, "] ", 2)[1]
    	}
    	return lines
    }
    
    func TestGetEncryptionConfigHash(t *testing.T) {
    	t.Parallel()
    
    	tests := []struct {
    		name     string
    		filepath string
    		wantHash string
    		wantErr  string
    	}{
    		{
    			name:     "empty config file content",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
Back to top