Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for casts (0.03 sec)

  1. pilot/pkg/model/telemetry_logging_test.go

    				celFormatter,
    			},
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := accessLogJSONFormatters(tc.json)
    			assert.Equal(t, tc.expected, got)
    		})
    	}
    }
    
    func TestAccessLogTextFormatters(t *testing.T) {
    	cases := []struct {
    		name     string
    		text     string
    		expected []*core.TypedExtensionConfig
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		},
    	}
    	return pod, status
    }
    
    func TestComputePodActions(t *testing.T) {
    	_, _, m, err := createTestRuntimeManager()
    	require.NoError(t, err)
    
    	// Creating a pair reference pod and status for the test cases to refer
    	// the specific fields.
    	basePod, baseStatus := makeBasePodAndStatus()
    	noAction := podActions{
    		SandboxID:         baseStatus.SandboxStatuses[0].Id,
    		ContainersToStart: []int{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top