ppsdb

package
v1.6.0-RC1 Latest Latest
Warning

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

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

Documentation

Overview

Package ppsdb contains the database schema that PPS uses.

Index

Constants

This section is empty.

Variables

View Source
var (
	// JobsPipelineIndex maps pipeline to jobs started by the pipeline
	JobsPipelineIndex = col.Index{"Pipeline", false}

	// JobsInputIndex maps job inputs (repos + pipeline version) to output
	// commit. This is how we know if we need to start a job.
	JobsInputIndex = col.Index{"Input", false}

	// JobsInputsIndex maps 1.4.5 and earlier style job inputs (repos +
	// pipeline version) to output commit. This is how we know if we need
	// to start a job Needed for legacy compatibility.
	JobsInputsIndex = col.Index{"Inputs", false}
)

Functions

func Jobs

func Jobs(etcdClient *etcd.Client, etcdPrefix string) col.Collection

Jobs returns a Collection of jobs

func Pipelines

func Pipelines(etcdClient *etcd.Client, etcdPrefix string) col.Collection

Pipelines returns a Collection of pipelines

Types

This section is empty.

Jump to

Keyboard shortcuts

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