Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAddCustomGlobalFlags (0.14 sec)

  1. cmd/kube-apiserver/app/options/globalflags_test.go

    	"reflect"
    	"sort"
    	"strings"
    	"testing"
    
    	"github.com/spf13/pflag"
    
    	cliflag "k8s.io/component-base/cli/flag"
    	"k8s.io/component-base/cli/globalflag"
    	"k8s.io/component-base/logs"
    )
    
    func TestAddCustomGlobalFlags(t *testing.T) {
    	namedFlagSets := &cliflag.NamedFlagSets{}
    
    	// Note that we will register all flags (including klog flags) into the same
    	// flag set. This allows us to test against all global flags from
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 30 11:46:49 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top