Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 59 of 59 for AddFlags (0.08 sec)

  1. cmd/kubeadm/app/cmd/config.go

    			}
    
    			imagesList, err := NewImagesList(cfgPath, externalcfg)
    			if err != nil {
    				return err
    			}
    
    			return imagesList.Run(out, printer)
    		},
    		Args: cobra.NoArgs,
    	}
    	outputFlags.AddFlags(cmd)
    	AddImagesCommonConfigFlags(cmd.PersistentFlags(), externalcfg, &cfgPath, &featureGatesString)
    	return cmd
    }
    
    // NewImagesList returns the underlying struct for the "kubeadm config images list" command
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. operator/cmd/mesh/install.go

    			p := NewPrinterForWriter(cmd.OutOrStderr())
    			p.Printf("%v\n", art.IstioColoredArt())
    			return Install(kubeClient, rootArgs, iArgs, cmd.OutOrStdout(), l, p)
    		},
    	}
    
    	addFlags(ic, rootArgs)
    	addInstallFlags(ic, iArgs)
    	return ic
    }
    
    // InstallCmd generates an Istio install manifest and applies it to a cluster
    func InstallCmd(ctx cli.Context) *cobra.Command {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    		errors = append(errors, fmt.Errorf("cert/key file and in-memory certificate cannot both be set"))
    	}
    
    	return errors
    }
    
    func (s *SecureServingOptions) AddFlags(fs *pflag.FlagSet) {
    	if s == nil {
    		return
    	}
    
    	fs.IPVar(&s.BindAddress, "bind-address", s.BindAddress, ""+
    		"The IP address on which to listen for the --secure-port port. The "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/certs.go

    			if err != nil {
    				return err
    			}
    			return printer.PrintObj(info, out)
    		},
    		Args: cobra.NoArgs,
    	}
    	addExpirationFlags(cmd, flags)
    	outputFlags.AddFlags(cmd)
    	return cmd
    }
    
    type expirationFlags struct {
    	cfgPath        string
    	kubeconfigPath string
    	cfg            kubeadmapiv1.ClusterConfiguration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/bugreport/bugreport.go

    		RunE: func(cmd *cobra.Command, args []string) error {
    			return runBugReportCommand(ctx, cmd, logOpts)
    		},
    	}
    	rootCmd.AddCommand(version.CobraCommand())
    	addFlags(rootCmd, gConfig)
    
    	return rootCmd
    }
    
    var (
    	// Logs, along with stats and importance metrics. Key is path (namespace/deployment/pod/cluster) which can be
    	// parsed with ParsePath.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

    						Verbosity:   8,
    					},
    				}, c.Logging.VModule...)
    				return c
    			}(),
    		},
    	} {
    		t.Run(name, func(t *testing.T) {
    			options := NewOptions()
    			fs := new(pflag.FlagSet)
    			options.AddFlags(fs)
    			flags := tc.flags
    			if len(tc.config) > 0 {
    				tmp := t.TempDir()
    				configFile := path.Join(tmp, "kube-proxy.conf")
    				require.NoError(t, ioutil.WriteFile(configFile, []byte(tc.config), 0666))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    			// run the kubelet
    			return Run(ctx, kubeletServer, kubeletDeps, utilfeature.DefaultFeatureGate)
    		},
    	}
    
    	// keep cleanFlagSet separate, so Cobra doesn't pollute it with the global flags
    	kubeletFlags.AddFlags(cleanFlagSet)
    	options.AddKubeletConfigFlags(cleanFlagSet, kubeletConfig)
    	options.AddGlobalFlags(cleanFlagSet)
    	cleanFlagSet.BoolP("help", "h", false, fmt.Sprintf("help for %s", cmd.Name()))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/controllermanager.go

    				}
    			}
    			return nil
    		},
    	}
    
    	fs := cmd.Flags()
    	namedFlagSets := s.Flags(KnownControllers(), ControllersDisabledByDefault(), ControllerAliases())
    	verflag.AddFlags(namedFlagSets.FlagSet("global"))
    	globalflag.AddGlobalFlags(namedFlagSets.FlagSet("global"), cmd.Name(), logs.SkipLoggingConfigurationFlags())
    	for _, f := range namedFlagSets.FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite.go

    	var fc flagConstant
    	if fcs.N {
    		fc |= 1
    	}
    	if fcs.Z {
    		fc |= 2
    	}
    	if fcs.C {
    		fc |= 4
    	}
    	if fcs.V {
    		fc |= 8
    	}
    	return fc
    }
    
    // Note: addFlags(x,y) != subFlags(x,-y) in some situations:
    //  - the results of the C flag are different
    //  - the results of the V flag when y==minint are different
    
    // addFlags64 returns the flags that would be set from computing x+y.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top