Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewRootCommand (0.21 sec)

  1. pilot/cmd/pilot-discovery/main.go

    package main
    
    import (
    	"os"
    
    	"istio.io/istio/pilot/cmd/pilot-discovery/app"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	log.EnableKlogWithCobra()
    	rootCmd := app.NewRootCommand()
    	if err := rootCmd.Execute(); err != nil {
    		log.Error(err)
    		os.Exit(-1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 846 bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/main.go

    // Use env variables - from injection, k8s and local namespace config map.
    // No CLI parameters.
    func main() {
    	log.EnableKlogWithCobra()
    	rootCmd := app.NewRootCommand(
    		func(options *security.Options, workloadSecretCache security.SecretManager, pkpConf *meshconfig.PrivateKeyProvider) istioagent.SDSService {
    			return sds.NewServer(options, workloadSecretCache, pkpConf)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-discovery/app/cmd.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/version"
    )
    
    var (
    	serverArgs     *bootstrap.PilotArgs
    	loggingOptions = log.DefaultOptions()
    )
    
    // NewRootCommand returns the root cobra command of pilot-discovery.
    func NewRootCommand() *cobra.Command {
    	rootCmd := &cobra.Command{
    		Use:          "pilot-discovery",
    		Short:        "Istio Pilot.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/app/cmd.go

    )
    
    const (
    	localHostIPv4 = "127.0.0.1"
    	localHostIPv6 = "::1"
    )
    
    var (
    	loggingOptions = log.DefaultOptions()
    	proxyArgs      options.ProxyArgs
    )
    
    func NewRootCommand(sds istioagent.SDSServiceFactory) *cobra.Command {
    	rootCmd := &cobra.Command{
    		Use:          "pilot-agent",
    		Short:        "Istio Pilot agent.",
    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