go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tap/v4alpha Index | Files

package envoy_extensions_transport_sockets_tap_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tap/v4alpha"

Index

Package Files

tap.pb.go tap.pb.validate.go

Variables

var File_envoy_extensions_transport_sockets_tap_v4alpha_tap_proto protoreflect.FileDescriptor

type Tap Uses

type Tap struct {

    // Common configuration for the tap transport socket.
    CommonConfig *v4alpha.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
    // The underlying transport socket being wrapped.
    TransportSocket *v4alpha1.TransportSocket `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
    // contains filtered or unexported fields
}

Configuration for tap transport socket. This wraps another transport socket, providing the ability to interpose and record in plain text any traffic that is surfaced to Envoy.

func (*Tap) Descriptor Uses

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

Deprecated: Use Tap.ProtoReflect.Descriptor instead.

func (*Tap) GetCommonConfig Uses

func (x *Tap) GetCommonConfig() *v4alpha.CommonExtensionConfig

func (*Tap) GetTransportSocket Uses

func (x *Tap) GetTransportSocket() *v4alpha1.TransportSocket

func (*Tap) ProtoMessage Uses

func (*Tap) ProtoMessage()

func (*Tap) ProtoReflect Uses

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

func (*Tap) Reset Uses

func (x *Tap) Reset()

func (*Tap) String Uses

func (x *Tap) String() string

func (*Tap) Validate Uses

func (m *Tap) Validate() error

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

type TapValidationError Uses

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

TapValidationError is the validation error returned by Tap.Validate if the designated constraints aren't met.

func (TapValidationError) Cause Uses

func (e TapValidationError) Cause() error

Cause function returns cause value.

func (TapValidationError) Error Uses

func (e TapValidationError) Error() string

Error satisfies the builtin error interface

func (TapValidationError) ErrorName Uses

func (e TapValidationError) ErrorName() string

ErrorName returns error name.

func (TapValidationError) Field Uses

func (e TapValidationError) Field() string

Field function returns field value.

func (TapValidationError) Key Uses

func (e TapValidationError) Key() bool

Key function returns key value.

func (TapValidationError) Reason Uses

func (e TapValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_transport_sockets_tap_v4alpha imports 20 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.