Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewStruct (0.94 sec)

  1. pilot/pkg/networking/util/util.go

    	m := map[string]interface{}{
    		// logical destination behind the tunnel, on which policy and telemetry will be applied
    		"local": net.JoinHostPort(address, strconv.Itoa(port)),
    	}
    	st, _ := structpb.NewStruct(m)
    	return st
    }
    
    func BuildStatefulSessionFilter(svc *model.Service) *hcm.HttpFilter {
    	filterConfig := MaybeBuildStatefulSessionFilterConfig(svc)
    	if filterConfig == nil {
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	n := ir.NewDeclNameAt(src.NoXPos, ir.OTYPE, ir.Pkgs.Runtime.Lookup("_defer"))
    	typ := types.NewNamed(n)
    	n.SetType(typ)
    	n.SetTypecheck(1)
    
    	// build struct holding the above fields
    	typ.SetUnderlying(types.NewStruct(fields))
    	types.CalcStructSize(typ)
    
    	deferType = typ
    	return typ
    }
    
    // SpillSlotAddr uses LocalSlot information to initialize an obj.Addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top