Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 540 for desc3 (0.04 sec)

  1. operator/pkg/compare/compare_test.go

    )
    
    func TestYAMLCmp(t *testing.T) {
    	tests := []struct {
    		desc string
    		a    string
    		b    string
    		want any
    	}{
    		{
    			desc: "empty string into nil",
    			a:    `metadata: ""`,
    			b:    `metadata: `,
    			want: ``,
    		},
    		{
    			desc: "empty array into nil",
    			a:    `metadata: []`,
    			b:    `metadata: `,
    			want: ``,
    		},
    		{
    			desc: "empty map into nil",
    			a:    `metadata: {}`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate_test.go

    	}
    )
    
    func TestTruncatingEvents(t *testing.T) {
    	testCases := []struct {
    		desc          string
    		event         *auditinternal.Event
    		wantDropped   bool
    		wantTruncated bool
    	}{
    		{
    			desc:  "Empty event should not be truncated",
    			event: &auditinternal.Event{},
    		},
    		{
    			desc: "Event with too large body should be truncated",
    			event: &auditinternal.Event{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  3. cluster/gce/gci/apiserver_etcd_test.go

    }
    
    func TestServerOverride(t *testing.T) {
    	testCases := []struct {
    		desc string
    		env  kubeAPIServeETCDEnv
    		want []string
    	}{
    		{
    			desc: "ETCD-SERVERS is not set - default override",
    			want: []string{
    				"--etcd-servers-overrides=/events#http://127.0.0.1:4002",
    			},
    		},
    		{
    			desc: "ETCD-SERVERS and ETCD_SERVERS_OVERRIDES are set",
    			env: kubeAPIServeETCDEnv{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 18 11:14:24 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. pkg/apis/discovery/v1beta1/conversion_test.go

    )
    
    func TestEndpointZoneConverstion(t *testing.T) {
    	testcases := []struct {
    		desc     string
    		external v1beta1.Endpoint
    		internal discovery.Endpoint
    	}{
    		{
    			desc:     "no topology field",
    			external: v1beta1.Endpoint{},
    			internal: discovery.Endpoint{},
    		},
    		{
    			desc: "non empty topology map, but no zone",
    			external: v1beta1.Endpoint{
    				Topology: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberSelector.java

        @Override
        public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
            AnnotationMember ann = new AnnotationMember(desc, visible);
            classMember.addAnnotation(ann);
            return new SortingAnnotationVisitor(ann, super.visitAnnotation(desc, visible));
        }
    
        @Override
        public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. cluster/images/etcd/migrate/options_test.go

    func TestFallbackToEnv(t *testing.T) {
    	testCases := []struct {
    		desc          string
    		env           string
    		value         string
    		valueSet      bool
    		expectedValue string
    		expectedError bool
    	}{
    		{
    			desc:          "value unset",
    			env:           "FOO",
    			valueSet:      false,
    			expectedValue: "",
    			expectedError: true,
    		},
    		{
    			desc:          "value set empty",
    			env:           "FOO",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:55:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/bootstrap/option/convert_test.go

    	"istio.io/istio/pkg/model"
    )
    
    // nolint: lll
    func TestTlsContextConvert(t *testing.T) {
    	tests := []struct {
    		desc         string
    		tls          *networkingAPI.ClientTLSSettings
    		sni          string
    		meta         *model.BootstrapNodeMetadata
    		expectTLSCtx string
    	}{
    		{
    			desc:         "no-tls",
    			tls:          &networkingAPI.ClientTLSSettings{},
    			sni:          "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. operator/pkg/helm/fs_renderer_test.go

    )
    
    func TestRenderManifest(t *testing.T) {
    	tests := []struct {
    		desc                  string
    		inValues              string
    		inChart               chart.Chart
    		startRender           bool
    		inPath                string
    		objFileTemplateReader Renderer
    		wantResult            string
    		wantErr               error
    	}{
    		{
    			desc:                  "not-started",
    			inValues:              "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 24 21:09:19 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. pkg/kubelet/network/dns/dns_test.go

    		},
    	}
    
    	testCases := []struct {
    		desc         string
    		hostNames    []string
    		resultSearch []string
    		events       []string
    	}{
    		{
    			desc:         "valid: 3 search paths",
    			hostNames:    []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			resultSearch: []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			events:       []string{},
    		},
    
    		{
    			desc:         "valid: 5 search paths",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. operator/pkg/tpath/struct_test.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestGetFromStructPath(t *testing.T) {
    	tests := []struct {
    		desc      string
    		nodeYAML  string
    		path      string
    		wantYAML  string
    		wantFound bool
    		wantErr   string
    	}{
    		{
    			desc: "GetStructItem",
    			nodeYAML: `
    a: va
    b: vb
    c:
      d: vd
      e:
        f: vf
    g:
      h:
      - i: vi
        j: vj
        k:
          l:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top