container2

package
v0.0.0-...-c3677c5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MOVE_MOUNT_F_EMPTY_PATH = 0x00000004 // nolint: golint
	OPEN_TREE_CLONE         = 1          // nolint: golint
)

Variables

This section is empty.

Functions

func DoSetupContainer

func DoSetupContainer(ctx context.Context, pid1dirfd int, transitionNamespaceDir string, assignment *vpcapi.AssignIPResponseV3) error

func DoTeardownContainer

func DoTeardownContainer(ctx context.Context, assignment *vpcapi.AssignIPResponseV3, netnsfd int) error

func SetupContainer

func SetupContainer(ctx context.Context, instanceIdentityProvider identity.InstanceIdentityProvider, pid1dirfd int, transitionNamespaceDir string) error

func TeardownContainer

func TeardownContainer(ctx context.Context, netnsfd int) error

func TeardownNetwork

func TeardownNetwork(ctx context.Context, assignment *vpcapi.AssignIPResponseV3) error

func TeardownTransitionNetwork

func TeardownTransitionNetwork(ctx context.Context, transitionNamespaceDir string, transitionNamespaceID string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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