piperutils

package
v1.11.1-0...-d84bc69 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsInt

func ContainsInt(s []int, e int) bool

ContainsInt check wether the element is part of the slice

func Copy

func Copy(src, dst string) (int64, error)

Copy ...

func FileExists

func FileExists(filename string) (bool, error)

FileExists ...

func PersistReportsAndLinks(stepName, workspace string, reports, links []Path)

PersistReportsAndLinks stores the report paths and links in JSON format in the workspace for processing outside

Types

type Path

type Path struct {
	Name      string `json:"name"`
	Target    string `json:"target"`
	Mandatory bool   `json:"mandatory"`
	Scope     string `json:"scope"`
}

Path - struct to serialize paths and some metadata back to the invoker

Jump to

Keyboard shortcuts

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