v1

package
v2.1.79 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:openapi-gen=true Package v1 is the v1 version of the API. +groupName=jenkins.io

Index

Constants

View Source
const (
	// ClassicWorkloadBuildPackURL the git URL for classic workload build packs
	ClassicWorkloadBuildPackURL = "https://github.com/jenkins-x-buildpacks/jenkins-x-classic.git"
	// ClassicWorkloadBuildPackRef the git reference/version for the classic workloads build packs
	ClassicWorkloadBuildPackRef = "master"
	// KubernetesWorkloadBuildPackURL the git URL for kubernetes workloads build packs
	KubernetesWorkloadBuildPackURL = "https://github.com/jenkins-x-buildpacks/jenkins-x-kubernetes.git"
	// KubernetesWorkloadBuildPackRef the git reference/version for the kubernetes workloads build packs
	KubernetesWorkloadBuildPackRef = "master"
)
View Source
const (
	ExtensionsConfigKnownRepositories = "knownRepositories"
	ExtensionsConfigRepository        = "repository"
)
View Source
const (
	VersionGlobalParameterName        string = "extVersion"
	TeamNamespaceGlobalParameterName  string = "extTeamNamespace"
	OwnerReferenceGlobalParameterName string = "extOwnerReference"
)
View Source
const (
	StaticProgramAnalysisTotalClasses   = "TotalClasses"
	StaticProgramAnalysisTotalBugs      = "TotalBugs"
	StaticProgramAnalysisHighPriority   = "High"
	StaticProgramAnalysisNormalPriority = "Normal"
	StaticProgramAnalysisLowPriority    = "Low"
	StaticProgramAnalysisIgnored        = "Ignored"
)

Recommended measurements for static program analysis

View Source
const (
	CodeCoverageMeasurementTotal    = "Total"
	CodeCoverageMeasurementMissed   = "Missed"
	CodeCoverageMeasurementCoverage = "Covered"
)

Recommended measurements for code coverage

View Source
const (
	CodeCoverageCountTypeInstructions = "Instructions"
	CodeCoverageCountTypeBranches     = "Branches"
	CodeCoverageCountTypeComplexity   = "Complexity"
	CodeCoverageCountTypeLines        = "Lines"
	CodeCoverageCountTypeMethods      = "Methods"
	CodeCoverageCountTypeClasses      = "Classes"
)

Recommended types for code coverage count

View Source
const (
	MeasurementPercent = "percent"
	MeasurementCount   = "count"
)
View Source
const (
	FactTypeCoverage              = "jx.coverage"
	FactTypeStaticProgramAnalysis = "jx.staticProgramAnalysis"
)
View Source
const (
	LabelProvider      = "provider"
	LabelOwner         = "owner"
	LabelRepository    = "repository"
	LabelBranch        = "branch"
	LabelBuild         = "build"
	LabelLastCommitSha = "lastCommitSha"
	LabelContext       = "context"
)
View Source
const (
	// UserTypeLocal represents a User who is native to K8S (e.g. backed by GKE).
	UserTypeLocal = "User"
	// UserTypeExternal represents a User who is managed externally (e.g. in GitHub) and will have a linked ServiceAccount.
	UserTypeExternal = "ServiceAccount"
)

Variables

View Source
var (
	// SchemeBuilder for building the schema :)
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme helper
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// ImportModeStrings contains the list of strings of all the available import modes
	ImportModeStrings = []string{
		string(ImportModeTypeJenkinsfile),
		string(ImportModeTypeYAML),
	}
)

PromotionStrategyTypeValues is the list of all values

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: jenkinsio.GroupName, Version: jenkinsio.Version}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AccountReference

type AccountReference struct {
	Provider string `json:"provider,omitempty"  protobuf:"bytes,1,opt,name=provider"`
	ID       string `json:"id,omitempty"  protobuf:"bytes,2,opt,name=id"`
}

AccountReference is a reference to a user account in another system that is attached to this user

func (*AccountReference) DeepCopy

func (in *AccountReference) DeepCopy() *AccountReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountReference.

func (*AccountReference) DeepCopyInto

func (in *AccountReference) DeepCopyInto(out *AccountReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActivityStatusType

type ActivityStatusType string

ActivityStatusType is the status of an activity; usually succeeded or failed/error on completion

const (
	// ActivityStatusTypeNone an activity step has not started yet
	ActivityStatusTypeNone ActivityStatusType = ""
	// ActivityStatusTypePending an activity step is waiting to start
	ActivityStatusTypePending ActivityStatusType = "Pending"
	// ActivityStatusTypeRunning an activity is running
	ActivityStatusTypeRunning ActivityStatusType = "Running"
	// ActivityStatusTypeSucceeded an activity completed successfully
	ActivityStatusTypeSucceeded ActivityStatusType = "Succeeded"
	// ActivityStatusTypeFailed an activity failed
	ActivityStatusTypeFailed ActivityStatusType = "Failed"
	// ActivityStatusTypeWaitingForApproval an activity is waiting for approval
	ActivityStatusTypeWaitingForApproval ActivityStatusType = "WaitingForApproval"
	// ActivityStatusTypeError there is some error with an activity
	ActivityStatusTypeError ActivityStatusType = "Error"
	// ActivityStatusTypeAborted if the workflow was aborted
	ActivityStatusTypeAborted ActivityStatusType = "Aborted"
	// ActivityStatusTypeNotExecuted if the workflow was not executed
	ActivityStatusTypeNotExecuted ActivityStatusType = "NotExecuted"
)

func (ActivityStatusType) IsTerminated

func (s ActivityStatusType) IsTerminated() bool

IsTerminated returns true if this activity has stopped executing

func (ActivityStatusType) String

func (s ActivityStatusType) String() string

type ActivityStepKindType

type ActivityStepKindType string

ActivityStepKindType is a kind of step

const (
	// ActivityStepKindTypeNone no kind yet
	ActivityStepKindTypeNone ActivityStepKindType = ""
	// ActivityStepKindTypeStage a group of low level steps
	ActivityStepKindTypeStage ActivityStepKindType = "Stage"
	// ActivityStepKindTypePreview a promote activity
	ActivityStepKindTypePreview ActivityStepKindType = "Preview"
	// ActivityStepKindTypePromote a promote activity
	ActivityStepKindTypePromote ActivityStepKindType = "Promote"
)

type App

type App struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec AppSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

App is the metadata for an App

func (*App) DeepCopy

func (in *App) DeepCopy() *App

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*App) DeepCopyObject

func (in *App) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppList

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []App `json:"items"`
}

AppList is a structure used by k8s to store lists of apps

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AppList) DeepCopyObject

