Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InnerVethCtrl ¶
type InnerVethCtrl struct {
// contains filtered or unexported fields
}
InnerVethCtrl 网桥管理器
func (*InnerVethCtrl) DoNetworking ¶
func (v *InnerVethCtrl) DoNetworking(args *skel.CmdArgs, conf *conf.Options, result *types020.Result) error
DoNetworking 创建veth对,绑定IP
type ShellCtrl ¶
type ShellCtrl struct{}
ShellCtrl shell实现
func (*ShellCtrl) DoNetworking ¶
func (s *ShellCtrl) DoNetworking(args *skel.CmdArgs, conf *conf.Options, result *types020.Result) error
DoNetworking 创建veth并绑定ip
func (*ShellCtrl) ExecBindingIP ¶
ExecBindingIP binding local container ip
func (*ShellCtrl) ExecCreateBr ¶
ExecCreateBr create local bridge
Click to show internal directories.
Click to hide internal directories.