Documentation
¶
Index ¶
- func WithArch(arch string) func(r *Luet) error
- func WithAuth(auth *dockTypes.AuthConfig) func(r *Luet) error
- func WithConfig(cfg *luetTypes.LuetConfig) func(r *Luet) error
- func WithFs(fs v1.FS) func(r *Luet) error
- func WithLogger(log v1.Logger) func(r *Luet) error
- func WithLuetTempDir(tmpDir string) func(r *Luet) error
- func WithPlugins(plugins ...string) func(r *Luet) error
- type Luet
- func (l *Luet) GetPlugins() []string
- func (l *Luet) InitPlugins()
- func (l *Luet) SetArch(arch string)
- func (l *Luet) SetPlugins(plugins ...string)
- func (l *Luet) SetTempDir(tmpdir string)
- func (l Luet) Unpack(target string, image string, local bool) (*v1.DockerImageMeta, error)
- func (l Luet) UnpackFromChannel(target string, pkg string, repositories ...v1.Repository) (*v1.ChannelImageMeta, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithConfig ¶
func WithConfig(cfg *luetTypes.LuetConfig) func(r *Luet) error
func WithLuetTempDir ¶
func WithPlugins ¶
Types ¶
type Luet ¶
func (*Luet) GetPlugins ¶
func (*Luet) InitPlugins ¶
func (l *Luet) InitPlugins()
func (*Luet) SetPlugins ¶
func (*Luet) SetTempDir ¶ added in v0.1.1
SetTempDir re-sets the temp dir for all the luet stuff
func (Luet) UnpackFromChannel ¶
func (l Luet) UnpackFromChannel(target string, pkg string, repositories ...v1.Repository) (*v1.ChannelImageMeta, 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
Click to show internal directories.
Click to hide internal directories.