Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MustEvaluate (0.1 sec)

  1. pilot/pkg/networking/core/sidecar_simulation_test.go

    				args.GwMatches = append(args.GwMatches, types.NamespacedName{
    					Namespace: spl[1],
    					Name:      spl[0],
    				})
    			}
    		}
    	}
    	switch variant {
    	case "httproute":
    		return tmpl.MustEvaluate(`apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}"
      namespace: {{.Namespace}}
      creationTimestamp: "{{.Time}}"
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top