Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for mkstruct (0.16 sec)

  1. build-logic/lifecycle/src/main/kotlin/gradlebuild.teamcity-import-test-data.gradle.kts

     *
     * In short, we want TeamCity to be aware of the test execution data (which tests are executed and how long they are),
     * even when the Test task is `FROM-CACHE` or `UP-TO-DATE`. This build service will output a service message to instruct TeamCity to read JUnit test result XMLs.
     *
     * See https://www.jetbrains.com/help/teamcity/service-messages.html#Importing+XML+Reports
     */
    @DisableCachingByDefault(because = "It outputs a TeamCity service message")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 06 09:11:39 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. operator/pkg/util/reflect.go

    }
    
    // IsSlice reports whether value is a slice type.
    func IsSlice(value any) bool {
    	return kindOf(value) == reflect.Slice
    }
    
    // IsStruct reports whether value is a struct type
    func IsStruct(value any) bool {
    	return kindOf(value) == reflect.Struct
    }
    
    // IsSlicePtr reports whether v is a slice ptr type.
    func IsSlicePtr(v any) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  3. istioctl/pkg/xds/client.go

    		Config: adsc.Config{
    			Meta: model.NodeMetadata{
    				Generator:      "event",
    				ServiceAccount: serviceAccount,
    				Namespace:      ns,
    				CloudrunAddr:   opts.IstiodAddr,
    			}.ToStruct(),
    			CertDir:            opts.CertDir,
    			InsecureSkipVerify: opts.InsecureSkipVerify,
    			XDSSAN:             opts.XDSSAN,
    			GrpcOpts:           grpcOpts,
    		},
    	}, nil)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/pilot/status_test.go

    	meta := model.NodeMetadata{
    		ClusterID:    cluster.ID(config.clusterID),
    		IstioVersion: config.version,
    	}
    	return &status.ClientConfig{
    		Node: &core.Node{
    			Id:       config.proxyID,
    			Metadata: meta.ToStruct(),
    		},
    		GenericXdsConfigs: []*status.ClientConfig_GenericXdsConfig{
    			{
    				TypeUrl:      v3.ClusterType,
    				ConfigStatus: config.cdsSyncStatus,
    			},
    			{
    				TypeUrl:      v3.ListenerType,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectorMonitoringStrategy.java

            // TODO: These messages we print below are not actionable. Ideally, we would instruct the user to file an issue
            // noting the GC parameters they are using so that we can add that GC to our STRATEGIES.
            if (gcStrategy == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. pilot/pkg/xds/nds_test.go

    			})
    
    			ads := s.ConnectADS().WithType(v3.NameTableType)
    			res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    				Node: &core.Node{
    					Id:       ads.ID,
    					Metadata: tt.meta.ToStruct(),
    				},
    			})
    
    			nt := &dnsProto.NameTable{}
    			err := res.Resources[0].UnmarshalTo(nt)
    			if err != nil {
    				t.Fatal("Failed to unmarshal name table", err)
    				return
    			}
    			if len(nt.Table) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/const.go

    	case typ.IsBoolean():
    		return NewBasicLit(pos, typ, constant.MakeBool(false))
    	case typ.IsString():
    		return NewBasicLit(pos, typ, constant.MakeString(""))
    	case typ.IsArray() || typ.IsStruct():
    		// TODO(mdempsky): Return a typechecked expression instead.
    		return NewCompLitExpr(pos, OCOMPLIT, typ, nil)
    	}
    
    	base.FatalfAt(pos, "unexpected type: %v", typ)
    	panic("unreachable")
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. pilot/pkg/xds/statusgen.go

    					Id: con.proxy.ID,
    					Metadata: model.NodeMetadata{
    						ClusterID:    con.proxy.Metadata.ClusterID,
    						Namespace:    con.proxy.Metadata.Namespace,
    						IstioVersion: con.proxy.Metadata.IstioVersion,
    					}.ToStruct(),
    				},
    				GenericXdsConfigs: xdsConfigs,
    			}
    			res = append(res, &discovery.Resource{
    				Name:     clientConfig.Node.Id,
    				Resource: protoconv.MessageToAny(clientConfig),
    			})
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 23:30:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/adstest.go

    	if req == nil {
    		req = &discovery.DiscoveryRequest{}
    	}
    	if req.TypeUrl == "" {
    		req.TypeUrl = a.Type
    	}
    	if req.Node == nil {
    		req.Node = &core.Node{
    			Id:       a.ID,
    			Metadata: a.metadata.ToStruct(),
    		}
    	}
    	return req
    }
    
    func (a *AdsTest) Request(t test.Failer, req *discovery.DiscoveryRequest) {
    	t.Helper()
    	req = a.fillInRequestDefaults(req)
    	if err := a.client.Send(req); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. pilot/pkg/xds/deltaadstest.go

    		req = &discovery.DeltaDiscoveryRequest{}
    	}
    	if req.TypeUrl == "" {
    		req.TypeUrl = a.Type
    	}
    	if req.Node == nil {
    		req.Node = &core.Node{
    			Id:       a.ID,
    			Metadata: a.metadata.ToStruct(),
    		}
    	}
    	return req
    }
    
    func (a *DeltaAdsTest) Request(req *discovery.DeltaDiscoveryRequest) {
    	req = a.fillInRequestDefaults(req)
    	if err := a.client.Send(req); err != nil {
    		a.t.Fatal(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top