Documentation ¶
Index ¶
- type NICMServer
- func (s *NICMServer) AddNetwork(context context.Context, in *rpc.NICMMessage) (*rpc.NICMMessage, error)
- func (s *NICMServer) DelNetwork(context context.Context, in *rpc.NICMMessage) (*rpc.NICMMessage, error)
- func (s *NICMServer) GetNicStat(context context.Context, args *rpc.NicStatMessage) (*rpc.NicStatMessage, error)
- func (s *NICMServer) Start(stopCh <-chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NICMServer ¶
type NICMServer struct { rpc.UnimplementedCNIBackendServer // contains filtered or unexported fields }
func NewNICMServer ¶
func NewNICMServer(conf conf2.ServerConf) *NICMServer
func (*NICMServer) AddNetwork ¶
func (s *NICMServer) AddNetwork(context context.Context, in *rpc.NICMMessage) (*rpc.NICMMessage, error)
AddNetwork handle add pod request
func (*NICMServer) DelNetwork ¶
func (s *NICMServer) DelNetwork(context context.Context, in *rpc.NICMMessage) (*rpc.NICMMessage, error)
DelNetwork handle del pod request
func (*NICMServer) GetNicStat ¶
func (s *NICMServer) GetNicStat(context context.Context, args *rpc.NicStatMessage) (*rpc.NicStatMessage, error)
func (*NICMServer) Start ¶
func (s *NICMServer) Start(stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.