common

package
v3.6.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleBuildCompletion

func HandleBuildCompletion(build *buildapi.Build, runPolicies []policy.RunPolicy)

func HasBuildPodNameAnnotation

func HasBuildPodNameAnnotation(build *buildapi.Build) bool

func SetBuildCompletionTimeAndDuration

func SetBuildCompletionTimeAndDuration(build *buildapi.Build) bool

SetBuildCompletionTimeAndDuration will set the build completion timestamp to the current time if it is nil. It will also set the start timestamp to the same value if it is nil. Returns true if the build object was modified.

func SetBuildPodNameAnnotation

func SetBuildPodNameAnnotation(build *buildapi.Build, podName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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