v2

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 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" json:"max_request_bytes,omitempty"`
	// The maximum number of seconds that the filter will wait for a complete
	// request before returning a 408 response.
	MaxRequestTime       *time.Duration `protobuf:"bytes,2,opt,name=max_request_time,json=maxRequestTime,stdduration" json:"max_request_time,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) GetMaxRequestTime

func (m *Buffer) GetMaxRequestTime() *time.Duration

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 (dst *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 (dst *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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (BufferPerRouteValidationError) Error

Error satisfies the builtin error interface

type BufferPerRoute_Buffer

type BufferPerRoute_Buffer struct {
	Buffer *Buffer `protobuf:"bytes,2,opt,name=buffer,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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

func (BufferValidationError) Error

func (e BufferValidationError) Error() string

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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