- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for getOption (0.1 sec)
-
istioctl/pkg/multicluster/remote_secret.go
} 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 } else if !opt.CreateServiceAccount {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.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)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K 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.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 1.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K 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 */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 17 08:55:32 UTC 2018 - 3K 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 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
* @return the deviceState */ public final int getDeviceState () { return this.deviceState; } /** * @return the action */ public final int getAction () { return this.action; } /** * @return the serverFid */ public final int getServerFid () { return this.serverFid; } /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.2K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
// getK8sPodInfo returns information of a POD func getK8sPodInfo(client kubernetes.Interface, podName, podNamespace string) (*PodInfo, error) { pod, err := client.CoreV1().Pods(podNamespace).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return nil, err } pi := ExtractPodInfo(pod) log.Debugf("Pod %v/%v info: \n%+v", podNamespace, podName, pi) return pi, nil } func ExtractPodInfo(pod *v1.Pod) *PodInfo {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
/** * */ public static final int FILE_ACTION_REMOVED_BY_DELETE = 0x00000009; /** * @return the action triggering this entry (FILE_ACTION_*) */ int getAction (); /** * @return the file name affected by the action */ String getFileName ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.9K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
if err := readWorkloadGroup(filename, wg); err != nil { return err } } else { wg, err = kubeClient.Istio().NetworkingV1().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) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 25.3K bytes - Viewed (0)