- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BuildXDSObjectFromStruct (0.18 sec)
-
pkg/config/validation/envoyfilter/envoyfilter.go
obj, err := xds.BuildXDSObjectFromStruct(cp.ApplyTo, cp.Patch.Value, true) if err != nil { errs = validation.AppendValidation(errs, validation.WrapWarning(err)) } // Append any deprecation notices if obj != nil { // Note: since we no longer import v2 protos, v2 references will fail during BuildXDSObjectFromStruct.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 12.2K bytes - Viewed (0) -
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)