Documentation ¶
Index ¶
- Variables
- type AllowListedRoutesConfig
- func (*AllowListedRoutesConfig) Descriptor() ([]byte, []int)deprecated
- 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
- func (m *AllowListedRoutesConfig) ValidateAll() error
- type AllowListedRoutesConfigMultiError
- type AllowListedRoutesConfigValidationError
- func (e AllowListedRoutesConfigValidationError) Cause() error
- func (e AllowListedRoutesConfigValidationError) Error() string
- func (e AllowListedRoutesConfigValidationError) ErrorName() string
- func (e AllowListedRoutesConfigValidationError) Field() string
- func (e AllowListedRoutesConfigValidationError) Key() bool
- func (e AllowListedRoutesConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_internal_redirect_allow_listed_routes_v3_allow_listed_routes_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllowListedRoutesConfig ¶
type AllowListedRoutesConfig struct { // The list of routes that's allowed as redirect target by this predicate, // identified by the route's :ref:`name <envoy_v3_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
deprecated
func (*AllowListedRoutesConfig) Descriptor() ([]byte, []int)
Deprecated: Use AllowListedRoutesConfig.ProtoReflect.Descriptor instead.
func (*AllowListedRoutesConfig) GetAllowedRouteNames ¶
func (x *AllowListedRoutesConfig) GetAllowedRouteNames() []string
func (*AllowListedRoutesConfig) ProtoMessage ¶
func (*AllowListedRoutesConfig) ProtoMessage()
func (*AllowListedRoutesConfig) ProtoReflect ¶
func (x *AllowListedRoutesConfig) ProtoReflect() protoreflect.Message
func (*AllowListedRoutesConfig) Reset ¶
func (x *AllowListedRoutesConfig) Reset()
func (*AllowListedRoutesConfig) String ¶
func (x *AllowListedRoutesConfig) String() string
func (*AllowListedRoutesConfig) Validate ¶
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, the first error encountered is returned, or nil if there are no violations.
func (*AllowListedRoutesConfig) ValidateAll ¶
func (m *AllowListedRoutesConfig) ValidateAll() error
ValidateAll checks the field values on AllowListedRoutesConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AllowListedRoutesConfigMultiError, or nil if none found.
type AllowListedRoutesConfigMultiError ¶
type AllowListedRoutesConfigMultiError []error
AllowListedRoutesConfigMultiError is an error wrapping multiple validation errors returned by AllowListedRoutesConfig.ValidateAll() if the designated constraints aren't met.
func (AllowListedRoutesConfigMultiError) AllErrors ¶
func (m AllowListedRoutesConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AllowListedRoutesConfigMultiError) Error ¶
func (m AllowListedRoutesConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AllowListedRoutesConfigValidationError ¶
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 (AllowListedRoutesConfigValidationError) Cause ¶
func (e AllowListedRoutesConfigValidationError) Cause() error
Cause function returns cause value.
func (AllowListedRoutesConfigValidationError) Error ¶
func (e AllowListedRoutesConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AllowListedRoutesConfigValidationError) ErrorName ¶
func (e AllowListedRoutesConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AllowListedRoutesConfigValidationError) Field ¶
func (e AllowListedRoutesConfigValidationError) Field() string
Field function returns field value.
func (AllowListedRoutesConfigValidationError) Key ¶
func (e AllowListedRoutesConfigValidationError) Key() bool
Key function returns key value.
func (AllowListedRoutesConfigValidationError) Reason ¶
func (e AllowListedRoutesConfigValidationError) Reason() string
Reason function returns reason value.