v1

package
v1.3.404 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=jenkins.io

Index

Constants

View Source
const (
	CodeCoverageAnalysisCountTypeInstructions = "Instructions"
	CodeCoverageAnalysisCountTypeBranches     = "Branches"
	CodeCoverageAnalysisCountTypeComplexity   = "Complexity"
	CodeCoverageAnalysisCountTypeLines        = "Lines"
	CodeCoverageAnalysisCountTypeMethods      = "Methods"
	CodeCoverageAnalysisCountTypeClasses      = "Classes"
)

Recommended types for code coverage count

View Source
const (
	VersionGlobalParameterName string = "ExtVersion"
)

Variables

View Source
var (
	// SchemeBuilder for building the schema :)
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme helper
	AddToScheme = SchemeBuilder.AddToScheme
)

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 ActivityStatusType added in v1.0.84

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"
)

func (ActivityStatusType) IsTerminated added in v1.3.169

func (s ActivityStatusType) IsTerminated() bool

IsTerminated returns true if this activity has stopped executing

func (ActivityStatusType) String added in v1.0.84

func (s ActivityStatusType) String() string

type ActivityStepKindType added in v1.0.87

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 Attachment added in v1.3.354

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 added in v1.3.354

func (in *Attachment) DeepCopy() *Attachment

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

func (*Attachment) DeepCopyInto added in v1.3.354

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

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

type CodeCoverageAnalysis added in v1.3.368

type CodeCoverageAnalysis struct {
	Tags     []string                             `json:"tags,omitempty" protobuf: "bytes,1,opt,name=tags"`
	Original Original                             `json:"original,omitempty" protobuf: "bytes,2,opt,name=original"`
	Counts   map[string]CodeCoverageAnalysisCount `json:"counts,omitempty" protobuf: "bytes,3,opt,name=counts"`
}

func (*CodeCoverageAnalysis) DeepCopy added in v1.3.386

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

func (*CodeCoverageAnalysis) DeepCopyInto added in v1.3.386

func (in *CodeCoverageAnalysis) DeepCopyInto(out *CodeCoverageAnalysis)

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

type CodeCoverageAnalysisCount added in v1.3.368

type CodeCoverageAnalysisCount struct {
	Total    int `json:"total,omitempty" protobuf: "bytes,2,opt,name=total"`
	Missed   int `json:"missed,omitempty" protobuf: "bytes,3,opt,name=missed"`
	Coverage int `json:"coverage,omitempty" protobuf: "bytes,4,opt,name=coverage"`
}

func (*CodeCoverageAnalysisCount) DeepCopy added in v1.3.386

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

func (*CodeCoverageAnalysisCount) DeepCopyInto added in v1.3.386

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

type CommitSummary added in v1.0.90

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 added in v1.0.90

func (in *CommitSummary) DeepCopy() *CommitSummary

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

func (*CommitSummary) DeepCopyInto added in v1.0.90

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

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

type CoreActivityStep added in v1.0.84

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 added in v1.0.84

func (in *CoreActivityStep) DeepCopy() *CoreActivityStep

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

func (*CoreActivityStep) DeepCopyInto added in v1.0.84

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

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 added in v1.3.16

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 added in v1.3.16

func (in *EnvironmentFilter) DeepCopy() *EnvironmentFilter

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

func (*EnvironmentFilter) DeepCopyInto added in v1.3.16

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 added in v1.0.18

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 added in v1.0.83

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 added in v1.3.16

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 added in v1.3.16

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

func (*EnvironmentRoleBinding) DeepCopyInto added in v1.3.16

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 added in v1.3.16

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

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

type EnvironmentRoleBindingList added in v1.3.16

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 added in v1.3.16

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

func (*EnvironmentRoleBindingList) DeepCopyInto added in v1.3.16

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

func (*EnvironmentRoleBindingList) DeepCopyObject added in v1.3.16

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

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

type EnvironmentRoleBindingSpec added in v1.3.16

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 added in v1.3.16

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

func (*EnvironmentRoleBindingSpec) DeepCopyInto added in v1.3.16

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

type EnvironmentRoleBindingStatus added in v1.3.16

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

