envoy_config_listener_v2

package
v1.0.0-ea5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ApiListener

type ApiListener struct {
	// The type in this field determines the type of API listener. At present, the following
	// types are supported:
	//   envoy.config.filter.network.http_connection_manager.v2.HttpConnectionManager (HTTP)
	// [#next-major-version: In the v3 API, replace this Any field with a oneof containing the
	// specific config message for each type of API listener. We could not do this in v2 because
	// it would have caused circular dependencies for go protos: lds.proto depends on this file,
	// and http_connection_manager.proto depends on rds.proto, which is in the same directory as
	// lds.proto, so lds.proto cannot depend on this file.]
	ApiListener          *types.Any `protobuf:"bytes,1,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

[#not-implemented-hide:] Describes a type of API listener, which is used in non-proxy clients. The type of API exposed to the non-proxy application depends on the type of API listener.

func (*ApiListener) Descriptor

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

func (*ApiListener) GetApiListener

func (m *ApiListener) GetApiListener() *types.Any

func (*ApiListener) Marshal

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

func (*ApiListener) MarshalTo

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

func (*ApiListener) MarshalToSizedBuffer

func (m *ApiListener) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApiListener) ProtoMessage

func (*ApiListener) ProtoMessage()

func (*ApiListener) Reset

func (m *ApiListener) Reset()

func (*ApiListener) Size

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

func (*ApiListener) String

func (m *ApiListener) String() string

func (*ApiListener) Unmarshal

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

func (*ApiListener) Validate

func (m *ApiListener) Validate() error

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

func (*ApiListener) XXX_DiscardUnknown

func (m *ApiListener) XXX_DiscardUnknown()

func (*ApiListener) XXX_Marshal

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

func (*ApiListener) XXX_Merge

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

func (*ApiListener) XXX_Size

func (m *ApiListener) XXX_Size() int

func (*ApiListener) XXX_Unmarshal

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

type ApiListenerValidationError

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

ApiListenerValidationError is the validation error returned by ApiListener.Validate if the designated constraints aren't met.

func (ApiListenerValidationError) Cause

Cause function returns cause value.

func (ApiListenerValidationError) Error

Error satisfies the builtin error interface

func (ApiListenerValidationError) ErrorName

func (e ApiListenerValidationError) ErrorName() string

ErrorName returns error name.

func (ApiListenerValidationError) Field

Field function returns field value.

func (ApiListenerValidationError) Key

Key function returns key value.

func (ApiListenerValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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