create

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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