bypass4netnsd

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	BypassExecutablePath string
	ComSocketPath        string

	HandleC2CEnable      bool
	TracerEnable         bool
	MultinodeEnable      bool
	MultinodeEtcdAddress string
	MultinodeHostAddress string
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(execPath string, comSocketPath string) *Driver

func (*Driver) DeleteInterface added in v0.4.0

func (d *Driver) DeleteInterface(id string)

func (*Driver) GetInterface added in v0.4.0

func (d *Driver) GetInterface(id string) *com.ContainerInterfaces

func (*Driver) ListBypass

func (d *Driver) ListBypass() []api.BypassStatus

func (*Driver) ListInterfaces added in v0.4.0

func (d *Driver) ListInterfaces() map[string]com.ContainerInterfaces

func (*Driver) PostInterface added in v0.4.0

func (d *Driver) PostInterface(id string, containerIfs *com.ContainerInterfaces)

func (*Driver) StartBypass

func (d *Driver) StartBypass(spec *api.BypassSpec) (*api.BypassStatus, error)

func (*Driver) StopBypass

func (d *Driver) StopBypass(id string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL