compatoci

package
v0.0.0-...-04f2983 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerCapabilities

func ContainerCapabilities(s compatOCISpec) (specs.LinuxCapabilities, error)

ContainerCapabilities return a LinuxCapabilities for virtcontainer

func GetContainerSpec

func GetContainerSpec(annotations map[string]string) (specs.Spec, error)

func ParseConfigJSON

func ParseConfigJSON(bundlePath string) (specs.Spec, error)

ParseConfigJSON unmarshals the config.json file.

func SetLogger

func SetLogger(logger *logrus.Entry)

SetLogger sets up a logger for this pkg

Types

This section is empty.

Jump to

Keyboard shortcuts

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