envoy_config_filter_http_cors_v2

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 17 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_http_cors_v2_cors_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cors

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

Cors filter config.

func (*Cors) Descriptor deprecated

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

Deprecated: Use Cors.ProtoReflect.Descriptor instead.

func (*Cors) ProtoMessage

func (*Cors) ProtoMessage()

func (*Cors) ProtoReflect added in v0.9.6

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

func (*Cors) Reset

func (x *Cors) Reset()

func (*Cors) String

func (x *Cors) String() string

func (*Cors) Validate

func (m *Cors) Validate() error

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

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 (CorsValidationError) Cause

func (e CorsValidationError) Cause() error

Cause function returns cause value.

func (CorsValidationError) Error

func (e CorsValidationError) Error() string

Error satisfies the builtin error interface

func (CorsValidationError) ErrorName

func (e CorsValidationError) ErrorName() string

ErrorName returns error name.

func (CorsValidationError) Field

func (e CorsValidationError) Field() string

Field function returns field value.

func (CorsValidationError) Key

func (e CorsValidationError) Key() bool

Key function returns key value.

func (CorsValidationError) Reason

func (e CorsValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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