EnvironmentRoleBindingStatus is the status for an EnvironmentRoleBinding resource

func (*EnvironmentRoleBindingStatus) DeepCopy added in v1.3.16

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

func (*EnvironmentRoleBindingStatus) DeepCopyInto added in v1.3.16

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"`
}

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.

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 added in v1.3.393

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 added in v1.3.393

func (in *EnvironmentVariable) DeepCopy() *EnvironmentVariable

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

func (*EnvironmentVariable) DeepCopyInto added in v1.3.393

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 added in v1.3.354

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 added in v1.3.354

func (in *Extension) DeepCopy() *Extension

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

func (*Extension) DeepCopyInto added in v1.3.354

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 added in v1.3.354

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

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

type ExtensionConfig added in v1.3.393

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 added in v1.3.393

func (in *ExtensionConfig) DeepCopy() *ExtensionConfig

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

func (*ExtensionConfig) DeepCopyInto added in v1.3.393

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 added in v1.3.393

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

func (*ExtensionConfig) FullyQualifiedName added in v1.3.393

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

type ExtensionConfigList added in v1.3.393

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

ExtensionsConfigList contains a list of ExtensionConfig items

func (*ExtensionConfigList) DeepCopy added in v1.3.393

func (in *ExtensionConfigList) DeepCopy() *ExtensionConfigList

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

func (*ExtensionConfigList) DeepCopyInto added in v1.3.393

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 added in v1.3.393

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

func (*ExtensionConfigList) LoadFromFile added in v1.3.393

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

type ExtensionDefinition added in v1.3.393

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 added in v1.3.393

func (in *ExtensionDefinition) DeepCopy() *ExtensionDefinition

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

func (*ExtensionDefinition) DeepCopyInto added in v1.3.393

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 added in v1.3.393

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

func (*ExtensionDefinition) FullyQualifiedName added in v1.3.393

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

type ExtensionDefinitionChildReference added in v1.3.393

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 added in v1.3.393

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

func (*ExtensionDefinitionChildReference) DeepCopyInto added in v1.3.393

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

func (*ExtensionDefinitionChildReference) FullyQualifiedKebabName added in v1.3.393

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

func (*ExtensionDefinitionChildReference) FullyQualifiedName added in v1.3.393

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

type ExtensionDefinitionList added in v1.3.393

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

ExtensionDefinitionList contains a list of ExtensionDefinition items

func (*ExtensionDefinitionList) DeepCopy added in v1.3.393

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

func (*ExtensionDefinitionList) DeepCopyInto added in v1.3.393

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

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

func (*ExtensionDefinitionList) LoadFromURL added in v1.3.393

func (lock *ExtensionDefinitionList) LoadFromURL(definitionsUrl string, extension string, version string) (err error)

type ExtensionDefinitionReference added in v1.3.393

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

ExtensionRepositoryReference references a GitHub repo that contains extension definitions

func (*ExtensionDefinitionReference) DeepCopy added in v1.3.393

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

func (*ExtensionDefinitionReference) DeepCopyInto added in v1.3.393

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

type ExtensionDefinitionReferenceList added in v1.3.393

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

ExtensionDefinitionReferenceList contains a list of ExtensionRepository items

func (*ExtensionDefinitionReferenceList) DeepCopy added in v1.3.393

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

func (*ExtensionDefinitionReferenceList) DeepCopyInto added in v1.3.393

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

func (*ExtensionDefinitionReferenceList) LoadFromFile added in v1.3.393

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

type ExtensionExecution added in v1.3.393

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 added in v1.3.393

func (in *ExtensionExecution) DeepCopy() *ExtensionExecution

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

func (*ExtensionExecution) DeepCopyInto added in v1.3.393

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 added in v1.3.393

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

func (*ExtensionExecution) FullyQualifiedKebabName added in v1.3.398

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

func (*ExtensionExecution) FullyQualifiedName added in v1.3.398

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

type ExtensionGiven added in v1.3.354

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 added in v1.3.354

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 added in v1.3.354

func (in *ExtensionList) DeepCopy() *ExtensionList

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

