- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,054 for flagstr (0.16 sec)
-
cmd/kubelet/app/options/options.go
} return nil } // AddFlags adds flags for a specific KubeletServer to the specified FlagSet func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) { s.KubeletFlags.AddFlags(fs) AddKubeletConfigFlags(fs, &s.KubeletConfiguration) } // AddFlags adds flags for a specific KubeletFlags to the specified FlagSet func (f *KubeletFlags) AddFlags(mainfs *pflag.FlagSet) { fs := pflag.NewFlagSet("", pflag.ExitOnError)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 07:00:05 UTC 2024 - 41.6K bytes - Viewed (0) -
cmd/kubeadm/app/kubeadm.go
"k8s.io/klog/v2" "k8s.io/kubernetes/cmd/kubeadm/app/cmd" ) // Run creates and executes new kubeadm command func Run() error { var allFlags flag.FlagSet klog.InitFlags(&allFlags) // only add the flags that are still supported for kubeadm allFlags.VisitAll(func(f *flag.Flag) { switch f.Name { case "v", "add_dir_header", "skip_headers": flag.CommandLine.Var(f.Value, f.Name, f.Usage) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 04:38:21 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/kubelet/app/options/osflags_windows.go
See the License for the specific language governing permissions and limitations under the License. */ package options import ( "github.com/spf13/pflag" ) func (f *KubeletFlags) addOSFlags(fs *pflag.FlagSet) { fs.BoolVar(&f.WindowsService, "windows-service", f.WindowsService, "Enable Windows Service Control Manager API integration")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/api_enablement.go
func NewAPIEnablementOptions() *APIEnablementOptions { return &APIEnablementOptions{ RuntimeConfig: make(cliflag.ConfigurationMap), } } // AddFlags adds flags for a specific APIServer to the specified FlagSet func (s *APIEnablementOptions) AddFlags(fs *pflag.FlagSet) { if s == nil { return } fs.Var(&s.RuntimeConfig, "runtime-config", ""+ "A set of key=value pairs that enable or disable built-in APIs. Supported options are:\n"+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 09:22:37 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Stage1BlocksAccessorClassPath.kt
* limitations under the License. */ package org.gradle.kotlin.dsl.accessors import kotlinx.metadata.Flag import kotlinx.metadata.KmType import kotlinx.metadata.flagsOf import org.gradle.api.Project import org.gradle.api.internal.catalog.ExternalModuleDependencyFactory import org.gradle.api.internal.file.FileCollectionFactory import org.gradle.api.internal.initialization.ClassLoaderScope
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 8K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
return fmt.Errorf("-vet argument must be a supported analyzer or a distinguished value; found %s", arg) } f.flags = append(f.flags, "-"+arg) } } if len(f.flags) > 1 && single != "" { return fmt.Errorf("-vet does not accept %q in a list with other analyzers", single) } if len(f.flags) > 1 && single != "" { return fmt.Errorf("-vet does not accept %q in a list with other analyzers", single) } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritePPC64.go
// cond: uint64(x)<uint64(y) // result: (FlagLT) for { y := auxIntToInt64(v.AuxInt) if v_0.Op != OpPPC64MOVDconst { break } x := auxIntToInt64(v_0.AuxInt) if !(uint64(x) < uint64(y)) { break } v.reset(OpPPC64FlagLT) return true } // match: (CMPUconst (MOVDconst [x]) [y]) // cond: uint64(x)>uint64(y) // result: (FlagGT) for { y := auxIntToInt64(v.AuxInt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 360.2K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
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 err = cmd.Flags().ParseAll(os.Args[1:], parseFunc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/collateral/control.go
} } g.emit("</code></pre></div>") } } flags := cmd.NonInheritedFlags() flags.SetOutput(g.buffer) parentFlags := cmd.InheritedFlags() parentFlags.SetOutput(g.buffer) if flags.HasFlags() || parentFlags.HasFlags() { f := make(map[string]*pflag.Flag) addFlags(f, flags) addFlags(f, parentFlags) if len(f) > 0 { names := make([]string, len(f))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 03:51:36 UTC 2024 - 17.8K bytes - Viewed (0) -
pkg/kubeapiserver/options/authorization.go
} return allErrors } // AddFlags returns flags of authorization for a API Server func (o *BuiltInAuthorizationOptions) AddFlags(fs *pflag.FlagSet) { if o == nil { return } fs.StringSliceVar(&o.Modes, authorizationModeFlag, o.Modes, ""+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 12K bytes - Viewed (0)