import "github.com/envoyproxy/go-control-plane/envoy/extensions/internal_redirect/allow_listed_routes/v3"
allow_listed_routes_config.pb.go allow_listed_routes_config.pb.validate.go
var File_envoy_extensions_internal_redirect_allow_listed_routes_v3_allow_listed_routes_config_proto protoreflect.FileDescriptor
type AllowListedRoutesConfig struct { // The list of routes that's allowed as redirect target by this predicate, // identified by the route's :ref:`name <envoy_api_field_config.route.v3.Route.route>`. // Empty route names are not allowed. AllowedRouteNames []string `protobuf:"bytes,1,rep,name=allowed_route_names,json=allowedRouteNames,proto3" json:"allowed_route_names,omitempty"` // contains filtered or unexported fields }
An internal redirect predicate that accepts only explicitly allowed target routes. [#extension: envoy.internal_redirect_predicates.allow_listed_routes]
func (*AllowListedRoutesConfig) Descriptor() ([]byte, []int)
Deprecated: Use AllowListedRoutesConfig.ProtoReflect.Descriptor instead.
func (x *AllowListedRoutesConfig) GetAllowedRouteNames() []string
func (*AllowListedRoutesConfig) ProtoMessage()
func (x *AllowListedRoutesConfig) ProtoReflect() protoreflect.Message
func (x *AllowListedRoutesConfig) Reset()
func (x *AllowListedRoutesConfig) String() string
func (m *AllowListedRoutesConfig) Validate() error
Validate checks the field values on AllowListedRoutesConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AllowListedRoutesConfigValidationError struct {
// contains filtered or unexported fields
}
AllowListedRoutesConfigValidationError is the validation error returned by AllowListedRoutesConfig.Validate if the designated constraints aren't met.
func (e AllowListedRoutesConfigValidationError) Cause() error
Cause function returns cause value.
func (e AllowListedRoutesConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e AllowListedRoutesConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e AllowListedRoutesConfigValidationError) Field() string
Field function returns field value.
func (e AllowListedRoutesConfigValidationError) Key() bool
Key function returns key value.
func (e AllowListedRoutesConfigValidationError) Reason() string
Reason function returns reason value.
Package envoy_extensions_internal_redirect_allow_listed_routes_v3 imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.