pipeline

package
v2.1.107 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdControllerPipelineRunner

func NewCmdControllerPipelineRunner(commonOpts *opts.CommonOptions) *cobra.Command

NewCmdControllerPipelineRunner creates the command

Types

type ObjectReference

type ObjectReference struct {
	APIVersion string `json:"apiVersion" protobuf:"bytes,5,opt,name=apiVersion"`
	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
	// Name of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

ObjectReference represents a reference to a k8s resource

type PipelineRunRequest

type PipelineRunRequest struct {
	Labels      map[string]string   `json:"labels,omitempty"`
	ProwJobSpec prowapi.ProwJobSpec `json:"prowJobSpec,omitempty"`
}

PipelineRunRequest the request to trigger a pipeline run

type PipelineRunResponse

type PipelineRunResponse struct {
	Resources []kube.ObjectReference `json:"resources,omitempty"`
}

PipelineRunResponse the results of triggering a pipeline run

type PipelineRunnerOptions

type PipelineRunnerOptions struct {
	*opts.CommonOptions
	BindAddress          string
	Path                 string
	Port                 int
	NoGitCredentialsInit bool
	UseMetaPipeline      bool
	MetaPipelineImage    string
	SemanticRelease      bool
}

PipelineRunnerOptions holds the command line arguments

func (*PipelineRunnerOptions) Run

func (o *PipelineRunnerOptions) Run() error

Run will implement this command

Jump to

Keyboard shortcuts

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