MCPcopy Create free account
hub / github.com/eth-easl/dirigent / PortMapping

Struct PortMapping

api/proto/common.pb.go:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69type PortMapping struct {
70 state protoimpl.MessageState
71 sizeCache protoimpl.SizeCache
72 unknownFields protoimpl.UnknownFields
73
74 HostPort int32 `protobuf:"varint,1,opt,name=HostPort,proto3" json:"HostPort,omitempty"`
75 GuestPort int32 `protobuf:"varint,2,opt,name=GuestPort,proto3" json:"GuestPort,omitempty"`
76 Protocol L4Protocol `protobuf:"varint,3,opt,name=Protocol,proto3,enum=data_plane.L4Protocol" json:"Protocol,omitempty"`
77}
78
79func (x *PortMapping) Reset() {
80 *x = PortMapping{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected