builder

package
v0.0.0-...-59647e1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PIPES_CLIENT = "https://s3-us-west-1.amazonaws.com/pipesdocker/pipes_client"
View Source
const T_GENERIC = `` /* 175-byte string literal not displayed */

Variables

This section is empty.

Functions

func AssociateExecWithType

func AssociateExecWithType(c *cli.Context, exec_paths []string) (execPath_category_map map[string]categorization, err error)

Create a Dockerfile per executable passed through CLI

func BuildDockerImagesFromExec

func BuildDockerImagesFromExec(args []string, c *cli.Context) (err error)

func CreateDockerfile

func CreateDockerfile(tmp_dir_path string, new_exec_path string, exec_file_name string, category categorization) (imageName string)

Create in the temp dir a Dockerfile proper to the exec type

func DockerBuild

func DockerBuild(c *cli.Context, tmp_dir_path, imageName string) (err error)

Launch a docker build from a Dockerfile

func SetTempDirectory

func SetTempDirectory(old_exec_path string) (tmp_dir_path, new_exec_path, exec_file_name string)

Set a temp directory and cp the exec in it

func WriteCommandInStore

func WriteCommandInStore(c *cli.Context, service_name string, command string) error

func WriteModeInStore

func WriteModeInStore(c *cli.Context, service_name string, input_mode string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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