package envoy_extensions_transport_sockets_tap_v3

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

Index

Variables

var File_envoy_extensions_transport_sockets_tap_v3_tap_proto protoreflect.FileDescriptor

Types

type Tap

type Tap struct {
	CommonConfig    *v3.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
	TransportSocket *v31.TransportSocket      `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"`
	// contains filtered or unexported fields
}

func (*Tap) Descriptor

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

Deprecated: Use Tap.ProtoReflect.Descriptor instead.

func (*Tap) GetCommonConfig

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

func (*Tap) GetTransportSocket

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

func (*Tap) ProtoMessage

func (*Tap) ProtoMessage()

func (*Tap) ProtoReflect

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

func (*Tap) Reset

func (x *Tap) Reset()

func (*Tap) String

func (x *Tap) String() string

func (*Tap) Validate

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

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

func (e TapValidationError) Cause() error

Cause function returns cause value.

func (TapValidationError) Error

func (e TapValidationError) Error() string

Error satisfies the builtin error interface

func (TapValidationError) ErrorName

func (e TapValidationError) ErrorName() string

ErrorName returns error name.

func (TapValidationError) Field

func (e TapValidationError) Field() string

Field function returns field value.

func (TapValidationError) Key

func (e TapValidationError) Key() bool

Key function returns key value.

func (TapValidationError) Reason

func (e TapValidationError) Reason() string

Reason function returns reason value.

Source Files

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

Version
v0.9.6
Published
Jul 5, 2020
Platform
windows/amd64
Imports
20 packages
Last checked
29 minutes ago

Tools for package owners.