luet

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithAuth

func WithAuth(auth *dockTypes.AuthConfig) func(r *Luet) error

func WithConfig

func WithConfig(cfg *luetTypes.LuetConfig) func(r *Luet) error

func WithFs

func WithFs(fs v1.FS) func(r *Luet) error

func WithLogger

func WithLogger(log v1.Logger) func(r *Luet) error

func WithLuetTempDir added in v0.0.15

func WithLuetTempDir(tmpDir string) func(r *Luet) error

func WithPlugins

func WithPlugins(plugins ...string) func(r *Luet) error

Types

type Luet

type Luet struct {
	VerifyImageUnpack bool
	TmpDir            string
	// contains filtered or unexported fields
}

func NewLuet

func NewLuet(opts ...Options) *Luet

func (Luet) Unpack

func (l Luet) Unpack(target string, image string, local bool) error

func (Luet) UnpackFromChannel

func (l Luet) UnpackFromChannel(target string, pkg string, repositories ...v1.Repository) error

UnpackFromChannel unpacks/installs a package from the release channel into the target dir by leveraging the luet install action to install to a local dir

type Options

type Options func(l *Luet) error

Jump to

Keyboard shortcuts

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