- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for spec (0.6 sec)
-
cni/pkg/plugin/plugin_test.go
pod, ns := buildFakePodAndNSForClient() pod.Spec.Containers[0].Name = "mockContainer" pod.Spec.Containers[1].Name = "istio-proxy" pod.ObjectMeta.Annotations[injectAnnotationKey] = "false" testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns) } func TestCmdAddTwoContainersWithLabel(t *testing.T) { pod, ns := buildFakePodAndNSForClient() pod.Spec.Containers[0].Name = "mockContainer"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
return err } // fill empty structs if wg.Spec.Metadata == nil { wg.Spec.Metadata = &networkingv1alpha3.WorkloadGroup_ObjectMeta{} } if wg.Spec.Template == nil { wg.Spec.Template = &networkingv1alpha3.WorkloadEntry{} } // default service account for an empty field is "default" if wg.Spec.Template.ServiceAccount == "" { wg.Spec.Template.ServiceAccount = "default" } return nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
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, }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
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/manifest-generate_test.go
podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels") // Check all selectors align mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels) mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels) mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels) if hpaName := mustGetPath(t, hpa, "spec.scaleTargetRef.name"); cname != hpaName {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
sniImpacted = sniImpacted || checkSNI(dr.Spec.GetTrafficPolicy().GetTls()) for _, pl := range dr.Spec.GetTrafficPolicy().GetPortLevelSettings() { verificationImpacted = verificationImpacted || checkVerify(pl.GetTls()) sniImpacted = sniImpacted || checkSNI(pl.GetTls()) } for _, ss := range dr.Spec.Subsets {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
defaultYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata: name: foo namespace: bar spec: metadata: {} template: serviceAccount: default ` customYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata: name: foo namespace: bar spec: metadata: annotations: annotation: foobar labels: app: foo bar: baz
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/net_test.go
PodIPs: []corev1.PodIP{{IP: "2.2.2.2"}, {IP: "3.3.3.3"}}, } } return &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "bar", UID: "123", }, Spec: corev1.PodSpec{ Containers: containers, }, Status: podStatus, } } func TestServerAddPod(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cmd/bucket-object-lock.go
return nil } // checkPutObjectLockAllowed enforces object retention policy and legal hold policy // for requests with WORM headers // See https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-managing.html for the spec. // For non-existing objects with object retention headers set, this method returns ErrNone if bucket has // locking enabled and user has requisite permissions (s3:PutObjectRetention)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 13.2K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
ds, err := client.Kube().AppsV1().DaemonSets(namespace).Get(context.Background(), name, metav1.GetOptions{}) if err != nil { return types.NamespacedName{}, err } selector := ds.Spec.Selector if selector == nil { return types.NamespacedName{}, fmt.Errorf("selector is required") } sel := selector.MatchLabels kv := []string{} for k, v := range sel { kv = append(kv, k+"="+v)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} } return errors.Join(delErr...) } func podToWorkload(pod *v1.Pod) *zdsapi.WorkloadInfo { namespace := pod.ObjectMeta.Namespace name := pod.ObjectMeta.Name svcAccount := pod.Spec.ServiceAccountName trustDomain := spiffe.GetTrustDomain() return &zdsapi.WorkloadInfo{ Namespace: namespace, Name: name, ServiceAccount: svcAccount, TrustDomain: trustDomain, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0)