Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestVisitContainers (0.19 sec)

  1. pkg/api/v1/pod/util_test.go

    			t.Errorf("unexpected non-error for %s: %d", tc.name, port)
    		}
    		if port != tc.expected {
    			t.Errorf("wrong result for %s: expected %d, got %d", tc.name, tc.expected, port)
    		}
    	}
    }
    
    func TestVisitContainers(t *testing.T) {
    	setAllFeatureEnabledContainersDuringTest := ContainerType(0)
    	testCases := []struct {
    		desc           string
    		spec           *v1.PodSpec
    		wantContainers []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  2. pkg/api/pod/util_test.go

    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/utils/pointer"
    )
    
    func TestVisitContainers(t *testing.T) {
    	setAllFeatureEnabledContainersDuringTest := ContainerType(0)
    	testCases := []struct {
    		desc           string
    		spec           *api.PodSpec
    		wantContainers []string
    		mask           ContainerType
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top