Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 495 for desc2 (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "timeout supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. operator/pkg/tpath/util_test.go

    func TestAddSpecRoot(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect string
    		err    error
    	}{
    		{
    			desc: "empty",
    			in:   ``,
    			expect: `spec: {}
    `,
    			err: nil,
    		},
    		{
    			desc: "add-root",
    			in: `
    a: va
    b: foo`,
    			expect: `spec:
      a: va
      b: foo
    `,
    			err: nil,
    		},
    		{
    			desc:   "err",
    			in:     `i can't be yaml, can I?`,
    			expect: ``,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. operator/pkg/util/yaml_test.go

    	tests := []struct {
    		desc   string
    		in1    string
    		in2    string
    		expect bool
    	}{
    		{
    			desc:   "yaml-equal",
    			in1:    `foo: bar`,
    			in2:    `foo: bar`,
    			expect: true,
    		},
    		{
    			desc:   "bad-yaml-1",
    			in1:    "O#JF*()#",
    			in2:    `foo: bar`,
    			expect: false,
    		},
    		{
    			desc:   "bad-yaml-2",
    			in1:    `foo: bar`,
    			in2:    "#OHJ*#()F",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/panels.libsonnet

          + custom.withGradientMode('hue')
          + if std.length(desc) > 0 then
            timeSeries.panelOptions.withDescription(desc)
          else {},
    
        simple(title, targets, desc=''):
          self.base(title, targets, desc)
          + options.legend.withCalcs([])
          + options.legend.withDisplayMode('list'),
    
        short(title, targets, desc=''):
          self.base(title, targets, desc)
          + timeSeries.standardOptions.withUnit('short')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 4.5K bytes
    - Viewed (1)
  5. tools/golangci-override.yaml

                desc: "don't use v3; v2 is orders of magnitude higher performance"
              - pkg: k8s.io/apimachinery/pkg/util/sets
                desc: "use istio.io/istio/pkg/util/sets"
              - pkg: k8s.io/utils/env
                desc: "use istio.io/istio/pkg/env"
              - pkg: k8s.io/utils/strings/slices
                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    	testCases := []struct {
    		desc string
    		in   *apiserver.KMSConfiguration
    		want field.ErrorList
    	}{{
    		desc: "valid v1 api version",
    		in:   &apiserver.KMSConfiguration{APIVersion: "v1"},
    		want: field.ErrorList{},
    	}, {
    		desc: "valid v2 api version",
    		in:   &apiserver.KMSConfiguration{APIVersion: "v2"},
    		want: field.ErrorList{},
    	}, {
    		desc: "invalid api version",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  7. operator/pkg/tpath/tree_test.go

    a:
      nk1:
        nk2: nv2
    `,
    		},
    		{
    			desc:      "DeleteMapEntry",
    			path:      `a.b`,
    			wantFound: true,
    			want: `
    a: {}
    `,
    		},
    		{
    			desc:      "path not found",
    			path:      `a.c.[name:n2].list.[:v3]`,
    			wantFound: false,
    			wantErr:   `path not found at element c in path a.c.[name:n2].list.[:v3]`,
    		},
    		{
    			desc:      "error key",
    			path:      `a.b.[].list`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map);
            assertThat(desc.getRawClass(), is(sameClass(Set.class)));
            ParameterizedClassDesc[] args = desc.getArguments();
            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(Integer.class)));
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    		{
    			desc: "invalid yaml",
    			file: newString(`*`),
    			err:  "failed to decode",
    		},
    		{
    			desc: "invalid json",
    			file: newString(`{*`),
    			err:  "failed to decode",
    		},
    		// invalid object
    		{
    			desc: "missing kind",
    			file: newString(`{"apiVersion":"kubelet.config.k8s.io/v1beta1"}`),
    			err:  "failed to decode",
    		},
    		{
    			desc: "missing version",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .desc("Define a user property")
                    .build());
            options.addOption(Option.builder(Character.toString(OFFLINE))
                    .longOpt("offline")
                    .desc("Work offline")
                    .build());
            options.addOption(Option.builder(Character.toString(VERSION))
                    .longOpt("version")
                    .desc("Display version information")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top