Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 441 for vflag (0.04 sec)

  1. cmd/kubeadm/app/cmd/util/cmdutil.go

    	}
    	return kubeconfigutil.ClientSetFromFile(file)
    }
    
    // ValueFromFlagsOrConfig checks if the "name" flag has been set. If yes, it returns the value of the flag, otherwise it returns the value from config.
    func ValueFromFlagsOrConfig(flagSet *pflag.FlagSet, name string, cfgValue interface{}, flagValue interface{}) interface{} {
    	if flagSet.Changed(name) {
    		return flagValue
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/kubeadm.go

    		switch f.Name {
    		case "v", "add_dir_header", "skip_headers":
    			flag.CommandLine.Var(f.Value, f.Name, f.Usage)
    		}
    	})
    
    	pflag.CommandLine.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
    
    	cmd := cmd.NewKubeadmCommand(os.Stdin, os.Stdout, os.Stderr)
    	return cmd.Execute()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 04:38:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/init/addons.go

    func NewAddonPhase() workflow.Phase {
    	dnsLocalFlags := pflag.NewFlagSet(options.PrintManifest, pflag.ContinueOnError)
    	dnsLocalFlags.BoolVar(&printManifest, options.PrintManifest, printManifest, "Print the addon manifests to STDOUT instead of installing them")
    
    	proxyLocalFlags := pflag.NewFlagSet(options.PrintManifest, pflag.ContinueOnError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    // Set of handler options as bit flags
    type hFlag uint8
    
    const (
    	// this flag disables gzip compression of responses
    	noGZFlag = 1 << iota
    
    	// this flag enables tracing body and headers instead of just headers
    	traceAllFlag
    
    	// pass this flag to skip checking if object layer is available
    	noObjLayerFlag
    )
    
    // Has checks if the given flag is enabled in `h`.
    func (h hFlag) Has(flag hFlag) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/fieldnamedocscheck/field_name_docs_check.go

    limitations under the License.
    */
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"regexp"
    	"strings"
    
    	flag "github.com/spf13/pflag"
    	kruntime "k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    )
    
    var (
    	typeSrc = flag.StringP("type-src", "s", "", "From where we are going to read the types")
    	re      = regexp.MustCompile("`(\\b\\w+\\b)`")
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 18:32:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    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)
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. istioctl/pkg/cli/option.go

    		"Istio system namespace")
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    func (r *RootFlags) IstioNamespace() string {
    	return *r.istioNamespace
    }
    
    // DefaultNamespace returns the default namespace to use.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 18:01:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/init_windows.go

    limitations under the License.
    */
    
    package app
    
    import (
    	"github.com/spf13/pflag"
    
    	"k8s.io/kubernetes/pkg/windows/service"
    )
    
    const (
    	serviceName = "kube-proxy"
    )
    
    func initForOS(windowsService bool) error {
    	if windowsService {
    		return service.InitService(serviceName)
    	}
    	return nil
    }
    
    func (o *Options) addOSFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:41:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/feature.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apiserver/pkg/server"
    	utilflowcontrol "k8s.io/apiserver/pkg/util/flowcontrol"
    	"k8s.io/client-go/informers"
    	"k8s.io/client-go/kubernetes"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/attachdetachcontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"github.com/spf13/pflag"
    	"time"
    
    	attachdetachconfig "k8s.io/kubernetes/pkg/controller/volume/attachdetach/config"
    )
    
    // AttachDetachControllerOptions holds the AttachDetachController options.
    type AttachDetachControllerOptions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 18:31:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top