edits

package
v1.12.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromDiscoverer added in v1.12.0

func FromDiscoverer(d discover.Discover) (*cdi.ContainerEdits, error)

FromDiscoverer creates CDI container edits for the specified discoverer.

func NewContainerEdits added in v1.12.0

func NewContainerEdits() *cdi.ContainerEdits

NewContainerEdits is a utility function to create a CDI ContainerEdits struct.

func NewSpecEdits

func NewSpecEdits(logger *logrus.Logger, d discover.Discover) (oci.SpecModifier, error)

NewSpecEdits creates a SpecModifier that defines the required OCI spec edits (as CDI ContainerEdits) from the specified discoverer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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