launcher

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package launcher is a library to help ship the latest release of

https://github.com/mgoltzsche/podman-static/

This repo builds and releases all podman components as statically linked binaries this will let us to easily ship the container manager without needing all the dependency resolution of a package manager. To make it work properly we need also to setup some variables, configs and paths. This program will take care of that, and will make sure that the podman configuration does not overlap with the one eventually installed by a package manager, making this iteration of podman isolated from the rest.

Package launcher is a library to help ship the latest release of

https://github.com/mgoltzsche/podman-static/

This repo builds and releases all podman components as statically linked binaries this will let us to easily ship the container manager without needing all the dependency resolution of a package manager. To make it work properly we need also to setup some variables, configs and paths. This program will take care of that, and will make sure that the podman configuration does not overlap with the one eventually installed by a package manager, making this iteration of podman isolated from the rest.

Package launcher is a library to help ship the latest release of

https://github.com/mgoltzsche/podman-static/

This repo builds and releases all podman components as statically linked binaries this will let us to easily ship the container manager without needing all the dependency resolution of a package manager. To make it work properly we need also to setup some variables, configs and paths. This program will take care of that, and will make sure that the podman configuration does not overlap with the one eventually installed by a package manager, making this iteration of podman isolated from the rest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config is the struct holding the current podman-launcher assets and configuration. Be sure to initialize it using NewLauncher() and pass the proper pack payload.

func NewLauncher

func NewLauncher(targetDir, tmpDir string, pack []byte) *Config

NewLauncher will return an initialized launcher config with input dirs and payload. Refer to https://github.com/89luca89/podman-launcher/releases for the assets.tar.gz to embed in your application, to pass here as pack.

func (*Config) Run

func (conf *Config) Run(argv []string) error

Run will execute the payload with attached config.

Jump to

Keyboard shortcuts

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