Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2024 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var LcpItfHostType_name = map[uint8]string + var LcpItfHostType_value = map[string]uint8 + func AllMessages() []api.Message + type LcpDefaultNsGet struct + func (*LcpDefaultNsGet) GetCrcString() string + func (*LcpDefaultNsGet) GetMessageName() string + func (*LcpDefaultNsGet) GetMessageType() api.MessageType + func (m *LcpDefaultNsGet) Marshal(b []byte) ([]byte, error) + func (m *LcpDefaultNsGet) Reset() + func (m *LcpDefaultNsGet) Size() (size int) + func (m *LcpDefaultNsGet) Unmarshal(b []byte) error + type LcpDefaultNsGetReply struct + Netns string + func (*LcpDefaultNsGetReply) GetCrcString() string + func (*LcpDefaultNsGetReply) GetMessageName() string + func (*LcpDefaultNsGetReply) GetMessageType() api.MessageType + func (m *LcpDefaultNsGetReply) Marshal(b []byte) ([]byte, error) + func (m *LcpDefaultNsGetReply) Reset() + func (m *LcpDefaultNsGetReply) Size() (size int) + func (m *LcpDefaultNsGetReply) Unmarshal(b []byte) error + type LcpDefaultNsSet struct + Netns string + func (*LcpDefaultNsSet) GetCrcString() string + func (*LcpDefaultNsSet) GetMessageName() string + func (*LcpDefaultNsSet) GetMessageType() api.MessageType + func (m *LcpDefaultNsSet) Marshal(b []byte) ([]byte, error) + func (m *LcpDefaultNsSet) Reset() + func (m *LcpDefaultNsSet) Size() (size int) + func (m *LcpDefaultNsSet) Unmarshal(b []byte) error + type LcpDefaultNsSetReply struct + Retval int32 + func (*LcpDefaultNsSetReply) GetCrcString() string + func (*LcpDefaultNsSetReply) GetMessageName() string + func (*LcpDefaultNsSetReply) GetMessageType() api.MessageType + func (m *LcpDefaultNsSetReply) Marshal(b []byte) ([]byte, error) + func (m *LcpDefaultNsSetReply) Reset() + func (m *LcpDefaultNsSetReply) Size() (size int) + func (m *LcpDefaultNsSetReply) Unmarshal(b []byte) error + type LcpItfHostType uint8 + const LCP_API_ITF_HOST_TAP + const LCP_API_ITF_HOST_TUN + func (x LcpItfHostType) String() string + type LcpItfPairAddDel struct + HostIfName string + HostIfType LcpItfHostType + IsAdd bool + Netns string + SwIfIndex interface_types.InterfaceIndex + func (*LcpItfPairAddDel) GetCrcString() string + func (*LcpItfPairAddDel) GetMessageName() string + func (*LcpItfPairAddDel) GetMessageType() api.MessageType + func (m *LcpItfPairAddDel) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairAddDel) Reset() + func (m *LcpItfPairAddDel) Size() (size int) + func (m *LcpItfPairAddDel) Unmarshal(b []byte) error + type LcpItfPairAddDelReply struct + Retval int32 + func (*LcpItfPairAddDelReply) GetCrcString() string + func (*LcpItfPairAddDelReply) GetMessageName() string + func (*LcpItfPairAddDelReply) GetMessageType() api.MessageType + func (m *LcpItfPairAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairAddDelReply) Reset() + func (m *LcpItfPairAddDelReply) Size() (size int) + func (m *LcpItfPairAddDelReply) Unmarshal(b []byte) error + type LcpItfPairAddDelV2 struct + HostIfName string + HostIfType LcpItfHostType + IsAdd bool + Netns string + SwIfIndex interface_types.InterfaceIndex + func (*LcpItfPairAddDelV2) GetCrcString() string + func (*LcpItfPairAddDelV2) GetMessageName() string + func (*LcpItfPairAddDelV2) GetMessageType() api.MessageType + func (m *LcpItfPairAddDelV2) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairAddDelV2) Reset() + func (m *LcpItfPairAddDelV2) Size() (size int) + func (m *LcpItfPairAddDelV2) Unmarshal(b []byte) error + type LcpItfPairAddDelV2Reply struct + HostSwIfIndex interface_types.InterfaceIndex + Retval int32 + func (*LcpItfPairAddDelV2Reply) GetCrcString() string + func (*LcpItfPairAddDelV2Reply) GetMessageName() string + func (*LcpItfPairAddDelV2Reply) GetMessageType() api.MessageType + func (m *LcpItfPairAddDelV2Reply) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairAddDelV2Reply) Reset() + func (m *LcpItfPairAddDelV2Reply) Size() (size int) + func (m *LcpItfPairAddDelV2Reply) Unmarshal(b []byte) error + type LcpItfPairDetails struct + HostIfName string + HostIfType LcpItfHostType + HostSwIfIndex interface_types.InterfaceIndex + Netns string + PhySwIfIndex interface_types.InterfaceIndex + VifIndex uint32 + func (*LcpItfPairDetails) GetCrcString() string + func (*LcpItfPairDetails) GetMessageName() string + func (*LcpItfPairDetails) GetMessageType() api.MessageType + func (m *LcpItfPairDetails) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairDetails) Reset() + func (m *LcpItfPairDetails) Size() (size int) + func (m *LcpItfPairDetails) Unmarshal(b []byte) error + type LcpItfPairGet struct + Cursor uint32 + func (*LcpItfPairGet) GetCrcString() string + func (*LcpItfPairGet) GetMessageName() string + func (*LcpItfPairGet) GetMessageType() api.MessageType + func (m *LcpItfPairGet) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairGet) Reset() + func (m *LcpItfPairGet) Size() (size int) + func (m *LcpItfPairGet) Unmarshal(b []byte) error + type LcpItfPairGetReply struct + Cursor uint32 + Retval int32 + func (*LcpItfPairGetReply) GetCrcString() string + func (*LcpItfPairGetReply) GetMessageName() string + func (*LcpItfPairGetReply) GetMessageType() api.MessageType + func (m *LcpItfPairGetReply) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairGetReply) Reset() + func (m *LcpItfPairGetReply) Size() (size int) + func (m *LcpItfPairGetReply) Unmarshal(b []byte) error + type LcpItfPairReplaceBegin struct + func (*LcpItfPairReplaceBegin) GetCrcString() string + func (*LcpItfPairReplaceBegin) GetMessageName() string + func (*LcpItfPairReplaceBegin) GetMessageType() api.MessageType + func (m *LcpItfPairReplaceBegin) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairReplaceBegin) Reset() + func (m *LcpItfPairReplaceBegin) Size() (size int) + func (m *LcpItfPairReplaceBegin) Unmarshal(b []byte) error + type LcpItfPairReplaceBeginReply struct + Retval int32 + func (*LcpItfPairReplaceBeginReply) GetCrcString() string + func (*LcpItfPairReplaceBeginReply) GetMessageName() string + func (*LcpItfPairReplaceBeginReply) GetMessageType() api.MessageType + func (m *LcpItfPairReplaceBeginReply) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairReplaceBeginReply) Reset() + func (m *LcpItfPairReplaceBeginReply) Size() (size int) + func (m *LcpItfPairReplaceBeginReply) Unmarshal(b []byte) error + type LcpItfPairReplaceEnd struct + func (*LcpItfPairReplaceEnd) GetCrcString() string + func (*LcpItfPairReplaceEnd) GetMessageName() string + func (*LcpItfPairReplaceEnd) GetMessageType() api.MessageType + func (m *LcpItfPairReplaceEnd) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairReplaceEnd) Reset() + func (m *LcpItfPairReplaceEnd) Size() (size int) + func (m *LcpItfPairReplaceEnd) Unmarshal(b []byte) error + type LcpItfPairReplaceEndReply struct + Retval int32 + func (*LcpItfPairReplaceEndReply) GetCrcString() string + func (*LcpItfPairReplaceEndReply) GetMessageName() string + func (*LcpItfPairReplaceEndReply) GetMessageType() api.MessageType + func (m *LcpItfPairReplaceEndReply) Marshal(b []byte) ([]byte, error) + func (m *LcpItfPairReplaceEndReply) Reset() + func (m *LcpItfPairReplaceEndReply) Size() (size int) + func (m *LcpItfPairReplaceEndReply) Unmarshal(b []byte) error + type RPCService interface + LcpDefaultNsGet func(ctx context.Context, in *LcpDefaultNsGet) (*LcpDefaultNsGetReply, error) + LcpDefaultNsSet func(ctx context.Context, in *LcpDefaultNsSet) (*LcpDefaultNsSetReply, error) + LcpItfPairAddDel func(ctx context.Context, in *LcpItfPairAddDel) (*LcpItfPairAddDelReply, error) + LcpItfPairAddDelV2 func(ctx context.Context, in *LcpItfPairAddDelV2) (*LcpItfPairAddDelV2Reply, error) + LcpItfPairGet func(ctx context.Context, in *LcpItfPairGet) (RPCService_LcpItfPairGetClient, error) + LcpItfPairReplaceBegin func(ctx context.Context, in *LcpItfPairReplaceBegin) (*LcpItfPairReplaceBeginReply, error) + LcpItfPairReplaceEnd func(ctx context.Context, in *LcpItfPairReplaceEnd) (*LcpItfPairReplaceEndReply, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_LcpItfPairGetClient interface + Recv func() (*LcpItfPairDetails, *LcpItfPairGetReply, error)