util

package
v1.6.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FailPipeline added in v1.6.4

func FailPipeline(ctx context.Context, etcdClient *etcd.Client, pipelinesCollection col.Collection, pipelineName string, reason string) error

FailPipeline updates the pipeline's state to failed and sets the failure reason

func GetResourceListFromPipeline

func GetResourceListFromPipeline(pipelineInfo *pps.PipelineInfo) (*api.ResourceList, error)

GetResourceListFromPipeline returns a list of resources that the pipeline, minimally requires.

func LookupUser added in v1.6.0

func LookupUser(name string) (_ *user.User, retErr error)

LookupUser is a reimplementation of user.Lookup that doesn't require cgo.

Types

This section is empty.

Jump to

Keyboard shortcuts

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