v2

package
Version: v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthBuffer = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBuffer   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	// The maximum request size that the filter will buffer before the connection
	// manager will stop buffering and return a 413 response.
	MaxRequestBytes      *types.UInt32Value `protobuf:"bytes,1,opt,name=max_request_bytes,json=maxRequestBytes,proto3" json:"max_request_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Buffer) Descriptor

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

func (*Buffer) GetMaxRequestBytes

func (m *Buffer) GetMaxRequestBytes() *types.UInt32Value

func (*Buffer) Marshal

func (m *Buffer) Marshal() (dAtA []byte, err error)

func (*Buffer) MarshalTo

func (m *Buffer) MarshalTo(dAtA []byte) (int, error)

func (*Buffer) ProtoMessage

func (*Buffer) ProtoMessage()

func (*Buffer) Reset

func (m *Buffer) Reset()

func (*Buffer) Size

func (m *Buffer) Size() (n int)

func (*Buffer) String

func (m *Buffer) String() string

func (*Buffer) Unmarshal

func (m *Buffer) Unmarshal(dAtA []byte) error

func (*Buffer) Validate

func (m *Buffer) Validate() error

Validate checks the field values on Buffer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Buffer) XXX_DiscardUnknown

func (m *Buffer) XXX_DiscardUnknown()

func (*Buffer) XXX_Marshal

func (m *Buffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Buffer) XXX_Merge

func (m *Buffer) XXX_Merge(src proto.Message)

func (*Buffer) XXX_Size

func (m *Buffer) XXX_Size() int

func (*Buffer) XXX_Unmarshal

func (m *Buffer) XXX_Unmarshal(b []byte) error

type BufferPerRoute

type BufferPerRoute struct {
	// Types that are valid to be assigned to Override:
	//	*BufferPerRoute_Disabled
	//	*BufferPerRoute_Buffer
	Override             isBufferPerRoute_Override `protobuf_oneof:"override"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*BufferPerRoute) Descriptor

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

func (*BufferPerRoute) GetBuffer

func (m *BufferPerRoute) GetBuffer() *Buffer

func (*BufferPerRoute) GetDisabled

func (m *BufferPerRoute) GetDisabled() bool

func (*BufferPerRoute) GetOverride

func (m *BufferPerRoute) GetOverride() isBufferPerRoute_Override

func (*BufferPerRoute) Marshal

func (m *BufferPerRoute) Marshal() (dAtA []byte, err error)

func (*BufferPerRoute) MarshalTo

func (m *BufferPerRoute) MarshalTo(dAtA []byte) (int, error)

func (*BufferPerRoute) ProtoMessage

func (*BufferPerRoute) ProtoMessage()

func (*BufferPerRoute) Reset

func (m *BufferPerRoute) Reset()

func (*BufferPerRoute) Size

func (m *BufferPerRoute) Size() (n int)

func (*BufferPerRoute) String

func (m *BufferPerRoute) String() string

func (*BufferPerRoute) Unmarshal

func (m *BufferPerRoute) Unmarshal(dAtA []byte) error

func (*BufferPerRoute) Validate

func (m *BufferPerRoute) Validate() error

Validate checks the field values on BufferPerRoute with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*BufferPerRoute) XXX_DiscardUnknown

func (m *BufferPerRoute) XXX_DiscardUnknown()

func (*BufferPerRoute) XXX_Marshal

func (m *BufferPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BufferPerRoute) XXX_Merge

func (m *BufferPerRoute) XXX_Merge(src proto.Message)

func (*BufferPerRoute) XXX_OneofFuncs

func (*BufferPerRoute) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*BufferPerRoute) XXX_Size

func (m *BufferPerRoute) XXX_Size() int

func (*BufferPerRoute) XXX_Unmarshal

func (m *BufferPerRoute) XXX_Unmarshal(b []byte) error

type BufferPerRouteValidationError

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

BufferPerRouteValidationError is the validation error returned by BufferPerRoute.Validate if the designated constraints aren't met.

func (BufferPerRouteValidationError) Cause

Cause function returns cause value.

func (BufferPerRouteValidationError) Error

Error satisfies the builtin error interface

func (BufferPerRouteValidationError) ErrorName added in v0.7.0

func (e BufferPerRouteValidationError) ErrorName() string

ErrorName returns error name.

func (BufferPerRouteValidationError) Field

Field function returns field value.

func (BufferPerRouteValidationError) Key

Key function returns key value.

func (BufferPerRouteValidationError) Reason

Reason function returns reason value.

type BufferPerRoute_Buffer

type BufferPerRoute_Buffer struct {
	Buffer *Buffer `protobuf:"bytes,2,opt,name=buffer,proto3,oneof"`
}

func (*BufferPerRoute_Buffer) MarshalTo

func (m *BufferPerRoute_Buffer) MarshalTo(dAtA []byte) (int, error)

func (*BufferPerRoute_Buffer) Size

func (m *BufferPerRoute_Buffer) Size() (n int)

type BufferPerRoute_Disabled

type BufferPerRoute_Disabled struct {
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"`
}

func (*BufferPerRoute_Disabled) MarshalTo

func (m *BufferPerRoute_Disabled) MarshalTo(dAtA []byte) (int, error)

func (*BufferPerRoute_Disabled) Size

func (m *BufferPerRoute_Disabled) Size() (n int)

type BufferValidationError

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

BufferValidationError is the validation error returned by Buffer.Validate if the designated constraints aren't met.

func (BufferValidationError) Cause

func (e BufferValidationError) Cause() error

Cause function returns cause value.

func (BufferValidationError) Error

func (e BufferValidationError) Error() string

Error satisfies the builtin error interface

func (BufferValidationError) ErrorName added in v0.7.0

func (e BufferValidationError) ErrorName() string

ErrorName returns error name.

func (BufferValidationError) Field

func (e BufferValidationError) Field() string

Field function returns field value.

func (BufferValidationError) Key

func (e BufferValidationError) Key() bool

Key function returns key value.

func (BufferValidationError) Reason

func (e BufferValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL