Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Iflag (0.07 sec)

  1. releasenotes/notes/add-overwrite-flag.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    issue:
      - 51312
    
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 16:00:06 UTC 2024
    - 255 bytes
    - Viewed (0)
  2. src/cmd/nm/nm.go

    	os.Exit(2)
    }
    
    var (
    	sortOrder = flag.String("sort", "name", "")
    	printSize = flag.Bool("size", false, "")
    	printType = flag.Bool("type", false, "")
    
    	filePrefix = false
    )
    
    func init() {
    	flag.Var(nflag(0), "n", "") // alias for -sort address
    }
    
    type nflag int
    
    func (nflag) IsBoolFlag() bool {
    	return true
    }
    
    func (nflag) Set(value string) error {
    	if value == "true" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/covdata/covdata.go

    	"cmd/internal/pkgpattern"
    	"cmd/internal/telemetry"
    	"flag"
    	"fmt"
    	"os"
    	"runtime"
    	"runtime/pprof"
    	"strings"
    )
    
    var verbflag = flag.Int("v", 0, "Verbose trace output level")
    var hflag = flag.Bool("h", false, "Panic on fatal errors (for stack trace)")
    var hwflag = flag.Bool("hw", false, "Panic on warnings (for stack trace)")
    var indirsflag = flag.String("i", "", "Input dirs to examine (comma separated)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/options/generic.go

    */
    
    package options
    
    import (
    	"strings"
    
    	"github.com/spf13/pflag"
    
    	cliflag "k8s.io/component-base/cli/flag"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"k8s.io/kubernetes/cmd/kubeadm/app/features"
    )
    
    // AddKubeConfigFlag adds the --kubeconfig flag to the given flagset
    func AddKubeConfigFlag(fs *pflag.FlagSet, kubeConfigFile *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)
  5. cmd/kubeadm/app/kubeadm.go

    		switch f.Name {
    		case "v", "add_dir_header", "skip_headers":
    			flag.CommandLine.Var(f.Value, f.Name, f.Usage)
    		}
    	})
    
    	pflag.CommandLine.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
    
    	cmd := cmd.NewKubeadmCommand(os.Stdin, os.Stdout, os.Stderr)
    	return cmd.Execute()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 04:38:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/init/addons.go

    func NewAddonPhase() workflow.Phase {
    	dnsLocalFlags := pflag.NewFlagSet(options.PrintManifest, pflag.ContinueOnError)
    	dnsLocalFlags.BoolVar(&printManifest, options.PrintManifest, printManifest, "Print the addon manifests to STDOUT instead of installing them")
    
    	proxyLocalFlags := pflag.NewFlagSet(options.PrintManifest, pflag.ContinueOnError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/options/hpacontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	poautosclerconfig "k8s.io/kubernetes/pkg/controller/podautoscaler/config"
    )
    
    // HPAControllerOptions holds the HPAController options.
    type HPAControllerOptions struct {
    	*poautosclerconfig.HPAControllerConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/go.mod

    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    	github.com/modern-go/reflect2 v1.0.2 // indirect
    	github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
    	github.com/spf13/pflag v1.0.5 // indirect
    	github.com/x448/float16 v0.8.4 // indirect
    	golang.org/x/net v0.25.0 // indirect
    	golang.org/x/text v0.15.0 // indirect
    	google.golang.org/protobuf v1.33.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    
    	"github.com/spf13/pflag"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    	"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    func parseCommandArguments(cmd *cobra.Command) string {
    	if len(os.Args) == 0 {
    		return ""
    	}
    
    	flags := ""
    	parseFunc := func(flag *pflag.Flag, value string) error {
    		flags = flags + " --" + flag.Name
    		if set, ok := flag.Annotations["classified"]; !ok || len(set) == 0 {
    			flags = flags + "=" + value
    		} else {
    			flags = flags + "=CLASSIFIED"
    		}
    		return nil
    	}
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top