Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 216 for vflag (0.42 sec)

  1. pkg/kubeapiserver/options/authorization.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"strings"
    	"time"
    
    	genericfeatures "k8s.io/apiserver/pkg/features"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    
    	"github.com/spf13/pflag"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/wait"
    	authzconfig "k8s.io/apiserver/pkg/apis/apiserver"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. pkg/test/framework/resource/flags.go

    func init() {
    	log.EnableKlogWithGoFlag()
    	flag.StringVar(&settingsFromCommandLine.BaseDir, "istio.test.work_dir", os.TempDir(),
    		"Local working directory for creating logs/temp files. If left empty, os.TempDir() is used.")
    
    	var env string
    	flag.StringVar(&env, "istio.test.env", "", "Deprecated. This flag does nothing")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    	for _, rt := range tests {
    		f := pflag.NewFlagSet("test", pflag.ContinueOnError)
    		if f.Parsed() {
    			t.Error("f.Parse() = true before Parse")
    		}
    		f.String("foo", "", "flag bound to config object")
    		f.StringSliceVar(&ignorePreflightErrors, "ignore-preflight-errors", ignorePreflightErrors, "flag not bound to config object")
    		f.Bool("allow-experimental-upgrades", true, "upgrade flags for plan and apply command")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/flags.cc

      jitrt_flag_list = new std::vector<Flag>({
          Flag("always_specialize", &jitrt_flags->always_specialize, ""),
          Flag("cost_driven_async_parallel_for",
               &jitrt_flags->cost_driven_async_parallel_for, ""),
          Flag("enable_crash_reproducer", &jitrt_flags->enable_crash_reproducer,
               ""),
          Flag("log_query_of_death", &jitrt_flags->log_query_of_death, ""),
          Flag("vectorize", &jitrt_flags->vectorize, ""),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/flag/flag_test.go

    	fs.Usage = func() { helpCalled = true }
    	var flag bool
    	fs.BoolVar(&flag, "flag", false, "regular flag")
    	// Regular flag invocation should work
    	err := fs.Parse([]string{"-flag=true"})
    	if err != nil {
    		t.Fatal("expected no error; got ", err)
    	}
    	if !flag {
    		t.Error("flag was not set by -flag")
    	}
    	if helpCalled {
    		t.Error("help called for regular flag")
    		helpCalled = false // reset for next test
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/testflag.go

    	}
    
    	// Inject flags from GOFLAGS before the explicit command-line arguments.
    	// (They must appear before the flag terminator or first non-flag argument.)
    	// Also determine whether flags with awkward defaults have already been set.
    	var timeoutSet, outputDirSet bool
    	CmdTest.Flag.Visit(func(f *flag.Flag) {
    		short := strings.TrimPrefix(f.Name, "test.")
    		if addFromGOFLAGS[f.Name] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/edit.go

    	cmdEdit.Flag.Var(flagFunc(flagGodebug), "godebug", "")
    	cmdEdit.Flag.Var(flagFunc(flagDropGodebug), "dropgodebug", "")
    	cmdEdit.Flag.Var(flagFunc(flagRequire), "require", "")
    	cmdEdit.Flag.Var(flagFunc(flagDropRequire), "droprequire", "")
    	cmdEdit.Flag.Var(flagFunc(flagExclude), "exclude", "")
    	cmdEdit.Flag.Var(flagFunc(flagDropExclude), "dropexclude", "")
    	cmdEdit.Flag.Var(flagFunc(flagReplace), "replace", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. cmd/kubemark/app/hollow_node.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package app
    
    import (
    	"context"
    	goflag "flag"
    	"fmt"
    	"time"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	"go.opentelemetry.io/otel/trace/noop"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/cmd/go/main.go

    	return ctx
    }
    
    // handleChdirFlag handles the -C flag before doing anything else.
    // The -C flag must be the first flag on the command line, to make it easy to find
    // even with commands that have custom flag parsing.
    // handleChdirFlag handles the flag by chdir'ing to the directory
    // and then removing that flag from the command line entirely.
    //
    // We have to handle the -C flag this way for two reasons:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/etcd.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/spf13/pflag"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apiserver/pkg/registry/generic"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 15:02:16 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top