Documentation ¶
Index ¶
- Variables
- type PortBased
- func (*PortBased) Descriptor() ([]byte, []int)deprecated
- func (x *PortBased) GetL3Protocol() PortBased_L3Protocol
- func (x *PortBased) GetL4Protocol() PortBased_L4Protocol
- func (x *PortBased) GetPort() uint32
- func (*PortBased) ProtoMessage()
- func (x *PortBased) ProtoReflect() protoreflect.Message
- func (x *PortBased) Reset()
- func (x *PortBased) String() string
- type PortBased_L3Protocol
- func (PortBased_L3Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x PortBased_L3Protocol) Enum() *PortBased_L3Protocol
- func (PortBased_L3Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortBased_L3Protocol) Number() protoreflect.EnumNumber
- func (x PortBased_L3Protocol) String() string
- func (PortBased_L3Protocol) Type() protoreflect.EnumType
- type PortBased_L4Protocol
- func (PortBased_L4Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x PortBased_L4Protocol) Enum() *PortBased_L4Protocol
- func (PortBased_L4Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortBased_L4Protocol) Number() protoreflect.EnumNumber
- func (x PortBased_L4Protocol) String() string
- func (PortBased_L4Protocol) Type() protoreflect.EnumType
- type Proxy
- func (*Proxy) Descriptor() ([]byte, []int)deprecated
- func (m *Proxy) GetRx() isProxy_Rx
- func (x *Proxy) GetRxPort() *PortBased
- func (x *Proxy) GetRxSocket() *SocketBased
- func (m *Proxy) GetTx() isProxy_Tx
- func (x *Proxy) GetTxPort() *PortBased
- func (x *Proxy) GetTxSocket() *SocketBased
- func (*Proxy) ProtoMessage()
- func (x *Proxy) ProtoReflect() protoreflect.Message
- func (x *Proxy) Reset()
- func (x *Proxy) String() string
- type Proxy_RxPort
- type Proxy_RxSocket
- type Proxy_TxPort
- type Proxy_TxSocket
- type SocketBased
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PortBased_L4Protocol_name = map[int32]string{ 0: "UNDEFINED_L4", 6: "TCP", 17: "UDP", } PortBased_L4Protocol_value = map[string]int32{ "UNDEFINED_L4": 0, "TCP": 6, "UDP": 17, } )
Enum value maps for PortBased_L4Protocol.
View Source
var ( PortBased_L3Protocol_name = map[int32]string{ 0: "UNDEFINED_L3", 1: "IPV4", 2: "IPV6", 3: "ALL", } PortBased_L3Protocol_value = map[string]int32{ "UNDEFINED_L3": 0, "IPV4": 1, "IPV6": 2, "ALL": 3, } )
Enum value maps for PortBased_L3Protocol.
View Source
var File_ligato_linux_punt_punt_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PortBased ¶
type PortBased struct { L4Protocol PortBased_L4Protocol `` /* 136-byte string literal not displayed */ L3Protocol PortBased_L3Protocol `` /* 136-byte string literal not displayed */ Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
Define network socket type
func (*PortBased) Descriptor
deprecated
func (*PortBased) GetL3Protocol ¶
func (x *PortBased) GetL3Protocol() PortBased_L3Protocol
func (*PortBased) GetL4Protocol ¶
func (x *PortBased) GetL4Protocol() PortBased_L4Protocol
func (*PortBased) ProtoMessage ¶
func (*PortBased) ProtoMessage()
func (*PortBased) ProtoReflect ¶ added in v3.2.0
func (x *PortBased) ProtoReflect() protoreflect.Message
type PortBased_L3Protocol ¶
type PortBased_L3Protocol int32
const ( PortBased_UNDEFINED_L3 PortBased_L3Protocol = 0 PortBased_IPV4 PortBased_L3Protocol = 1 PortBased_IPV6 PortBased_L3Protocol = 2 PortBased_ALL PortBased_L3Protocol = 3 )
func (PortBased_L3Protocol) Descriptor ¶ added in v3.2.0
func (PortBased_L3Protocol) Descriptor() protoreflect.EnumDescriptor
func (PortBased_L3Protocol) Enum ¶ added in v3.2.0
func (x PortBased_L3Protocol) Enum() *PortBased_L3Protocol
func (PortBased_L3Protocol) EnumDescriptor
deprecated
func (PortBased_L3Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortBased_L3Protocol.Descriptor instead.
func (PortBased_L3Protocol) Number ¶ added in v3.2.0
func (x PortBased_L3Protocol) Number() protoreflect.EnumNumber
func (PortBased_L3Protocol) String ¶
func (x PortBased_L3Protocol) String() string
func (PortBased_L3Protocol) Type ¶ added in v3.2.0
func (PortBased_L3Protocol) Type() protoreflect.EnumType
type PortBased_L4Protocol ¶
type PortBased_L4Protocol int32
const ( PortBased_UNDEFINED_L4 PortBased_L4Protocol = 0 PortBased_TCP PortBased_L4Protocol = 6 PortBased_UDP PortBased_L4Protocol = 17 )
func (PortBased_L4Protocol) Descriptor ¶ added in v3.2.0
func (PortBased_L4Protocol) Descriptor() protoreflect.EnumDescriptor
func (PortBased_L4Protocol) Enum ¶ added in v3.2.0
func (x PortBased_L4Protocol) Enum() *PortBased_L4Protocol
func (PortBased_L4Protocol) EnumDescriptor
deprecated
func (PortBased_L4Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortBased_L4Protocol.Descriptor instead.
func (PortBased_L4Protocol) Number ¶ added in v3.2.0
func (x PortBased_L4Protocol) Number() protoreflect.EnumNumber
func (PortBased_L4Protocol) String ¶
func (x PortBased_L4Protocol) String() string
func (PortBased_L4Protocol) Type ¶ added in v3.2.0
func (PortBased_L4Protocol) Type() protoreflect.EnumType
type Proxy ¶
type Proxy struct { // Types that are assignable to Rx: // *Proxy_RxPort // *Proxy_RxSocket Rx isProxy_Rx `protobuf_oneof:"rx"` // Types that are assignable to Tx: // *Proxy_TxPort // *Proxy_TxSocket Tx isProxy_Tx `protobuf_oneof:"tx"` // contains filtered or unexported fields }
Proxy allows to listen on network socket or unix domain socket, and resend to another network/unix domain socket
func (*Proxy) Descriptor
deprecated
func (*Proxy) GetRxSocket ¶
func (x *Proxy) GetRxSocket() *SocketBased
func (*Proxy) GetTxSocket ¶
func (x *Proxy) GetTxSocket() *SocketBased
func (*Proxy) ProtoMessage ¶
func (*Proxy) ProtoMessage()
func (*Proxy) ProtoReflect ¶ added in v3.2.0
func (x *Proxy) ProtoReflect() protoreflect.Message
type Proxy_RxPort ¶
type Proxy_RxPort struct {
RxPort *PortBased `protobuf:"bytes,1,opt,name=rx_port,json=rxPort,proto3,oneof"`
}
type Proxy_RxSocket ¶
type Proxy_RxSocket struct {
RxSocket *SocketBased `protobuf:"bytes,2,opt,name=rx_socket,json=rxSocket,proto3,oneof"`
}
type Proxy_TxPort ¶
type Proxy_TxPort struct {
TxPort *PortBased `protobuf:"bytes,3,opt,name=tx_port,json=txPort,proto3,oneof"`
}
type Proxy_TxSocket ¶
type Proxy_TxSocket struct {
TxSocket *SocketBased `protobuf:"bytes,4,opt,name=tx_socket,json=txSocket,proto3,oneof"`
}
type SocketBased ¶
type SocketBased struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Define unix domain socket type for IPC
func (*SocketBased) Descriptor
deprecated
func (*SocketBased) Descriptor() ([]byte, []int)
Deprecated: Use SocketBased.ProtoReflect.Descriptor instead.
func (*SocketBased) GetPath ¶
func (x *SocketBased) GetPath() string
func (*SocketBased) ProtoMessage ¶
func (*SocketBased) ProtoMessage()
func (*SocketBased) ProtoReflect ¶ added in v3.2.0
func (x *SocketBased) ProtoReflect() protoreflect.Message
func (*SocketBased) Reset ¶
func (x *SocketBased) Reset()
func (*SocketBased) String ¶
func (x *SocketBased) String() string
Click to show internal directories.
Click to hide internal directories.