- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for exists (0.26 sec)
-
operator/cmd/mesh/operator-common.go
outputFormat string } const ( operatorResourceName = "istio-operator" operatorDefaultNamespace = "istio-operator" ) // isControllerInstalled reports whether an operator deployment exists in the given namespace. func isControllerInstalled(cs kubernetes.Interface, operatorNamespace string, revision string) (bool, error) { orn := operatorResourceName if revision != "" { orn += "-" + revision }
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) -
cni/pkg/iptables/iptables_linux.go
"net" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err } func DelInpodMarkIPRule(cfg *Config) error { return forEachInpodMarkIPRule(cfg, netlink.RuleDel) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if !matched { return matched, "" } for _, me := range ls.MatchExpressions { switch me.Operator { case metav1.LabelSelectorOpIn, metav1.LabelSelectorOpNotIn: if v, exist := objLabels[me.Key]; exist { return matched, fmt.Sprintf("%s=%s", me.Key, v) } } } return matched, "" } func extractRevision(wh *admitv1.MutatingWebhookConfiguration) string {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
} return client, nil } // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns. // Note that if the ipset already exist by name, Create will not return an error. // // We will unconditionally flush our set before use here, so it shouldn't matter. func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) { linDeps := ipset.RealNlDeps()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// for the pod. If this is a pod added via informer, the pod should have already gone thru // the CNI plugin chain, and have a PodIP. // // If PodIPs exists, it is preferred, otherwise fallback to PodIP. // // If we get to this point and have a pod that really and truly has no IP in either of those,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
}) if err != nil { return false } return len(mwhs.Items) > 0 } // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists. // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
cni/pkg/install/kubeconfig.go
} installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted) } return nil } // checkExistingKubeConfigFile returns an error if no kubeconfig exists at the configured path, // or if a kubeconfig exists there, but differs from the current config. // In any case, an error indicates the file must be (re)written, and no error means no action need be taken
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 4.9K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
// Anything other than "file not found" is an error. return nil, fmt.Errorf("failed to remove unix://%s: %v", path, err) } // Attempt to create the folder in case it doesn't exist if err := os.MkdirAll(filepath.Dir(path), 0o750); err != nil { // If we cannot create it, just warn here - we will fail later if there is a real error log.Warnf("Failed to create directory for %v: %v", path, err) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.7K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
for k, v := range installTree { componentName := string(k) // In cases (like gateways) where multiple instances can exist, concatenate the manifests and apply as one. ym := strings.Join(manifests[k], helm.YAMLSeparator) l.LogAndPrintf("Rendering: %s", componentName) dirName := filepath.Join(outputDir, componentName) if !dryRun {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/util/podutil.go
"status", ) if errors.IsNotFound(err) { return nil } return err } // Get any IPs currently assigned to the Pod. // // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'), // otherwise fallback to 'PodIP'. // // Note that very early in the pod's lifecycle (before all the node CNI plugin invocations finish)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0)