func (*ExtensionList) DeepCopyInto added in v1.3.354

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 added in v1.3.354

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

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

type ExtensionParameter added in v1.3.354

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 added in v1.3.354

func (in *ExtensionParameter) DeepCopy() *ExtensionParameter

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

func (*ExtensionParameter) DeepCopyInto added in v1.3.354

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 added in v1.3.393

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

func (*ExtensionParameterValue) DeepCopy added in v1.3.393

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

func (*ExtensionParameterValue) DeepCopyInto added in v1.3.393

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 added in v1.3.393

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

ExtensionRepositoryLockList contains a list of ExtensionRepositoryLock items

func (*ExtensionRepositoryLockList) DeepCopy added in v1.3.393

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

func (*ExtensionRepositoryLockList) DeepCopyInto added in v1.3.393

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

func (*ExtensionRepositoryLockList) LoadFromFile added in v1.3.393

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

type ExtensionSpec added in v1.3.393

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 added in v1.3.395

func (e *ExtensionSpec) Contains(whens []ExtensionWhen, when ExtensionWhen) bool

func (*ExtensionSpec) DeepCopy added in v1.3.393

func (in *ExtensionSpec) DeepCopy() *ExtensionSpec

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

func (*ExtensionSpec) DeepCopyInto added in v1.3.393

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) EnvVarName added in v1.3.403

func (e *ExtensionSpec) EnvVarName(names ...string) string

func (*ExtensionSpec) FullyQualifiedKebabName added in v1.3.393

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

func (*ExtensionSpec) FullyQualifiedName added in v1.3.393

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

func (*ExtensionSpec) IsPost added in v1.3.395

func (e *ExtensionSpec) IsPost() bool

func (*ExtensionSpec) ToExecutable added in v1.3.393

func (e *ExtensionSpec) ToExecutable(paramValues ...[]ExtensionParameterValue) (ext ExtensionExecution, envVarsStr string, err error)

TODO remove the env vars formatting stuff from here and make it a function on ExtensionSpec

type ExtensionWhen added in v1.3.354

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 upgrades
	ExtensionWhenUpgrade ExtensionWhen = "onUpgrade"
)

type GitService added in v1.0.114

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 added in v1.0.114

func (in *GitService) DeepCopy() *GitService

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

func (*GitService) DeepCopyInto added in v1.0.114

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 added in v1.0.114

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

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

type GitServiceList added in v1.0.114

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 added in v1.0.114

func (in *GitServiceList) DeepCopy() *GitServiceList

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

func (*GitServiceList) DeepCopyInto added in v1.0.114

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 added in v1.0.114

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

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

type GitServiceSpec added in v1.0.114

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 added in v1.0.114

func (in *GitServiceSpec) DeepCopy() *GitServiceSpec

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

func (*GitServiceSpec) DeepCopyInto added in v1.0.114

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 added in v1.0.87

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 added in v1.0.87

func (in *GitStatus) DeepCopy() *GitStatus

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

func (*GitStatus) DeepCopyInto added in v1.0.87

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

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

type IssueLabel added in v1.2.100

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 added in v1.2.100

func (in *IssueLabel) DeepCopy() *IssueLabel

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

func (*IssueLabel) DeepCopyInto added in v1.2.100

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 added in v1.0.97

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 added in v1.0.97

func (in *IssueSummary) DeepCopy() *IssueSummary

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

func (*IssueSummary) DeepCopyInto added in v1.0.97

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 added in v1.0.101

func (i *IssueSummary) IsClosed() bool

IsClosed returns true if this issue is closed or fixed

type Original added in v1.3.368

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

func (*Original) DeepCopy added in v1.3.386

func (in *Original) DeepCopy() *Original

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

func (*Original) DeepCopyInto added in v1.3.386

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

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

type PipelineActivity added in v1.0.84

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 added in v1.3.169

func (p *PipelineActivity) BranchName() string

BranchName returns the name of the branch for the pipeline

func (*PipelineActivity) DeepCopy added in v1.0.84

func (in *PipelineActivity) DeepCopy() *PipelineActivity

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

