package hcsoci

import "github.com/Microsoft/hcsshim/internal/hcsoci"

Index

Functions

func ReleaseResources

func ReleaseResources(r *Resources, vm *uvm.UtilityVM, all bool) error

TODO: Method on the resources?

Types

type Resources

type Resources struct {
	// contains filtered or unexported fields
}

Resources is the structure returned as part of creating a container. It holds nothing useful to clients, hence everything is lowercased. A client would use it in a call to ReleaseResource to ensure everything is cleaned up when a container exits.

func (*Resources) NetNS

func (r *Resources) NetNS() string

NetNS returns the network namespace for the container

Source Files

network.go resources.go

Version
v0.7.10
Published
Oct 11, 2018
Platform
js/wasm
Imports
4 packages
Last checked
47 seconds ago

Tools for package owners.