Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(ctx context.Context, r runc.Runc, config TargetContainerConfig, opts networkutils.Opts) error
func Revert ¶
func Revert(ctx context.Context, r runc.Runc, config TargetContainerConfig, opts networkutils.Opts) (action_kit_api.Messages, error)
Types ¶
type ExtraMount ¶
type Interface ¶
type Interface struct {
Index uint `json:"ifindex"`
Name string `json:"ifname"`
LinkType string `json:"link_type"`
Flags []string `json:"flags"`
}
func ListInterfaces ¶
type RuncDigRunner ¶ added in v1.0.1
type RuncDigRunner struct {
Runc runc.Runc
Cfg TargetContainerConfig
}
type TargetContainerConfig ¶
type TargetContainerConfig struct {
ContainerID string `json:"id"`
Pid int `json:"pid"`
Namespaces []specs.LinuxNamespace `json:"namespaces"`
}
func GetConfigForContainer ¶
Click to show internal directories.
Click to hide internal directories.