func (*PipelineActivity) DeepCopyInto added in v1.0.84

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 added in v1.0.84

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

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

func (*PipelineActivity) RepositoryName added in v1.3.169

func (p *PipelineActivity) RepositoryName() string

RepositoryName returns the repository name for the given pipeline

type PipelineActivityList added in v1.0.84

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 added in v1.0.84

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

func (*PipelineActivityList) DeepCopyInto added in v1.0.84

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 added in v1.0.84

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

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

type PipelineActivitySpec added in v1.0.84

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,10,opt,name=gitRepository"`
	GitOwner           string                 `json:"gitOwner,omitempty" protobuf:"bytes,10,opt,name=gitOwner"`
	ReleaseNotesURL    string                 `json:"releaseNotesURL,omitempty" protobuf:"bytes,11,opt,name=releaseNotesURL"`
	LastCommitSHA      string                 `json:"lastCommitSHA,omitempty" protobuf:"bytes,12,opt,name=lastCommitSHA"`
	LastCommitMessage  string                 `json:"lastCommitMessage,omitempty" protobuf:"bytes,13,opt,name=lastCommitMessage"`
	LastCommitURL      string                 `json:"lastCommitURL,omitempty" protobuf:"bytes,14,opt,name=lastCommitURL"`
	Workflow           string                 `json:"workflow,omitempty" protobuf:"bytes,15,opt,name=workflow"`
	WorkflowStatus     ActivityStatusType     `json:"workflowStatus,omitempty" protobuf:"bytes,16,opt,name=workflowStatus"`
	WorkflowMessage    string                 `json:"workflowMessage,omitempty" protobuf:"bytes,17,opt,name=workflowMessage"`
	PostExtensions     []ExtensionExecution   `json:"postExtensions,omitempty" protobuf: "bytes,18,opt,name=postExtensions"`
	Attachments        []Attachment           `json:"attachments,omitempty" protobuf: "bytes,19,opt,name=attachments"`
	Summaries          Summaries              `json:"summaries,omitempty" protobuf: "bytes,20,opt,name=summaries"`
}

PipelineActivitySpec is the specification of the pipeline activity

func (*PipelineActivitySpec) DeepCopy added in v1.0.84

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

func (*PipelineActivitySpec) DeepCopyInto added in v1.0.84

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 added in v1.0.84

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 added in v1.0.84

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

func (*PipelineActivityStatus) DeepCopyInto added in v1.0.84

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 added in v1.0.84

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 added in v1.0.84

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

func (*PipelineActivityStep) DeepCopyInto added in v1.0.84

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

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

type PreviewActivityStep added in v1.2.70

