go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/listener/v2 Index | Files

package envoy_config_listener_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/listener/v2"


Package Files

api_listener.pb.go api_listener.pb.validate.go


var File_envoy_config_listener_v2_api_listener_proto protoreflect.FileDescriptor

type ApiListener Uses

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 *any.Any `protobuf:"bytes,1,opt,name=api_listener,json=apiListener,proto3" json:"api_listener,omitempty"`
    // contains filtered or unexported fields

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 Uses

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

Deprecated: Use ApiListener.ProtoReflect.Descriptor instead.

func (*ApiListener) GetApiListener Uses

func (x *ApiListener) GetApiListener() *any.Any

func (*ApiListener) ProtoMessage Uses

func (*ApiListener) ProtoMessage()

func (*ApiListener) ProtoReflect Uses

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

func (*ApiListener) Reset Uses

func (x *ApiListener) Reset()

func (*ApiListener) String Uses

func (x *ApiListener) String() string

func (*ApiListener) Validate Uses

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.

type ApiListenerValidationError Uses

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 Uses

func (e ApiListenerValidationError) Cause() error

Cause function returns cause value.

func (ApiListenerValidationError) Error Uses

func (e ApiListenerValidationError) Error() string

Error satisfies the builtin error interface

func (ApiListenerValidationError) ErrorName Uses

func (e ApiListenerValidationError) ErrorName() string

ErrorName returns error name.

func (ApiListenerValidationError) Field Uses

func (e ApiListenerValidationError) Field() string

Field function returns field value.

func (ApiListenerValidationError) Key Uses

func (e ApiListenerValidationError) Key() bool

Key function returns key value.

func (ApiListenerValidationError) Reason Uses

func (e ApiListenerValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_listener_v2 imports 18 packages (graph) and is imported by 8 packages. Updated 2021-01-08. Refresh now. Tools for package owners.