Documentation
¶
Overview ¶
package create provides options for the image create.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetImageCreateOption ¶
type SetImageCreateOption func(*image.CreateOptions) error
SetImageCreateOption is a function that sets a parameter for the image create.
func WithPlatform ¶
func WithPlatform(platform string) SetImageCreateOption
WithPlatform sets the platform of the image if it needs to be pulled from the registry
func WithRegistryAuth ¶
func WithRegistryAuth(creds auth.Auth) SetImageCreateOption
WithRegistryAuth sets the registry auth for the image create.
Click to show internal directories.
Click to hide internal directories.