oci

package
v0.2.4-0...-500c5c2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2017 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoLinux is an error for missing Linux sections in the OCI configuration file.
	ErrNoLinux = errors.New("missing Linux section")
)

Functions

func PodConfig

func PodConfig(runtime RuntimeConfig, bundlePath, cid, console string) (*vc.PodConfig, error)

PodConfig converts an OCI compatible runtime configuration file to a virtcontainers pod configuration structure.

Types

type RuntimeConfig

type RuntimeConfig struct {
	VMConfig vc.Resources

	HypervisorType   vc.HypervisorType
	HypervisorConfig vc.HypervisorConfig

	AgentType   vc.AgentType
	AgentConfig interface{}

	ProxyType   vc.ProxyType
	ProxyConfig interface{}
}

RuntimeConfig aggregates all runtime specific settings

Jump to

Keyboard shortcuts

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