Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for valueOf (0.16 sec)

  1. istioctl/cmd/sysexits.go

    // limitations under the License.
    
    package cmd
    
    import (
    	"strings"
    
    	"istio.io/istio/istioctl/pkg/analyze"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    // Values should try to use sendmail-style values as in <sysexits.h>
    // See e.g. https://man.openbsd.org/sysexits.3
    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/policies.go

    func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify)
    	slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Name, b.Name)
    	})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate.go

    	// EnableClusterSpecific determines if the current Kubernetes cluster will be used to autodetect values.
    	// If false, generic defaults will be used. This is useful when generating once and then applying later.
    	EnableClusterSpecific bool
    
    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    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)
  4. operator/cmd/mesh/operator-init.go

    	vals, mstr, err := renderOperatorManifest(args, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    			return "", nil, fmt.Errorf("validation errors: \n%s", err)
    		}
    		if err != nil {
    			return "", nil, err
    		}
    		if iop.Spec.Values != nil {
    			values, err := protomarshal.ToJSON(iop.Spec.Values)
    			if err != nil {
    				return "", nil, err
    			}
    			valuesConfig = values
    		}
    		if iop.Spec.MeshConfig != nil {
    			meshConfigYaml, err := protomarshal.ToYAML(iop.Spec.MeshConfig)
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	Namespace string
    	Direction string
    	Raw       bool
    }
    
    func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error {
    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    	workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int {
    		if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 {
    			return r
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. istioctl/pkg/root/root.go

    	defaultIstioctlConfig = "$HOME/.istioctl/config.yaml"
    )
    
    var (
    	// IstioConfig is the name of the istioctl config file (if any)
    	IstioConfig = env.Register("ISTIOCONFIG", defaultIstioctlConfig,
    		"Default values for istioctl flags").Get()
    
    	LoggingOptions = defaultLogOptions()
    
    	// scope is for dev logging.  Warning: log levels are not set by --log_output_level until command is Run().
    	Scope = log.RegisterScope("cli", "istioctl")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    	if err != nil {
    		return "", err
    	}
    	var values struct {
    		SidecarInjectorWebhook struct {
    			Global struct {
    				Proxy struct {
    					LogLevel string `json:"logLevel"`
    				} `json:"proxy"`
    			} `json:"global"`
    		} `json:"sidecarInjectorWebhook"`
    	}
    	if err := yaml.Unmarshal([]byte(valuesConfig), &values); err != nil {
    		return "", fmt.Errorf("failed to parse values config: %v [%v]", err, valuesConfig)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig.go

    	logCmd.PersistentFlags().IntVar(&controlzPort, "ctrlz_port", 9876, "ControlZ port")
    	logCmd.PersistentFlags().StringVar(&outputLogLevel, "level", outputLogLevel,
    		"Comma-separated list of output logging level for scopes in the format of <scope>:<level>[,<scope>:<level>,...]. "+
    			"Possible values for <level>: none, error, warn, info, debug")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    	SkipConfirmation bool
    	// Force proceeds even if there are validation errors
    	Force bool
    	// Verify after installation
    	Verify bool
    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    	// ManifestsPath is a path to a ManifestsPath and profiles directory in the local filesystem with a release tgz.
    	ManifestsPath string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top