Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DetectMinimumVersion is a constant that triggers a spec to detect the minimum required version. DetectMinimumVersion = "DETECT_MINIMUM_VERSION" // FormatJSON indicates a JSON output format FormatJSON = "json" // FormatYAML indicates a YAML output format FormatYAML = "yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*builder)
Option defines a function that can be used to configure the spec builder.
func WithDeviceSpecs ¶
func WithDeviceSpecs(deviceSpecs []specs.Device) Option
WithDeviceSpecs sets the device specs for the spec builder
func WithEdits ¶
func WithEdits(edits specs.ContainerEdits) Option
WithEdits sets the container edits for the spec builder
func WithVendor ¶
WithVendor sets the vendor for the spec builder
func WithVersion ¶
WithVersion sets the version for the spec builder
Click to show internal directories.
Click to hide internal directories.