packer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package packer is the interface definition of packers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packer

type Packer interface {
	plan.Identifier
	GenerateDockerfile(types.PlanMeta) (string, error)
}

Packer can identify the plan type and generate a Dockerfile.

type V2

type V2 interface {
	plan.IdentifierV2
	GenerateDockerfile(types.PlanMeta) (string, error)
}

V2 can identify the plan type and generate a Dockerfile.

func WrapV2

func WrapV2(p Packer) V2

WrapV2 wraps a Packer to a V2 packer.

Jump to

Keyboard shortcuts

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