utils

package
v0.0.0-...-54ce856 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotJAR = errors.New("given file is not a JAR file")
View Source
var ErrWrongManifestFormat = errors.New("can't parse manifest file (wrong format)")

Functions

func ReadTmplAndDump

func ReadTmplAndDump(fileLocation string, params *FileParams) error

func UnzipJar

func UnzipJar(c *models.Config) (models.Manifest, string, error)

function to unzip jar and with manifest meta information

Types

type FileParams

type FileParams struct {
	BaseImage string
	Volumes   []string
}

Jump to

Keyboard shortcuts

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