Documentation ¶
Index ¶
- func CreateSocketDir() error
- func GenerateBypass4netnsOpts(securityOptsMaps map[string]string, labelMaps map[string]string, id string) ([]oci.SpecOpts, error)
- func GetBypass4NetnsdDefaultSocketPath() (string, error)
- func GetPidFilePathByID(id string) (string, error)
- func GetSocketPathByID(id string) (string, error)
- func IsBypass4netnsEnabled(annotations map[string]string) (bool, error)
- type Bypass4netnsCNIBypassManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSocketDir ¶
func CreateSocketDir() error
func GetPidFilePathByID ¶
func GetSocketPathByID ¶
Types ¶
type Bypass4netnsCNIBypassManager ¶
type Bypass4netnsCNIBypassManager struct { client.Client // contains filtered or unexported fields }
func (*Bypass4netnsCNIBypassManager) StartBypass ¶
func (b4nnm *Bypass4netnsCNIBypassManager) StartBypass(ctx context.Context, ports []gocni.PortMapping, id, stateDir string) error
func (*Bypass4netnsCNIBypassManager) StopBypass ¶
func (b4nnm *Bypass4netnsCNIBypassManager) StopBypass(ctx context.Context, id string) error
Click to show internal directories.
Click to hide internal directories.