bundler

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApkoOpt

type ApkoOpt func(*apko) error

func ApkoWithArch

func ApkoWithArch(arch string) ApkoOpt

func ApkoWithKeyrings

func ApkoWithKeyrings(keyrings ...string) ApkoOpt

func ApkoWithPackages

func ApkoWithPackages(packages ...string) ApkoOpt

func ApkoWithRemoteOptions

func ApkoWithRemoteOptions(opts ...remote.Option) ApkoOpt

func ApkoWithRepositories

func ApkoWithRepositories(repositories ...string) ApkoOpt

type AppenderOpt

type AppenderOpt func(*appender) error

func AppenderWithRemoteOptions

func AppenderWithRemoteOptions(opts ...remote.Option) AppenderOpt

type Bundler

type Bundler interface {
	Bundle(ctx context.Context, repo name.Repository, layers ...Layerer) (name.Reference, error)
}

func NewApko

func NewApko(opts ...ApkoOpt) (Bundler, error)

func NewAppender

func NewAppender(base name.Reference, opts ...AppenderOpt) (Bundler, error)

type Layerer

type Layerer interface {
	Layer() (v1.Layer, error)
}

func NewFSLayer

func NewFSLayer(source fs.FS, target string) Layerer

Jump to

Keyboard shortcuts

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