- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 189 for stringVar (0.32 sec)
-
pkg/kubeapiserver/options/cloudprovider.go
func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet) { fs.StringVar(&s.CloudProvider, "cloud-provider", s.CloudProvider, "The provider for cloud services. Empty string for no provider.") fs.MarkDeprecated("cloud-provider", "will be removed in a future version") // nolint: errcheck fs.StringVar(&s.CloudConfigFile, "cloud-config", s.CloudConfigFile,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 15:50:25 UTC 2023 - 3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
" Service:*:istiod - compare Services called \"istiod\" in all namespaces") cmd.PersistentFlags().StringVar(&diffArgs.ignoreResources, "ignore", "", "Ignore all listed items during comparison, using the same list format as selectResources.") cmd.PersistentFlags().StringVar(&diffArgs.renameResources, "rename", "", "Rename resources before comparison.\n"+
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 5.8K bytes - Viewed (0) -
src/flag/example_test.go
var gopherType string func init() { const ( defaultGopher = "pocket" usage = "the variety of gopher" ) flag.StringVar(&gopherType, "gopher_type", defaultGopher, usage) flag.StringVar(&gopherType, "g", defaultGopher, usage+" (shorthand)") } // Example 3: A user-defined flag type, a slice of durations. type interval []time.Duration
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 18:59:00 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/go/internal/base/flag.go
// and 'go mod' subcommands. func AddModCommonFlags(flags *flag.FlagSet) { flags.BoolVar(&cfg.ModCacheRW, "modcacherw", false, "") flags.StringVar(&cfg.ModFile, "modfile", "", "") flags.StringVar(&fsys.OverlayFile, "overlay", "", "") } func ChdirFlag(s string) error { // main handles -C by removing it from the command line. // If we see one during flag parsing, that's an error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 19:23:42 UTC 2023 - 2.2K bytes - Viewed (0) -
src/runtime/internal/wasitest/host_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:12:40 UTC 2023 - 346 bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig.go
Args: cobra.NoArgs, } options.AddConfigFlag(cmd.Flags(), &cfgPath) // Add command specific flags cmd.Flags().StringVar(&token, options.TokenStr, token, "The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates") cmd.Flags().StringVar(&clientName, "client-name", clientName, "The name of user. It will be used as the CN if client certificates are created")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/debugging/xattr/main.go
data := make([]byte, 8) binary.LittleEndian.PutUint64(data, value) return xattr.LSet(path, name, data) } func main() { flag.StringVar(&path, "path", "", "path name where the attribute shall be applied") flag.StringVar(&name, "name", "", "attribute name or it can be a wildcard if '.' is specified") flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 29 23:52:41 UTC 2023 - 3.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/diff.go
options.AddConfigFlag(cmd.Flags(), &flags.cfgPath) cmd.Flags().StringVar(&flags.apiServerManifestPath, "api-server-manifest", defaultAPIServerManifestPath, "path to API server manifest") cmd.Flags().StringVar(&flags.controllerManagerManifestPath, "controller-manager-manifest", defaultControllerManagerManifestPath, "path to controller manifest")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/token.go
*bootstraptokenv1.BootstrapToken TokenStr string `datapolicy:"token"` } // AddTokenFlag adds the --token flag to the given flagset func (bto *BootstrapTokenOptions) AddTokenFlag(fs *pflag.FlagSet) { fs.StringVar( &bto.TokenStr, TokenStr, "", "The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}\\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef", ) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 10:34:21 UTC 2023 - 4.1K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/deprecated.go
fs.StringVar(&o.Kubeconfig, "kubeconfig", "", "DEPRECATED: path to kubeconfig file with authorization and master location information. This parameter is ignored if a config file is specified in --config.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 13:24:38 UTC 2023 - 3.4K bytes - Viewed (0)