go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/internal_redirect/allow_listed_routes/v3 Index | Files

package envoy_extensions_internal_redirect_allow_listed_routes_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/internal_redirect/allow_listed_routes/v3"

Index

Package Files

allow_listed_routes_config.pb.go allow_listed_routes_config.pb.validate.go

Variables

var File_envoy_extensions_internal_redirect_allow_listed_routes_v3_allow_listed_routes_config_proto protoreflect.FileDescriptor

type AllowListedRoutesConfig Uses

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 Uses

func (*AllowListedRoutesConfig) Descriptor() ([]byte, []int)

Deprecated: Use AllowListedRoutesConfig.ProtoReflect.Descriptor instead.

func (*AllowListedRoutesConfig) GetAllowedRouteNames Uses

func (x *AllowListedRoutesConfig) GetAllowedRouteNames() []string

func (*AllowListedRoutesConfig) ProtoMessage Uses

func (*AllowListedRoutesConfig) ProtoMessage()

func (*AllowListedRoutesConfig) ProtoReflect Uses

func (x *AllowListedRoutesConfig) ProtoReflect() protoreflect.Message

func (*AllowListedRoutesConfig) Reset Uses

func (x *AllowListedRoutesConfig) Reset()

func (*AllowListedRoutesConfig) String Uses

func (x *AllowListedRoutesConfig) String() string

func (*AllowListedRoutesConfig) Validate Uses

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 Uses

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 Uses

func (e AllowListedRoutesConfigValidationError) Cause() error

Cause function returns cause value.

func (AllowListedRoutesConfigValidationError) Error Uses

func (e AllowListedRoutesConfigValidationError) Error() string

Error satisfies the builtin error interface

func (AllowListedRoutesConfigValidationError) ErrorName Uses

func (e AllowListedRoutesConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AllowListedRoutesConfigValidationError) Field Uses

func (e AllowListedRoutesConfigValidationError) Field() string

Field function returns field value.

func (AllowListedRoutesConfigValidationError) Key Uses

func (e AllowListedRoutesConfigValidationError) Key() bool

Key function returns key value.

func (AllowListedRoutesConfigValidationError) Reason Uses

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.