envoy_extensions_internal_redirect_safe_cross_scheme_v3

package
v0.9.7 Latest Latest
Warning

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: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_internal_redirect_safe_cross_scheme_v3_safe_cross_scheme_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SafeCrossSchemeConfig

type SafeCrossSchemeConfig struct {
	// contains filtered or unexported fields
}

An internal redirect predicate that checks the scheme between the downstream url and the redirect target url and allows a) same scheme redirect and b) safe cross scheme redirect, which means if the downstream scheme is HTTPS, both HTTPS and HTTP redirect targets are allowed, but if the downstream scheme is HTTP, only HTTP redirect targets are allowed. [#extension: envoy.internal_redirect_predicates.safe_cross_scheme]

func (*SafeCrossSchemeConfig) Descriptor deprecated

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

Deprecated: Use SafeCrossSchemeConfig.ProtoReflect.Descriptor instead.

func (*SafeCrossSchemeConfig) ProtoMessage

func (*SafeCrossSchemeConfig) ProtoMessage()

func (*SafeCrossSchemeConfig) ProtoReflect

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

func (*SafeCrossSchemeConfig) Reset

func (x *SafeCrossSchemeConfig) Reset()

func (*SafeCrossSchemeConfig) String

func (x *SafeCrossSchemeConfig) String() string

func (*SafeCrossSchemeConfig) Validate

func (m *SafeCrossSchemeConfig) Validate() error

Validate checks the field values on SafeCrossSchemeConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SafeCrossSchemeConfigValidationError

type SafeCrossSchemeConfigValidationError struct {
	// contains filtered or unexported fields
}

SafeCrossSchemeConfigValidationError is the validation error returned by SafeCrossSchemeConfig.Validate if the designated constraints aren't met.

func (SafeCrossSchemeConfigValidationError) Cause

Cause function returns cause value.

func (SafeCrossSchemeConfigValidationError) Error

Error satisfies the builtin error interface

func (SafeCrossSchemeConfigValidationError) ErrorName

ErrorName returns error name.

func (SafeCrossSchemeConfigValidationError) Field

Field function returns field value.

func (SafeCrossSchemeConfigValidationError) Key

Key function returns key value.

func (SafeCrossSchemeConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL