safe_cross_schemev3

package
v0.0.0-...-f4ba8c2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

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, the first error encountered is returned, or nil if there are no violations.

func (*SafeCrossSchemeConfig) ValidateAll

func (m *SafeCrossSchemeConfig) ValidateAll() error

ValidateAll checks the field values on SafeCrossSchemeConfig 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 SafeCrossSchemeConfigMultiError, or nil if none found.

type SafeCrossSchemeConfigMultiError

type SafeCrossSchemeConfigMultiError []error

SafeCrossSchemeConfigMultiError is an error wrapping multiple validation errors returned by SafeCrossSchemeConfig.ValidateAll() if the designated constraints aren't met.

func (SafeCrossSchemeConfigMultiError) AllErrors

func (m SafeCrossSchemeConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SafeCrossSchemeConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

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