Documentation ¶
Index ¶
- type OVSInfraVnetClient
- func (client *OVSInfraVnetClient) ConfigureInfraVnetContainerInterface(infraIP net.IPNet) error
- func (client *OVSInfraVnetClient) CreateInfraVnetEndpoint(bridgeName string) error
- func (client *OVSInfraVnetClient) CreateInfraVnetRules(bridgeName string, infraIP net.IPNet, hostPrimaryMac string, hostPort string) error
- func (client *OVSInfraVnetClient) DeleteInfraVnetEndpoint() error
- func (client *OVSInfraVnetClient) DeleteInfraVnetRules(bridgeName string, infraIP net.IPNet, hostPort string)
- func (client *OVSInfraVnetClient) MoveInfraEndpointToContainerNS(netnsPath string, nsID uintptr) error
- func (client *OVSInfraVnetClient) SetupInfraVnetContainerInterface() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OVSInfraVnetClient ¶
type OVSInfraVnetClient struct { ContainerInfraVethName string // contains filtered or unexported fields }
func NewInfraVnetClient ¶
func NewInfraVnetClient(hostIfName, contIfName string, nl netlink.NetlinkInterface, plc platform.ExecClient) OVSInfraVnetClient
func (*OVSInfraVnetClient) ConfigureInfraVnetContainerInterface ¶
func (client *OVSInfraVnetClient) ConfigureInfraVnetContainerInterface(infraIP net.IPNet) error
func (*OVSInfraVnetClient) CreateInfraVnetEndpoint ¶
func (client *OVSInfraVnetClient) CreateInfraVnetEndpoint(bridgeName string) error
func (*OVSInfraVnetClient) CreateInfraVnetRules ¶
func (*OVSInfraVnetClient) DeleteInfraVnetEndpoint ¶
func (client *OVSInfraVnetClient) DeleteInfraVnetEndpoint() error
func (*OVSInfraVnetClient) DeleteInfraVnetRules ¶
func (client *OVSInfraVnetClient) DeleteInfraVnetRules( bridgeName string, infraIP net.IPNet, hostPort string, )
func (*OVSInfraVnetClient) MoveInfraEndpointToContainerNS ¶
func (client *OVSInfraVnetClient) MoveInfraEndpointToContainerNS(netnsPath string, nsID uintptr) error
func (*OVSInfraVnetClient) SetupInfraVnetContainerInterface ¶
func (client *OVSInfraVnetClient) SetupInfraVnetContainerInterface() error
Click to show internal directories.
Click to hide internal directories.