type PreviewActivityStep struct {
	CoreActivityStep

	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 added in v1.2.70

func (in *PreviewActivityStep) DeepCopy() *PreviewActivityStep

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

func (*PreviewActivityStep) DeepCopyInto added in v1.2.70

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 added in v1.0.22

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 added in v1.0.22

func (in *PreviewGitSpec) DeepCopy() *PreviewGitSpec

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

func (*PreviewGitSpec) DeepCopyInto added in v1.0.22

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 added in v1.0.87

type PromoteActivityStep struct {
	CoreActivityStep

	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 added in v1.0.87

func (in *PromoteActivityStep) DeepCopy() *PromoteActivityStep

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

func (*PromoteActivityStep) DeepCopyInto added in v1.0.87

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 added in v1.0.84

type PromotePullRequestStep struct {
	CoreActivityStep

	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 added in v1.0.84

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

func (*PromotePullRequestStep) DeepCopyInto added in v1.0.84

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 added in v1.0.87

type PromoteUpdateStep struct {
	CoreActivityStep

	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 added in v1.0.87

func (in *PromoteUpdateStep) DeepCopy() *PromoteUpdateStep

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

func (*PromoteUpdateStep) DeepCopyInto added in v1.0.87

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 added in v1.3.166

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 added in v1.3.166

func (in *PromoteWorkflowStep) DeepCopy() *PromoteWorkflowStep

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

func (*PromoteWorkflowStep) DeepCopyInto added in v1.3.166

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 added in v1.3.140

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 QuickStartLocation added in v1.2.84

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 added in v1.2.100

func (in *QuickStartLocation) DeepCopy() *QuickStartLocation

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

func (*QuickStartLocation) DeepCopyInto added in v1.2.100

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

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

type Release added in v1.0.90

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 added in v1.0.90

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto added in v1.0.90

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 added in v1.0.90

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

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

type ReleaseList added in v1.0.90

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 added in v1.0.90

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto added in v1.0.90

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 added in v1.0.90

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

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

type ReleaseSpec added in v1.0.90

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"`
	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 added in v1.0.90

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto added in v1.0.90

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 added in v1.0.90

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

ReleaseStatus is the status of a release

func (*ReleaseStatus) DeepCopy added in v1.0.90

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto added in v1.0.90

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 added in v1.0.90

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 StageActivityStep added in v1.0.84

type StageActivityStep struct {
	CoreActivityStep

	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 added in v1.0.84

func (in *StageActivityStep) DeepCopy() *StageActivityStep

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

func (*StageActivityStep) DeepCopyInto added in v1.0.84

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

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

type StaticProgramAnalysis added in v1.3.356

type StaticProgramAnalysis struct {
	TotalBugs      int                                      `json:"totalBugs,omitempty" protobuf: "bytes,1,opt,name=totalBugs"`
	HighPriority   int                                      `json:"highPriority,omitempty" protobuf: "bytes,2,opt,name=highPriority"`
	NormalPriority int                                      `json:"normalPriority,omitempty" protobuf: "bytes,3,opt,name=normalPriority"`
	LowPriority    int                                      `json:"lowPriority,omitempty" protobuf: "bytes,4,opt,name=lowPriority"`
	Ignored        int                                      `json:"ignored,omitempty" protobuf: "bytes,5,opt,name=ignored"`
	TotalClasses   int                                      `json:"totalClasses,omitempty" protobuf: "bytes,6,opt,name=totalClasses"`
	Categories     map[string]StaticProgramAnalysisCategory `json:"categories,omitempty" protobuf: "bytes,7,opt,name=categories"`
	Tags           []string                                 `json:"tags,omitempty" protobuf: "bytes,8,opt,name=tags"`
	Original       Original                                 `json:"original,omitempty" protobuf: "bytes,9,opt,name=original"`
}

func (*StaticProgramAnalysis) DeepCopy added in v1.3.356

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

func (*StaticProgramAnalysis) DeepCopyInto added in v1.3.356

func (in *StaticProgramAnalysis) DeepCopyInto(out *StaticProgramAnalysis)

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

type StaticProgramAnalysisCategory added in v1.3.356

type StaticProgramAnalysisCategory struct {
	HighPriority   int `json:"highPriority,omitempty" protobuf: "bytes,2,opt,name=highPriority"`
	NormalPriority int `json:"normalPriority,omitempty" protobuf: "bytes,3,opt,name=normalPriority"`
	LowPriority    int `json:"lowPriority,omitempty" protobuf: "bytes,4,opt,name=lowPriority"`
	Ignored        int `json:"ignored,omitempty" protobuf: "bytes,5,opt,name=ignored"`
}

func (*StaticProgramAnalysisCategory) DeepCopy added in v1.3.356

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

func (*StaticProgramAnalysisCategory) DeepCopyInto added in v1.3.356

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

type Summaries added in v1.3.356

type Summaries struct {
	StaticProgramAnalysis StaticProgramAnalysis `json:"staticProgramAnalysis,omitempty" protobuf: "bytes,1,opt,name=staticProgramAnalysis"`
	CodeCoverageAnalysis  CodeCoverageAnalysis  `json:"codeCoverageAnalysis,omitempty" protobuf: "bytes,2,opt,name=codeCoverageAnalysis"`
}

The various summary reports we can present for the pipeline

func (*Summaries) DeepCopy added in v1.3.356

func (in *Summaries) DeepCopy() *Summaries

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

func (*Summaries) DeepCopyInto added in v1.3.356

func (in *Summaries) DeepCopyInto(out *Summaries)

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

type Team added in v1.3.146

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 added in v1.3.146

func (in *Team) DeepCopy() *Team

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

func (*Team) DeepCopyInto added in v1.3.146

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 added in v1.3.146

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

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

type TeamKindType added in v1.3.146

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 added in v1.3.146

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 added in v1.3.146

func (in *TeamList) DeepCopy() *TeamList

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

func (*TeamList) DeepCopyInto added in v1.3.146

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 added in v1.3.146

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

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

type TeamProvisionStatusType added in v1.3.146

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 added in v1.0.58

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 */
	PipelineUsername    string               `` /* 191-byte string literal not displayed */
	DockerRegistryOrg   string               `` /* 189-byte string literal not displayed */
	GitPrivate          bool                 `` /* 143-byte string literal not displayed */
	KubeProvider        string               `json:"kubeProvider,omitempty" protobuf:"bytes,18,opt,name=kubeProvider"`
}

TeamSettings the default settings for a team

func (*TeamSettings) DeepCopy added in v1.0.83

func (in *TeamSettings) DeepCopy() *TeamSettings

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

func (*TeamSettings) DeepCopyInto added in v1.0.83

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

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

type TeamSpec added in v1.3.146

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 added in v1.3.146

func (in *TeamSpec) DeepCopy() *TeamSpec

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

func (*TeamSpec) DeepCopyInto added in v1.3.146

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 added in v1.3.146

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

TeamStatus is the status for an Team resource

func (*TeamStatus) DeepCopy added in v1.3.146

func (in *TeamStatus) DeepCopy() *TeamStatus

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

func (*TeamStatus) DeepCopyInto added in v1.3.146

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

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

type User added in v1.2.63

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 added in v1.2.63

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto added in v1.2.63

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 added in v1.2.63

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

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

func (*User) SubjectKind added in v1.3.249

func (u *User) SubjectKind() string

UserKind returns the subject kind of user - either "User" or "ServiceAccount"

type UserDetails added in v1.0.90

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"`
	SlackUser         string       `json:"slackUser,omitempty"  protobuf:"bytes,8,opt,name=slackUser"`
}

UserDetails containers details of a user

func (*UserDetails) DeepCopy added in v1.0.90

func (in *UserDetails) DeepCopy() *UserDetails

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

func (*UserDetails) DeepCopyInto added in v1.0.90

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 added in v1.2.63

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 added in v1.2.63

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto added in v1.2.63

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 added in v1.2.63

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

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

type UserSpec added in v1.0.25

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 added in v1.0.25

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto added in v1.0.25

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 added in v1.3.247

type WebHookEngineType string

WebHookEngineType is the type of webhook processing implementation the team uses

const (
	WebHookEngineNone    WebHookEngineType = ""
	WebHookEngineJenkins WebHookEngineType = "Jenkins"
	WebHookEngineProw    WebHookEngineType = "Prow"
)

type Workflow added in v1.3.166

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 added in v1.3.166

func (in *Workflow) DeepCopy() *Workflow

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

func (*Workflow) DeepCopyInto added in v1.3.166

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 added in v1.3.166

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

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

type WorkflowList added in v1.3.166

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 added in v1.3.166

func (in *WorkflowList) DeepCopy() *WorkflowList

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

func (*WorkflowList) DeepCopyInto added in v1.3.166

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 added in v1.3.166

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

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

type WorkflowPreconditions added in v1.3.166

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 added in v1.3.166

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

func (*WorkflowPreconditions) DeepCopyInto added in v1.3.166

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 added in v1.3.166

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 added in v1.3.166

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

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

func (*WorkflowSpec) DeepCopyInto added in v1.3.166

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 added in v1.3.166

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 added in v1.3.166

func (in *WorkflowStatus) DeepCopy() *WorkflowStatus

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

func (*WorkflowStatus) DeepCopyInto added in v1.3.166

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 added in v1.3.166

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 added in v1.3.166

func (s WorkflowStatusType) String() string

type WorkflowStep added in v1.3.166

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 added in v1.3.166

func (in *WorkflowStep) DeepCopy() *WorkflowStep

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

func (*WorkflowStep) DeepCopyInto added in v1.3.166

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 added in v1.3.166

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