decorate

package
v0.0.0-...-fe50fa5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

decorate is a library for adding to a user-provided PodSpec in order to create a full Pod that will fulfill a test job

Index

Constants

View Source
const (
	TestContainerName       = "test"
	LogMountName            = "logs"
	LogMountPath            = "/logs"
	ArtifactsEnv            = "ARTIFACTS"
	ArtifactsPath           = LogMountPath + "/artifacts"
	CodeMountName           = "code"
	CodeMountPath           = "/home/prow/go"
	GopathEnv               = "GOPATH"
	ToolsMountName          = "tools"
	ToolsMountPath          = "/tools"
	GcsCredentialsMountName = "gcs-credentials"
	GcsCredentialsMountPath = "/secrets/gcs"
)

Variables

This section is empty.

Functions

func Labels

func Labels() []string

func ProwJobToPod

func ProwJobToPod(pj kube.ProwJob, buildID string) (*v1.Pod, error)

ProwJobToPod converts a ProwJob to a Pod that will run the tests.

func VolumeMountPaths

func VolumeMountPaths() []string

func VolumeMounts

func VolumeMounts() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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