INNER CODE UNIT · Go

hasNamespace

iximiuz/cdebug · cmd/exec/exec_containerd.go:252

func hasNamespace(list []specs.LinuxNamespace, typ specs.LinuxNamespaceType) bool {
	for _, ns := range list {
		if ns.Type == typ {
			return true
		}
	}
	return false
}

func ociSpecNoOp(context.Context, oci.Client, *containers.Container, *oci.Spec) error {
	return nil
}

func prepareTaskIO(
	ctx context.Context,
	cli cliutil.CLI,
	tty bool,
	stdin bool,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…