func (in *AppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AppSpec

type AppSpec struct {
	SchemaPreprocessor     *corev1.Container `json:"schemaPreprocessor,omitempty" protobuf:"bytes,1,opt,name=schemaPreprocessor"`
	SchemaPreprocessorRole *v1.Role          `json:"schemaPreprocessorRole,omitempty" protobuf:"bytes,2,opt,name=schemaPreprocessorRole"`

	PipelineExtension *PipelineExtension `json:"pipelineExtension,omitempty" protobuf:"bytes,3,opt,name=pipelineExtension"`
}

AppSpec provides details of the metadata for an App

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Approve

type Approve struct {
	// IssueRequired indicates if an associated issue is required for approval in
	// the specified repos.
	IssueRequired *bool `json:"issueRequired,omitempty" protobuf:"bytes,1,opt,name=issueRequired"`

	// RequireSelfApproval requires PR authors to explicitly approve their PRs.
	// Otherwise the plugin assumes the author of the PR approves the changes in the PR.
	RequireSelfApproval *bool `json:"requireSelfApproval,omitempty" protobuf:"bytes,2,opt,name=requireSelfApproval"`

	// LgtmActsAsApprove indicates that the lgtm command should be used to
	// indicate approval
	LgtmActsAsApprove *bool `json:"lgtmActsAsApprove,omitempty" protobuf:"bytes,3,opt,name=lgtmActsAsApprove"`

	// IgnoreReviewState causes the approve plugin to ignore the GitHub review state. Otherwise:
	// * an APPROVE github review is equivalent to leaving an "/approve" message.
	// * A REQUEST_CHANGES github review is equivalent to leaving an /approve cancel" message.
	IgnoreReviewState *bool `json:"ignoreReviewState,omitempty" protobuf:"bytes,4,opt,name=ignoreReviewState"`
}

Approve specifies a configuration for a single approve.

The configuration for the approve plugin is defined as a list of these structures.

func (*Approve) DeepCopy

func (in *Approve) DeepCopy() *Approve

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Approve.

func (*Approve) DeepCopyInto

func (in *Approve) DeepCopyInto(out *Approve)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Attachment

type Attachment struct {
	Name string   `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	URLs []string `json:"urls,omitempty"  protobuf:"bytes,2,opt,name=urls"`
}

func (*Attachment) DeepCopy

func (in *Attachment) DeepCopy() *Attachment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attachment.

func (*Attachment) DeepCopyInto

func (in *Attachment) DeepCopyInto(out *Attachment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BatchPipelineActivity

type BatchPipelineActivity struct {
	BatchBuildNumber       string            `json:"batchBuildNumber,omitempty" protobuf:"bytes,1,opt,name=batchBuildNumber"`
	BatchBranchName        string            `json:"batchBranchName,omitempty" protobuf:"bytes,2,opt,name=batchBranchName"`
	ComprisingPulLRequests []PullRequestInfo `json:"pullRequestInfo,omitempty" protobuf:"bytes,3,opt,name=pullRequestInfo"`
}

BatchPipelineActivity contains information about a batch build, used by both the batch build and its comprising PRs for linking them together

func (*BatchPipelineActivity) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchPipelineActivity.

func (*BatchPipelineActivity) DeepCopyInto

func (in *BatchPipelineActivity) DeepCopyInto(out *BatchPipelineActivity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Binary

type Binary struct {
	Goarch string `json:"goarch,omitempty"  protobuf:"bytes,1,opt,name=goarch"`
	Goos   string `json:"goos,omitempty"  protobuf:"bytes,2,opt,name=goos"`
	URL    string `json:"url,omitempty"  protobuf:"bytes,3,opt,name=url"`
}

Binary provies the details of a downloadable binary

func (*Binary) DeepCopy

func (in *Binary) DeepCopy() *Binary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binary.

func (*Binary) DeepCopyInto

func (in *Binary) DeepCopyInto(out *Binary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchProtectionContextPolicy

type BranchProtectionContextPolicy struct {
	// Contexts appends required contexts that must be green to merge
	Contexts *ReplaceableSliceOfStrings `json:"contexts,omitempty"`
	// Strict overrides whether new commits in the base branch require updating the PR if set
	Strict *bool `json:"strict,omitempty"`
}

BranchProtectionContextPolicy configures required git provider contexts. Strict determines whether merging to the branch invalidates existing contexts.

func (*BranchProtectionContextPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionContextPolicy.

func (*BranchProtectionContextPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Brancher

type Brancher struct {
	// Do not run against these branches. Default is no branches.
	SkipBranches *ReplaceableSliceOfStrings `json:"skipBranches,omitempty"`
	// Only run against these branches. Default is all branches.
	Branches *ReplaceableSliceOfStrings `json:"branches,omitempty"`
}

Brancher is for shared code between jobs that only run against certain branches. An empty brancher runs against all branches.

func (*Brancher) DeepCopy

func (in *Brancher) DeepCopy() *Brancher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Brancher.

func (*Brancher) DeepCopyInto

func (in *Brancher) DeepCopyInto(out *Brancher)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BuildPack

type BuildPack struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec BuildPackSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

BuildPack represents a set of language specific build packs and associated quickstarts

func (*BuildPack) DeepCopy

func (in *BuildPack) DeepCopy() *BuildPack

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPack.

func (*BuildPack) DeepCopyInto

func (in *BuildPack) DeepCopyInto(out *BuildPack)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildPack) DeepCopyObject

func (in *BuildPack) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BuildPackList

type BuildPackList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []BuildPack `json:"items"`
}

BuildPackList is a list of TypeMeta resources

func (*BuildPackList) DeepCopy

func (in *BuildPackList) DeepCopy() *BuildPackList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPackList.

func (*BuildPackList) DeepCopyInto

func (in *BuildPackList) DeepCopyInto(out *BuildPackList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildPackList) DeepCopyObject

func (in *BuildPackList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BuildPackSpec

type BuildPackSpec struct {
	Label               string               `json:"label,omitempty" protobuf:"bytes,1,opt,name=label"`
	GitURL              string               `json:"gitUrl,omitempty" protobuf:"bytes,2,opt,name=gitUrl"`
	GitRef              string               `json:"gitRef,omitempty" protobuf:"bytes,3,opt,name=gitRef"`
	QuickstartLocations []QuickStartLocation `json:"quickstartLocations,omitempty" protobuf:"bytes,4,opt,name=quickstartLocations"`
}

BuildPackSpec is the specification of an BuildPack

func (*BuildPackSpec) DeepCopy

func (in *BuildPackSpec) DeepCopy() *BuildPackSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPackSpec.

func (*BuildPackSpec) DeepCopyInto

func (in *BuildPackSpec) DeepCopyInto(out *BuildPackSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ChartRef

type ChartRef struct {
	Repo     string `json:"repo,omitempty"`
	RepoName string `json:"repoName,omitempty"`
	Name     string `json:"name,omitempty"`
}

func (*ChartRef) DeepCopy

func (in *ChartRef) DeepCopy() *ChartRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartRef.

func (*ChartRef) DeepCopyInto

func (in *ChartRef) DeepCopyInto(out *ChartRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommitStatus

type CommitStatus struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec CommitStatusSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

CommitStatus represents the commit statuses for a particular pull request

func (*CommitStatus) DeepCopy

func (in *CommitStatus) DeepCopy() *CommitStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatus.

func (*CommitStatus) DeepCopyInto

func (in *CommitStatus) DeepCopyInto(out *CommitStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommitStatus) DeepCopyObject

func (in *CommitStatus) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CommitStatusCommitReference

type CommitStatusCommitReference struct {
	GitURL      string `json:"gitUrl,omitempty"  protobuf:"bytes,1,opt,name=gitUrl"`
	PullRequest string `json:"pullRequest,omitempty"  protobuf:"bytes,2,opt,name=pullRequest"`
	SHA         string `json:"sha,omitempty"  protobuf:"bytes,3,opt,name=sha"`
}

func (*CommitStatusCommitReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatusCommitReference.

func (*CommitStatusCommitReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommitStatusDetails

type CommitStatusDetails struct {
	PipelineActivity ResourceReference           `json:"pipelineActivity"  protobuf:"bytes,1,opt,name=pipelineActivity"`
	Items            []CommitStatusItem          `json:"Items,omitempty"  protobuf:"bytes,2,opt,name=Items"`
	Checked          bool                        `json:"checked"  protobuf:"bytes,3,opt,name=checked"`
	Commit           CommitStatusCommitReference `json:"commit"  protobuf:"bytes,4,opt,name=commit"`
	Context          string                      `json:"context"  protobuf:"bytes,5,opt,name=context"`
}

func (*CommitStatusDetails) DeepCopy

func (in *CommitStatusDetails) DeepCopy() *CommitStatusDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatusDetails.

func (*CommitStatusDetails) DeepCopyInto

func (in *CommitStatusDetails) DeepCopyInto(out *CommitStatusDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommitStatusItem

type CommitStatusItem struct {
	Name        string `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	Description string `json:"description,omitempty"  protobuf:"bytes,2,opt,name=description"`
	Pass        bool   `json:"pass"  protobuf:"bytes,3,opt,name=pass"`
}

func (*CommitStatusItem) DeepCopy

func (in *CommitStatusItem) DeepCopy() *CommitStatusItem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatusItem.

func (*CommitStatusItem) DeepCopyInto

func (in *CommitStatusItem) DeepCopyInto(out *CommitStatusItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommitStatusList

type CommitStatusList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []CommitStatus `json:"Items"`
}

CommitStatusList is a structure used by k8s to store lists of commit statuses

func (*CommitStatusList) DeepCopy

func (in *CommitStatusList) DeepCopy() *CommitStatusList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatusList.

func (*CommitStatusList) DeepCopyInto

func (in *CommitStatusList) DeepCopyInto(out *CommitStatusList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommitStatusList) DeepCopyObject

func (in *CommitStatusList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CommitStatusSpec

type CommitStatusSpec struct {
	Items []CommitStatusDetails `json:"items"  protobuf:"bytes,1,opt,name=items"`
}

CommitStatusSpec provides details of a particular commit status

func (*CommitStatusSpec) DeepCopy

func (in *CommitStatusSpec) DeepCopy() *CommitStatusSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatusSpec.

func (*CommitStatusSpec) DeepCopyInto

func (in *CommitStatusSpec) DeepCopyInto(out *CommitStatusSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommitSummary

type CommitSummary struct {
	Message   string       `json:"message,omitempty"  protobuf:"bytes,1,opt,name=message"`
	SHA       string       `json:"sha,omitempty"  protobuf:"bytes,2,opt,name=sha"`
	URL       string       `json:"url,omitempty"  protobuf:"bytes,3,opt,name=url"`
	Author    *UserDetails `json:"author,omitempty"  protobuf:"bytes,4,opt,name=author"`
	Committer *UserDetails `json:"committer,omitempty"  protobuf:"bytes,5,opt,name=committer"`
	Branch    string       `json:"branch,omitempty"  protobuf:"bytes,6,opt,name=branch"`
	IssueIDs  []string     `json:"issueIds,omitempty"  protobuf:"bytes,7,opt,name=issueIds"`
}

CommitSummary is the summary of a commit

func (*CommitSummary) DeepCopy

func (in *CommitSummary) DeepCopy() *CommitSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitSummary.

func (*CommitSummary) DeepCopyInto

func (in *CommitSummary) DeepCopyInto(out *CommitSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConfigMapSpec

type ConfigMapSpec struct {
	// Name of ConfigMap
	Name string `json:"name"`
	// Key is the key in the ConfigMap to update with the file contents.
	// If no explicit key is given, the basename of the file will be used.
	Key string `json:"key,omitempty"`
	// Namespace in which the configMap needs to be deployed. If no namespace is specified
	// it will be deployed to the ProwJobNamespace.
	Namespace string `json:"namespace,omitempty"`
	// Namespaces in which the configMap needs to be deployed, in addition to the above
	// namespace provided, or the default if it is not set.
	AdditionalNamespaces []string `json:"additional_namespaces,omitempty"`

	// Namespaces is the fully resolved list of Namespaces to deploy the ConfigMap in
	Namespaces []string `json:"-"`
}

ConfigMapSpec contains configuration options for the configMap being updated by the config-updater plugin.

func (*ConfigMapSpec) DeepCopy

func (in *ConfigMapSpec) DeepCopy() *ConfigMapSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapSpec.

func (*ConfigMapSpec) DeepCopyInto

func (in *ConfigMapSpec) DeepCopyInto(out *ConfigMapSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConfigUpdater

type ConfigUpdater struct {
	Map        map[string]ConfigMapSpec `json:"map,omitempty" protobuf:"bytes,1,opt,name=map"`
	ConfigFile string                   `json:"configFile,omitempty" protobuf:"bytes,2,opt,name=configFile"`
	PluginFile string                   `json:"pluginFile,omitempty" protobuf:"bytes,3,opt,name=pluginFile"`
	// +optional
	ConfigMap ConfigMapSpec
}

ConfigUpdater holds configuration for the config updater plugin

func (*ConfigUpdater) DeepCopy

func (in *ConfigUpdater) DeepCopy() *ConfigUpdater

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigUpdater.

func (*ConfigUpdater) DeepCopyInto

func (in *ConfigUpdater) DeepCopyInto(out *ConfigUpdater)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContextPolicy

type ContextPolicy struct {
	// whether to consider unknown contexts optional (skip) or required.
	SkipUnknownContexts       *bool                      `json:"skipUnknownContexts,omitempty"`
	RequiredContexts          *ReplaceableSliceOfStrings `json:"requiredContexts,omitempty"`
	RequiredIfPresentContexts *ReplaceableSliceOfStrings `json:"requiredIfPresentContexts,omitempty"`
	OptionalContexts          *ReplaceableSliceOfStrings `json:"optionalContexts,omitempty"`
	// Infer required and optional jobs from Branch Protection configuration
	FromBranchProtection *bool `json:"fromBranchProtection,omitempty"`
}

ContextPolicy configures options about how to handle various contexts.

func (*ContextPolicy) DeepCopy

func (in *ContextPolicy) DeepCopy() *ContextPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContextPolicy.

func (*ContextPolicy) DeepCopyInto

func (in *ContextPolicy) DeepCopyInto(out *ContextPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CoreActivityStep

type CoreActivityStep struct {
	Name               string             `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Description        string             `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	Status             ActivityStatusType `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
	StartedTimestamp   *metav1.Time       `json:"startedTimestamp,omitempty" protobuf:"bytes,4,opt,name=startedTimestamp"`
	CompletedTimestamp *metav1.Time       `json:"completedTimestamp,omitempty" protobuf:"bytes,5,opt,name=completedTimestamp"`
}

CoreActivityStep is a base step included in Stages of a pipeline or other kinds of step

func (*CoreActivityStep) DeepCopy

func (in *CoreActivityStep) DeepCopy() *CoreActivityStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreActivityStep.

func (*CoreActivityStep) DeepCopyInto

func (in *CoreActivityStep) DeepCopyInto(out *CoreActivityStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DependencyUpdate

type DependencyUpdate struct {
	DependencyUpdateDetails `json:",inline"`
	Paths                   []DependencyUpdatePath `json:"paths,omitempty"`
}

DependencyUpdate describes an dependency update message from the commit log

func (*DependencyUpdate) DeepCopy

func (in *DependencyUpdate) DeepCopy() *DependencyUpdate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyUpdate.

func (*DependencyUpdate) DeepCopyInto

func (in *DependencyUpdate) DeepCopyInto(out *DependencyUpdate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DependencyUpdateDetails

type DependencyUpdateDetails struct {
	Host               string `json:"host"`
	Owner              string `json:"owner"`
	Repo               string `json:"repo"`
	Component          string `json:"component, omitempty"`
	URL                string `json:"url"`
	FromVersion        string `json:"fromVersion"`
	FromReleaseHTMLURL string `json:"fromReleaseHTMLURL"`
	FromReleaseName    string `json:"fromReleaseName"`
	ToVersion          string `json:"toVersion"`
	ToReleaseHTMLURL   string `json:"toReleaseHTMLURL"`
	ToReleaseName      string `json:"toReleaseName"`
}

DependencyUpdateDetails are the details of a dependency update

func (*DependencyUpdateDetails) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyUpdateDetails.

func (*DependencyUpdateDetails) DeepCopyInto

func (in *DependencyUpdateDetails) DeepCopyInto(out *DependencyUpdateDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DependencyUpdateDetails) String

func (d *DependencyUpdateDetails) String() string

type DependencyUpdatePath

type DependencyUpdatePath []DependencyUpdateDetails

DependencyUpdatePath is the path of a dependency update

func (DependencyUpdatePath) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyUpdatePath.

func (DependencyUpdatePath) DeepCopyInto

func (in DependencyUpdatePath) DeepCopyInto(out *DependencyUpdatePath)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeployOptions

type DeployOptions struct {
	// Canary should we enable canary rollouts (progressive delivery) for apps by default
	Canary bool `json:"canary,omitempty" protobuf:"bytes,1,opt,name=canary"`

	// should we use the horizontal pod autoscaler on new apps by default?
	HPA bool `json:"hpa,omitempty" protobuf:"bytes,2,opt,name=hpa"`
}

DeployOptions configures options for how to deploy applications by default such as using progressive delivery or using horizontal pod autoscaler

func (*DeployOptions) DeepCopy

func (in *DeployOptions) DeepCopy() *DeployOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployOptions.

func (*DeployOptions) DeepCopyInto

func (in *DeployOptions) DeepCopyInto(out *DeployOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Environment

type Environment struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   EnvironmentSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status EnvironmentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Environment represents an environment like Dev, Test, Staging, Production where code lives

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Environment) DeepCopyObject

func (in *Environment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EnvironmentFilter

type EnvironmentFilter struct {
	Kind     EnvironmentKindType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	Includes []string            `json:"includes,omitempty" protobuf:"bytes,2,opt,name=includes"`
	Excludes []string            `json:"excludes,omitempty" protobuf:"bytes,3,opt,name=excludes"`
}

EnvironmentFilter specifies the environments to apply the role binding to

func (*EnvironmentFilter) DeepCopy

func (in *EnvironmentFilter) DeepCopy() *EnvironmentFilter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentFilter.

func (*EnvironmentFilter) DeepCopyInto

func (in *EnvironmentFilter) DeepCopyInto(out *EnvironmentFilter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentKindType

type EnvironmentKindType string

EnvironmentKindType is the kind of an environment

const (
	// EnvironmentKindTypePermanent specifies that the environment is a regular permanent one
	EnvironmentKindTypePermanent EnvironmentKindType = "Permanent"
	// EnvironmentKindTypePreview specifies that an environment is a Preview environment that lasts as long as a Pull Request
	EnvironmentKindTypePreview EnvironmentKindType = "Preview"
	// EnvironmentKindTypeTest specifies that an environment is a temporary one for a test
	EnvironmentKindTypeTest EnvironmentKindType = "Test"
	// EnvironmentKindTypeEdit specifies that an environment is a developers editing workspace
	EnvironmentKindTypeEdit EnvironmentKindType = "Edit"
	// EnvironmentKindTypeDevelopment specifies that an environment is a development environment; for developer tools like Jenkins, Nexus etc
	EnvironmentKindTypeDevelopment EnvironmentKindType = "Development"
)

func (EnvironmentKindType) IsPermanent

func (e EnvironmentKindType) IsPermanent() bool

IsPermanent returns true if this environment is permanent

type EnvironmentList

type EnvironmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Environment `json:"items"`
}

EnvironmentList is a list of TypeMeta resources

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnvironmentList) DeepCopyObject

func (in *EnvironmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EnvironmentRepository

type EnvironmentRepository struct {
	Kind EnvironmentRepositoryType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	URL  string                    `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"`
	Ref  string                    `json:"ref,omitempty" protobuf:"bytes,3,opt,name=ref"`
}

EnvironmentRepository is the repository for an environment using GitOps

func (*EnvironmentRepository) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRepository.

func (*EnvironmentRepository) DeepCopyInto

func (in *EnvironmentRepository) DeepCopyInto(out *EnvironmentRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentRepositoryType

type EnvironmentRepositoryType string

EnvironmentRepositoryType is the repository type

const (
	// EnvironmentRepositoryTypeGit specifies that a git repository is used
	EnvironmentRepositoryTypeGit EnvironmentRepositoryType = "Git"
)

type EnvironmentRoleBinding

type EnvironmentRoleBinding struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   EnvironmentRoleBindingSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status EnvironmentRoleBindingStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

EnvironmentRoleBinding is like a vanilla RoleBinding but applies to a set of Namespaces based on an Environment filter so that roles can be bound to multiple namespaces easily.

For example to specify the binding of roles on all Preview environments or on all permanent environments.

func (*EnvironmentRoleBinding) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBinding.

func (*EnvironmentRoleBinding) DeepCopyInto

func (in *EnvironmentRoleBinding) DeepCopyInto(out *EnvironmentRoleBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnvironmentRoleBinding) DeepCopyObject

func (in *EnvironmentRoleBinding) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EnvironmentRoleBindingList

type EnvironmentRoleBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []EnvironmentRoleBinding `json:"items"`
}

EnvironmentRoleBindingList is a list of TypeMeta resources

func (*EnvironmentRoleBindingList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingList.

func (*EnvironmentRoleBindingList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnvironmentRoleBindingList) DeepCopyObject

func (in *EnvironmentRoleBindingList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EnvironmentRoleBindingSpec

type EnvironmentRoleBindingSpec struct {
	// Subjects holds references to the objects the role applies to.
	Subjects []rbacv1.Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"`

	// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
	// If the RoleRef cannot be resolved, the Authorizer must return an error.
	RoleRef rbacv1.RoleRef `json:"roleRef" protobuf:"bytes,3,opt,name=roleRef"`

	// specifies which sets of environments this binding applies to
	Environments []EnvironmentFilter `json:"environments,omitempty" protobuf:"bytes,4,opt,name=environments"`
}

EnvironmentRoleBindingSpec is the specification of an EnvironmentRoleBinding

func (*EnvironmentRoleBindingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingSpec.

func (*EnvironmentRoleBindingSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentRoleBindingStatus

type EnvironmentRoleBindingStatus struct {
	Version string `json:"version,omitempty"`
}

EnvironmentRoleBindingStatus is the status for an EnvironmentRoleBinding resource

func (*EnvironmentRoleBindingStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingStatus.

func (*EnvironmentRoleBindingStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentSpec

type EnvironmentSpec struct {
	Label             string                `json:"label,omitempty" protobuf:"bytes,1,opt,name=label"`
	Namespace         string                `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
	Cluster           string                `json:"cluster,omitempty" protobuf:"bytes,3,opt,name=cluster"`
	PromotionStrategy PromotionStrategyType `json:"promotionStrategy,omitempty" protobuf:"bytes,4,opt,name=promotionStrategy"`
	Source            EnvironmentRepository `json:"source,omitempty" protobuf:"bytes,5,opt,name=source"`
	Order             int32                 `json:"order,omitempty" protobuf:"bytes,6,opt,name=order"`
	Kind              EnvironmentKindType   `json:"kind,omitempty" protobuf:"bytes,7,opt,name=kind"`
	PullRequestURL    string                `json:"pullRequestURL,omitempty" protobuf:"bytes,8,opt,name=pullRequestURL"`
	TeamSettings      TeamSettings          `json:"teamSettings,omitempty" protobuf:"bytes,9,opt,name=teamSettings"`
	PreviewGitSpec    PreviewGitSpec        `json:"previewGitInfo,omitempty" protobuf:"bytes,10,opt,name=previewGitInfo"`
	WebHookEngine     WebHookEngineType     `json:"webHookEngine,omitempty" protobuf:"bytes,11,opt,name=webHookEngine"`

	// RemoteCluster flag indicates if the Environment is deployed in a separate cluster to the Development Environment
	RemoteCluster bool `json:"remoteCluster,omitempty" protobuf:"bytes,12,opt,name=remoteCluster"`
}

EnvironmentSpec is the specification of an Environment

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnvironmentSpec) IsLighthouse

func (e *EnvironmentSpec) IsLighthouse() bool

IsLighthouse returns true if we are using lighthouse as the webhook handler

func (*EnvironmentSpec) IsProwOrLighthouse

func (e *EnvironmentSpec) IsProwOrLighthouse() bool

IsProwOrLighthouse returns true if either Prow or Lighthouse is being used. e.g. using the Prow based configuration model

type EnvironmentStatus

type EnvironmentStatus struct {
	Version string `json:"version,omitempty"`
}

EnvironmentStatus is the status for an Environment resource

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentStatus.

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentVariable

type EnvironmentVariable struct {
	Name  string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
}

func (*EnvironmentVariable) DeepCopy

func (in *EnvironmentVariable) DeepCopy() *EnvironmentVariable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentVariable.

func (*EnvironmentVariable) DeepCopyInto

func (in *EnvironmentVariable) DeepCopyInto(out *EnvironmentVariable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Extension

type Extension struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec ExtensionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Extension represents an extension available to this Jenkins X install

func (*Extension) DeepCopy

func (in *Extension) DeepCopy() *Extension

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.

func (*Extension) DeepCopyInto

func (in *Extension) DeepCopyInto(out *Extension)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Extension) DeepCopyObject

func (in *Extension) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ExtensionConfig

type ExtensionConfig struct {
	Name       string                    `json:"name"`
	Namespace  string                    `json:"namespace"`
	Parameters []ExtensionParameterValue `json:"parameters"`
}

ExtensionConfig is the configuration and enablement for an extension inside an app

func (*ExtensionConfig) DeepCopy

func (in *ExtensionConfig) DeepCopy() *ExtensionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfig.

func (*ExtensionConfig) DeepCopyInto

func (in *ExtensionConfig) DeepCopyInto(out *ExtensionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionConfig) FullyQualifiedKebabName

func (e *ExtensionConfig) FullyQualifiedKebabName() (fqn string)

func (*ExtensionConfig) FullyQualifiedName

func (e *ExtensionConfig) FullyQualifiedName() (fqn string)

type ExtensionConfigList

type ExtensionConfigList struct {
	Extensions []ExtensionConfig `json:"extensions"`
}

ExtensionsConfigList contains a list of ExtensionConfig items

func (*ExtensionConfigList) DeepCopy

func (in *ExtensionConfigList) DeepCopy() *ExtensionConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfigList.

func (*ExtensionConfigList) DeepCopyInto

func (in *ExtensionConfigList) DeepCopyInto(out *ExtensionConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionConfigList) LoadFromConfigMap

func (extensionsConfig *ExtensionConfigList) LoadFromConfigMap(configMapName string, client kubernetes.Interface, namespace string) (cfg *ExtensionConfigList, err error)

func (*ExtensionConfigList) LoadFromFile

func (extensionsConfig *ExtensionConfigList) LoadFromFile(inputFile string) (cfg *ExtensionConfigList, err error)

type ExtensionDefinition

type ExtensionDefinition struct {
	Name        string                              `json:"name"`
	Namespace   string                              `json:"namespace"`
	UUID        string                              `json:"uuid"`
	Description string                              `json:"description,omitempty"`
	When        []ExtensionWhen                     `json:"when,omitempty"`
	Given       ExtensionGiven                      `json:"given,omitempty"`
	Children    []ExtensionDefinitionChildReference `json:"children,omitempty"`
	ScriptFile  string                              `json:"scriptFile,omitempty"`
	Parameters  []ExtensionParameter                `json:"parameters,omitempty"`
}

ExtensionDefinition defines an Extension

func (*ExtensionDefinition) DeepCopy

func (in *ExtensionDefinition) DeepCopy() *ExtensionDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinition.

func (*ExtensionDefinition) DeepCopyInto

func (in *ExtensionDefinition) DeepCopyInto(out *ExtensionDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionDefinition) FullyQualifiedKebabName

func (e *ExtensionDefinition) FullyQualifiedKebabName() (fqn string)

func (*ExtensionDefinition) FullyQualifiedName

func (e *ExtensionDefinition) FullyQualifiedName() (fqn string)

type ExtensionDefinitionChildReference

type ExtensionDefinitionChildReference struct {
	UUID      string `json:"uuid,omitempty"`
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
	Remote    string `json:"remote,omitempty"`
	Tag       string `json:"tag,omitempty"`
}

ExtensionDefinitionChildReference provides a reference to a child

func (*ExtensionDefinitionChildReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionChildReference.

func (*ExtensionDefinitionChildReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionDefinitionChildReference) FullyQualifiedKebabName

func (e *ExtensionDefinitionChildReference) FullyQualifiedKebabName() (fqn string)

func (*ExtensionDefinitionChildReference) FullyQualifiedName

func (e *ExtensionDefinitionChildReference) FullyQualifiedName() (fqn string)

type ExtensionDefinitionList

type ExtensionDefinitionList struct {
	Version    string                `json:"version,omitempty"`
	Extensions []ExtensionDefinition `json:"extensions"`
}

ExtensionDefinitionList contains a list of ExtensionDefinition items

func (*ExtensionDefinitionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionList.

func (*ExtensionDefinitionList) DeepCopyInto

func (in *ExtensionDefinitionList) DeepCopyInto(out *ExtensionDefinitionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionDefinitionReference

type ExtensionDefinitionReference struct {
	Remote string `json:"remote"`
	Tag    string `json:"tag"`
}

ExtensionRepositoryReference references a GitHub repo that contains extension definitions

func (*ExtensionDefinitionReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionReference.

func (*ExtensionDefinitionReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionDefinitionReferenceList

type ExtensionDefinitionReferenceList struct {
	Remotes []ExtensionDefinitionReference `json:"remotes"`
}

ExtensionDefinitionReferenceList contains a list of ExtensionRepository items

func (*ExtensionDefinitionReferenceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionReferenceList.

func (*ExtensionDefinitionReferenceList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionDefinitionReferenceList) LoadFromFile

func (constraints *ExtensionDefinitionReferenceList) LoadFromFile(inputFile string) (err error)

type ExtensionExecution

type ExtensionExecution struct {
	Name                 string                `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	Description          string                `json:"description,omitempty"  protobuf:"bytes,2,opt,name=description"`
	Script               string                `json:"script,omitempty"  protobuf:"bytes,3,opt,name=script"`
	EnvironmentVariables []EnvironmentVariable `json:"environmentVariables,omitempty" protobuf:"bytes,4,opt,name=environmentvariables"`
	Given                ExtensionGiven        `json:"given,omitempty"  protobuf:"bytes,5,opt,name=given"`
	Namespace            string                `json:"namespace,omitempty"  protobuf:"bytes,7,opt,name=namespace"`
	UUID                 string                `json:"uuid,omitempty"  protobuf:"bytes,8,opt,name=uuid"`
}

ExtensionExecution is an executable instance of an extension which can be attached into a pipeline for later execution. It differs from an Extension as it cannot have children and parameters have been resolved to environment variables

func (*ExtensionExecution) DeepCopy

func (in *ExtensionExecution) DeepCopy() *ExtensionExecution

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionExecution.

func (*ExtensionExecution) DeepCopyInto

func (in *ExtensionExecution) DeepCopyInto(out *ExtensionExecution)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionExecution) Execute

func (e *ExtensionExecution) Execute() (err error)

func (*ExtensionExecution) FullyQualifiedKebabName

func (e *ExtensionExecution) FullyQualifiedKebabName() (fqn string)

func (*ExtensionExecution) FullyQualifiedName

func (e *ExtensionExecution) FullyQualifiedName() (fqn string)

type ExtensionGiven

type ExtensionGiven string

ExtensionGiven specifies the condition (if the extension is executing in a pipeline on which the extension should execute. By default Always.

const (
	ExtensionGivenAlways  ExtensionGiven = "Always"
	ExtensionGivenFailure ExtensionGiven = "Failure"
	ExtensionGivenSuccess ExtensionGiven = "Success"
)

type ExtensionList

type ExtensionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Extension `json:"items"`
}

ExtensionList is a list of Extensions available for a team

func (*ExtensionList) DeepCopy

func (in *ExtensionList) DeepCopy() *ExtensionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionList.

func (*ExtensionList) DeepCopyInto

func (in *ExtensionList) DeepCopyInto(out *ExtensionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionList) DeepCopyObject

func (in *ExtensionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ExtensionParameter

type ExtensionParameter struct {
	Name                    string `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	Description             string `json:"description,omitempty"  protobuf:"bytes,2,opt,name=description"`
	EnvironmentVariableName string `json:"environmentVariableName,omitempty"  protobuf:"bytes,3,opt,name=environmentVariableName"`
	DefaultValue            string `json:"defaultValue,omitempty"  protobuf:"bytes,3,opt,name=defaultValue"`
}

ExtensionParameter describes a parameter definition for an extension

func (*ExtensionParameter) DeepCopy

func (in *ExtensionParameter) DeepCopy() *ExtensionParameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameter.

func (*ExtensionParameter) DeepCopyInto

func (in *ExtensionParameter) DeepCopyInto(out *ExtensionParameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionParameterValue

type ExtensionParameterValue struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func (*ExtensionParameterValue) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameterValue.

func (*ExtensionParameterValue) DeepCopyInto

func (in *ExtensionParameterValue) DeepCopyInto(out *ExtensionParameterValue)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionRepositoryLockList

type ExtensionRepositoryLockList struct {
	Version    string          `json:"version"`
	Extensions []ExtensionSpec `json:"extensions"`
}

ExtensionRepositoryLockList contains a list of ExtensionRepositoryLock items +k8s:openapi-gen=false

func (*ExtensionRepositoryLockList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryLockList.

func (*ExtensionRepositoryLockList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionRepositoryLockList) LoadFromFile

func (lock *ExtensionRepositoryLockList) LoadFromFile(inputFile string) (err error)

type ExtensionRepositoryReference

type ExtensionRepositoryReference struct {
	Url    string   `json:"url,omitempty"`
	GitHub string   `json:"github,omitempty"`
	Chart  ChartRef `json:"chart,omitempty"`
}

func (*ExtensionRepositoryReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryReference.

func (*ExtensionRepositoryReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionRepositoryReferenceList

type ExtensionRepositoryReferenceList struct {
	Repositories []ExtensionRepositoryReference `json:"repositories,omitempty"`
}

func (*ExtensionRepositoryReferenceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryReferenceList.

func (*ExtensionRepositoryReferenceList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionSpec

type ExtensionSpec struct {
	Name        string               `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	Description string               `json:"description,omitempty"  protobuf:"bytes,2,opt,name=description"`
	Version     string               `json:"version,omitempty"  protobuf:"bytes,3,opt,name=version"`
	Script      string               `json:"script,omitempty"  protobuf:"bytes,4,opt,name=script"`
	When        []ExtensionWhen      `json:"when,omitempty"  protobuf:"bytes,5,opt,name=when"`
	Given       ExtensionGiven       `json:"given,omitempty"  protobuf:"bytes,6,opt,name=given"`
	Parameters  []ExtensionParameter `json:"parameters,omitempty"  protobuf:"bytes,8,opt,name=parameters"`
	Namespace   string               `json:"namespace,omitempty"  protobuf:"bytes,9,opt,name=namespace"`
	UUID        string               `json:"uuid,omitempty"  protobuf:"bytes,10,opt,name=uuid"`
	Children    []string             `json:"children,omitempty"  protobuf:"bytes,11,opt,name=children"`
}

ExtensionSpec provides details of an extension available for a team

func (*ExtensionSpec) Contains

func (e *ExtensionSpec) Contains(when ExtensionWhen) bool

func (*ExtensionSpec) DeepCopy

func (in *ExtensionSpec) DeepCopy() *ExtensionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionSpec.

func (*ExtensionSpec) DeepCopyInto

func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ExtensionSpec) FullyQualifiedKebabName

func (e *ExtensionSpec) FullyQualifiedKebabName() (fqn string)

func (*ExtensionSpec) FullyQualifiedName

func (e *ExtensionSpec) FullyQualifiedName() (fqn string)

func (*ExtensionSpec) IsOnUninstall

func (e *ExtensionSpec) IsOnUninstall() bool

func (*ExtensionSpec) IsPost

func (e *ExtensionSpec) IsPost() bool

type ExtensionWhen

type ExtensionWhen string

ExtensionWhen specifies when in the lifecycle an extension should execute. By default Post.

const (
	// Executed before a pipeline starts
	ExtensionWhenPre ExtensionWhen = "pre"
	// Executed after a pipeline completes
	ExtensionWhenPost ExtensionWhen = "post"
	// Executed when an extension installs
	ExtensionWhenInstall ExtensionWhen = "onInstall"
	// Executed when an extension uninstalls
	ExtensionWhenUninstall ExtensionWhen = "onUninstall"
	// Executed when an extension upgrades
	ExtensionWhenUpgrade ExtensionWhen = "onUpgrade"
)

type ExternalPlugin

type ExternalPlugin struct {
	// Name of the plugin.
	Name *string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Endpoint is the location of the external plugin. Defaults to
	// the name of the plugin, ie. "http://{{name}}".
	Endpoint *string `json:"endpoint,omitempty" protobuf:"bytes,2,opt,name=endpoint"`
	// ReplaceableSliceOfStrings are the events that need to be demuxed by the hook
	// server to the external plugin. If no events are specified,
	// everything is sent.
	Events *ReplaceableSliceOfStrings `json:"events,omitempty" protobuf:"bytes,3,opt,name=events"`
}

ExternalPlugin holds configuration for registering an external plugin.

func (*ExternalPlugin) DeepCopy

func (in *ExternalPlugin) DeepCopy() *ExternalPlugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalPlugin.

func (*ExternalPlugin) DeepCopyInto

func (in *ExternalPlugin) DeepCopyInto(out *ExternalPlugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Fact

type Fact struct {
	metav1.TypeMeta `json:",inline"`
	// The Fact labels will be used to query the API for interesting Facts.
	// The Apps responsible for creating Facts need to add the relevant labels.
	// For example, creating Facts on a pipeline would create Facts with the following labels
	// {
	//   subjectkind: PipelineActivity
	//   pipelineName: my-org-my-app-master-23
	//   org: my-org
	//   repo: my-app
	//   branch: master
	//   buildNumber: 23
	// }
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   FactSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status FactStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Fact represents observed facts. Apps will generate Facts about the system. A naming schema is required since each Fact has a name that's unique for the whole system. Apps should prefix their generated Facts with the name of the App, like <app-name>-<fact>. This makes that different Apps can't possibly have conflicting Fact names.

For an app generating facts on a pipeline, which will be have several different executions, we recommend <app>-<fact>-<pipeline>.

func (*Fact) DeepCopy

func (in *Fact) DeepCopy() *Fact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fact.

func (*Fact) DeepCopyInto

func (in *Fact) DeepCopyInto(out *Fact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Fact) DeepCopyObject

func (in *Fact) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FactList

type FactList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Fact `json:"items"`
}

FactList is a list of Fact resources

func (*FactList) DeepCopy

func (in *FactList) DeepCopy() *FactList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactList.

func (*FactList) DeepCopyInto

func (in *FactList) DeepCopyInto(out *FactList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FactList) DeepCopyObject

func (in *FactList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FactSpec

type FactSpec struct {
	Name         string        `json:"name" protobuf:"bytes,1,opt,name=name"`
	FactType     string        `json:"factType" protobuf:"bytes,3,opt,name=factType"`
	Measurements []Measurement `json:"measurements,omitempty" protobuf:"bytes,4,opt,name=measurements"`
	// +optional
	Statements []Statement `json:"statements,omitempty" protobuf:"bytes,5,opt,name=statements"`
	// +optional
	Original Original `json:"original,omitempty" protobuf:"bytes,6,opt,name=original"`
	// +optional
	Tags             []string          `json:"tags,omitempty" protobuf:"bytes,7,opt,name=tags"`
	SubjectReference ResourceReference `json:"subject" protobuf:"bytes,8,opt,name=subject"`
}

FactSpec is the specification of a Fact

func (*FactSpec) DeepCopy

func (in *FactSpec) DeepCopy() *FactSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactSpec.

func (*FactSpec) DeepCopyInto

func (in *FactSpec) DeepCopyInto(out *FactSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FactStatus

type FactStatus struct {
	Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`
}

FactStatus is the status for an Fact resource

func (*FactStatus) DeepCopy

func (in *FactStatus) DeepCopy() *FactStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactStatus.

func (*FactStatus) DeepCopyInto

func (in *FactStatus) DeepCopyInto(out *FactStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitService

type GitService struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec GitServiceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

GitService represents a git provider so we can map the host name to a kinda of git service

func (*GitService) DeepCopy

func (in *GitService) DeepCopy() *GitService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitService.

func (*GitService) DeepCopyInto

func (in *GitService) DeepCopyInto(out *GitService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitService) DeepCopyObject

func (in *GitService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GitServiceList

type GitServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []GitService `json:"items"`
}

GitServiceList is a list of GitService resources

func (*GitServiceList) DeepCopy

func (in *GitServiceList) DeepCopy() *GitServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServiceList.

func (*GitServiceList) DeepCopyInto

func (in *GitServiceList) DeepCopyInto(out *GitServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitServiceList) DeepCopyObject

func (in *GitServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GitServiceSpec

type GitServiceSpec struct {
	GitKind string `json:"gitKind,omitempty" protobuf:"bytes,1,opt,name=gitKind"`
	URL     string `json:"url,omitempty" protobuf:"bytes,2,opt,name=host"`
	Name    string `json:"name,omitempty" protobuf:"bytes,3,opt,name=host"`
}

GitServiceSpec is the specification of an GitService

func (*GitServiceSpec) DeepCopy

func (in *GitServiceSpec) DeepCopy() *GitServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServiceSpec.

func (*GitServiceSpec) DeepCopyInto

func (in *GitServiceSpec) DeepCopyInto(out *GitServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitStatus

type GitStatus struct {
	URL    string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	Status string `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
}

GitStatus the status of a git commit in terms of CI/CD

func (*GitStatus) DeepCopy

func (in *GitStatus) DeepCopy() *GitStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitStatus.

func (*GitStatus) DeepCopyInto

func (in *GitStatus) DeepCopyInto(out *GitStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GlobalProtectionPolicy

type GlobalProtectionPolicy struct {
	// +optional
	*ProtectionPolicy
	ProtectTested *bool `json:"protectTested,omitempty"`
}

GlobalProtectionPolicy defines the default branch protection policy for the scheduler

func (*GlobalProtectionPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalProtectionPolicy.

func (*GlobalProtectionPolicy) DeepCopyInto

func (in *GlobalProtectionPolicy) DeepCopyInto(out *GlobalProtectionPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImportModeType

type ImportModeType string

ImportModeType is the type of import mode for new projects in a team

const (
	// ImportModeTypeJenkinsfile when importing we create a Jenkinfiles in the git repository of the project
	ImportModeTypeJenkinsfile ImportModeType = "Jenkinsfile"

	// ImportModeTypeYAML when importing we add a `jenkins-x.yml` file for the Next Generation Pipeline as YAML
	ImportModeTypeYAML ImportModeType = "YAML"
)

type IssueLabel

type IssueLabel struct {
	URL   string `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	Name  string `json:"url,omitempty"  protobuf:"bytes,2,opt,name=url"`
	Color string `json:"color,omitempty"  protobuf:"bytes,3,opt,name=color"`
}

func (*IssueLabel) DeepCopy

func (in *IssueLabel) DeepCopy() *IssueLabel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssueLabel.

func (*IssueLabel) DeepCopyInto

func (in *IssueLabel) DeepCopyInto(out *IssueLabel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IssueSummary

type IssueSummary struct {
	ID                string        `json:"id,omitempty"  protobuf:"bytes,1,opt,name=id"`
	URL               string        `json:"url,omitempty"  protobuf:"bytes,2,opt,name=url"`
	Title             string        `json:"title,omitempty"  protobuf:"bytes,3,opt,name=title"`
	Body              string        `json:"body,omitempty"  protobuf:"bytes,4,opt,name=body"`
	State             string        `json:"state,omitempty"  protobuf:"bytes,5,opt,name=state"`
	Message           string        `json:"message,omitempty"  protobuf:"bytes,6,opt,name=message"`
	User              *UserDetails  `json:"user,omitempty"  protobuf:"bytes,7,opt,name=user"`
	Assignees         []UserDetails `json:"assignees,omitempty"  protobuf:"bytes,8,opt,name=assignees"`
	ClosedBy          *UserDetails  `json:"closedBy,omitempty"  protobuf:"bytes,9,opt,name=closedBy"`
	CreationTimestamp *metav1.Time  `json:"creationTimestamp,omitempty" protobuf:"bytes,10,opt,name=creationTimestamp"`
	Labels            []IssueLabel  `json:"labels,omitempty" protobuf:"bytes,11,opt,name=labels"`
}

IssueSummary is the summary of an issue

func (*IssueSummary) DeepCopy

func (in *IssueSummary) DeepCopy() *IssueSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssueSummary.

func (*IssueSummary) DeepCopyInto

func (in *IssueSummary) DeepCopyInto(out *IssueSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IssueSummary) IsClosed

func (i *IssueSummary) IsClosed() bool

IsClosed returns true if this issue is closed or fixed

type JobBase

type JobBase struct {
	// The name of the job. Must match regex [A-Za-z0-9-._]+
	// e.g. pull-test-infra-bazel-build
	Name *string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// ReplaceableMapOfStringString are added to jobs and pods created for this job.
	Labels *ReplaceableMapOfStringString `json:"labels,omitempty" protobuf:"bytes,2,opt,name=labels"`
	// MaximumConcurrency of this job, 0 implies no limit.
	MaxConcurrency *int `json:"maxConcurrency,omitempty" protobuf:"bytes,3,opt,name=maxConcurrency"`
	// Agent that will take care of running this job.
	Agent *string `json:"agent" protobuf:"bytes,4,opt,name=agent"`
	// Cluster is the alias of the cluster to run this job in.
	// (Default: kube.DefaultClusterAlias)
	Cluster *string `json:"cluster,omitempty" protobuf:"bytes,5,opt,name=cluster"`
	// Namespace is the namespace in which pods schedule.
	//   empty: results in scheduler.DefaultNamespace
	Namespace *string `json:"namespace,omitempty" protobuf:"bytes,6,opt,name=namespace"`
	// Spec is the Kubernetes pod spec used if Agent is kubernetes.
	Spec *v1.PodSpec `json:"spec,omitempty"`
}

JobBase contains attributes common to all job types

func (*JobBase) DeepCopy

func (in *JobBase) DeepCopy() *JobBase

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobBase.

func (*JobBase) DeepCopyInto

func (in *JobBase) DeepCopyInto(out *JobBase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Lgtm

type Lgtm struct {
	// ReviewActsAsLgtm indicates that a Github review of "approve" or "request changes"
	// acts as adding or removing the lgtm label
	ReviewActsAsLgtm *bool `json:"reviewActsAsLgtm,omitempty" protobuf:"bytes,1,opt,name=reviewActsAsLgtm"`
	// StoreTreeHash indicates if tree_hash should be stored inside a comment to detect
	// squashed commits before removing lgtm labels
	StoreTreeHash *bool `json:"storeTreeHash,omitempty" protobuf:"bytes,2,opt,name=storeTreeHash"`
	// WARNING: This disables the security mechanism that prevents a malicious member (or
	// compromised GitHub account) from merging arbitrary code. Use with caution.
	//
	// StickyLgtmTeam specifies the Github team whose members are trusted with sticky LGTM,
	// which eliminates the need to re-lgtm minor fixes/updates.
	StickyLgtmTeam *string `json:"trustedTeamForStickyLgtm,omitempty" protobuf:"bytes,3,opt,name=stickyLgtmTeam"`
}

Lgtm specifies a configuration for a single lgtm. The configuration for the lgtm plugin is defined as a list of these structures.

func (*Lgtm) DeepCopy

func (in *Lgtm) DeepCopy() *Lgtm

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lgtm.

func (*Lgtm) DeepCopyInto

func (in *Lgtm) DeepCopyInto(out *Lgtm)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Measurement

type Measurement struct {
	Name             string   `json:"name" protobuf:"bytes,1,opt,name=name"`
	MeasurementType  string   `json:"measurementType" protobuf:"bytes,2,opt,name=measurementType"`
	MeasurementValue int      `json:"measurementValue" protobuf:"bytes,3,opt,name=measurementValue"`
	Tags             []string `json:"tags,omitempty" protobuf:"bytes,4,opt,name=tags"`
}

Measurement is a percentage or a count, something measured that the system will capture within a fact

func (*Measurement) DeepCopy

func (in *Measurement) DeepCopy() *Measurement

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Measurement.

func (*Measurement) DeepCopyInto

func (in *Measurement) DeepCopyInto(out *Measurement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Merger

type Merger struct {
	// SyncPeriod specifies how often Merger will sync jobs with Github. Defaults to 1m.
	SyncPeriod *time.Duration `json:"-"`
	// StatusUpdatePeriod
	StatusUpdatePeriod *time.Duration `json:"-"`

	// URL for status contexts.
	TargetURL *string `json:"targetUrl,omitempty" protobuf:"bytes,1,opt,name=targetUrl"`

	// PRStatusBaseURL is the base URL for the PR status page.
	// This is used to link to a merge requirements overview
	// in the status context.
	PRStatusBaseURL *string `json:"prStatusBaseUrl,omitempty" protobuf:"bytes,2,opt,name=prStatusBaseURL"`

	// BlockerLabel is an optional label that is used to identify merge blocking
	// Git Provider issues.
	// Leave this blank to disable this feature and save 1 API token per sync loop.
	BlockerLabel *string `json:"blockerLabel,omitempty"`

	// SquashLabel is an optional label that is used to identify PRs that should
	// always be squash merged.
	// Leave this blank to disable this feature.
	SquashLabel *string `json:"squashLabel,omitempty"`

	// MaxGoroutines is the maximum number of goroutines spawned inside the
	// controller to handle org/repo:branch pools. Defaults to 20. Needs to be a
	// positive number.
	MaxGoroutines *int `json:"maxGoroutines,omitempty"`

	// Override the default method of merge. Valid options are squash, rebase, and merge.
	MergeType *string `json:"mergeMethod,omitempty"`

	// ContextOptions defines the default merge options. If not set it will infer
	// the required and optional contexts from the jobs configured and use the Git Provider
	// combined status; otherwise it may apply the branch protection setting or let user
	// define their own options in case branch protection is not used.
	ContextPolicy *ContextPolicy `json:"policy,omitempty"`
}

Merger defines the options used to merge the PR

func (*Merger) DeepCopy

func (in *Merger) DeepCopy() *Merger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Merger.

func (*Merger) DeepCopyInto

func (in *Merger) DeepCopyInto(out *Merger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Original

type Original struct {
	MimeType string   `json:"mimetype,omitempty" protobuf:"bytes,1,opt,name=mimetype"`
	URL      string   `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
	Tags     []string `json:"tags,omitempty" protobuf:"bytes,8,opt,name=tags"`
}

Original contains the report

func (*Original) DeepCopy

func (in *Original) DeepCopy() *Original

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Original.

func (*Original) DeepCopyInto

func (in *Original) DeepCopyInto(out *Original)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Periodic

type Periodic struct {
	// +optional
	*JobBase
	// Interval to wait between two runs of the job.
	Interval *string `json:"interval"`
	// Cron representation of job trigger time
	Cron *string `json:"cron"`
	// Tags for config entries
	Tags *ReplaceableSliceOfStrings `json:"tags,omitempty"`
}

Periodic defines a job to be run periodically

func (*Periodic) DeepCopy

func (in *Periodic) DeepCopy() *Periodic

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Periodic.

func (*Periodic) DeepCopyInto

func (in *Periodic) DeepCopyInto(out *Periodic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Periodics

type Periodics struct {
	// Items are the post submit configurations
	Items []*Periodic `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
	// Replace the existing entries
	Replace bool `json:"replace,omitempty" protobuf:"bytes,2,opt,name=replace"`
}

Periodics is a list of jobs to be run periodically

func (*Periodics) DeepCopy

func (in *Periodics) DeepCopy() *Periodics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Periodics.

func (*Periodics) DeepCopyInto

func (in *Periodics) DeepCopyInto(out *Periodics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineActivity

type PipelineActivity struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   PipelineActivitySpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status PipelineActivityStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

PipelineActivity represents pipeline activity for a particular run of a pipeline

func (*PipelineActivity) BranchName

func (p *PipelineActivity) BranchName() string

BranchName returns the name of the branch for the pipeline

func (*PipelineActivity) DeepCopy

func (in *PipelineActivity) DeepCopy() *PipelineActivity

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivity.

func (*PipelineActivity) DeepCopyInto

func (in *PipelineActivity) DeepCopyInto(out *PipelineActivity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PipelineActivity) DeepCopyObject

func (in *PipelineActivity) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PipelineActivity) RepositoryName

func (p *PipelineActivity) RepositoryName() string

RepositoryName returns the repository name for the given pipeline

func (*PipelineActivity) RepositoryOwner

func (p *PipelineActivity) RepositoryOwner() string

RepositoryOwner returns the repository name for the given pipeline

func (*PipelineActivity) StagesByStatus

func (p *PipelineActivity) StagesByStatus() map[ActivityStatusType][]string

StagesByStatus returns a map with statuses as keys and lists of stage names with that status as the values.

type PipelineActivityList

type PipelineActivityList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []PipelineActivity `json:"items"`
}

PipelineActivityList is a list of PipelineActivity resources

func (*PipelineActivityList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivityList.

func (*PipelineActivityList) DeepCopyInto

func (in *PipelineActivityList) DeepCopyInto(out *PipelineActivityList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PipelineActivityList) DeepCopyObject

func (in *PipelineActivityList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PipelineActivitySpec

type PipelineActivitySpec struct {
	Pipeline           string                 `json:"pipeline,omitempty" protobuf:"bytes,1,opt,name=pipeline"`
	Build              string                 `json:"build,omitempty" protobuf:"bytes,2,opt,name=build"`
	Version            string                 `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
	Status             ActivityStatusType     `json:"status,omitempty" protobuf:"bytes,4,opt,name=status"`
	StartedTimestamp   *metav1.Time           `json:"startedTimestamp,omitempty" protobuf:"bytes,5,opt,name=startedTimestamp"`
	CompletedTimestamp *metav1.Time           `json:"completedTimestamp,omitempty" protobuf:"bytes,6,opt,name=completedTimestamp"`
	Steps              []PipelineActivityStep `json:"steps,omitempty" protobuf:"bytes,7,opt,name=steps"`
	BuildURL           string                 `json:"buildUrl,omitempty" protobuf:"bytes,8,opt,name=buildUrl"`
	BuildLogsURL       string                 `json:"buildLogsUrl,omitempty" protobuf:"bytes,9,opt,name=buildLogsUrl"`
	GitURL             string                 `json:"gitUrl,omitempty" protobuf:"bytes,10,opt,name=gitUrl"`
	GitRepository      string                 `json:"gitRepository,omitempty" protobuf:"bytes,11,opt,name=gitRepository"`
	GitOwner           string                 `json:"gitOwner,omitempty" protobuf:"bytes,12,opt,name=gitOwner"`
	GitBranch          string                 `json:"gitBranch,omitempty" protobuf:"bytes,13,opt,name=gitBranch"`
	Author             string                 `json:"author,omitempty" protobuf:"bytes,14,opt,name=author"`
	AuthorAvatarURL    string                 `json:"authorAvatarURL,omitempty" protobuf:"bytes,14,opt,name=authorAvatarURL"`
	AuthorURL          string                 `json:"authorURL,omitempty" protobuf:"bytes,14,opt,name=authorURL"`
	PullTitle          string                 `json:"pullTitle,omitempty" protobuf:"bytes,15,opt,name=pullTitle"`
	ReleaseNotesURL    string                 `json:"releaseNotesURL,omitempty" protobuf:"bytes,16,opt,name=releaseNotesURL"`
	LastCommitSHA      string                 `json:"lastCommitSHA,omitempty" protobuf:"bytes,17,opt,name=lastCommitSHA"`
	LastCommitMessage  string                 `json:"lastCommitMessage,omitempty" protobuf:"bytes,18,opt,name=lastCommitMessage"`
	LastCommitURL      string                 `json:"lastCommitURL,omitempty" protobuf:"bytes,19,opt,name=lastCommitURL"`
	// Deprecated - Workflow functionality was removed and is obsolete
	// Keeping these fields to ensure backwards compatibility
	// Should be removed when we increment spec version
	Workflow              string                `json:"workflow,omitempty" protobuf:"bytes,20,opt,name=workflow"`
	WorkflowStatus        ActivityStatusType    `json:"workflowStatus,omitempty" protobuf:"bytes,21,opt,name=workflowStatus"`
	WorkflowMessage       string                `json:"workflowMessage,omitempty" protobuf:"bytes,22,opt,name=workflowMessage"`
	PostExtensions        []ExtensionExecution  `json:"postExtensions,omitempty" protobuf:"bytes,23,opt,name=postExtensions"`
	Attachments           []Attachment          `json:"attachments,omitempty" protobuf:"bytes,24,opt,name=attachments"`
	BatchPipelineActivity BatchPipelineActivity `json:"batchPipelineActivity,omitempty" protobuf:"bytes,25,opt,name=batchPipelineActivity"`
	Context               string                `json:"context,omitempty" protobuf:"bytes,26,opt,name=context"`
	BaseSHA               string                `json:"baseSHA,omitempty" protobuf:"bytes,27,opt,name=baseSHA"`
}

PipelineActivitySpec is the specification of the pipeline activity

func (*PipelineActivitySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivitySpec.

func (*PipelineActivitySpec) DeepCopyInto

func (in *PipelineActivitySpec) DeepCopyInto(out *PipelineActivitySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineActivityStatus

type PipelineActivityStatus struct {
	Version string `json:"version,omitempty"  protobuf:"bytes,1,opt,name=version"`
}

PipelineActivityStatus is the status for an Environment resource

func (*PipelineActivityStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivityStatus.

func (*PipelineActivityStatus) DeepCopyInto

func (in *PipelineActivityStatus) DeepCopyInto(out *PipelineActivityStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineActivityStep

type PipelineActivityStep struct {
	Kind    ActivityStepKindType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	Stage   *StageActivityStep   `json:"stage,omitempty" protobuf:"bytes,2,opt,name=stage"`
	Promote *PromoteActivityStep `json:"promote,omitempty" protobuf:"bytes,3,opt,name=promote"`
	Preview *PreviewActivityStep `json:"preview,omitempty" protobuf:"bytes,4,opt,name=preview"`
}

PipelineActivityStep represents a step in a pipeline activity

func (*PipelineActivityStep) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivityStep.

func (*PipelineActivityStep) DeepCopyInto

func (in *PipelineActivityStep) DeepCopyInto(out *PipelineActivityStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineExtension

type PipelineExtension struct {
	// Name of the container specified as a DNS_LABEL.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Docker image name.
	Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"`
	// Entrypoint array. Not executed within a shell.
	Command string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"`
	// Arguments to the entrypoint.
	Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"`
}

PipelineExtension defines the image and command of an app which wants to modify/extend the pipeline

func (*PipelineExtension) DeepCopy

func (in *PipelineExtension) DeepCopy() *PipelineExtension

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineExtension.

func (*PipelineExtension) DeepCopyInto

func (in *PipelineExtension) DeepCopyInto(out *PipelineExtension)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineStageAndChildren

type PipelineStageAndChildren struct {
	Stage    PipelineStructureStage
	Parallel []PipelineStageAndChildren
	Stages   []PipelineStageAndChildren
}

PipelineStageAndChildren represents a single stage and its children. +k8s:openapi-gen=false

func (*PipelineStageAndChildren) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStageAndChildren.

func (*PipelineStageAndChildren) DeepCopyInto

func (in *PipelineStageAndChildren) DeepCopyInto(out *PipelineStageAndChildren)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PipelineStructure

type PipelineStructure struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	PipelineRef       *string `json:"pipelineRef" protobuf:"bytes,2,opt,name=pipelineref"`
	PipelineRunRef    *string `json:"pipelineRunRef" protobuf:"bytes,3,opt,name=pipelinerunref"`

	Stages []PipelineStructureStage `json:"stages,omitempty" protobuf:"bytes,3,opt,name=stages"`
}

PipelineStructure contains references to the Pipeline and PipelineRun, and a list of PipelineStructureStages in the pipeline. This allows us to map between a running Pod to its TaskRun, to the TaskRun's Task and PipelineRun, and finally from there to the stage and potential parent stages that the Pod is actually executing, for use with populating PipelineActivity and providing logs.

func (*PipelineStructure) DeepCopy

func (in *PipelineStructure) DeepCopy() *PipelineStructure

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStructure.

func (*PipelineStructure) DeepCopyInto

func (in *PipelineStructure) DeepCopyInto(out *PipelineStructure)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PipelineStructure) DeepCopyObject

func (in *PipelineStructure) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PipelineStructure) GetAllStagesAndChildren

func (ps *PipelineStructure) GetAllStagesAndChildren() []*PipelineStageAndChildren

GetAllStagesAndChildren will get a slice of all top-level stages in this pipeline, with their children

func (*PipelineStructure) GetAllStagesWithSteps

func (ps *PipelineStructure) GetAllStagesWithSteps() []PipelineStructureStage

GetAllStagesWithSteps gets all stages in this pipeline that have steps, and therefore will have a pod.

func (*PipelineStructure) GetStage

func (ps *PipelineStructure) GetStage(name string) *PipelineStructureStage

GetStage will get the PipelineStructureStage with the given name, if it exists.

func (*PipelineStructure) GetStageAndChildren

func (ps *PipelineStructure) GetStageAndChildren(name string) *PipelineStageAndChildren

GetStageAndChildren will get a stage of a given name and all of its child stages.

type PipelineStructureList

type PipelineStructureList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []PipelineStructure `json:"items"`
}

PipelineStructureList is a list of PipelineStructureList resources

func (*PipelineStructureList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStructureList.

func (*PipelineStructureList) DeepCopyInto

func (in *PipelineStructureList) DeepCopyInto(out *PipelineStructureList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PipelineStructureList) DeepCopyObject

func (in *PipelineStructureList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PipelineStructureStage

type PipelineStructureStage struct {
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Must have one of TaskRef+TaskRunRef, Stages, or Parallel
	// +optional
	TaskRef *string `json:"taskRef,omitempty" protobuf:"bytes,2,opt,name=taskref"`
	// Populated during pod discovery, not at initial creation time.
	// +optional
	TaskRunRef *string `json:"taskRunRef,omitempty" protobuf:"bytes,3,opt,name=taskrunref"`
	// +optional
	Stages []string `json:"stages,omitempty" protobuf:"bytes,4,opt,name=stages"`
	// +optional
	Parallel []string `json:"parallel,omitempty" protobuf:"bytes,5,opt,name=parallel"`

	Depth int8 `json:"depth" protobuf:"bytes,6,opt,name=depth"`
	// +optional
	Parent *string `json:"parent,omitempty" protobuf:"bytes,7,opt,name=parent"`
	// +optional
	Previous *string `json:"previous,omitempty" protobuf:"bytes,8,opt,name=previous"`
	// +optional
	Next *string `json:"next,omitempty" protobuf:"bytes,9,opt,name=next"`
}

PipelineStructureStage contains the stage's name, one of either a reference to the Task corresponding to the stage if it has steps, a list of sequential stage names nested within this stage, or a list of parallel stage names nested within this stage, and information on this stage's depth within the PipelineStructure as a whole, the name of its parent stage, if any, the name of the stage before it in execution order, if any, and the name of the stage after it in execution order, if any.

func (*PipelineStructureStage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStructureStage.

func (*PipelineStructureStage) DeepCopyInto

func (in *PipelineStructureStage) DeepCopyInto(out *PipelineStructureStage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Plugin

type Plugin struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec PluginSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Plugin represents a binary plugin installed into this Jenkins X team

func (*Plugin) DeepCopy

func (in *Plugin) DeepCopy() *Plugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.

func (*Plugin) DeepCopyInto

func (in *Plugin) DeepCopyInto(out *Plugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Plugin) DeepCopyObject

func (in *Plugin) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PluginList

type PluginList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Plugin `json:"items"`
}

PluginList is a list of Plugins available for a team

func (*PluginList) DeepCopy

func (in *PluginList) DeepCopy() *PluginList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginList.

func (*PluginList) DeepCopyInto

func (in *PluginList) DeepCopyInto(out *PluginList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PluginList) DeepCopyObject

func (in *PluginList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PluginSpec

type PluginSpec struct {
	SubCommand  string   `json:"subCommand,omitempty"  protobuf:"bytes,3,opt,name=subCommand"`
	Group       string   `json:"group,omitempty"  protobuf:"bytes,4,opt,name=group"`
	Binaries    []Binary `json:"binaries,omitempty" protobuf:"bytes,7opt,name=binaries"`
	Description string   `json:"description,omitempty"  protobuf:"bytes,2,opt,name=description"`
	Name        string   `json:"name,omitempty"  protobuf:"bytes,5,opt,name=name"`
	Version     string   `json:"version,omitempty"  protobuf:"bytes,6,opt,name=version"`
}

PluginSpec provides details of a binary plugin available for a team

func (*PluginSpec) DeepCopy

func (in *PluginSpec) DeepCopy() *PluginSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSpec.

func (*PluginSpec) DeepCopyInto

func (in *PluginSpec) DeepCopyInto(out *PluginSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Postsubmit

type Postsubmit struct {
	// +optional
	*JobBase
	// +optional
	*RegexpChangeMatcher
	// +optional
	*Brancher

	// Context is the name of the GitHub status context for the job.
	Context *string `json:"context" protobuf:"bytes,1,opt,name=context"`

	// Report will comment and set status on GitHub.
	Report *bool `json:"report,omitempty" protobuf:"bytes,2,opt,name=report"`
}

Postsubmit runs on push events.

func (*Postsubmit) DeepCopy

func (in *Postsubmit) DeepCopy() *Postsubmit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Postsubmit.

func (*Postsubmit) DeepCopyInto

func (in *Postsubmit) DeepCopyInto(out *Postsubmit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Postsubmits

type Postsubmits struct {
	// Items are the post submit configurations
	Items []*Postsubmit `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
	// Replace the existing entries
	Replace bool `json:"replace,omitempty" protobuf:"bytes,2,opt,name=replace"`
}

Postsubmits is a list of Postsubmit job configurations that can optionally completely replace the Postsubmit job configurations in the parent scheduler

func (*Postsubmits) DeepCopy

func (in *Postsubmits) DeepCopy() *Postsubmits

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Postsubmits.

func (*Postsubmits) DeepCopyInto

func (in *Postsubmits) DeepCopyInto(out *Postsubmits)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Presubmit

type Presubmit struct {
	// +optional
	*JobBase
	// +optional
	*Brancher
	// +optional
	*RegexpChangeMatcher

	// AlwaysRun automatically for every PR, or only when a comment triggers it. By default true.
	AlwaysRun *bool `json:"alwaysRun" protobuf:"bytes,1,opt,name=alwaysRun"`

	// Context is the name of the Git Provider status context for the job.
	Context *string `json:"context" protobuf:"bytes,2,opt,name=context"`
	// Optional indicates that the job's status context should not be required for merge. By default false.
	Optional *bool `json:"optional,omitempty" protobuf:"bytes,3,opt,name=optional"`
	// Report enables reporting the job status on the git provider
	Report *bool `json:"report,omitempty"  protobuf:"bytes,4,opt,name=report"`

	// Trigger is the regular expression to trigger the job.
	// e.g. `@k8s-bot e2e test this`
	// RerunCommand must also be specified if this field is specified.
	// (Default: `(?m)^/test (?:.*? )?<job name>(?: .*?)?$`)
	Trigger *string `json:"trigger"  protobuf:"bytes,5,opt,name=trigger"`
	// The RerunCommand to give users. Must match Trigger.
	// Trigger must also be specified if this field is specified.
	// (Default: `/test <job name>`)
	RerunCommand *string `json:"rerunCommand" protobuf:"bytes,6,opt,name=rerunCommand"`
	// Override the default method of merge. Valid options are squash, rebase, and merge.
	MergeType *string `json:"mergeMethod,omitempty" protobuf:"bytes,7,opt,name=mergeMethod"`

	Queries []*Query `json:"queries,omitempty" protobuf:"bytes,8,opt,name=query"`

	Policy *ProtectionPolicies `json:"policy,omitempty" protobuf:"bytes,9,opt,name=policy"`
	// ContextOptions defines the merge options. If not set it will infer
	// the required and optional contexts from the jobs configured and use the Git Provider
	// combined status; otherwise it may apply the branch protection setting or let user
	// define their own options in case branch protection is not used.
	ContextPolicy *RepoContextPolicy `json:"context_options,omitempty" protobuf:"bytes,10,opt,name=contextPolicy"`
}

Presubmit defines a job configuration for pull requests

func (*Presubmit) DeepCopy

func (in *Presubmit) DeepCopy() *Presubmit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Presubmit.

func (*Presubmit) DeepCopyInto

func (in *Presubmit) DeepCopyInto(out *Presubmit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Presubmits

type Presubmits struct {
	// Items are the Presubmit configurtations
	Items []*Presubmit `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
	// Replace the existing entries
	Replace bool `json:"replace,omitempty" protobuf:"bytes,2,opt,name=replace"`
}

Presubmits is a list of Presubmit job configurations that can optionally completely replace the Presubmit job configurations in the parent scheduler

func (*Presubmits) DeepCopy

func (in *Presubmits) DeepCopy() *Presubmits

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Presubmits.

func (*Presubmits) DeepCopyInto

func (in *Presubmits) DeepCopyInto(out *Presubmits)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PreviewActivityStep

type PreviewActivityStep struct {
	CoreActivityStep `json:",inline"`

	Environment    string `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"`
	PullRequestURL string `json:"pullRequestURL,omitempty" protobuf:"bytes,2,opt,name=pullRequestURL"`
	ApplicationURL string `json:"applicationURL,omitempty" protobuf:"bytes,3,opt,name=applicationURL"`
}

PreviewActivityStep is the step of creating a preview environment as part of a Pull Request pipeline

func (*PreviewActivityStep) DeepCopy

func (in *PreviewActivityStep) DeepCopy() *PreviewActivityStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewActivityStep.

func (*PreviewActivityStep) DeepCopyInto

func (in *PreviewActivityStep) DeepCopyInto(out *PreviewActivityStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PreviewGitSpec

type PreviewGitSpec struct {
	Name            string   `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	URL             string   `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"`
	User            UserSpec `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
	Title           string   `json:"title,omitempty" protobuf:"bytes,4,opt,name=title"`
	Description     string   `json:"description,omitempty" protobuf:"bytes,5,opt,name=description"`
	BuildStatus     string   `json:"buildStatus,omitempty" protobuf:"bytes,6,opt,name=buildStatus"`
	BuildStatusURL  string   `json:"buildStatusUrl,omitempty" protobuf:"bytes,7,opt,name=buildStatusUrl"`
	ApplicationName string   `json:"appName,omitempty" protobuf:"bytes,8,opt,name=appName"`
	ApplicationURL  string   `json:"applicationURL,omitempty" protobuf:"bytes,9,opt,name=applicationURL"`
}

PreviewGitSpec is the preview git branch/pull request details

func (*PreviewGitSpec) DeepCopy

func (in *PreviewGitSpec) DeepCopy() *PreviewGitSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewGitSpec.

func (*PreviewGitSpec) DeepCopyInto

func (in *PreviewGitSpec) DeepCopyInto(out *PreviewGitSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PromoteActivityStep

type PromoteActivityStep struct {
	CoreActivityStep `json:",inline"`

	Environment    string                  `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"`
	PullRequest    *PromotePullRequestStep `json:"pullRequest,omitempty" protobuf:"bytes,2,opt,name=pullRequest"`
	Update         *PromoteUpdateStep      `json:"update,omitempty" protobuf:"bytes,3,opt,name=update"`
	ApplicationURL string                  `json:"applicationURL,omitempty" protobuf:"bytes,4,opt,name=environment"`
}

PromoteActivityStep is the step of promoting a version of an application to an environment

func (*PromoteActivityStep) DeepCopy

func (in *PromoteActivityStep) DeepCopy() *PromoteActivityStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoteActivityStep.

func (*PromoteActivityStep) DeepCopyInto

func (in *PromoteActivityStep) DeepCopyInto(out *PromoteActivityStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PromotePullRequestStep

type PromotePullRequestStep struct {
	CoreActivityStep `json:",inline"`

	PullRequestURL string `json:"pullRequestURL,omitempty" protobuf:"bytes,1,opt,name=pullRequestURL"`
	MergeCommitSHA string `json:"mergeCommitSHA,omitempty" protobuf:"bytes,2,opt,name=mergeCommitSHA"`
}

PromotePullRequestStep is the step for promoting a version to an environment by raising a Pull Request on the git repository of the environment

func (*PromotePullRequestStep) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotePullRequestStep.

func (*PromotePullRequestStep) DeepCopyInto

func (in *PromotePullRequestStep) DeepCopyInto(out *PromotePullRequestStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PromoteUpdateStep

type PromoteUpdateStep struct {
	CoreActivityStep `json:",inline"`

	Statuses []GitStatus `json:"statuses,omitempty" protobuf:"bytes,1,opt,name=statuses"`
}

PromoteUpdateStep is the step for updating a promotion after the Pull Request merges to master

func (*PromoteUpdateStep) DeepCopy

func (in *PromoteUpdateStep) DeepCopy() *PromoteUpdateStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoteUpdateStep.

func (*PromoteUpdateStep) DeepCopyInto

func (in *PromoteUpdateStep) DeepCopyInto(out *PromoteUpdateStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PromoteWorkflowStep

type PromoteWorkflowStep struct {
	Environment string `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"`
}

PromoteWorkflowStep is the step of promoting a version of an application to an environment

func (*PromoteWorkflowStep) DeepCopy

func (in *PromoteWorkflowStep) DeepCopy() *PromoteWorkflowStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoteWorkflowStep.

func (*PromoteWorkflowStep) DeepCopyInto

func (in *PromoteWorkflowStep) DeepCopyInto(out *PromoteWorkflowStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PromotionEngineType

type PromotionEngineType string

PromotionEngineType is the type of promotion implementation the team uses

const (
	PromotionEngineJenkins PromotionEngineType = "Jenkins"
	PromotionEngineProw    PromotionEngineType = "Prow"
)

type PromotionStrategyType

type PromotionStrategyType string

PromotionStrategyType is the type of a promotion strategy

const (
	// PromotionStrategyTypeManual specifies that promotion happens manually
	PromotionStrategyTypeManual PromotionStrategyType = "Manual"
	// PromotionStrategyTypeAutomatic specifies that promotion happens automatically
	PromotionStrategyTypeAutomatic PromotionStrategyType = "Auto"
	// PromotionStrategyTypeNever specifies that promotion is disabled for this environment
	PromotionStrategyTypeNever PromotionStrategyType = "Never"
)

type ProtectionPolicies

type ProtectionPolicies struct {
	// +optional
	*ProtectionPolicy
	// +optional
	Replace bool
	Items   map[string]*ProtectionPolicy `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
}

ProtectionPolicies defines the branch protection policies

func (*ProtectionPolicies) DeepCopy

func (in *ProtectionPolicies) DeepCopy() *ProtectionPolicies

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionPolicies.

func (*ProtectionPolicies) DeepCopyInto

func (in *ProtectionPolicies) DeepCopyInto(out *ProtectionPolicies)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProtectionPolicy

type ProtectionPolicy struct {
	// Protect overrides whether branch protection is enabled if set.
	Protect *bool `json:"protect,omitempty"`
	// RequiredStatusChecks configures github contexts
	RequiredStatusChecks *BranchProtectionContextPolicy `json:"requiredStatusChecks,omitempty"`
	// Admins overrides whether protections apply to admins if set.
	Admins *bool `json:"enforceAdmins,omitempty"`
	// Restrictions limits who can merge
	Restrictions *Restrictions `json:"restrictions,omitempty"`
	// RequiredPullRequestReviews specifies approval/review criteria.
	RequiredPullRequestReviews *ReviewPolicy `json:"requiredPullRequestReviews,omitempty"`
}

ProtectionPolicy for merging.

func (*ProtectionPolicy) DeepCopy

func (in *ProtectionPolicy) DeepCopy() *ProtectionPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionPolicy.

func (*ProtectionPolicy) DeepCopyInto

func (in *ProtectionPolicy) DeepCopyInto(out *ProtectionPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProwConfigType

type ProwConfigType string

ProwConfigType is the type of prow configuration

const (
	// ProwConfigScheduler when we use the Scheduler CRDs to generate the Prow ConfigMaps
	ProwConfigScheduler ProwConfigType = "Scheduler"

	// ProwConfigLegacy when we manually modify the Prow ConfigMaps 'config' and 'plugins' by hand
	ProwConfigLegacy ProwConfigType = "Legacy"
)

type ProwEngineType

type ProwEngineType string

ProwEngineType is the type of prow execution engine

const (
	// ProwEngineTypeTekton represents using Tekton as the execution engine with Prow
	ProwEngineTypeTekton ProwEngineType = "Tekton"
)

type PullRequestInfo

type PullRequestInfo struct {
	PullRequestNumber string `json:"pullRequestNumber,omitempty" protobuf:"bytes,1,opt,name=pullRequestNumber"`
	// LastBuildNumberForCommit is the number of the last successful build of this PR outside of a batch
	LastBuildNumberForCommit string `json:"lastBuildNumberForCommit,omitempty" protobuf:"bytes,2,opt,name=lastBuildNumberForCommit"`
	// LastBuildSHA is the commit SHA in the last successful build of this PR outside of a batch.
	LastBuildSHA string `json:"lastBuildSHA,omitempty" protobuf:"bytes,3,opt,name=lastBuildSHA"`
}

PullRequestInfo contains information about a PR included in a batch, like its PR number, the last build number, and SHA

func (*PullRequestInfo) DeepCopy

func (in *PullRequestInfo) DeepCopy() *PullRequestInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestInfo.

func (*PullRequestInfo) DeepCopyInto

func (in *PullRequestInfo) DeepCopyInto(out *PullRequestInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PullRequestMergeType

type PullRequestMergeType string

PullRequestMergeType enumerates the types of merges the Git Provider API can perform https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button

const (
	MergeMerge  PullRequestMergeType = "merge"
	MergeRebase PullRequestMergeType = "rebase"
	MergeSquash PullRequestMergeType = "squash"
)

Possible types of merges for the Git Provider merge API

type Query

type Query struct {
	ExcludedBranches       *ReplaceableSliceOfStrings `json:"excludedBranches,omitempty" protobuf:"bytes,1,opt,name=excludedBranches"`
	IncludedBranches       *ReplaceableSliceOfStrings `json:"includedBranches,omitempty" protobuf:"bytes,2,opt,name=includedBranches"`
	Labels                 *ReplaceableSliceOfStrings `json:"labels,omitempty" protobuf:"bytes,3,opt,name=labels"`
	MissingLabels          *ReplaceableSliceOfStrings `json:"missingLabels,omitempty" protobuf:"bytes,4,opt,name=missingLabels"`
	Milestone              *string                    `json:"milestone,omitempty" protobuf:"bytes,5,opt,name=milestone"`
	ReviewApprovedRequired *bool                      `json:"reviewApprovedRequired,omitempty" protobuf:"bytes,6,opt,name=reviewApprovedRequired"`
}

Query is turned into a Git Provider search query. See the docs for details: https://help.github.com/articles/searching-issues-and-pull-requests/

func (*Query) DeepCopy

func (in *Query) DeepCopy() *Query

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Query.

func (*Query) DeepCopyInto

func (in *Query) DeepCopyInto(out *Query)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type QuickStartLocation

type QuickStartLocation struct {
	GitURL   string   `json:"gitUrl,omitempty" protobuf:"bytes,1,opt,name=gitUrl"`
	GitKind  string   `json:"gitKind,omitempty" protobuf:"bytes,2,opt,name=gitKind"`
	Owner    string   `json:"owner,omitempty" protobuf:"bytes,3,opt,name=owner"`
	Includes []string `json:"includes,omitempty" protobuf:"bytes,4,opt,name=includes"`
	Excludes []string `json:"excludes,omitempty" protobuf:"bytes,5,opt,name=excludes"`
}

QuickStartLocation

func (*QuickStartLocation) DeepCopy

func (in *QuickStartLocation) DeepCopy() *QuickStartLocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuickStartLocation.

func (*QuickStartLocation) DeepCopyInto

func (in *QuickStartLocation) DeepCopyInto(out *QuickStartLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RegexpChangeMatcher

type RegexpChangeMatcher struct {
	// RunIfChanged defines a regex used to select which subset of file changes should trigger this job.
	// If any file in the changeset matches this regex, the job will be triggered
	RunIfChanged *string `json:"runIfChanged,omitempty"`
}

RegexpChangeMatcher is for code shared between jobs that run only when certain files are changed.

func (*RegexpChangeMatcher) DeepCopy

func (in *RegexpChangeMatcher) DeepCopy() *RegexpChangeMatcher

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegexpChangeMatcher.

func (*RegexpChangeMatcher) DeepCopyInto

func (in *RegexpChangeMatcher) DeepCopyInto(out *RegexpChangeMatcher)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Release

type Release struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ReleaseSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ReleaseStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Release represents a single version of an app that has been released

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Release) DeepCopyObject

func (in *Release) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ReleaseList

type ReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Release `json:"items"`
}

ReleaseList is a list of Release resources

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseList.

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReleaseList) DeepCopyObject

func (in *ReleaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ReleaseSpec

type ReleaseSpec struct {
	Name              string             `json:"name,omitempty"  protobuf:"bytes,1,opt,name=name"`
	Version           string             `json:"version,omitempty"  protobuf:"bytes,2,opt,name=version"`
	GitHTTPURL        string             `json:"gitHttpUrl,omitempty"  protobuf:"bytes,3,opt,name=gitHttpUrl"`
	GitCloneURL       string             `json:"gitCloneUrl,omitempty"  protobuf:"bytes,4,opt,name=gitCloneUrl"`
	Commits           []CommitSummary    `json:"commits,omitempty" protobuf:"bytes,5,opt,name=commits"`
	Issues            []IssueSummary     `json:"issues,omitempty" protobuf:"bytes,6,opt,name=issues"`
	PullRequests      []IssueSummary     `json:"pullRequests,omitempty" protobuf:"bytes,7,opt,name=pullRequests"`
	DependencyUpdates []DependencyUpdate `json:"dependencyUpdates,omitempty" protobuf:"bytes,11,opt,name=dependencyUpdates"`
	ReleaseNotesURL   string             `json:"releaseNotesURL,omitempty" protobuf:"bytes,8,opt,name=releaseNotesURL"`
	GitRepository     string             `json:"gitRepository,omitempty" protobuf:"bytes,9,opt,name=gitRepository"`
	GitOwner          string             `json:"gitOwner,omitempty" protobuf:"bytes,10,opt,name=gitOwner"`
}

ReleaseSpec is the specification of the Release

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReleaseStatus

type ReleaseStatus struct {
	Status ReleaseStatusType `json:"status,omitempty"  protobuf:"bytes,1,opt,name=status"`
}

ReleaseStatus is the status of a release

func (*ReleaseStatus) DeepCopy

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.

func (*ReleaseStatus) DeepCopyInto

func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReleaseStatusType

type ReleaseStatusType string

ReleaseStatusType is the status of a release; usually deployed or failed at completion

const (
	// ReleaseStatusTypeNone an activity step has not started yet
	ReleaseStatusTypeNone ReleaseStatusType = ""
	// ReleaseStatusTypePending the release is pending
	ReleaseStatusTypePending ReleaseStatusType = "Pending"
	// ReleaseStatusTypeDeployed a release has been deployed
	ReleaseStatusTypeDeployed ReleaseStatusType = "Deployed"
	// ReleaseStatusTypeFailed release failed
	ReleaseStatusTypeFailed ReleaseStatusType = "Failed"
)

type ReplaceableMapOfStringContextPolicy

type ReplaceableMapOfStringContextPolicy struct {
	Replace bool `json:"replace,omitempty"`
	Items   map[string]*ContextPolicy
}

ReplaceableMapOfStringContextPolicy is a map of context policies that can optionally completely replace any context policies defined in the parent scheduler

func (*ReplaceableMapOfStringContextPolicy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplaceableMapOfStringContextPolicy.

func (*ReplaceableMapOfStringContextPolicy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReplaceableMapOfStringString

type ReplaceableMapOfStringString struct {
	Items map[string]string `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
	// Replace the existing entries
	Replace bool `json:"replace,omitempty" protobuf:"bytes,2,opt,name=replace"`
}

ReplaceableMapOfStringString is a map of strings that can optionally completely replace the map of strings in the parent scheduler

func (*ReplaceableMapOfStringString) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplaceableMapOfStringString.

func (*ReplaceableMapOfStringString) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReplaceableSliceOfExternalPlugins

type ReplaceableSliceOfExternalPlugins struct {
	Replace bool
	Items   []*ExternalPlugin `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
}

ReplaceableSliceOfExternalPlugins is a list of external plugins that can optionally completely replace the plugins in any parent SchedulerSpec

func (*ReplaceableSliceOfExternalPlugins) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplaceableSliceOfExternalPlugins.

func (*ReplaceableSliceOfExternalPlugins) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReplaceableSliceOfStrings

type ReplaceableSliceOfStrings struct {
	// Items is the string values
	Items []string `json:"entries,omitempty" protobuf:"bytes,1,opt,name=entries"`
	// Replace the existing entries
	Replace bool `json:"replace,omitempty" protobuf:"bytes,2,opt,name=replace"`
}

ReplaceableSliceOfStrings is a slice of strings that can optionally completely replace the slice of strings defined in the parent scheduler

func (*ReplaceableSliceOfStrings) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplaceableSliceOfStrings.

func (*ReplaceableSliceOfStrings) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepoContextPolicy

type RepoContextPolicy struct {
	*ContextPolicy
	Branches *ReplaceableMapOfStringContextPolicy `json:"branches,omitempty"`
}

RepoContextPolicy overrides the policy for repo, and any branch overrides.

func (*RepoContextPolicy) DeepCopy

func (in *RepoContextPolicy) DeepCopy() *RepoContextPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoContextPolicy.

func (*RepoContextPolicy) DeepCopyInto

func (in *RepoContextPolicy) DeepCopyInto(out *RepoContextPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceReference

type ResourceReference struct {
	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty" 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"`
	// UID of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"`
}

func (*ResourceReference) DeepCopy

func (in *ResourceReference) DeepCopy() *ResourceReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.

func (*ResourceReference) DeepCopyInto

func (in *ResourceReference) DeepCopyInto(out *ResourceReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Restrictions

type Restrictions struct {
	Users *ReplaceableSliceOfStrings `json:"users"`
	Teams *ReplaceableSliceOfStrings `json:"teams"`
}

Restrictions limits who can merge Users and Teams entries are appended to parent lists.

func (*Restrictions) DeepCopy

func (in *Restrictions) DeepCopy() *Restrictions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restrictions.

func (*Restrictions) DeepCopyInto

func (in *Restrictions) DeepCopyInto(out *Restrictions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReviewPolicy

type ReviewPolicy struct {
	// Restrictions appends users/teams that are allowed to merge
	DismissalRestrictions *Restrictions `json:"dismissalRestrictions,omitempty"`
	// DismissStale overrides whether new commits automatically dismiss old reviews if set
	DismissStale *bool `json:"dismissStaleReviews,omitempty"`
	// RequireOwners overrides whether CODEOWNERS must approve PRs if set
	RequireOwners *bool `json:"requireCodeOwnerReviews,omitempty"`
	// Approvals overrides the number of approvals required if set (set to 0 to disable)
	Approvals *int `json:"requiredApprovingReviewCount,omitempty"`
}

ReviewPolicy specifies git provider approval/review criteria. Any nil values inherit the policy from the parent, otherwise bool/ints are overridden. Non-empty lists are appended to parent lists.

func (*ReviewPolicy) DeepCopy

func (in *ReviewPolicy) DeepCopy() *ReviewPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReviewPolicy.

func (*ReviewPolicy) DeepCopyInto

func (in *ReviewPolicy) DeepCopyInto(out *ReviewPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Scheduler

type Scheduler struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec SchedulerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

Scheduler is configuration for a pipeline scheduler

func (*Scheduler) DeepCopy

func (in *Scheduler) DeepCopy() *Scheduler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler.

func (*Scheduler) DeepCopyInto

func (in *Scheduler) DeepCopyInto(out *Scheduler)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Scheduler) DeepCopyObject

func (in *Scheduler) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SchedulerAgent

type SchedulerAgent struct {
	// Agent defines the agent used to schedule jobs, by default Prow
	Agent *string `json:"agent"`
}

SchedulerAgent defines the scheduler agent configuration

func (*SchedulerAgent) DeepCopy

func (in *SchedulerAgent) DeepCopy() *SchedulerAgent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerAgent.

func (*SchedulerAgent) DeepCopyInto

func (in *SchedulerAgent) DeepCopyInto(out *SchedulerAgent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SchedulerList

type SchedulerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Scheduler `json:"items"`
}

SchedulerList is a list of configurations for a pipeline scheduler

func (*SchedulerList) DeepCopy

func (in *SchedulerList) DeepCopy() *SchedulerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerList.

func (*SchedulerList) DeepCopyInto

func (in *SchedulerList) DeepCopyInto(out *SchedulerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SchedulerList) DeepCopyObject

func (in *SchedulerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SchedulerSpec

type SchedulerSpec struct {
	ScehdulerAgent  *SchedulerAgent                    `json:"schedulerAgent,omitempty" protobuf:"bytes,1,opt,name=schedulerAgent"`
	Policy          *GlobalProtectionPolicy            `json:"policy,omitempty" protobuf:"bytes,2,opt,name=policy"`
	Presubmits      *Presubmits                        `json:"presubmits,omitempty" protobuf:"bytes,3,opt,name=presubmits"`
	Postsubmits     *Postsubmits                       `json:"postsubmits,omitempty" protobuf:"bytes,4,opt,name=postsubmits"`
	Trigger         *Trigger                           `json:"trigger,omitempty" protobuf:"bytes,5,opt,name=trigger"`
	Approve         *Approve                           `json:"approve,omitempty" protobuf:"bytes,6,opt,name=approve"`
	LGTM            *Lgtm                              `json:"lgtm,omitempty" protobuf:"bytes,7,opt,name=lgtm"`
	ExternalPlugins *ReplaceableSliceOfExternalPlugins `json:"externalPlugins,omitempty" protobuf:"bytes,8,opt,name=externalPlugins"`

	Merger *Merger `json:"merger,omitempty" protobuf:"bytes,9,opt,name=merger"`

	// Plugins is a list of plugin names enabled for a repo
	Plugins       *ReplaceableSliceOfStrings `json:"plugins,omitempty" protobuf:"bytes,10,opt,name=plugins"`
	ConfigUpdater *ConfigUpdater             `json:"configUpdater,omitempty" protobuf:"bytes,11,opt,name=configUpdater"`
	Welcome       []*Welcome                 `json:"welcome,omitempty" protobuf:"bytes,12,opt,name=welcome"`
	Periodics     *Periodics                 `json:"periodics,omitempty" protobuf:"bytes,13,opt,name=periodics"`
	Attachments   []*Attachment              `json:"attachments,omitempty" protobuf:"bytes,13,opt,name=attachments"`
}

SchedulerSpec defines the pipeline scheduler (e.g. Prow) configuration

func (*SchedulerSpec) DeepCopy

func (in *SchedulerSpec) DeepCopy() *SchedulerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerSpec.

func (*SchedulerSpec) DeepCopyInto

func (in *SchedulerSpec) DeepCopyInto(out *SchedulerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceRepository

type SourceRepository struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec SourceRepositorySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

SourceRepository is the metadata for an Application/Project/SourceRepository

func (*SourceRepository) DeepCopy

func (in *SourceRepository) DeepCopy() *SourceRepository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepository.

func (*SourceRepository) DeepCopyInto

func (in *SourceRepository) DeepCopyInto(out *SourceRepository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRepository) DeepCopyObject

func (in *SourceRepository) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SourceRepository) Sanitize

func (repo *SourceRepository) Sanitize()

Sanitize sanitizes the source repository URL

type SourceRepositoryGroup

type SourceRepositoryGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              SourceRepositoryGroupSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

SourceRepositoryGroup is the metadata for an Application/Project/SourceRepository

func (*SourceRepositoryGroup) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryGroup.

func (*SourceRepositoryGroup) DeepCopyInto

func (in *SourceRepositoryGroup) DeepCopyInto(out *SourceRepositoryGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRepositoryGroup) DeepCopyObject

func (in *SourceRepositoryGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SourceRepositoryGroupList

type SourceRepositoryGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []SourceRepositoryGroup `json:"items"`
}

SourceRepositoryGroupList is a structure used by k8s to store lists of apps

func (*SourceRepositoryGroupList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryGroupList.

func (*SourceRepositoryGroupList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRepositoryGroupList) DeepCopyObject

func (in *SourceRepositoryGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SourceRepositoryGroupSpec

type SourceRepositoryGroupSpec struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	SourceRepositorySpec []ResourceReference `json:"repositories" protobuf:"bytes,2,opt,name=repositories`
	Scheduler            ResourceReference   `json:"scheduler" protobuf:"bytes,3,opt,name=scheduler`
}

SourceRepositoryGroupSpec is the metadata for an Application/Project/SourceRepository

func (*SourceRepositoryGroupSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryGroupSpec.

func (*SourceRepositoryGroupSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SourceRepositoryList

type SourceRepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []SourceRepository `json:"items"`
}

SourceRepositoryList is a structure used by k8s to store lists of apps

func (*SourceRepositoryList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositoryList.

func (*SourceRepositoryList) DeepCopyInto

func (in *SourceRepositoryList) DeepCopyInto(out *SourceRepositoryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRepositoryList) DeepCopyObject

func (in *SourceRepositoryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SourceRepositorySpec

type SourceRepositorySpec struct {
	Description string `json:"description,omitempty" protobuf:"bytes,1,opt,name=description"`
	// Provider stores the URL of the git provider such as https://github.com
	Provider string `json:"provider,omitempty" protobuf:"bytes,2,opt,name=provider"`
	Org      string `json:"org,omitempty" protobuf:"bytes,3,opt,name=org"`
	Repo     string `json:"repo,omitempty" protobuf:"bytes,4,opt,name=repo"`
	// ProviderName is a logical name for the provider without any URL scheme which can be used in a label selector
	ProviderName string `json:"providerName,omitempty" protobuf:"bytes,5,opt,name=providerName"`
	// ProviderKind is the kind of provider (github / bitbucketcloud / bitbucketserver etc)
	ProviderKind string `json:"providerKind,omitempty" protobuf:"bytes,6,opt,name=providerKind"`
	// URL is the web URL of the project page
	URL string `json:"url,omitempty" protobuf:"bytes,7,opt,name=url"`
	// SSHCloneURL is the git URL to clone this repository using SSH
	SSHCloneURL string `json:"sshCloneURL,omitempty" protobuf:"bytes,8,opt,name=sshCloneURL"`
	// HTTPCloneURL is the git URL to clone this repository using HTTP/HTTPS
	HTTPCloneURL string `json:"httpCloneURL,omitempty" protobuf:"bytes,9,opt,name=httpCloneURL"`
	// Scheduler a reference to a custom scheduler otherwise we default to the Team's Scededuler
	Scheduler ResourceReference `json:"scheduler,omitempty" protobuf:"bytes,10,opt,name=scheduler"`
}

SourceRepositorySpec provides details of the metadata for an App

func (*SourceRepositorySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepositorySpec.

func (*SourceRepositorySpec) DeepCopyInto

func (in *SourceRepositorySpec) DeepCopyInto(out *SourceRepositorySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StageActivityStep

type StageActivityStep struct {
	CoreActivityStep `json:",inline"`

	Steps []CoreActivityStep `json:"steps,omitempty" protobuf:"bytes,1,opt,name=steps"`
}

StageActivityStep represents a stage of zero to more sub steps in a jenkins pipeline

func (*StageActivityStep) DeepCopy

func (in *StageActivityStep) DeepCopy() *StageActivityStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageActivityStep.

func (*StageActivityStep) DeepCopyInto

func (in *StageActivityStep) DeepCopyInto(out *StageActivityStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Statement

type Statement struct {
	Name             string   `json:"name" protobuf:"bytes,1,opt,name=name"`
	StatementType    string   `json:"statementType" protobuf:"bytes,2,opt,name=statementType"`
	MeasurementValue bool     `json:"measurementValue" protobuf:"bytes,3,opt,name=measurementValue"`
	Tags             []string `json:"tags,omitempty" protobuf:"bytes,4,opt,name=tags"`
}

Statement represents a decision that was made, for example that a promotion was approved or denied

func (*Statement) DeepCopy

func (in *Statement) DeepCopy() *Statement

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.

func (*Statement) DeepCopyInto

func (in *Statement) DeepCopyInto(out *Statement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StorageLocation

type StorageLocation struct {
	Classifier string `json:"classifier,omitempty" protobuf:"bytes,1,opt,name=classifier"`
	GitURL     string `json:"gitUrl,omitempty" protobuf:"bytes,2,opt,name=gitUrl"`
	GitBranch  string `json:"gitBranch,omitempty" protobuf:"bytes,3,opt,name=gitBranch"`
	BucketURL  string `json:"bucketUrl,omitempty" protobuf:"bytes,4,opt,name=bucketUrl"`
}

StorageLocation

func (*StorageLocation) DeepCopy

func (in *StorageLocation) DeepCopy() *StorageLocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageLocation.

func (*StorageLocation) DeepCopyInto

func (in *StorageLocation) DeepCopyInto(out *StorageLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StorageLocation) Description

func (s *StorageLocation) Description() string

Description returns the textual description of the storage location

func (*StorageLocation) GetGitBranch

func (s *StorageLocation) GetGitBranch() string

GetGitBranch returns the git branch to use when using git storage

func (*StorageLocation) IsEmpty

func (s *StorageLocation) IsEmpty() bool

IsEmpty returns true if the storage location is empty

type Team

type Team struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   TeamSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status TeamStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Team represents a request to create an actual Team which is a group of users, a development environment and optional other environments

func (*Team) DeepCopy

func (in *Team) DeepCopy() *Team

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Team.

func (*Team) DeepCopyInto

func (in *Team) DeepCopyInto(out *Team)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Team) DeepCopyObject

func (in *Team) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TeamKindType

type TeamKindType string

TeamKindType is the kind of an Team

const (
	// TeamKindTypeCD specifies that the Team is a regular permanent one
	TeamKindTypeCD TeamKindType = "CD"
	// TeamKindTypeCI specifies that the Team is a regular permanent one
	TeamKindTypeCI TeamKindType = "CI"
)

type TeamList

type TeamList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Team `json:"items"`
}

TeamList is a list of TypeMeta resources

func (*TeamList) DeepCopy

func (in *TeamList) DeepCopy() *TeamList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamList.

func (*TeamList) DeepCopyInto

func (in *TeamList) DeepCopyInto(out *TeamList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TeamList) DeepCopyObject

func (in *TeamList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TeamProvisionStatusType

type TeamProvisionStatusType string

TeamProvisionStatusType is the kind of an Team

const (
	// TeamProvisionStatusNone provisioning not started yet
	TeamProvisionStatusNone TeamProvisionStatusType = ""

	// TeamProvisionStatusPending specifies that the Team is being provisioned
	TeamProvisionStatusPending TeamProvisionStatusType = "Pending"

	// TeamProvisionStatusComplete specifies that the Team has been provisioned
	TeamProvisionStatusComplete TeamProvisionStatusType = "Complete"

	// TeamProvisionStatusDeleting specifies that the Team is being deleted
	TeamProvisionStatusDeleting TeamProvisionStatusType = "Deleting"

	// TeamProvisionStatusError specifies that the Team provisioning failed with some error
	TeamProvisionStatusError TeamProvisionStatusType = "Error"
)

type TeamSettings

type TeamSettings struct {
	UseGitOps           bool                 `json:"useGitOps,omitempty" protobuf:"bytes,1,opt,name=useGitOps"`
	AskOnCreate         bool                 `json:"askOnCreate,omitempty" protobuf:"bytes,2,opt,name=askOnCreate"`
	BranchPatterns      string               `json:"branchPatterns,omitempty" protobuf:"bytes,3,opt,name=branchPatterns"`
	ForkBranchPatterns  string               `json:"forkBranchPatterns,omitempty" protobuf:"bytes,4,opt,name=forkBranchPatterns"`
	QuickstartLocations []QuickStartLocation `json:"quickstartLocations,omitempty" protobuf:"bytes,5,opt,name=quickstartLocations"`
	BuildPackURL        string               `json:"buildPackUrl,omitempty" protobuf:"bytes,6,opt,name=buildPackUrl"`
	BuildPackRef        string               `json:"buildPackRef,omitempty" protobuf:"bytes,7,opt,name=buildPackRef"`
	HelmBinary          string               `json:"helmBinary,omitempty" protobuf:"bytes,8,opt,name=helmBinary"`
	PostPreviewJobs     []batchv1.Job        `json:"postPreviewJobs,omitempty" protobuf:"bytes,9,opt,name=postPreviewJobs"`
	PromotionEngine     PromotionEngineType  `json:"promotionEngine,omitempty" protobuf:"bytes,10,opt,name=promotionEngine"`
	NoTiller            bool                 `json:"noTiller,omitempty" protobuf:"bytes,11,opt,name=noTiller"`
	HelmTemplate        bool                 `json:"helmTemplate,omitempty" protobuf:"bytes,12,opt,name=helmTemplate"`
	GitServer           string               `` /* 140-byte string literal not displayed */
	Organisation        string               `` /* 155-byte string literal not displayed */
	EnvOrganisation     string               `` /* 176-byte string literal not displayed */
	PipelineUsername    string               `` /* 191-byte string literal not displayed */
	PipelineUserEmail   string               `` /* 201-byte string literal not displayed */
	DockerRegistryOrg   string               `` /* 189-byte string literal not displayed */
	GitPublic           bool                 `` /* 139-byte string literal not displayed */
	KubeProvider        string               `json:"kubeProvider,omitempty" protobuf:"bytes,18,opt,name=kubeProvider"`
	AppsRepository      string               `json:"appsRepository,omitempty" protobuf:"bytes,19,opt,name=appsRepository"`
	BuildPackName       string               `json:"buildPackName,omitempty" protobuf:"bytes,20,opt,name=buildPackName"`
	StorageLocations    []StorageLocation    `json:"storageLocations,omitempty" protobuf:"bytes,21,opt,name=storageLocations"`

	// DeployKind what kind of deployment ("default" uses regular Kubernetes Services and Deployments, "knative" uses the Knative Service resource instead)
	DeployKind string `json:"deployKind,omitempty" protobuf:"bytes,24,opt,name=deployKind"`

	// ImportMode indicates what kind of
	ImportMode ImportModeType `json:"importMode,omitempty" protobuf:"bytes,22,opt,name=importMode"`

	// ProwEngine is the kind of prow engine used such as knative build or build pipeline
	ProwEngine ProwEngineType `json:"prowEngine,omitempty" protobuf:"bytes,23,opt,name=prowEngine"`

	// VersionStreamURL contains the git clone URL for the Version Stream which is the set of versions to use for charts, images, packages etc
	VersionStreamURL string `json:"versionStreamUrl,omitempty" protobuf:"bytes,25,opt,name=versionStreamUrl"`

	// VersionStreamRef contains the git ref (tag or branch) in the VersionStreamURL repository to use as the version stream
	VersionStreamRef string `json:"versionStreamRef,omitempty" protobuf:"bytes,26,opt,name=versionStreamRef"`

	// AppsPrefixes is the list of prefixes for appNames
	AppsPrefixes     []string          `json:"appPrefixes,omitempty" protobuf:"bytes,27,opt,name=appPrefixes"`
	DefaultScheduler ResourceReference `json:"defaultScheduler,omitempty" protobuf:"bytes,28,opt,name=defaultScheduler"`

	// ProwConfig is the way we manage prow configurations
	ProwConfig ProwConfigType `json:"prowConfig,omitempty" protobuf:"bytes,29,opt,name=prowConfig"`

	// Profile is the profile in use (see jx profile)
	Profile string `json:"profile,omitempty" protobuf:"bytes,30,opt,name=profile"`

	// BootRequirements is a marshaled string of the jx-requirements.yml used in the most recent run for this cluster
	BootRequirements string `json:"bootRequirements,omitempty" protobuf:"bytes,31,opt,name=bootRequirements"`

	// DeployOptions configures options for how to deploy applications by default such as using canary rollouts (progressive delivery) or using horizontal pod autoscaler
	DeployOptions *DeployOptions `json:"deployOptions,omitempty" protobuf:"bytes,32,opt,name=deployOptions"`
}

TeamSettings the default settings for a team

func (*TeamSettings) DeepCopy

func (in *TeamSettings) DeepCopy() *TeamSettings

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSettings.

func (*TeamSettings) DeepCopyInto

func (in *TeamSettings) DeepCopyInto(out *TeamSettings)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TeamSettings) DefaultMissingValues

func (t *TeamSettings) DefaultMissingValues()

DefaultMissingValues defaults any missing values

func (*TeamSettings) GetDeployOptions

func (t *TeamSettings) GetDeployOptions() DeployOptions

GetDeployOptions returns the default deploy options for a team

func (*TeamSettings) GetImportMode

func (t *TeamSettings) GetImportMode() ImportModeType

GetImportMode returns the import mode - returning a default value if it has not been populated yet

func (*TeamSettings) GetProwConfig

func (t *TeamSettings) GetProwConfig() ProwConfigType

GetProwConfig returns the kind of prow configuration

func (*TeamSettings) GetProwEngine

func (t *TeamSettings) GetProwEngine() ProwEngineType

GetProwEngine returns the import mode - returning a default value if it has not been populated yet

func (*TeamSettings) IsJenkinsXPipelines

func (t *TeamSettings) IsJenkinsXPipelines() bool

IsJenkinsXPipelines returns true if using tekton

func (*TeamSettings) IsProw

func (t *TeamSettings) IsProw() bool

IsProw returns true if using Prow

func (*TeamSettings) IsSchedulerMode

func (t *TeamSettings) IsSchedulerMode() bool

IsSchedulerMode returns true if we setup Prow configuration via the Scheduler CRDs rather than directly modifying the Prow ConfigMaps directly

func (*TeamSettings) SetStorageLocation

func (t *TeamSettings) SetStorageLocation(classifier string, storage StorageLocation)

SetStorageLocation stores the given storage location in the team settings

func (*TeamSettings) StorageLocation

func (t *TeamSettings) StorageLocation(classifier string) StorageLocation

StorageLocation returns the storage location, lazily creating one if one does not already exist

func (*TeamSettings) StorageLocationOrDefault

func (t *TeamSettings) StorageLocationOrDefault(classifier string) StorageLocation

StorageLocationOrDefault returns the storage location if there is one or returns the default storage configuration

func (*TeamSettings) UnmarshalJSON

func (t *TeamSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON method handles the rename of GitPrivate to GitPublic.

type TeamSpec

type TeamSpec struct {
	Label   string       `json:"label,omitempty" protobuf:"bytes,1,opt,name=label"`
	Kind    TeamKindType `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"`
	Members []string     `json:"members,omitempty" protobuf:"bytes,3,opt,name=members"`
}

TeamSpec is the specification of an Team

func (*TeamSpec) DeepCopy

func (in *TeamSpec) DeepCopy() *TeamSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSpec.

func (*TeamSpec) DeepCopyInto

func (in *TeamSpec) DeepCopyInto(out *TeamSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamStatus

type TeamStatus struct {
	ProvisionStatus TeamProvisionStatusType `json:"provisionStatus,omitempty"`
	Message         string                  `json:"message,omitempty"`
}

TeamStatus is the status for an Team resource

func (*TeamStatus) DeepCopy

func (in *TeamStatus) DeepCopy() *TeamStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamStatus.

func (*TeamStatus) DeepCopyInto

func (in *TeamStatus) DeepCopyInto(out *TeamStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Trigger

type Trigger struct {
	// TrustedOrg is the org whose members' PRs will be automatically built
	// for PRs to the above repos. The default is the PR's org.
	TrustedOrg *string `json:"trustedOrg,omitempty" protobuf:"bytes,1,opt,name=trustedOrg"`
	// JoinOrgURL is a link that redirects users to a location where they
	// should be able to read more about joining the organization in order
	// to become trusted members. Defaults to the Github link of TrustedOrg.
	JoinOrgURL *string `json:"joinOrgUrl,omitempty" protobuf:"bytes,2,opt,name=joinOrgUrl"`
	// OnlyOrgMembers requires PRs and/or /ok-to-test comments to come from org members.
	// By default, trigger also include repo collaborators.
	OnlyOrgMembers *bool `json:"onlyOrgMembers,omitempty" protobuf:"bytes,3,opt,name=onlyOrgMembers"`
	// IgnoreOkToTest makes trigger ignore /ok-to-test comments.
	// This is a security mitigation to only allow testing from trusted users.
	IgnoreOkToTest *bool `json:"ignoreOkToTest,omitempty" protobuf:"bytes,4,opt,name=ignoreOkToTest"`
}

Trigger specifies a configuration for a single trigger.

The configuration for the trigger plugin is defined as a list of these structures.

func (*Trigger) DeepCopy

func (in *Trigger) DeepCopy() *Trigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.

func (*Trigger) DeepCopyInto

func (in *Trigger) DeepCopyInto(out *Trigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type User

type User struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Deprecated, use Spec
	User UserDetails `json:"user,omitempty" protobuf:"bytes,2,opt,name=user"`

	Spec UserDetails `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"`
}

User represents a git user so we have a cache to find by email address

func (*User) DeepCopy

func (in *User) DeepCopy() *User

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*User) DeepCopyObject

func (in *User) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*User) SubjectKind

func (u *User) SubjectKind() string

SubjectKind returns the subject kind of user - either "User" (native K8S user) or "ServiceAccount" (externally managed user).

func (*User) UnmarshalJSON

func (u *User) UnmarshalJSON(bs []byte) error

UnmarshalJSON method merges the deprecated User field and the Spec field on User, preferring Spec

type UserDetails

type UserDetails struct {
	Login             string             `json:"login,omitempty"  protobuf:"bytes,1,opt,name=login"`
	Name              string             `json:"name,omitempty"  protobuf:"bytes,2,opt,name=name"`
	Email             string             `json:"email,omitempty"  protobuf:"bytes,3,opt,name=email"`
	CreationTimestamp *metav1.Time       `json:"creationTimestamp,omitempty" protobuf:"bytes,4,opt,name=creationTimestamp"`
	URL               string             `json:"url,omitempty"  protobuf:"bytes,5,opt,name=url"`
	AvatarURL         string             `json:"avatarUrl,omitempty"  protobuf:"bytes,6,opt,name=avatarUrl"`
	ServiceAccount    string             `json:"serviceAccount,omitempty"  protobuf:"bytes,7,opt,name=serviceAccount"`
	Accounts          []AccountReference `json:"accountReference,omitempty"  protobuf:"bytes,8,opt,name=accountReference"`
	ExternalUser      bool               `json:"externalUser,omitempty"  protobuf:"bytes,9,opt,name=externalUser"`
}

UserDetails containers details of a user

func (*UserDetails) DeepCopy

func (in *UserDetails) DeepCopy() *UserDetails

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDetails.

func (*UserDetails) DeepCopyInto

func (in *UserDetails) DeepCopyInto(out *UserDetails)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserList

type UserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []User `json:"items"`
}

UserList is a list of User resources

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UserList) DeepCopyObject

func (in *UserList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type UserSpec

type UserSpec struct {
	Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`
	Name     string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
	LinkURL  string `json:"linkUrl,omitempty" protobuf:"bytes,3,opt,name=linkUrl"`
	ImageURL string `json:"imageUrl,omitempty" protobuf:"bytes,4,opt,name=imageUrl"`
}

UserSpec is the user details

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WebHookEngineType

type WebHookEngineType string

WebHookEngineType is the type of webhook processing implementation the team uses

const (
	// WebHookEngineNone indicates no webhook being configured
	WebHookEngineNone WebHookEngineType = ""
	// WebHookEngineJenkins specifies that we use jenkins webhooks
	WebHookEngineJenkins WebHookEngineType = "Jenkins"
	// WebHookEngineProw specifies that we use prow for webhooks
	// see: https://github.com/kubernetes/test-infra/tree/master/prow
	WebHookEngineProw WebHookEngineType = "Prow"
	// WebHookEngineLighthouse specifies that we use lighthouse for webhooks
	// see: https://github.com/jenkins-x/lighthouse
	WebHookEngineLighthouse WebHookEngineType = "Lighthouse"
)

type Welcome

type Welcome struct {
	MessageTemplate *string `json:"message_template,omitempty"`
}

Welcome welcome plugin config

func (*Welcome) DeepCopy

func (in *Welcome) DeepCopy() *Welcome

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Welcome.

func (*Welcome) DeepCopyInto

func (in *Welcome) DeepCopyInto(out *Welcome)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Workflow

type Workflow struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   WorkflowSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status WorkflowStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Workflow represents pipeline activity for a particular run of a pipeline

func (*Workflow) DeepCopy

func (in *Workflow) DeepCopy() *Workflow

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.

func (*Workflow) DeepCopyInto

func (in *Workflow) DeepCopyInto(out *Workflow)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Workflow) DeepCopyObject

func (in *Workflow) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkflowList

type WorkflowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Workflow `json:"items"`
}

WorkflowList is a list of Workflow resources

func (*WorkflowList) DeepCopy

func (in *WorkflowList) DeepCopy() *WorkflowList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList.

func (*WorkflowList) DeepCopyInto

func (in *WorkflowList) DeepCopyInto(out *WorkflowList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WorkflowList) DeepCopyObject

func (in *WorkflowList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type WorkflowPreconditions

type WorkflowPreconditions struct {
	// the names of the environments which need to have promoted before this step can be triggered
	Environments []string `json:"environments,omitempty" protobuf:"bytes,1,opt,name=environments"`
}

WorkflowPreconditions is the trigger to start a step

func (*WorkflowPreconditions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowPreconditions.

func (*WorkflowPreconditions) DeepCopyInto

func (in *WorkflowPreconditions) DeepCopyInto(out *WorkflowPreconditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowSpec

type WorkflowSpec struct {
	PipelineName string         `json:"pipeline,omitempty" protobuf:"bytes,1,opt,name=pipeline"`
	Steps        []WorkflowStep `json:"steps,omitempty" protobuf:"bytes,7,opt,name=steps"`
}

WorkflowSpec is the specification of the pipeline activity

func (*WorkflowSpec) DeepCopy

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowSpec.

func (*WorkflowSpec) DeepCopyInto

func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowStatus

type WorkflowStatus struct {
	Version string `json:"version,omitempty"  protobuf:"bytes,1,opt,name=version"`
}

WorkflowStatus is the status for an Environment resource

func (*WorkflowStatus) DeepCopy

func (in *WorkflowStatus) DeepCopy() *WorkflowStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStatus.

func (*WorkflowStatus) DeepCopyInto

func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowStatusType

type WorkflowStatusType string

WorkflowStatusType is the status of an activity; usually succeeded or failed/error on completion

const (
	// WorkflowStatusTypeNone an activity step has not started yet
	WorkflowStatusTypeNone WorkflowStatusType = ""
	// WorkflowStatusTypePending an activity step is waiting to start
	WorkflowStatusTypePending WorkflowStatusType = "Pending"
	// WorkflowStatusTypeRunning an activity is running
	WorkflowStatusTypeRunning WorkflowStatusType = "Running"
	// WorkflowStatusTypeSucceeded an activity completed successfully
	WorkflowStatusTypeSucceeded WorkflowStatusType = "Succeeded"
	// WorkflowStatusTypeFailed an activity failed
	WorkflowStatusTypeFailed WorkflowStatusType = "Failed"
	// WorkflowStatusTypeWaitingForApproval an activity is waiting for approval
	WorkflowStatusTypeWaitingForApproval WorkflowStatusType = "WaitingForApproval"
	// WorkflowStatusTypeError there is some error with an activity
	WorkflowStatusTypeError WorkflowStatusType = "Error"
)

func (WorkflowStatusType) String

func (s WorkflowStatusType) String() string

type WorkflowStep

type WorkflowStep struct {
	Kind          WorkflowStepKindType  `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	Name          string                `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Description   string                `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	Preconditions WorkflowPreconditions `json:"trigger,omitempty" protobuf:"bytes,3,opt,name=trigger"`
	Promote       *PromoteWorkflowStep  `json:"promote,omitempty" protobuf:"bytes,4,opt,name=promote"`
}

WorkflowStep represents a step in a pipeline activity

func (*WorkflowStep) DeepCopy

func (in *WorkflowStep) DeepCopy() *WorkflowStep

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStep.

func (*WorkflowStep) DeepCopyInto

func (in *WorkflowStep) DeepCopyInto(out *WorkflowStep)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowStepKindType

type WorkflowStepKindType string

WorkflowStepKindType is a kind of step

const (
	// WorkflowStepKindTypeNone no kind yet
	WorkflowStepKindTypeNone WorkflowStepKindType = ""
	// WorkflowStepKindTypePromote a promote activity
	WorkflowStepKindTypePromote WorkflowStepKindType = "Promote"
)

Jump to

Keyboard shortcuts

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