Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewProxyArgs (0.12 sec)

  1. pilot/cmd/pilot-agent/options/agent_proxy.go

    	PodName      string
    	PodNamespace string
    
    	// enableProfiling enables profiling via web interface host:port/debug/pprof/
    	EnableProfiling bool
    }
    
    // NewProxyArgs constructs proxyArgs with default values.
    func NewProxyArgs() ProxyArgs {
    	p := ProxyArgs{}
    
    	// Apply Default Values.
    	p.applyDefaults()
    
    	return p
    }
    
    // applyDefaults apply default value to ProxyArgs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/app/cmd.go

    			wait, err := agent.Run(ctx)
    			if err != nil {
    				return err
    			}
    			wait()
    			return nil
    		},
    	}
    }
    
    func addFlags(proxyCmd *cobra.Command) {
    	proxyArgs = options.NewProxyArgs()
    	proxyCmd.PersistentFlags().StringVar(&proxyArgs.DNSDomain, "domain", "",
    		"DNS domain suffix. If not provided uses ${POD_NAMESPACE}.svc.cluster.local")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top