Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildCommandChain (0.5 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/command_headers_test.go

    			expectedHeaders: map[string]string{
    				kubectlCommandHeader: "kubectl create secret generic",
    			},
    		},
    	}
    
    	for name, tc := range tests {
    		t.Run(name, func(t *testing.T) {
    			rootCmd := buildCommandChain(tc.commands)
    			ch := &CommandHeaderRoundTripper{}
    			ch.ParseCommandHeaders(rootCmd, []string{})
    			// Unique session ID header should always be present.
    			if _, found := ch.Headers[kubectlSessionHeader]; !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 20:34:02 UTC 2021
    - 4.6K bytes
    - Viewed (0)
Back to top