Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGCEPlugin (0.09 sec)

  1. security/pkg/credentialfetcher/plugin/gce_test.go

    			}
    			if jwtFile != wantToken {
    				t.Errorf("%s, %s has token %s, want %s", id, jwtPath, jwtFile, wantToken)
    			}
    		}
    	}
    }
    
    func TestGCEPlugin(t *testing.T) {
    	testCases := map[string]struct {
    		jwt           string
    		jwtPath       string
    		expectedToken string
    		expectedCall  int
    		expectedErr   error
    	}{
    		"get VM credential": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 10.1K bytes
    - Viewed (0)
Back to top