Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func NewEndpoint ¶
func NewEndpoint(ctx context.Context, cfg *EndpointConfig) Endpoint
func (Endpoint) DeployEp2Node ¶
func (Endpoint) DeployNode2Node ¶
func (Endpoint) DestroyEp2Node ¶
func (Endpoint) DestroyNode2Node ¶
Destroy destroys the endpoint for local endpoints it deletes the veth itfce from the container ns for remote endpoints it deletes the tun interface and xdp
func (Endpoint) SetMAC ¶
func (r Endpoint) SetMAC(mac net.HardwareAddr)
type EndpointConfig ¶
type WireEp2Node ¶
type WireEp2Node interface { IsReady() bool Deploy(ctx context.Context, req *endpointpb.EndpointRequest) error Destroy(ctx context.Context, req *endpointpb.EndpointRequest) error }
func NewWireEp2Node ¶
func NewWireEp2Node(ctx context.Context, nsPath string, cfg *WireEp2NodeConfig) WireEp2Node
type WireEp2NodeConfig ¶
type WireNode2Node ¶
func NewWireNode2Node ¶
func NewWireNode2Node(ctx context.Context, req *wirepb.WireRequest, cfg *WireNode2NodeConfig) WireNode2Node
Click to show internal directories.
Click to hide internal directories.