Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsClusterLocal (0.21 sec)

  1. pilot/pkg/model/cluster_local_test.go

    import (
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/mesh"
    )
    
    func TestIsClusterLocal(t *testing.T) {
    	cases := []struct {
    		name     string
    		m        *meshconfig.MeshConfig
    		host     string
    		expected bool
    	}{
    		{
    			name:     "kube-system is local",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top