Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 368 for flagstr (0.14 sec)

  1. tools/bug-report/pkg/bugreport/flags.go

    Tony Allen <******@****.***> 1699099670 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/options/generic.go

    func AddKubernetesVersionFlag(fs *pflag.FlagSet, kubernetesVersion *string) {
    	fs.StringVar(
    		kubernetesVersion, KubernetesVersion, *kubernetesVersion,
    		`Choose a specific Kubernetes version for the control plane.`,
    	)
    }
    
    // AddKubeadmOtherFlags adds flags that are not bound to a configuration file to the given flagset
    func AddKubeadmOtherFlags(flagSet *pflag.FlagSet, rootfsPath *string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/unveil_openbsd.go

    // unveil calls is handled by UnveilBlock.
    func Unveil(path string, flags string) error {
    	if err := supportsUnveil(); err != nil {
    		return err
    	}
    	pathPtr, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    	flagsPtr, err := BytePtrFromString(flags)
    	if err != nil {
    		return err
    	}
    	return unveil(pathPtr, flagsPtr)
    }
    
    // UnveilBlock blocks future unveil calls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/KotlinMetadata.kt

    internal
    fun newTypeParameterOf(
        flags: Flags = 0,
        name: String,
        id: Int = 0,
        variance: KmVariance,
        upperBound: KmType,
    ): KmTypeParameter {
        val kmTypeParameter = KmTypeParameter(flags, name, id, variance)
        kmTypeParameter.upperBounds += upperBound
        return kmTypeParameter
    }
    
    
    internal
    fun nullable(kmType: KmType): KmType = kmType.also { it.flags = flagsOf(Flag.Type.IS_NULLABLE) }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. pkg/flag/flag.go

    	"strings"
    	"time"
    
    	"github.com/spf13/pflag"
    )
    
    // Flaggable defines the set of types that can be flags.
    // This is not exhaustive; add more as needed
    type Flaggable interface {
    	string | bool | uint16 | time.Duration
    }
    
    var replacer = strings.NewReplacer("-", "_")
    
    // Bind registers a flag to the FlagSet. When parsed, the value will be set via pointer.
    // Usage:
    //
    //	cfg := Config{Foo: "default-foo"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. istioctl/pkg/cli/option.go

    	defaultNamespace string
    }
    
    func AddRootFlags(flags *pflag.FlagSet) *RootFlags {
    	r := &RootFlags{
    		kubeconfig:     ptr.Of[string](""),
    		configContext:  ptr.Of[string](""),
    		namespace:      ptr.Of[string](""),
    		istioNamespace: ptr.Of[string](""),
    	}
    	flags.StringVarP(r.kubeconfig, FlagKubeConfig, "c", "",
    		"Kubernetes configuration file")
    	flags.StringVar(r.configContext, FlagContext, "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 18:01:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    
    // A FlagSet creates and parses command-line flags.
    // It is similar to the standard flag.FlagSet.
    type FlagSet interface {
    	// Bool, Int, Float64, and String define new flags,
    	// like the functions of the same name in package flag.
    	Bool(name string, def bool, usage string) *bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/base/goflags.go

    				if err := flags.Set(f.Name, "true"); err != nil {
    					fmt.Fprintf(flags.Output(), "go: invalid boolean flag %s (from %s): %v\n", name, where, err)
    					flags.Usage()
    				}
    			}
    		} else {
    			if !hasValue {
    				fmt.Fprintf(flags.Output(), "go: flag needs an argument: %s (from %s)\n", name, where)
    				flags.Usage()
    			}
    			if err := flags.Set(f.Name, value); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. 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)
Back to top