- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for getOption (0.26 sec)
-
istioctl/pkg/multicluster/cluster.go
func clusterUID(client kubernetes.Interface) (types.UID, error) { kubeSystem, err := client.CoreV1().Namespaces().Get(context.TODO(), "kube-system", metav1.GetOptions{}) if err != nil { return "", err } return kubeSystem.UID, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Sep 02 03:11:58 GMT 2022 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
isZtunnel := strings.HasPrefix(podName, "ztunnel") if client == nil { return isZtunnel } pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return isZtunnel } if v, ok := pod.Labels["app"]; ok { return v == "ztunnel" } return isZtunnel } // InAmbient returns true if a resource is in ambient data plane mode.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0) -
operator/cmd/mesh/operator-common.go
func deploymentExists(cs kubernetes.Interface, namespace, name string) (bool, error) { d, err := cs.AppsV1().Deployments(namespace).Get(context.TODO(), name, metav1.GetOptions{}) if err != nil { return false, err } return d != nil, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Dec 17 02:25:04 GMT 2022 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
if err := readWorkloadGroup(filename, wg); err != nil { return err } } else { wg, err = kubeClient.Istio().NetworkingV1alpha3().WorkloadGroups(namespace).Get(context.Background(), name, metav1.GetOptions{}) // errors if the requested workload group does not exist in the given namespace if err != nil { return fmt.Errorf("workloadgroup %s not found in namespace %s: %v", name, namespace, err) } }
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) -
src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java
int nextEntryOffset; int action; int fileNameLength; String fileName; /** * */ public FileNotifyInformationImpl () {} @Override public int getAction () { return this.action; } @Override public String getFileName () { return this.fileName; } /** * @return the nextEntryOffset */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 17 08:55:32 GMT 2018 - 3K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
client, err := ctx.CLIClient() if err != nil { return err } pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return err } writer := cmd.OutOrStdout() podLabels := klabels.Set(pod.ObjectMeta.Labels) annotations := klabels.Set(pod.ObjectMeta.Annotations)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
return ret; } void ModularFileSystem::FlushCaches(TransactionToken* token) { if (ops_->flush_caches != nullptr) ops_->flush_caches(filesystem_.get()); } Status ModularFileSystem::SetOption(const std::string& name, const std::vector<string>& values) { if (ops_->set_filesystem_configuration == nullptr) { return errors::Unimplemented(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
defer ticker.Stop() for range ticker.C { programmed := false gwc, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace())).Get(context.TODO(), gw.Name, metav1.GetOptions{}) if err == nil { // Check if gateway has Programmed condition set to true for _, cond := range gwc.Status.Conditions {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
pod, err := client.CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return false, err } ns, err := client.CoreV1().Namespaces().Get(context.Background(), podNamespace, metav1.GetOptions{}) if err != nil { return false, err } return util.PodRedirectionEnabled(ns, pod), nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0)