decorate

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package 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

This section is empty.

Variables

This section is empty.

Functions

func Labels

func Labels() []string

Labels returns a string slice with label consts from kube.

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

VolumeMountPaths returns a string slice with *MountPath consts in it.

func VolumeMounts

func VolumeMounts() []string

VolumeMounts returns a string slice with *MountName consts in it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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