Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 117 for geturl (0.42 sec)

  1. istioctl/pkg/install/k8sversion/version.go

    	if err != nil {
    		return false, err
    	}
    	return MinK8SVersion <= v, nil
    }
    
    // extractKubernetesVersion returns the Kubernetes minor version. For example, `v1.19.1` will return `19`
    func extractKubernetesVersion(versionInfo *version.Info) (int, error) {
    	ver, err := goversion.NewVersion(versionInfo.String())
    	if err != nil {
    		return 0, fmt.Errorf("could not parse %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 02:07:51 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/option.go

    		"Istio system namespace")
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    func (r *RootFlags) IstioNamespace() string {
    	return *r.istioNamespace
    }
    
    // DefaultNamespace returns the default namespace to use.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. istioctl/pkg/config/config.go

    		fmt.Fprintf(w, "%s\t%s\t%v\n", flag, viper.GetString(flag), configSource(flag, v))
    	}
    	return w.Flush()
    }
    
    func configSource(flag string, v env.VariableInfo) string {
    	// Environment variables have high precedence in Viper
    	if v.IsSet() {
    		return "$" + v.GetName()
    	}
    
    	if viper.InConfig(flag) {
    		return root.IstioConfig
    	}
    
    	return "default"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/route.go

    		if err != nil {
    			return err
    		}
    		envoyBytes.WriteString(envoy)
    	}
    	istiodRouteDump, err := c.istiod.GetDynamicRouteDump(true)
    	if err != nil {
    		istiodBytes.WriteString(err.Error())
    	} else {
    		istiod, err := protomarshal.ToJSONWithAnyResolver(istiodRouteDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/ecds.go

    	if err != nil {
    		return nil, err
    	}
    
    	ecdsDump := &admin.EcdsConfigDump{}
    	for _, dump := range ecdsDumpAny {
    		ecds := &admin.EcdsConfigDump{}
    		err = dump.UnmarshalTo(ecds)
    		if err != nil {
    			return nil, err
    		}
    
    		ecdsDump.EcdsFilters = append(ecdsDump.EcdsFilters, ecds.EcdsFilters...)
    	}
    
    	if err != nil {
    		return nil, err
    	}
    	return ecdsDump, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/healthServer.go

    	router.HandleFunc(constants.ReadinessEndpoint, readyz(installReady, watchReady))
    
    	return
    }
    
    func healthz(w http.ResponseWriter, _ *http.Request) {
    	w.WriteHeader(http.StatusOK)
    }
    
    func readyz(installReady, watchReady *atomic.Value) http.HandlerFunc {
    	return func(w http.ResponseWriter, _ *http.Request) {
    		if !installReady.Load().(bool) || !watchReady.Load().(bool) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. istioctl/cmd/root.go

    	err := viper.ReadInConfig()
    	// Ignore errors reading the configuration unless the file is explicitly customized
    	if root.IstioConfig != defaultIstioctlConfig {
    		return err
    	}
    
    	return nil
    }
    
    func init() {
    	viper.SetDefault("istioNamespace", constants.IstioSystemNamespace)
    	viper.SetDefault("xds-port", 15012)
    }
    
    // GetRootCmd returns the root of the cobra command-tree.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate_test.go

    				if err := os.MkdirAll(dir, 0o755); err != nil {
    					return err
    				}
    			}
    			outFile, err := os.Create(dest)
    			if err != nil {
    				return fmt.Errorf("create: %v", err)
    			}
    			if _, err := io.Copy(outFile, tarReader); err != nil {
    				return fmt.Errorf("copy: %v", err)
    			}
    			outFile.Close()
    		default:
    			return fmt.Errorf("unknown type: %v in %v", header.Typeflag, header.Name)
    		}
    	}
    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)
  9. istioctl/pkg/util/configdump/endpoint.go

    	endpointsDumpAny, err := w.getSection(endpoints)
    	if err != nil {
    		return nil, nil
    	}
    	endpointsDump := &admin.EndpointsConfigDump{}
    	err = endpointsDumpAny.UnmarshalTo(endpointsDump)
    	if err != nil {
    		return nil, err
    	}
    	return endpointsDump, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 14:14:42 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. cni/pkg/cmd/root.go

    			log.Errorf("Failed to configure log %v", err)
    		}
    		return nil
    	},
    	RunE: func(c *cobra.Command, args []string) (err error) {
    		cmd.PrintFlags(c.Flags())
    		ctx := c.Context()
    
    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    			return
    		}
    		log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top