Help us shape the future of Go! Take the 2026 Go Developer Survey

template

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuilderImage = "golang@sha256:4c9fe60190a2a3350ddc51de80d0224b8a6698d12bdfc999fee45ea9d6c46dbc"
	BaseImage    = "alpine@sha256:fd791d74b68913cbb027c6546007b3f0d3bc45125f797758156952bc2d6daf40"
)

Variables

This section is empty.

Functions

func Parse

func Parse(w io.Writer, data ImageData, options ...ParseOption) error

Parse container image.

Types

type ImageData

type ImageData struct {
	User    user.User
	Version string
}

ImageData contains the data for the container image.

type ParseOption added in v0.4.0

type ParseOption func(c *parseCfg)

func WithTemplate added in v0.4.0

func WithTemplate(template string) ParseOption

Jump to

Keyboard shortcuts

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