Version: v0.9.7 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 18 Imported by: 5




This section is empty.


View Source
var File_envoy_extensions_internal_redirect_allow_listed_routes_v3_allow_listed_routes_config_proto protoreflect.FileDescriptor


This section is empty.


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_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

This method has been 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, an error is returned.

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

Cause function returns cause value.

func (AllowListedRoutesConfigValidationError) Error

Error satisfies the builtin error interface

func (AllowListedRoutesConfigValidationError) ErrorName

ErrorName returns error name.

func (AllowListedRoutesConfigValidationError) Field

Field function returns field value.

func (AllowListedRoutesConfigValidationError) Key

Key function returns key value.

func (AllowListedRoutesConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto