common

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceVariables

func ReplaceVariables(content *string, variables []entity.UserVariable)

func SplitCommand

func SplitCommand(input string) ([]string, error)

func UnmarshalBuildDefinition

func UnmarshalBuildDefinition(content []byte, vars []entity.UserVariable) (entity.BuildDefinitionContent, error)

func UnzipFile

func UnzipFile(zipFile, targetFolder string) error

func ZipFiles

func ZipFiles(outputWriter io.Writer, keepFS bool, files []string) error

ZipFiles creates a ZIP compressed archive of the supplied list of files and into the supplied io.Writer. If keepFS is true, the original folder structure is preserved.

Types

This section is empty.

Jump to

Keyboard shortcuts

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