Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 797 for flagstr (0.18 sec)

  1. cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go

    type PersistentVolumeBinderControllerOptions struct {
    	*persistentvolumeconfig.PersistentVolumeBinderControllerConfiguration
    }
    
    // AddFlags adds flags related to PersistentVolumeBinderController for controller manager to the specified FlagSet.
    func (o *PersistentVolumeBinderControllerOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    		),
    		APIEnablement: genericoptions.NewAPIEnablementOptions(),
    
    		StdOut: out,
    		StdErr: errOut,
    	}
    
    	return o
    }
    
    // AddFlags adds the apiextensions-apiserver flags to the flagset.
    func (o CustomResourceDefinitionsServerOptions) AddFlags(fs *pflag.FlagSet) {
    	o.ServerRunOptions.AddUniversalFlags(fs)
    	o.RecommendedOptions.AddFlags(fs)
    	o.APIEnablement.AddFlags(fs)
    }
    
    // Validate validates the apiextensions-apiserver options.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/options/admission.go

    	options.DefaultOffPlugins = DefaultOffAdmissionPlugins()
    
    	return &AdmissionOptions{
    		GenericAdmission: options,
    	}
    }
    
    // AddFlags adds flags related to admission for kube-apiserver to the specified FlagSet
    func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet) {
    	if a == nil {
    		return
    	}
    	fs.StringSliceVar(&a.PluginNames, "admission-control", a.PluginNames, ""+
    		"Admission is divided into two phases. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 09:22:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top