- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for todo (0.43 sec)
-
istioctl/pkg/multixds/gather.go
labelSelector := centralOpts.XdsPodLabel if labelSelector == "" { labelSelector = "app=istiod" } pods, err := kubeClient.GetIstioPods(context.TODO(), istioNamespace, metav1.ListOptions{ LabelSelector: labelSelector, FieldSelector: kube.RunningStatus, }) if err != nil { return nil, err } if len(pods) == 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
internal/hash/reader.go
MD5, err := hex.DecodeString(md5Hex) if err != nil { return nil, BadDigest{ // TODO(aead): Return an error that indicates that an invalid ETag has been specified ExpectedMD5: md5Hex, CalculatedMD5: "", } } SHA256, err := hex.DecodeString(sha256Hex) if err != nil { return nil, SHA256Mismatch{ // TODO(aead): Return an error that indicates that an invalid Content-SHA256 has been specified
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 10.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
secretNamespace = opt.Namespace } return client.Kube().CoreV1().Secrets(secretNamespace).Get(context.TODO(), secretName, metav1.GetOptions{}) } func getOrCreateServiceAccount(client kube.CLIClient, opt RemoteSecretOptions) (*v1.ServiceAccount, error) { if sa, err := client.Kube().CoreV1().ServiceAccounts(opt.Namespace).Get( context.TODO(), opt.ServiceAccountName, metav1.GetOptions{}); err == nil { return sa, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
} if err != nil { return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 15 01:29:35 GMT 2024 - 20.5K bytes - Viewed (0) -
cmd/format-erasure.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 23.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
if v.Action.GetName() == name { // TODO this only makes sense in context of a chain... do we need a way to give it context return []string{"ANY"}, true } case *matcher.Matcher_OnMatch_Matcher: ms, f := recurse(name, v.Matcher) if !f { return []string{"NONE"}, true } return ms, true } // TODO support list n := match.GetMatcherTree().GetInput().GetName()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
"istio.io/istio/pkg/kube/labels" "istio.io/istio/pkg/log" netutil "istio.io/istio/pkg/util/net" "istio.io/istio/pkg/util/protomarshal" "istio.io/istio/pkg/util/shellescape" ) var ( // TODO refactor away from package vars and add more UTs tokenDuration int64 name string serviceAccount string filename string outputDir string clusterID string ingressIP string
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/plugin/sidecar_redirect.go
if valErr != nil { return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v", "includeOutboundPorts", isFound, valErr) } // Add 15090 to sync with non-cni injection template // TODO: Revert below once https://github.com/istio/istio/pull/23037 or its follow up is merged. redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
src/archive/tar/writer.go
} return tw.writeRawHeader(blk, hdr.Size, hdr.Typeflag) } func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error { realName, realSize := hdr.Name, hdr.Size // TODO(dsnet): Re-enable this when adding sparse support. // See https://golang.org/issue/22735 /* // Handle sparse files. var spd sparseDatas var spb []byte if len(hdr.SparseHoles) > 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
}, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } ns := &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{Name: "test"}, // TODO: once we if the add pod bug, re-enable this and remove the patch below // Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient}, } client := kube.NewFakeClient(ns, pod)
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)