server

package
v0.0.9999 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2016 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrJobNotFound

func NewErrJobNotFound(job string) error

func NewErrParentInputsMismatch

func NewErrParentInputsMismatch(parent string) error

func NewErrPipelineNotFound

func NewErrPipelineNotFound(pipeline string) error

func RepoNameToEnvString

func RepoNameToEnvString(repoName string) string

Types

type APIServer

func NewAPIServer

func NewAPIServer(
	hasher *ppsserver.Hasher,
	address string,
	kubeClient *kube.Client,
	namespace string,
) APIServer

type ErrEmptyInput

type ErrEmptyInput struct {
	// contains filtered or unexported fields
}

func NewErrEmptyInput

func NewErrEmptyInput(commitID string) *ErrEmptyInput

type JobInputs

type JobInputs []*ppsclient.JobInput

JobInputs implements sort.Interface so job inputs can be sorted We sort job inputs based on repo names

func (JobInputs) Len

func (inputs JobInputs) Len() int

func (JobInputs) Less

func (inputs JobInputs) Less(i, j int) bool

func (JobInputs) Swap

func (inputs JobInputs) Swap(i, j int)

Jump to

Keyboard shortcuts

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