Documentation ¶
Overview ¶
Package nat is a generated protocol buffer package.
It is generated from these files:
pb/moby/nat/nat.proto
It has these top-level messages:
PortBinding PortMap PortSet
Index ¶
- Variables
- type PortBinding
- type PortMap
- func (m *PortMap) DeepCopyChecked() (*PortMap, []error)
- func (*PortMap) Descriptor() ([]byte, []int)
- func (m *PortMap) ExportIntoDockerApiType() (tgt nattypes.PortMap)
- func (m *PortMap) GetInternalMap() map[string]*PortMap_PortBindingSlice
- func (*PortMap) ProtoMessage()
- func (m *PortMap) Reset()
- func (m *PortMap) String() string
- type PortMap_PortBindingSlice
- type PortSet
- func (m *PortSet) DeepCopyChecked() (*PortSet, []error)
- func (*PortSet) Descriptor() ([]byte, []int)
- func (m *PortSet) ExportIntoDockerApiType() (tgt nattypes.PortSet)
- func (m *PortSet) GetInternalMap() map[string]*PortSet_VoidStruct
- func (*PortSet) ProtoMessage()
- func (m *PortSet) Reset()
- func (m *PortSet) String() string
- type PortSet_VoidStruct
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNilPointer = errors.New("found nil pointer")
)
Functions ¶
This section is empty.
Types ¶
type PortBinding ¶
type PortBinding struct { // HostIP is the host IP Address // HostIP string `json:"HostIp"` HostIp string `protobuf:"bytes,1,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"` // HostPort is the host port number // HostPort string HostPort string `protobuf:"bytes,2,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"` }
PortBinding represents a binding between a Host IP address and a Host Port type PortBinding struct
func (*PortBinding) Descriptor ¶
func (*PortBinding) Descriptor() ([]byte, []int)
func (*PortBinding) GetHostIp ¶
func (m *PortBinding) GetHostIp() string
func (*PortBinding) GetHostPort ¶
func (m *PortBinding) GetHostPort() string
func (*PortBinding) ProtoMessage ¶
func (*PortBinding) ProtoMessage()
func (*PortBinding) Reset ¶
func (m *PortBinding) Reset()
func (*PortBinding) String ¶
func (m *PortBinding) String() string
type PortMap ¶
type PortMap struct {
InternalMap map[string]*PortMap_PortBindingSlice `` /* 168-byte string literal not displayed */
}
PortMap is a collection of PortBinding indexed by Port Port is a string containing port number and protocol in the format "80/tcp" // type Port string type PortMap map[Port][]PortBinding
func (*PortMap) DeepCopyChecked ¶
func (*PortMap) Descriptor ¶
func (*PortMap) ExportIntoDockerApiType ¶
func (*PortMap) GetInternalMap ¶
func (m *PortMap) GetInternalMap() map[string]*PortMap_PortBindingSlice
func (*PortMap) ProtoMessage ¶
func (*PortMap) ProtoMessage()
type PortMap_PortBindingSlice ¶
type PortMap_PortBindingSlice struct {
InternalList []*PortBinding `protobuf:"bytes,1,rep,name=internal_list,json=internalList" json:"internal_list,omitempty"`
}
func (*PortMap_PortBindingSlice) Descriptor ¶
func (*PortMap_PortBindingSlice) Descriptor() ([]byte, []int)
func (*PortMap_PortBindingSlice) GetInternalList ¶
func (m *PortMap_PortBindingSlice) GetInternalList() []*PortBinding
func (*PortMap_PortBindingSlice) ProtoMessage ¶
func (*PortMap_PortBindingSlice) ProtoMessage()
func (*PortMap_PortBindingSlice) Reset ¶
func (m *PortMap_PortBindingSlice) Reset()
func (*PortMap_PortBindingSlice) String ¶
func (m *PortMap_PortBindingSlice) String() string
type PortSet ¶
type PortSet struct {
InternalMap map[string]*PortSet_VoidStruct `` /* 168-byte string literal not displayed */
}
PortSet is a collection of structs indexed by Port type PortSet map[Port]struct{}
func (*PortSet) DeepCopyChecked ¶
func (*PortSet) Descriptor ¶
func (*PortSet) ExportIntoDockerApiType ¶
func (*PortSet) GetInternalMap ¶
func (m *PortSet) GetInternalMap() map[string]*PortSet_VoidStruct
func (*PortSet) ProtoMessage ¶
func (*PortSet) ProtoMessage()
type PortSet_VoidStruct ¶
type PortSet_VoidStruct struct { }
func (*PortSet_VoidStruct) Descriptor ¶
func (*PortSet_VoidStruct) Descriptor() ([]byte, []int)
func (*PortSet_VoidStruct) ProtoMessage ¶
func (*PortSet_VoidStruct) ProtoMessage()
func (*PortSet_VoidStruct) Reset ¶
func (m *PortSet_VoidStruct) Reset()
func (*PortSet_VoidStruct) String ¶
func (m *PortSet_VoidStruct) String() string
Click to show internal directories.
Click to hide internal directories.