import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/cors/v3"
cors.pb.go cors.pb.validate.go
var File_envoy_extensions_filters_http_cors_v3_cors_proto protoreflect.FileDescriptor
type Cors struct {
// contains filtered or unexported fields
}
Cors filter config.
Deprecated: Use Cors.ProtoReflect.Descriptor instead.
func (x *Cors) ProtoReflect() protoreflect.Message
Validate checks the field values on Cors with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CorsValidationError struct {
// contains filtered or unexported fields
}
CorsValidationError is the validation error returned by Cors.Validate if the designated constraints aren't met.
func (e CorsValidationError) Cause() error
Cause function returns cause value.
func (e CorsValidationError) Error() string
Error satisfies the builtin error interface
func (e CorsValidationError) ErrorName() string
ErrorName returns error name.
func (e CorsValidationError) Field() string
Field function returns field value.
func (e CorsValidationError) Key() bool
Key function returns key value.
func (e CorsValidationError) Reason() string
Reason function returns reason value.
Package envoy_extensions_filters_http_cors_v3 imports 17 packages (graph) and is imported by 8 packages. Updated 2021-01-07. Refresh now. Tools for package owners.