Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 419 for Iflag (0.1 sec)

  1. 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)
  2. 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)
  3. cmd/kube-controller-manager/app/options/hpacontroller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    
    	"github.com/spf13/pflag"
    
    	poautosclerconfig "k8s.io/kubernetes/pkg/controller/podautoscaler/config"
    )
    
    // HPAControllerOptions holds the HPAController options.
    type HPAControllerOptions struct {
    	*poautosclerconfig.HPAControllerConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. cmd/kubeadm/app/cmd/util/cmdutil_test.go

    		name      string
    		flag      string
    		cfg       interface{}
    		flagValue interface{}
    		expected  interface{}
    	}{
    		{
    			name:      "string: config is overridden by the flag",
    			flag:      "foo",
    			cfg:       "foo_cfg",
    			flagValue: "foo_flag",
    			expected:  "foo_flag",
    		},
    		{
    			name:      "bool: config is overridden by the flag",
    			flag:      "bar",
    			cfg:       true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/inlheur/scoring.go

    		if calleeRecvrParms[idx].Sym == nil ||
    			calleeRecvrParms[idx].Sym.IsBlank() {
    			continue
    		}
    		arg := call.Args[idx]
    		pflag := calleeProps.ParamFlags[idx]
    		if debugTrace&debugTraceScoring != 0 {
    			fmt.Fprintf(os.Stderr, "=-= arg %d of %d: val %v flags=%s\n",
    				idx, len(call.Args), arg, pflag.String())
    		}
    
    		if len(cs.ArgProps) == 0 {
    			continue
    		}
    		argProps := cs.ArgProps[idx]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/go.mod

    	github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    	github.com/modern-go/reflect2 v1.0.2 // indirect
    	github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
    	github.com/spf13/pflag v1.0.5 // indirect
    	github.com/x448/float16 v0.8.4 // indirect
    	golang.org/x/net v0.25.0 // indirect
    	golang.org/x/text v0.15.0 // indirect
    	google.golang.org/protobuf v1.33.0 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:02:04 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    
    	"github.com/spf13/pflag"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    	"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. 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)
  10. cmd/kubeadm/app/cmd/certs_test.go

    			if cmd == nil || len(rem) != 0 {
    				t.Fatalf("couldn't locate command %q (%v)", cmdPath, rem)
    			}
    
    			for _, flag := range expectedFlags {
    				if cmd.Flags().Lookup(flag) == nil {
    					t.Errorf("couldn't find expected flag --%s", flag)
    				}
    			}
    		})
    	}
    }
    
    func TestRunRenewCommands(t *testing.T) {
    	tmpDir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(tmpDir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:26:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top