Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectedArgs (0.1 sec)

  1. pkg/kubelet/container/helpers_test.go

    	}
    }
    
    func TestExpandCommandAndArgs(t *testing.T) {
    	cases := []struct {
    		name            string
    		container       *v1.Container
    		envs            []EnvVar
    		expectedCommand []string
    		expectedArgs    []string
    	}{
    		{
    			name:      "none",
    			container: &v1.Container{},
    		},
    		{
    			name: "command expanded",
    			container: &v1.Container{
    				Command: []string{"foo", "$(VAR_TEST)", "$(VAR_TEST2)"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top