import "github.com/envoyproxy/go-control-plane/envoy/extensions/internal_redirect/safe_cross_scheme/v3"
safe_cross_scheme_config.pb.go safe_cross_scheme_config.pb.validate.go
var File_envoy_extensions_internal_redirect_safe_cross_scheme_v3_safe_cross_scheme_config_proto protoreflect.FileDescriptor
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() ([]byte, []int)
Deprecated: Use SafeCrossSchemeConfig.ProtoReflect.Descriptor instead.
func (*SafeCrossSchemeConfig) ProtoMessage()
func (x *SafeCrossSchemeConfig) ProtoReflect() protoreflect.Message
func (x *SafeCrossSchemeConfig) Reset()
func (x *SafeCrossSchemeConfig) String() string
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 struct {
// contains filtered or unexported fields
}
SafeCrossSchemeConfigValidationError is the validation error returned by SafeCrossSchemeConfig.Validate if the designated constraints aren't met.
func (e SafeCrossSchemeConfigValidationError) Cause() error
Cause function returns cause value.
func (e SafeCrossSchemeConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e SafeCrossSchemeConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e SafeCrossSchemeConfigValidationError) Field() string
Field function returns field value.
func (e SafeCrossSchemeConfigValidationError) Key() bool
Key function returns key value.
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.