- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for test_0 (0.18 sec)
-
istioctl/pkg/describe/describe_test.go
}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { ic := util.ReadFile(t, test.inputConfig) cd := configdump.Wrapper{} err := cd.UnmarshalJSON(ic) if err != nil { t.Fatal(err) } out, err := getIstioVirtualServicePathForSvcFromRoute(&cd, test.inputService, test.inputPort) if err != nil { t.Fatal(err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
"istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/multixds" "istio.io/istio/istioctl/pkg/xds" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) type execTestCase struct { args []string revision string noIstiod bool // Typically use one of the three expectedOutput string // Expected constant output
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
timestamppb "google.golang.org/protobuf/types/known/timestamppb" "istio.io/istio/istioctl/pkg/util/configdump" ) func TestNewAnalyzer(t *testing.T) { tests := []struct { name string input *configdump.Wrapper wantErr error }{ { name: "Test1", input: &configdump.Wrapper{ ConfigDump: &envoy_admin.ConfigDump{ Configs: []*anypb.Any{ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 2.8K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
// limitations under the License. package nodeagent import ( "testing" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/test/util/assert" ) func TestWithProcFs(t *testing.T) { n := NewPodNetnsProcFinder(fakeFs()) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "bar",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.6K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
// limitations under the License. package log import ( "io" "os" "path/filepath" "strings" "testing" "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/log" "istio.io/istio/pkg/test/util/assert" ) func TestUDSLog(t *testing.T) { // Start UDS log server udsSockDir := t.TempDir() udsSock := filepath.Join(udsSockDir, "cni.sock") logger := NewUDSLogger()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Mar 16 00:20:01 GMT 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
Jeremy L. Morris <******@****.***> 1712245989 -0400
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := convertToStringMap(tt.arg); !reflect.DeepEqual(got, tt.want) { t.Errorf("convertToStringMap() = %v, want %v", got, tt.want) } }) } } func TestSplitEqual(t *testing.T) { tests := []struct { arg string wantKey string wantValue string }{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
"google.golang.org/protobuf/proto" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/monitoring/monitortest" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/zdsapi" ) var ztunnelTestCounter atomic.Uint32 func TestZtunnelSendsPodSnapshot(t *testing.T) { ztunnelKeepAliveCheckInterval = time.Second / 10 mt := monitortest.New(t)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
Name: "test", Namespace: "test", Labels: ambientEnabledLabel, }, } unlabelledPod = &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, } podWithSidecar = &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", Annotations: sidecarStatusAnnotation, }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status_test.go
"istio.io/istio/pilot/pkg/xds" v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/cluster" "istio.io/istio/pkg/test/util/assert" istioversion "istio.io/istio/pkg/version" "istio.io/istio/tests/util" ) func TestXdsStatusWriter_PrintAll(t *testing.T) { tests := []struct { name string input map[string]*discovery.DiscoveryResponse want string wantErr bool }{ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 6.5K bytes - Viewed (0)