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

package envoy_extensions_internal_redirect_safe_cross_scheme_v3

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

Index

Package Files

safe_cross_scheme_config.pb.go safe_cross_scheme_config.pb.validate.go

Variables

var File_envoy_extensions_internal_redirect_safe_cross_scheme_v3_safe_cross_scheme_config_proto protoreflect.FileDescriptor

type SafeCrossSchemeConfig Uses

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 Uses

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

Deprecated: Use SafeCrossSchemeConfig.ProtoReflect.Descriptor instead.

func (*SafeCrossSchemeConfig) ProtoMessage Uses

func (*SafeCrossSchemeConfig) ProtoMessage()

func (*SafeCrossSchemeConfig) ProtoReflect Uses

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

func (*SafeCrossSchemeConfig) Reset Uses

func (x *SafeCrossSchemeConfig) Reset()

func (*SafeCrossSchemeConfig) String Uses

func (x *SafeCrossSchemeConfig) String() string

func (*SafeCrossSchemeConfig) Validate Uses

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 Uses

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 Uses

func (e SafeCrossSchemeConfigValidationError) Cause() error

Cause function returns cause value.

func (SafeCrossSchemeConfigValidationError) Error Uses

func (e SafeCrossSchemeConfigValidationError) Error() string

Error satisfies the builtin error interface

func (SafeCrossSchemeConfigValidationError) ErrorName Uses

func (e SafeCrossSchemeConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SafeCrossSchemeConfigValidationError) Field Uses

func (e SafeCrossSchemeConfigValidationError) Field() string

Field function returns field value.

func (SafeCrossSchemeConfigValidationError) Key Uses

func (e SafeCrossSchemeConfigValidationError) Key() bool

Key function returns key value.

func (SafeCrossSchemeConfigValidationError) Reason Uses

func (e SafeCrossSchemeConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_internal_redirect_safe_cross_scheme_v3 imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.