v2

package
v0.0.0-...-113c6ea Latest Latest
Warning

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

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

Documentation

Overview

Package v2 is a generated protocol buffer package.

It is generated from these files:

envoy/config/filter/http/buffer/v2/buffer.proto

It has these top-level messages:

Buffer
BufferPerRoute

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 *google_protobuf1.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"`
}

func (*Buffer) Descriptor

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

func (*Buffer) GetMaxRequestBytes

func (m *Buffer) GetMaxRequestBytes() *google_protobuf1.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.

type BufferPerRoute

type BufferPerRoute struct {
	// Types that are valid to be assigned to Override:
	//	*BufferPerRoute_Disabled
	//	*BufferPerRoute_Buffer
	Override isBufferPerRoute_Override `protobuf_oneof:"override"`
}

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_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.

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