parse

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// SeccompDefaultPath defines the default seccomp path
	SeccompDefaultPath = "/usr/share/containers/seccomp.json"
	// SeccompOverridePath if this exists it overrides the default seccomp path
	SeccompOverridePath = "/etc/crio/seccomp.json"
)

Variables

This section is empty.

Functions

func CommonBuildOptions

func CommonBuildOptions(c *cobra.Command) (*buildah.CommonBuildOptions, error)

CommonBuildOptions parses the build options from the bud cli

func IDMappingOptions

func IDMappingOptions(c *cobra.Command, isolation buildah.Isolation) (usernsOptions buildah.NamespaceOptions, idmapOptions *buildah.IDMappingOptions, err error)

IDMappingOptions parses the build options related to user namespaces and ID mapping.

func IsolationOption

func IsolationOption(c *cobra.Command) (buildah.Isolation, error)

IsolationOption parses the --isolation flag.

func NamespaceOptions

func NamespaceOptions(c *cobra.Command) (namespaceOptions buildah.NamespaceOptions, networkPolicy buildah.NetworkConfigurationPolicy, err error)

NamespaceOptions parses the build options for all namespaces except for user namespace.

func ParseVolume added in v1.8.1

func ParseVolume(volume string) (specs.Mount, error)

func ParseVolumes

func ParseVolumes(volumes []string) error

ParseVolumes validates the host and container paths passed in to the --volume flag

func SystemContextFromOptions

func SystemContextFromOptions(c *cobra.Command) (*types.SystemContext, error)

SystemContextFromOptions returns a SystemContext populated with values per the input parameters provided by the caller for the use in authentication.

Types

This section is empty.

Jump to

Keyboard shortcuts

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