piperutils

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 52

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsInt added in v1.11.0

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

ContainsInt check wether the element is part of the slice

func Copy added in v1.3.0

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

Copy ...

func FileExists

func FileExists(filename string) (bool, error)

FileExists ...

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

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

Types

type Path added in v1.11.0

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

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