Documentation ¶
Overview ¶
Package specconv implements conversion of specifications to libcontainer configurations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLibcontainerConfig ¶
func CreateLibcontainerConfig(opts *CreateOpts) (*configs.Config, error)
CreateLibcontainerConfig creates a new libcontainer configuration from a given specification and a cgroup name
func KnownNamespaces ¶
func KnownNamespaces() []string
KnownNamespaces returns the list of the known namespaces. Used by `runc features`.
Types ¶
type CreateOpts ¶
type CreateOpts struct {
Spec *specs.Spec
}
Click to show internal directories.
Click to hide internal directories.