Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestShouldSkipPod (0.15 sec)

  1. tools/bug-report/pkg/cluster/cluster_test.go

    package cluster
    
    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	config2 "istio.io/istio/tools/bug-report/pkg/config"
    )
    
    func TestShouldSkipPod(t *testing.T) {
    	cases := []struct {
    		name     string
    		pod      *v1.Pod
    		config   *config2.BugReportConfig
    		expected bool
    	}{
    		{
    			"tested namespace not skip",
    			&v1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top