- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for Iflag (0.05 sec)
-
cmd/kubeadm/app/cmd/upgrade/apply.go
} if len(versionSkewErrs.Skippable) > 0 { // Return the error if the user hasn't specified the --force flag if !flags.force { return errors.Errorf("the --version argument is invalid due to these errors:\n\n%v\nCan be bypassed if you pass the --force flag", kubeadmutil.FormatErrMsg(versionSkewErrs.Skippable)) } // Soft errors found, but --force was specified
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/options_test.go
audittruncate "k8s.io/apiserver/plugin/pkg/audit/truncate" cliflag "k8s.io/component-base/cli/flag" "k8s.io/component-base/logs" "k8s.io/component-base/metrics" netutils "k8s.io/utils/net" kubeoptions "k8s.io/kubernetes/pkg/kubeapiserver/options" ) func TestAddFlags(t *testing.T) { fs := pflag.NewFlagSet("addflagstest", pflag.PanicOnError) s := NewOptions() var fss cliflag.NamedFlagSets s.AddFlags(&fss)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 10.7K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/options_test.go
netutils "k8s.io/utils/net" ) func TestAddFlags(t *testing.T) { fs := pflag.NewFlagSet("addflagstest", pflag.PanicOnError) s := NewServerRunOptions() for _, f := range s.Flags().FlagSets { fs.AddFlagSet(f) } args := []string{ "--enable-admission-plugins=AlwaysDeny", "--admission-control-config-file=/admission-control-config", "--advertise-address=192.168.10.10",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 12.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
pkg/kubelet/cm/container_manager_linux.go
case KernelTunableWarn: klog.V(2).InfoS("Invalid kernel flag", "flag", flag, "expectedValue", expectedValue, "actualValue", val) case KernelTunableModify: klog.V(2).InfoS("Updating kernel flag", "flag", flag, "expectedValue", expectedValue, "actualValue", val) err = sysctl.SetSysctl(flag, expectedValue) if err != nil { if inuserns.RunningInUserNS() { if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.KubeletInUserNamespace) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0) -
src/go/types/check_test.go
errlist = append(errlist, err) } } // apply custom configuration for _, opt := range opts { opt(&conf) } // apply flag setting (overrides custom configuration) var goexperiment, gotypesalias string flags := flag.NewFlagSet("", flag.PanicOnError) flags.StringVar(&conf.GoVersion, "lang", "", "") flags.StringVar(&goexperiment, "goexperiment", "", "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
import ( "bytes" "cmd/compile/internal/syntax" "flag" "fmt" "internal/buildcfg" "internal/testenv" "os" "path/filepath" "reflect" "regexp" "runtime" "strconv" "strings" "testing" . "cmd/compile/internal/types2" ) var ( haltOnError = flag.Bool("halt", false, "halt on error") verifyErrors = flag.Bool("verify", false, "verify errors (rather than list them) in TestManual")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0)