- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for test (0.29 sec)
-
cni/pkg/nodeagent/server_test.go
"k8s.io/client-go/kubernetes/fake" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/test/util/assert" ) func TestMeshDataplaneAddsAnnotationOnAdd(t *testing.T) { pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", UID: types.UID("test"), }, } fakeCtx := context.Background() fakeClientSet := fake.NewSimpleClientset(pod)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
"github.com/spf13/cobra" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) var fakeCACert = []byte("fake-CA-cert") var ( defaultYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata:
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) -
istioctl/pkg/util/handlers/handlers_test.go
"k8s.io/apimachinery/pkg/runtime/schema" corev1client "k8s.io/client-go/kubernetes/typed/core/v1" "k8s.io/client-go/rest/fake" cmdtesting "k8s.io/kubectl/pkg/cmd/testing" "k8s.io/kubectl/pkg/scheme" "istio.io/istio/pkg/test/util/assert" ) func TestInferPodInfo(t *testing.T) { tests := []struct { proxyName string namespace string wantPodName string wantNamespace string }{ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
outputLogLevel: "test:debug", }, wantErr: true, }, { name: "stackTraceLevelState.run() should throw an error if the /scopej endpoint is missing", state: &stackTraceLevelState{ client: ctrzClientNoScopejHandler, stackTraceLevel: "test:debug", }, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
"istio.io/istio/pkg/monitoring/monitortest" "istio.io/istio/pkg/test/util/assert" ) func TestExistingPodAddedWhenNsLabeled(t *testing.T) { setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: NodeName, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
operatorNamespace: "", watchedNamespaces: "test4, test5", }, } kubeClients = MockKubernetesClients for _, test := range tests { t.Run("", func(t *testing.T) { args := []string{"operator", "init", "--dry-run"} if test.operatorNamespace != "" { args = append(args, "--operatorNamespace", test.operatorNamespace) } if test.watchedNamespaces != "" {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K 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/envoy/configdump/route_test.go
"os" "path" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestDescribeRouteDomains(t *testing.T) { tests := []struct { desc string domains []string expected string }{ { desc: "test zero domain", domains: []string{}, expected: "", }, { desc: "test only one domain", domains: []string{"example.com"},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
Items: []admitv1.MutatingWebhookConfiguration{ { ObjectMeta: metav1.ObjectMeta{ Name: "istio-revision-test", Labels: map[string]string{label.IoIstioRev.Name: "test"}, }, }, }, }, namespaces: corev1.NamespaceList{}, outputMatches: []string{"test"}, error: "", }, { name: "TestNamespacesIncluded", webhooks: admitv1.MutatingWebhookConfigurationList{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K 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)