Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedArgs (0.14 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)
  2. pkg/proxy/apis/config/validation/validation_test.go

    		ccc          componentbaseconfig.ClientConnectionConfiguration
    		expectedErrs field.ErrorList
    	}{
    		"successful 0 value": {
    			ccc:          componentbaseconfig.ClientConnectionConfiguration{Burst: 0},
    			expectedErrs: field.ErrorList{},
    		},
    		"successful 5 value": {
    			ccc:          componentbaseconfig.ClientConnectionConfiguration{Burst: 5},
    			expectedErrs: field.ErrorList{},
    		},
    		"burst < 0": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top