Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=jenkins.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AccountReference
- type ActivityStatusType
- type ActivityStepKindType
- type App
- type AppList
- type AppSpec
- type Attachment
- type Binary
- type BuildPack
- type BuildPackList
- type BuildPackSpec
- type ChartRef
- type CommitStatus
- type CommitStatusCommitReference
- type CommitStatusDetails
- type CommitStatusItem
- type CommitStatusList
- type CommitStatusSpec
- type CommitSummary
- type CoreActivityStep
- type Environment
- type EnvironmentFilter
- type EnvironmentKindType
- type EnvironmentList
- type EnvironmentRepository
- type EnvironmentRepositoryType
- type EnvironmentRoleBinding
- type EnvironmentRoleBindingList
- type EnvironmentRoleBindingSpec
- type EnvironmentRoleBindingStatus
- type EnvironmentSpec
- type EnvironmentStatus
- type EnvironmentVariable
- type Extension
- type ExtensionConfig
- type ExtensionConfigList
- func (in *ExtensionConfigList) DeepCopy() *ExtensionConfigList
- func (in *ExtensionConfigList) DeepCopyInto(out *ExtensionConfigList)
- func (extensionsConfig *ExtensionConfigList) LoadFromConfigMap(configMapName string, client kubernetes.Interface, namespace string) (cfg *ExtensionConfigList, err error)
- func (extensionsConfig *ExtensionConfigList) LoadFromFile(inputFile string) (cfg *ExtensionConfigList, err error)
- type ExtensionDefinition
- type ExtensionDefinitionChildReference
- func (in *ExtensionDefinitionChildReference) DeepCopy() *ExtensionDefinitionChildReference
- func (in *ExtensionDefinitionChildReference) DeepCopyInto(out *ExtensionDefinitionChildReference)
- func (e *ExtensionDefinitionChildReference) FullyQualifiedKebabName() (fqn string)
- func (e *ExtensionDefinitionChildReference) FullyQualifiedName() (fqn string)
- type ExtensionDefinitionList
- type ExtensionDefinitionReference
- type ExtensionDefinitionReferenceList
- type ExtensionExecution
- func (in *ExtensionExecution) DeepCopy() *ExtensionExecution
- func (in *ExtensionExecution) DeepCopyInto(out *ExtensionExecution)
- func (e *ExtensionExecution) Execute(verbose bool) (err error)
- func (e *ExtensionExecution) FullyQualifiedKebabName() (fqn string)
- func (e *ExtensionExecution) FullyQualifiedName() (fqn string)
- type ExtensionGiven
- type ExtensionList
- type ExtensionParameter
- type ExtensionParameterValue
- type ExtensionRepositoryLockList
- type ExtensionRepositoryReference
- type ExtensionRepositoryReferenceList
- type ExtensionSpec
- func (e *ExtensionSpec) Contains(when ExtensionWhen) bool
- func (in *ExtensionSpec) DeepCopy() *ExtensionSpec
- func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)
- func (e *ExtensionSpec) FullyQualifiedKebabName() (fqn string)
- func (e *ExtensionSpec) FullyQualifiedName() (fqn string)
- func (e *ExtensionSpec) IsOnUninstall() bool
- func (e *ExtensionSpec) IsPost() bool
- type ExtensionWhen
- type Fact
- type FactList
- type FactSpec
- type FactStatus
- type GitService
- type GitServiceList
- type GitServiceSpec
- type GitStatus
- type ImportModeType
- type IssueLabel
- type IssueSummary
- type Measurement
- type Original
- type PipelineActivity
- func (p *PipelineActivity) BranchName() string
- func (in *PipelineActivity) DeepCopy() *PipelineActivity
- func (in *PipelineActivity) DeepCopyInto(out *PipelineActivity)
- func (in *PipelineActivity) DeepCopyObject() runtime.Object
- func (p *PipelineActivity) RepositoryName() string
- func (p *PipelineActivity) RepositoryOwner() string
- type PipelineActivityList
- type PipelineActivitySpec
- type PipelineActivityStatus
- type PipelineActivityStep
- type PipelineStageAndChildren
- type PipelineStructure
- func (in *PipelineStructure) DeepCopy() *PipelineStructure
- func (in *PipelineStructure) DeepCopyInto(out *PipelineStructure)
- func (in *PipelineStructure) DeepCopyObject() runtime.Object
- func (ps *PipelineStructure) GetAllStagesAndChildren() []*PipelineStageAndChildren
- func (ps *PipelineStructure) GetStage(name string) *PipelineStructureStage
- func (ps *PipelineStructure) GetStageAndChildren(name string) *PipelineStageAndChildren
- type PipelineStructureList
- type PipelineStructureStage
- type Plugin
- type PluginList
- type PluginSpec
- type PreviewActivityStep
- type PreviewGitSpec
- type PromoteActivityStep
- type PromotePullRequestStep
- type PromoteUpdateStep
- type PromoteWorkflowStep
- type PromotionEngineType
- type PromotionStrategyType
- type ProwEngineType
- type QuickStartLocation
- type Release
- type ReleaseList
- type ReleaseSpec
- type ReleaseStatus
- type ReleaseStatusType
- type ResourceReference
- type SourceRepository
- type SourceRepositoryList
- type SourceRepositorySpec
- type StageActivityStep
- type Statement
- type StorageLocation
- type Team
- type TeamKindType
- type TeamList
- type TeamProvisionStatusType
- type TeamSettings
- func (in *TeamSettings) DeepCopy() *TeamSettings
- func (in *TeamSettings) DeepCopyInto(out *TeamSettings)
- func (t *TeamSettings) GetImportMode() ImportModeType
- func (t *TeamSettings) GetProwEngine() ProwEngineType
- func (t *TeamSettings) SetStorageLocation(classifier string, storage StorageLocation)
- func (t *TeamSettings) StorageLocation(classifier string) *StorageLocation
- func (t *TeamSettings) StorageLocationOrDefault(classifier string) *StorageLocation
- type TeamSpec
- type TeamStatus
- type User
- type UserDetails
- type UserList
- type UserSpec
- type WebHookEngineType
- type Workflow
- type WorkflowList
- type WorkflowPreconditions
- type WorkflowSpec
- type WorkflowStatus
- type WorkflowStatusType
- type WorkflowStep
- type WorkflowStepKindType
Constants ¶
const ( ExtensionsConfigKnownRepositories = "knownRepositories" ExtensionsConfigRepository = "repository" )
const ( VersionGlobalParameterName string = "extVersion" TeamNamespaceGlobalParameterName string = "extTeamNamespace" OwnerReferenceGlobalParameterName string = "extOwnerReference" )
const ( StaticProgramAnalysisTotalClasses = "TotalClasses" StaticProgramAnalysisTotalBugs = "TotalBugs" StaticProgramAnalysisHighPriority = "High" StaticProgramAnalysisNormalPriority = "Normal" StaticProgramAnalysisLowPriority = "Low" StaticProgramAnalysisIgnored = "Ignored" )
Recommended measurements for static program analysis
const ( CodeCoverageMeasurementTotal = "Total" CodeCoverageMeasurementMissed = "Missed" CodeCoverageMeasurementCoverage = "Covered" )
Recommended measurements for code coverage
const ( CodeCoverageCountTypeInstructions = "Instructions" CodeCoverageCountTypeBranches = "Branches" CodeCoverageCountTypeComplexity = "Complexity" CodeCoverageCountTypeLines = "Lines" CodeCoverageCountTypeMethods = "Methods" CodeCoverageCountTypeClasses = "Classes" )
Recommended types for code coverage count
const ( MeasurementPercent = "percent" MeasurementCount = "count" )
const ( FactTypeCoverage = "jx.coverage" FactTypeStaticProgramAnalysis = "jx.staticProgramAnalysis" )
const ( LabelSourceRepository = "sourcerepository" LabelOwner = "owner" LabelBranch = "branch" )
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 ¶
var ( // SchemeBuilder for building the schema :) SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme helper AddToScheme = SchemeBuilder.AddToScheme )
var ( // ImportModeStrings contains the list of strings of all the available import modes ImportModeStrings = []string{ string(ImportModeTypeJenkinsfile), string(ImportModeTypeYAML), } )
var PromotionStrategyTypeValues = []string{ string(PromotionStrategyTypeAutomatic), string(PromotionStrategyTypeManual), string(PromotionStrategyTypeNever), }
PromotionStrategyTypeValues is the list of all values
var SchemeGroupVersion = schema.GroupVersion{Group: jenkinsio.GroupName, Version: jenkinsio.Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*App) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.
func (*AppList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppSpec ¶
type AppSpec struct { // A list of services that this App exposes ExposedServices []string `json:"exposedServices,omitempty" protobuf:"bytes,1,opt,name=exposedServices"` }
AppSpec provides details of the metadata for an App
func (*AppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
func (*AppSpec) DeepCopyInto ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binary.
func (*Binary) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPack.
func (*BuildPack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildPack) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartRef.
func (*ChartRef) DeepCopyInto ¶
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 ¶
func (in *CommitStatusCommitReference) DeepCopy() *CommitStatusCommitReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitStatusCommitReference.
func (*CommitStatusCommitReference) DeepCopyInto ¶
func (in *CommitStatusCommitReference) DeepCopyInto(out *CommitStatusCommitReference)
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 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 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 ¶
func (in *EnvironmentRepository) DeepCopy() *EnvironmentRepository
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 ¶
func (in *EnvironmentRoleBinding) DeepCopy() *EnvironmentRoleBinding
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 ¶
func (in *EnvironmentRoleBindingList) DeepCopy() *EnvironmentRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingList.
func (*EnvironmentRoleBindingList) DeepCopyInto ¶
func (in *EnvironmentRoleBindingList) DeepCopyInto(out *EnvironmentRoleBindingList)
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 ¶
func (in *EnvironmentRoleBindingSpec) DeepCopy() *EnvironmentRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingSpec.
func (*EnvironmentRoleBindingSpec) DeepCopyInto ¶
func (in *EnvironmentRoleBindingSpec) DeepCopyInto(out *EnvironmentRoleBindingSpec)
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 ¶
func (in *EnvironmentRoleBindingStatus) DeepCopy() *EnvironmentRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingStatus.
func (*EnvironmentRoleBindingStatus) DeepCopyInto ¶
func (in *EnvironmentRoleBindingStatus) DeepCopyInto(out *EnvironmentRoleBindingStatus)
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Extension) DeepCopyObject ¶
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 ¶
func (in *ExtensionDefinitionChildReference) DeepCopy() *ExtensionDefinitionChildReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionChildReference.
func (*ExtensionDefinitionChildReference) DeepCopyInto ¶
func (in *ExtensionDefinitionChildReference) DeepCopyInto(out *ExtensionDefinitionChildReference)
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 ¶
func (in *ExtensionDefinitionList) DeepCopy() *ExtensionDefinitionList
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 ¶
ExtensionRepositoryReference references a GitHub repo that contains extension definitions
func (*ExtensionDefinitionReference) DeepCopy ¶
func (in *ExtensionDefinitionReference) DeepCopy() *ExtensionDefinitionReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionReference.
func (*ExtensionDefinitionReference) DeepCopyInto ¶
func (in *ExtensionDefinitionReference) DeepCopyInto(out *ExtensionDefinitionReference)
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 ¶
func (in *ExtensionDefinitionReferenceList) DeepCopy() *ExtensionDefinitionReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionReferenceList.
func (*ExtensionDefinitionReferenceList) DeepCopyInto ¶
func (in *ExtensionDefinitionReferenceList) DeepCopyInto(out *ExtensionDefinitionReferenceList)
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(verbose bool) (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 ¶
func (*ExtensionParameterValue) DeepCopy ¶
func (in *ExtensionParameterValue) DeepCopy() *ExtensionParameterValue
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 ¶
func (in *ExtensionRepositoryLockList) DeepCopy() *ExtensionRepositoryLockList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryLockList.
func (*ExtensionRepositoryLockList) DeepCopyInto ¶
func (in *ExtensionRepositoryLockList) DeepCopyInto(out *ExtensionRepositoryLockList)
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 ¶
func (in *ExtensionRepositoryReference) DeepCopy() *ExtensionRepositoryReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryReference.
func (*ExtensionRepositoryReference) DeepCopyInto ¶
func (in *ExtensionRepositoryReference) DeepCopyInto(out *ExtensionRepositoryReference)
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 ¶
func (in *ExtensionRepositoryReferenceList) DeepCopy() *ExtensionRepositoryReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryReferenceList.
func (*ExtensionRepositoryReferenceList) DeepCopyInto ¶
func (in *ExtensionRepositoryReferenceList) DeepCopyInto(out *ExtensionRepositoryReferenceList)
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fact.
func (*Fact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fact) DeepCopyObject ¶ added in v1.3.886
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FactList ¶ added in v1.3.886
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 ¶ added in v1.3.886
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactList.
func (*FactList) DeepCopyInto ¶ added in v1.3.886
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FactList) DeepCopyObject ¶ added in v1.3.886
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FactSpec ¶ added in v1.3.886
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 ¶ added in v1.3.886
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactSpec.
func (*FactSpec) DeepCopyInto ¶ added in v1.3.886
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FactStatus ¶ added in v1.3.886
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 ¶ added in v1.3.886
func (in *FactStatus) DeepCopy() *FactStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FactStatus.
func (*FactStatus) DeepCopyInto ¶ added in v1.3.886
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitStatus.
func (*GitStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportModeType ¶ added in v1.3.902
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 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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Original.
func (*Original) DeepCopyInto ¶
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
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 ¶
func (in *PipelineActivityList) DeepCopy() *PipelineActivityList
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"` ReleaseNotesURL string `json:"releaseNotesURL,omitempty" protobuf:"bytes,14,opt,name=releaseNotesURL"` LastCommitSHA string `json:"lastCommitSHA,omitempty" protobuf:"bytes,15,opt,name=lastCommitSHA"` LastCommitMessage string `json:"lastCommitMessage,omitempty" protobuf:"bytes,16,opt,name=lastCommitMessage"` LastCommitURL string `json:"lastCommitURL,omitempty" protobuf:"bytes,17,opt,name=lastCommitURL"` Workflow string `json:"workflow,omitempty" protobuf:"bytes,18,opt,name=workflow"` WorkflowStatus ActivityStatusType `json:"workflowStatus,omitempty" protobuf:"bytes,19,opt,name=workflowStatus"` WorkflowMessage string `json:"workflowMessage,omitempty" protobuf:"bytes,20,opt,name=workflowMessage"` PostExtensions []ExtensionExecution `json:"postExtensions,omitempty" protobuf:"bytes,21,opt,name=postExtensions"` Attachments []Attachment `json:"attachments,omitempty" protobuf:"bytes,22,opt,name=attachments"` }
PipelineActivitySpec is the specification of the pipeline activity
func (*PipelineActivitySpec) DeepCopy ¶
func (in *PipelineActivitySpec) DeepCopy() *PipelineActivitySpec
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 ¶
func (in *PipelineActivityStatus) DeepCopy() *PipelineActivityStatus
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 ¶
func (in *PipelineActivityStep) DeepCopy() *PipelineActivityStep
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 PipelineStageAndChildren ¶ added in v1.3.921
type PipelineStageAndChildren struct { Stage PipelineStructureStage Parallel []PipelineStageAndChildren Stages []PipelineStageAndChildren }
PipelineStageAndChildren represents a single stage and its children. +k8s:openapi-gen=false
func (*PipelineStageAndChildren) DeepCopy ¶ added in v1.3.921
func (in *PipelineStageAndChildren) DeepCopy() *PipelineStageAndChildren
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStageAndChildren.
func (*PipelineStageAndChildren) DeepCopyInto ¶ added in v1.3.921
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 ¶ added in v1.3.896
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 ¶ added in v1.3.896
func (in *PipelineStructure) DeepCopy() *PipelineStructure
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStructure.
func (*PipelineStructure) DeepCopyInto ¶ added in v1.3.896
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 ¶ added in v1.3.896
func (in *PipelineStructure) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PipelineStructure) GetAllStagesAndChildren ¶ added in v1.3.921
func (ps *PipelineStructure) GetAllStagesAndChildren() []*PipelineStageAndChildren
GetAllStagesAndChildren will get a slice of all top-level stages in this pipeline, with their children
func (*PipelineStructure) GetStage ¶ added in v1.3.896
func (ps *PipelineStructure) GetStage(name string) *PipelineStructureStage
GetStage will get the PipelineStructureStage with the given name, if it exists.
func (*PipelineStructure) GetStageAndChildren ¶ added in v1.3.921
func (ps *PipelineStructure) GetStageAndChildren(name string) *PipelineStageAndChildren
GetStageAndChildren will get a stage of a given name and all of its child stages.
type PipelineStructureList ¶ added in v1.3.896
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 ¶ added in v1.3.896
func (in *PipelineStructureList) DeepCopy() *PipelineStructureList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStructureList.
func (*PipelineStructureList) DeepCopyInto ¶ added in v1.3.896
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 ¶ added in v1.3.896
func (in *PipelineStructureList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineStructureStage ¶ added in v1.3.896
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 ¶ added in v1.3.896
func (in *PipelineStructureStage) DeepCopy() *PipelineStructureStage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineStructureStage.
func (*PipelineStructureStage) DeepCopyInto ¶ added in v1.3.896
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plugin) DeepCopyObject ¶
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 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 ¶
func (in *PromotePullRequestStep) DeepCopy() *PromotePullRequestStep
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 ProwEngineType ¶ added in v1.3.902
type ProwEngineType string
ProwEngineType is the type of prow execution engine
const ( // ProwEngineTypeKnativeBuild represents the Knative Build engine for use with Prow ProwEngineTypeKnativeBuild ProwEngineType = "KnativeBuild" // ProwEngineTypeTekton represents using Tekton as the execution engine with Prow ProwEngineTypeTekton ProwEngineType = "Tekton" )
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶
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"` 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 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 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.
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 ¶
func (in *SourceRepositoryList) DeepCopy() *SourceRepositoryList
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"` }
SourceRepositorySpec provides details of the metadata for an App
func (*SourceRepositorySpec) DeepCopy ¶
func (in *SourceRepositorySpec) DeepCopy() *SourceRepositorySpec
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.
func (*Statement) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Team.
func (*Team) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Team) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamList.
func (*TeamList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeamList) DeepCopyObject ¶
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 */ 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"` 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 string `json:"deployKind,omitempty" protobuf:"bytes,22,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"` }
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) GetImportMode ¶ added in v1.3.902
func (t *TeamSettings) GetImportMode() ImportModeType
GetImportMode returns the import mode - returning a default value if it has not been populated yet
func (*TeamSettings) GetProwEngine ¶ added in v1.3.902
func (t *TeamSettings) GetProwEngine() ProwEngineType
GetProwEngine returns the import mode - returning a default value if it has not been populated yet
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
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSpec.
func (*TeamSpec) DeepCopyInto ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) SubjectKind ¶
SubjectKind returns the subject kind of user - either "User" (native K8S user) or "ServiceAccount" (externally managed user).
func (*User) UnmarshalJSON ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
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 WebHookEngineType = "" WebHookEngineJenkins WebHookEngineType = "Jenkins" WebHookEngineProw WebHookEngineType = "Prow" )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.
func (*Workflow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Workflow) DeepCopyObject ¶
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 ¶
func (in *WorkflowPreconditions) DeepCopy() *WorkflowPreconditions
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" )