- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BuildXDSObjectFromStruct (0.18 sec)
-
pkg/config/xds/xds.go
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/structpb" networking "istio.io/api/networking/v1alpha3" "istio.io/istio/pkg/util/protomarshal" ) // nolint: interfacer func BuildXDSObjectFromStruct(applyTo networking.EnvoyFilter_ApplyTo, value *structpb.Struct, strict bool) (proto.Message, error) { if value == nil { // for remove ops return nil, nil } var obj proto.Message switch applyTo {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jan 14 02:41:27 UTC 2023 - 3K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
} var err error // Use non-strict building to avoid issues where EnvoyFilter is valid but meant // for a different version of the API than we are built with cpw.Value, err = xds.BuildXDSObjectFromStruct(cp.ApplyTo, cp.Patch.Value, false) // There generally won't be an error here because validation catches mismatched types // Should only happen in tests or without validation if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0)