tools

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

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

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendMap

func AppendMap(current map[string]string, need map[string]string) map[string]string

AppendMap - добавить к карте карту

func CreateExecutingScript

func CreateExecutingScript(shellCommands []string) ([]byte, error)

CreateExecutingScript - creating script for entrypoint layer in docker

func ParseObj

func ParseObj(data []byte) (*models.TaskConfig, error)

ParseObj - parsing from yaml

func ReadReports

func ReadReports(taskID, stage, job string) map[string]map[string]map[string][]string

ReadReports - прочитать отчёты с файловой системы

func TestLoadFile

func TestLoadFile(filepath string) ([]byte, error)

TestLoadFile - test loading file with test yaml task

func WriteReports

func WriteReports(taskID string) error

WriteReports - записать отчёт на файловую систему

Types

This section is empty.

Jump to

Keyboard shortcuts

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