- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 419 for Iflag (0.05 sec)
-
cmd/import-boss/main.go
package main import ( "flag" "os" "errors" "fmt" "path/filepath" "regexp" "sort" "strings" "time" "github.com/spf13/pflag" "golang.org/x/tools/go/packages" "k8s.io/klog/v2" "sigs.k8s.io/yaml" ) const ( rulesFileName = ".import-restrictions" goModFile = "go.mod" ) func main() { klog.InitFlags(nil) pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join.go
*/ package cmd import ( "fmt" "io" "os" "path/filepath" "strings" "text/template" "github.com/lithammer/dedent" "github.com/pkg/errors" "github.com/spf13/cobra" flag "github.com/spf13/pflag" "k8s.io/apimachinery/pkg/util/sets" clientset "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" "k8s.io/klog/v2"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 15:33:38 UTC 2024 - 25.2K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/server/options/admission.go
See the License for the specific language governing permissions and limitations under the License. */ package options import ( "fmt" "strings" "time" "github.com/spf13/pflag" "k8s.io/apimachinery/pkg/runtime" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/pkg/util/sets" utilwait "k8s.io/apimachinery/pkg/util/wait" "k8s.io/apiserver/pkg/admission"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 12 08:49:42 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/hello-probes-with-flag-unset-in-annotation.yaml.injected
John Howard <******@****.***> 1709052916 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 7.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/internal/trace/testdata/cmd/gotraceraw/main.go
package main import ( "flag" "fmt" "io" "log" "os" "internal/trace/raw" "internal/trace/version" ) func init() { flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0]) fmt.Fprintf(flag.CommandLine.Output(), "\n") fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:") fmt.Fprintf(flag.CommandLine.Output(), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 1.7K bytes - Viewed (0)