Documentation ¶
Index ¶
- Variables
- type NdType
- func (NdType) Descriptor() protoreflect.EnumDescriptor
- func (x NdType) Enum() *NdType
- func (NdType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NdType) Number() protoreflect.EnumNumber
- func (x NdType) String() string
- func (NdType) Type() protoreflect.EnumType
- func (x *NdType) UnmarshalJSON(b []byte) errordeprecated
- type NetDeviceEntry
- func (*NetDeviceEntry) Descriptor() ([]byte, []int)deprecated
- func (x *NetDeviceEntry) GetAddress() []byte
- func (x *NetDeviceEntry) GetConf() []int32
- func (x *NetDeviceEntry) GetConf4() []*sysctl.SysctlEntry
- func (x *NetDeviceEntry) GetConf6() []*sysctl.SysctlEntry
- func (x *NetDeviceEntry) GetFlags() uint32
- func (x *NetDeviceEntry) GetIfindex() uint32
- func (x *NetDeviceEntry) GetMacvlan() *macvlan.MacvlanLinkEntry
- func (x *NetDeviceEntry) GetMaster() uint32
- func (x *NetDeviceEntry) GetMtu() uint32
- func (x *NetDeviceEntry) GetName() string
- func (x *NetDeviceEntry) GetPeerIfindex() uint32
- func (x *NetDeviceEntry) GetPeerNsid() uint32
- func (x *NetDeviceEntry) GetSit() *sit.SitEntry
- func (x *NetDeviceEntry) GetTun() *tun.TunLinkEntry
- func (x *NetDeviceEntry) GetType() NdType
- func (*NetDeviceEntry) ProtoMessage()
- func (x *NetDeviceEntry) ProtoReflect() protoreflect.Message
- func (x *NetDeviceEntry) Reset()
- func (x *NetDeviceEntry) String() string
- type NetnsEntry
- func (*NetnsEntry) Descriptor() ([]byte, []int)deprecated
- func (x *NetnsEntry) GetAllConf() []int32
- func (x *NetnsEntry) GetAllConf4() []*sysctl.SysctlEntry
- func (x *NetnsEntry) GetAllConf6() []*sysctl.SysctlEntry
- func (x *NetnsEntry) GetDefConf() []int32
- func (x *NetnsEntry) GetDefConf4() []*sysctl.SysctlEntry
- func (x *NetnsEntry) GetDefConf6() []*sysctl.SysctlEntry
- func (x *NetnsEntry) GetExtKey() string
- func (x *NetnsEntry) GetNsids() []*NetnsId
- func (x *NetnsEntry) GetUnixConf() []*sysctl.SysctlEntry
- func (*NetnsEntry) ProtoMessage()
- func (x *NetnsEntry) ProtoReflect() protoreflect.Message
- func (x *NetnsEntry) Reset()
- func (x *NetnsEntry) String() string
- type NetnsId
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NdType_name = map[int32]string{ 1: "LOOPBACK", 2: "VETH", 3: "TUN", 4: "EXTLINK", 5: "VENET", 6: "BRIDGE", 7: "MACVLAN", 8: "SIT", } NdType_value = map[string]int32{ "LOOPBACK": 1, "VETH": 2, "TUN": 3, "EXTLINK": 4, "VENET": 5, "BRIDGE": 6, "MACVLAN": 7, "SIT": 8, } )
Enum value maps for NdType.
View Source
var File_netdev_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NdType ¶
type NdType int32
const ( NdType_LOOPBACK NdType = 1 NdType_VETH NdType = 2 NdType_TUN NdType = 3 // External link -- for those CRIU only dumps and restores // link parameters such as flags, address, MTU, etc. The // existence of the link on restore should be provided // by the setup-namespaces script. NdType_EXTLINK NdType = 4 NdType_VENET NdType = 5 // OpenVZ device NdType_BRIDGE NdType = 6 NdType_MACVLAN NdType = 7 NdType_SIT NdType = 8 )
func (NdType) Descriptor ¶
func (NdType) Descriptor() protoreflect.EnumDescriptor
func (NdType) EnumDescriptor
deprecated
func (NdType) Number ¶
func (x NdType) Number() protoreflect.EnumNumber
func (NdType) Type ¶
func (NdType) Type() protoreflect.EnumType
func (*NdType) UnmarshalJSON
deprecated
type NetDeviceEntry ¶
type NetDeviceEntry struct { Type *NdType `protobuf:"varint,1,req,name=type,enum=NdType" json:"type,omitempty"` Ifindex *uint32 `protobuf:"varint,2,req,name=ifindex" json:"ifindex,omitempty"` Mtu *uint32 `protobuf:"varint,3,req,name=mtu" json:"mtu,omitempty"` Flags *uint32 `protobuf:"varint,4,req,name=flags" json:"flags,omitempty"` Name *string `protobuf:"bytes,5,req,name=name" json:"name,omitempty"` Tun *tun.TunLinkEntry `protobuf:"bytes,6,opt,name=tun" json:"tun,omitempty"` Address []byte `protobuf:"bytes,7,opt,name=address" json:"address,omitempty"` Conf []int32 `protobuf:"varint,8,rep,name=conf" json:"conf,omitempty"` Conf4 []*sysctl.SysctlEntry `protobuf:"bytes,9,rep,name=conf4" json:"conf4,omitempty"` Conf6 []*sysctl.SysctlEntry `protobuf:"bytes,10,rep,name=conf6" json:"conf6,omitempty"` Macvlan *macvlan.MacvlanLinkEntry `protobuf:"bytes,11,opt,name=macvlan" json:"macvlan,omitempty"` PeerIfindex *uint32 `protobuf:"varint,12,opt,name=peer_ifindex,json=peerIfindex" json:"peer_ifindex,omitempty"` PeerNsid *uint32 `protobuf:"varint,13,opt,name=peer_nsid,json=peerNsid" json:"peer_nsid,omitempty"` Master *uint32 `protobuf:"varint,14,opt,name=master" json:"master,omitempty"` Sit *sit.SitEntry `protobuf:"bytes,15,opt,name=sit" json:"sit,omitempty"` // contains filtered or unexported fields }
func (*NetDeviceEntry) Descriptor
deprecated
func (*NetDeviceEntry) Descriptor() ([]byte, []int)
Deprecated: Use NetDeviceEntry.ProtoReflect.Descriptor instead.
func (*NetDeviceEntry) GetAddress ¶
func (x *NetDeviceEntry) GetAddress() []byte
func (*NetDeviceEntry) GetConf ¶
func (x *NetDeviceEntry) GetConf() []int32
func (*NetDeviceEntry) GetConf4 ¶
func (x *NetDeviceEntry) GetConf4() []*sysctl.SysctlEntry
func (*NetDeviceEntry) GetConf6 ¶
func (x *NetDeviceEntry) GetConf6() []*sysctl.SysctlEntry
func (*NetDeviceEntry) GetFlags ¶
func (x *NetDeviceEntry) GetFlags() uint32
func (*NetDeviceEntry) GetIfindex ¶
func (x *NetDeviceEntry) GetIfindex() uint32
func (*NetDeviceEntry) GetMacvlan ¶
func (x *NetDeviceEntry) GetMacvlan() *macvlan.MacvlanLinkEntry
func (*NetDeviceEntry) GetMaster ¶
func (x *NetDeviceEntry) GetMaster() uint32
func (*NetDeviceEntry) GetMtu ¶
func (x *NetDeviceEntry) GetMtu() uint32
func (*NetDeviceEntry) GetName ¶
func (x *NetDeviceEntry) GetName() string
func (*NetDeviceEntry) GetPeerIfindex ¶
func (x *NetDeviceEntry) GetPeerIfindex() uint32
func (*NetDeviceEntry) GetPeerNsid ¶
func (x *NetDeviceEntry) GetPeerNsid() uint32
func (*NetDeviceEntry) GetSit ¶
func (x *NetDeviceEntry) GetSit() *sit.SitEntry
func (*NetDeviceEntry) GetTun ¶
func (x *NetDeviceEntry) GetTun() *tun.TunLinkEntry
func (*NetDeviceEntry) GetType ¶
func (x *NetDeviceEntry) GetType() NdType
func (*NetDeviceEntry) ProtoMessage ¶
func (*NetDeviceEntry) ProtoMessage()
func (*NetDeviceEntry) ProtoReflect ¶
func (x *NetDeviceEntry) ProtoReflect() protoreflect.Message
func (*NetDeviceEntry) Reset ¶
func (x *NetDeviceEntry) Reset()
func (*NetDeviceEntry) String ¶
func (x *NetDeviceEntry) String() string
type NetnsEntry ¶
type NetnsEntry struct { DefConf []int32 `protobuf:"varint,1,rep,name=def_conf,json=defConf" json:"def_conf,omitempty"` AllConf []int32 `protobuf:"varint,2,rep,name=all_conf,json=allConf" json:"all_conf,omitempty"` DefConf4 []*sysctl.SysctlEntry `protobuf:"bytes,3,rep,name=def_conf4,json=defConf4" json:"def_conf4,omitempty"` AllConf4 []*sysctl.SysctlEntry `protobuf:"bytes,4,rep,name=all_conf4,json=allConf4" json:"all_conf4,omitempty"` DefConf6 []*sysctl.SysctlEntry `protobuf:"bytes,5,rep,name=def_conf6,json=defConf6" json:"def_conf6,omitempty"` AllConf6 []*sysctl.SysctlEntry `protobuf:"bytes,6,rep,name=all_conf6,json=allConf6" json:"all_conf6,omitempty"` Nsids []*NetnsId `protobuf:"bytes,7,rep,name=nsids" json:"nsids,omitempty"` ExtKey *string `protobuf:"bytes,8,opt,name=ext_key,json=extKey" json:"ext_key,omitempty"` UnixConf []*sysctl.SysctlEntry `protobuf:"bytes,9,rep,name=unix_conf,json=unixConf" json:"unix_conf,omitempty"` // contains filtered or unexported fields }
func (*NetnsEntry) Descriptor
deprecated
func (*NetnsEntry) Descriptor() ([]byte, []int)
Deprecated: Use NetnsEntry.ProtoReflect.Descriptor instead.
func (*NetnsEntry) GetAllConf ¶
func (x *NetnsEntry) GetAllConf() []int32
func (*NetnsEntry) GetAllConf4 ¶
func (x *NetnsEntry) GetAllConf4() []*sysctl.SysctlEntry
func (*NetnsEntry) GetAllConf6 ¶
func (x *NetnsEntry) GetAllConf6() []*sysctl.SysctlEntry
func (*NetnsEntry) GetDefConf ¶
func (x *NetnsEntry) GetDefConf() []int32
func (*NetnsEntry) GetDefConf4 ¶
func (x *NetnsEntry) GetDefConf4() []*sysctl.SysctlEntry
func (*NetnsEntry) GetDefConf6 ¶
func (x *NetnsEntry) GetDefConf6() []*sysctl.SysctlEntry
func (*NetnsEntry) GetExtKey ¶
func (x *NetnsEntry) GetExtKey() string
func (*NetnsEntry) GetNsids ¶
func (x *NetnsEntry) GetNsids() []*NetnsId
func (*NetnsEntry) GetUnixConf ¶
func (x *NetnsEntry) GetUnixConf() []*sysctl.SysctlEntry
func (*NetnsEntry) ProtoMessage ¶
func (*NetnsEntry) ProtoMessage()
func (*NetnsEntry) ProtoReflect ¶
func (x *NetnsEntry) ProtoReflect() protoreflect.Message
func (*NetnsEntry) Reset ¶
func (x *NetnsEntry) Reset()
func (*NetnsEntry) String ¶
func (x *NetnsEntry) String() string
type NetnsId ¶
type NetnsId struct { // This is CRIU's id which is allocated for each namespace TargetNsId *uint32 `protobuf:"varint,1,req,name=target_ns_id,json=targetNsId" json:"target_ns_id,omitempty"` // This is an id which can be used to address this namespace // from another network namespace. Each network namespace has // one set of id-s for other namespaces. NetnsidValue *int32 `protobuf:"varint,2,req,name=netnsid_value,json=netnsidValue" json:"netnsid_value,omitempty"` // contains filtered or unexported fields }
func (*NetnsId) Descriptor
deprecated
func (*NetnsId) GetNetnsidValue ¶
func (*NetnsId) GetTargetNsId ¶
func (*NetnsId) ProtoMessage ¶
func (*NetnsId) ProtoMessage()
func (*NetnsId) ProtoReflect ¶
func (x *NetnsId) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.