Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true Package v4 is the v4 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 Attachment
- type BatchPipelineActivity
- type Binary
- type CommitSummary
- type CoreActivityStep
- type DependencyUpdate
- type DependencyUpdateDetails
- type DependencyUpdatePath
- type DeployOptions
- type Environment
- type EnvironmentFilter
- type EnvironmentKindType
- type EnvironmentList
- type EnvironmentRepository
- type EnvironmentRepositoryType
- type EnvironmentRoleBindingStatus
- type EnvironmentSpec
- type EnvironmentStatus
- type GitStatus
- type IssueLabel
- type IssueSummary
- 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
- func (p *PipelineActivity) StagesByStatus() map[ActivityStatusType][]string
- type PipelineActivityList
- type PipelineActivitySpec
- type PipelineActivityStatus
- type PipelineActivityStep
- type PipelineExtension
- type Plugin
- type PluginList
- type PluginSpec
- type PreviewActivityStep
- type PreviewGitSpec
- type PromoteActivityStep
- type PromotePullRequestStep
- type PromoteUpdateStep
- type PromotionEngineType
- type PromotionStrategyType
- type ProwConfigType
- type ProwEngineType
- type PullRequestInfo
- type QuickStartLocation
- type Release
- type ReleaseList
- type ReleaseSpec
- type ReleaseStatus
- type ReleaseStatusType
- type ResourceReference
- type SourceRepository
- type SourceRepositoryList
- type SourceRepositorySpec
- type StageActivityStep
- type StorageLocation
- type TeamSettings
- func (in *TeamSettings) DeepCopy() *TeamSettings
- func (in *TeamSettings) DeepCopyInto(out *TeamSettings)
- func (t *TeamSettings) GetDeployOptions() DeployOptions
- func (t *TeamSettings) SetStorageLocation(classifier string, storage StorageLocation)
- func (t *TeamSettings) StorageLocation(classifier string) StorageLocation
- func (t *TeamSettings) StorageLocationOrDefault(classifier string) StorageLocation
- func (t *TeamSettings) UnmarshalJSON(data []byte) error
- type UserDetails
- type UserSpec
- type WebHookEngineType
Constants ¶
const ( LabelProvider = "provider" LabelOwner = "owner" LabelRepository = "repository" LabelBranch = "branch" LabelBuild = "build" LabelLastCommitSha = "lastCommitSha" LabelContext = "context" )
Variables ¶
var ( // SchemeBuilder for building the schema :) SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme helper AddToScheme = SchemeBuilder.AddToScheme )
var PromotionStrategyTypeValues = []string{ string(PromotionStrategyTypeAutomatic), string(PromotionStrategyTypeManual), string(PromotionStrategyTypeNever), }
PromotionStrategyTypeValues is the list of all values
var SchemeGroupVersion = schema.GroupVersion{Group: v1.GroupName, Version: v1.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 Attachment ¶
type Attachment struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` URLs []string `json:"urls,omitempty" protobuf:"bytes,2,opt,name=urls"` }
func (*Attachment) DeepCopy ¶
func (in *Attachment) DeepCopy() *Attachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attachment.
func (*Attachment) DeepCopyInto ¶
func (in *Attachment) DeepCopyInto(out *Attachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BatchPipelineActivity ¶
type BatchPipelineActivity struct { BatchBuildNumber string `json:"batchBuildNumber,omitempty" protobuf:"bytes,1,opt,name=batchBuildNumber"` BatchBranchName string `json:"batchBranchName,omitempty" protobuf:"bytes,2,opt,name=batchBranchName"` ComprisingPulLRequests []PullRequestInfo `json:"pullRequestInfo,omitempty" protobuf:"bytes,3,opt,name=pullRequestInfo"` }
BatchPipelineActivity contains information about a batch build, used by both the batch build and its comprising PRs for linking them together
func (*BatchPipelineActivity) DeepCopy ¶
func (in *BatchPipelineActivity) DeepCopy() *BatchPipelineActivity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BatchPipelineActivity.
func (*BatchPipelineActivity) DeepCopyInto ¶
func (in *BatchPipelineActivity) DeepCopyInto(out *BatchPipelineActivity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Binary ¶
type Binary struct { Goarch string `json:"goarch,omitempty" protobuf:"bytes,1,opt,name=goarch"` Goos string `json:"goos,omitempty" protobuf:"bytes,2,opt,name=goos"` URL string `json:"url,omitempty" protobuf:"bytes,3,opt,name=url"` }
Binary provies the details of a downloadable binary
func (*Binary) DeepCopy ¶
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 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"` // +nullable StartedTimestamp *metav1.Time `json:"startedTimestamp,omitempty" protobuf:"bytes,4,opt,name=startedTimestamp"` // +nullable CompletedTimestamp *metav1.Time `json:"completedTimestamp,omitempty" protobuf:"bytes,5,opt,name=completedTimestamp"` }
CoreActivityStep is a base step included in Stages of a pipeline or other kinds of step
func (*CoreActivityStep) DeepCopy ¶
func (in *CoreActivityStep) DeepCopy() *CoreActivityStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreActivityStep.
func (*CoreActivityStep) DeepCopyInto ¶
func (in *CoreActivityStep) DeepCopyInto(out *CoreActivityStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependencyUpdate ¶
type DependencyUpdate struct { DependencyUpdateDetails `json:",inline"` Paths []DependencyUpdatePath `json:"paths,omitempty"` }
DependencyUpdate describes an dependency update message from the commit log
func (*DependencyUpdate) DeepCopy ¶
func (in *DependencyUpdate) DeepCopy() *DependencyUpdate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyUpdate.
func (*DependencyUpdate) DeepCopyInto ¶
func (in *DependencyUpdate) DeepCopyInto(out *DependencyUpdate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependencyUpdateDetails ¶
type DependencyUpdateDetails struct { Host string `json:"host"` Owner string `json:"owner"` Repo string `json:"repo"` Component string `json:"component"` URL string `json:"url"` FromVersion string `json:"fromVersion"` FromReleaseHTMLURL string `json:"fromReleaseHTMLURL"` FromReleaseName string `json:"fromReleaseName"` ToVersion string `json:"toVersion"` ToReleaseHTMLURL string `json:"toReleaseHTMLURL"` ToReleaseName string `json:"toReleaseName"` }
DependencyUpdateDetails are the details of a dependency update
func (*DependencyUpdateDetails) DeepCopy ¶
func (in *DependencyUpdateDetails) DeepCopy() *DependencyUpdateDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyUpdateDetails.
func (*DependencyUpdateDetails) DeepCopyInto ¶
func (in *DependencyUpdateDetails) DeepCopyInto(out *DependencyUpdateDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DependencyUpdateDetails) String ¶
func (d *DependencyUpdateDetails) String() string
type DependencyUpdatePath ¶
type DependencyUpdatePath []DependencyUpdateDetails
DependencyUpdatePath is the path of a dependency update
func (DependencyUpdatePath) DeepCopy ¶
func (in DependencyUpdatePath) DeepCopy() DependencyUpdatePath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyUpdatePath.
func (DependencyUpdatePath) DeepCopyInto ¶
func (in DependencyUpdatePath) DeepCopyInto(out *DependencyUpdatePath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployOptions ¶
type DeployOptions struct { // Canary should we enable canary rollouts (progressive delivery) for apps by default Canary bool `json:"canary,omitempty" protobuf:"bytes,1,opt,name=canary"` // should we use the horizontal pod autoscaler on new apps by default? HPA bool `json:"hpa,omitempty" protobuf:"bytes,2,opt,name=hpa"` }
DeployOptions configures options for how to deploy applications by default such as using progressive delivery or using horizontal pod autoscaler
func (*DeployOptions) DeepCopy ¶
func (in *DeployOptions) DeepCopy() *DeployOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployOptions.
func (*DeployOptions) DeepCopyInto ¶
func (in *DeployOptions) DeepCopyInto(out *DeployOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // +kubebuilder:pruning:PreserveUnknownFields 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 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"` // RemoteCluster flag indicates if the Environment is deployed in a separate cluster to the Development Environment RemoteCluster bool `json:"remoteCluster,omitempty" protobuf:"bytes,12,opt,name=remoteCluster"` }
EnvironmentSpec is the specification of an Environment
func (*EnvironmentSpec) DeepCopy ¶
func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentSpec.
func (*EnvironmentSpec) DeepCopyInto ¶
func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentSpec) IsLighthouse ¶
func (e *EnvironmentSpec) IsLighthouse() bool
IsLighthouse returns true if we are using lighthouse as the webhook handler
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 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 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 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"` // +kubebuilder:pruning:PreserveUnknownFields Spec PipelineActivitySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status PipelineActivityStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PipelineActivity represents pipeline activity for a particular run of a pipeline
func (*PipelineActivity) BranchName ¶
func (p *PipelineActivity) BranchName() string
BranchName returns the name of the branch for the pipeline
func (*PipelineActivity) DeepCopy ¶
func (in *PipelineActivity) DeepCopy() *PipelineActivity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivity.
func (*PipelineActivity) DeepCopyInto ¶
func (in *PipelineActivity) DeepCopyInto(out *PipelineActivity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineActivity) DeepCopyObject ¶
func (in *PipelineActivity) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PipelineActivity) RepositoryName ¶
func (p *PipelineActivity) RepositoryName() string
RepositoryName returns the repository name for the given pipeline
func (*PipelineActivity) RepositoryOwner ¶
func (p *PipelineActivity) RepositoryOwner() string
RepositoryOwner returns the repository name for the given pipeline
func (*PipelineActivity) StagesByStatus ¶
func (p *PipelineActivity) StagesByStatus() map[ActivityStatusType][]string
StagesByStatus returns a map with statuses as keys and lists of stage names with that status as the values.
type PipelineActivityList ¶
type PipelineActivityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []PipelineActivity `json:"items"` }
PipelineActivityList is a list of PipelineActivity resources
func (*PipelineActivityList) DeepCopy ¶
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"` // +nullable StartedTimestamp *metav1.Time `json:"startedTimestamp,omitempty" protobuf:"bytes,5,opt,name=startedTimestamp"` // +nullable CompletedTimestamp *metav1.Time `json:"completedTimestamp,omitempty" protobuf:"bytes,6,opt,name=completedTimestamp"` Steps []PipelineActivityStep `json:"steps,omitempty" protobuf:"bytes,7,opt,name=steps"` BuildURL string `json:"buildUrl,omitempty" protobuf:"bytes,8,opt,name=buildUrl"` BuildLogsURL string `json:"buildLogsUrl,omitempty" protobuf:"bytes,9,opt,name=buildLogsUrl"` GitURL string `json:"gitUrl,omitempty" protobuf:"bytes,10,opt,name=gitUrl"` GitRepository string `json:"gitRepository,omitempty" protobuf:"bytes,11,opt,name=gitRepository"` GitOwner string `json:"gitOwner,omitempty" protobuf:"bytes,12,opt,name=gitOwner"` GitBranch string `json:"gitBranch,omitempty" protobuf:"bytes,13,opt,name=gitBranch"` Author string `json:"author,omitempty" protobuf:"bytes,14,opt,name=author"` AuthorAvatarURL string `json:"authorAvatarURL,omitempty" protobuf:"bytes,14,opt,name=authorAvatarURL"` AuthorURL string `json:"authorURL,omitempty" protobuf:"bytes,14,opt,name=authorURL"` PullTitle string `json:"pullTitle,omitempty" protobuf:"bytes,15,opt,name=pullTitle"` ReleaseNotesURL string `json:"releaseNotesURL,omitempty" protobuf:"bytes,16,opt,name=releaseNotesURL"` LastCommitSHA string `json:"lastCommitSHA,omitempty" protobuf:"bytes,17,opt,name=lastCommitSHA"` LastCommitMessage string `json:"lastCommitMessage,omitempty" protobuf:"bytes,18,opt,name=lastCommitMessage"` LastCommitURL string `json:"lastCommitURL,omitempty" protobuf:"bytes,19,opt,name=lastCommitURL"` Attachments []Attachment `json:"attachments,omitempty" protobuf:"bytes,24,opt,name=attachments"` BatchPipelineActivity BatchPipelineActivity `json:"batchPipelineActivity,omitempty" protobuf:"bytes,25,opt,name=batchPipelineActivity"` Context string `json:"context,omitempty" protobuf:"bytes,26,opt,name=context"` BaseSHA string `json:"baseSHA,omitempty" protobuf:"bytes,27,opt,name=baseSHA"` }
PipelineActivitySpec is the specification of the pipeline activity
func (*PipelineActivitySpec) DeepCopy ¶
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 PipelineExtension ¶
type PipelineExtension struct { // Name of the container specified as a DNS_LABEL. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Docker image name. Image string `json:"image,omitempty" protobuf:"bytes,2,opt,name=image"` // Entrypoint array. Not executed within a shell. Command string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"` // Arguments to the entrypoint. Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"` }
PipelineExtension defines the image and command of an app which wants to modify/extend the pipeline
func (*PipelineExtension) DeepCopy ¶
func (in *PipelineExtension) DeepCopy() *PipelineExtension
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineExtension.
func (*PipelineExtension) DeepCopyInto ¶
func (in *PipelineExtension) DeepCopyInto(out *PipelineExtension)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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 PromotionEngineType ¶
type PromotionEngineType string
PromotionEngineType is the type of promotion implementation the team uses
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 ProwConfigType ¶
type ProwConfigType string
ProwConfigType is the type of prow configuration
const ( // ProwConfigScheduler when we use the Scheduler CRDs to generate the Prow ConfigMaps ProwConfigScheduler ProwConfigType = "Scheduler" )
type ProwEngineType ¶
type ProwEngineType string
ProwEngineType is the type of prow execution engine
type PullRequestInfo ¶
type PullRequestInfo struct { PullRequestNumber string `json:"pullRequestNumber,omitempty" protobuf:"bytes,1,opt,name=pullRequestNumber"` // LastBuildNumberForCommit is the number of the last successful build of this PR outside of a batch LastBuildNumberForCommit string `json:"lastBuildNumberForCommit,omitempty" protobuf:"bytes,2,opt,name=lastBuildNumberForCommit"` // LastBuildSHA is the commit SHA in the last successful build of this PR outside of a batch. LastBuildSHA string `json:"lastBuildSHA,omitempty" protobuf:"bytes,3,opt,name=lastBuildSHA"` }
PullRequestInfo contains information about a PR included in a batch, like its PR number, the last build number, and SHA
func (*PullRequestInfo) DeepCopy ¶
func (in *PullRequestInfo) DeepCopy() *PullRequestInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestInfo.
func (*PullRequestInfo) DeepCopyInto ¶
func (in *PullRequestInfo) DeepCopyInto(out *PullRequestInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type 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"` // +kubebuilder:pruning:PreserveUnknownFields 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"` DependencyUpdates []DependencyUpdate `json:"dependencyUpdates,omitempty" protobuf:"bytes,11,opt,name=dependencyUpdates"` ReleaseNotesURL string `json:"releaseNotesURL,omitempty" protobuf:"bytes,8,opt,name=releaseNotesURL"` GitRepository string `json:"gitRepository,omitempty" protobuf:"bytes,9,opt,name=gitRepository"` GitOwner string `json:"gitOwner,omitempty" protobuf:"bytes,10,opt,name=gitOwner"` }
ReleaseSpec is the specification of the Release
func (*ReleaseSpec) DeepCopy ¶
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.
func (*ReleaseSpec) DeepCopyInto ¶
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatus ¶
type ReleaseStatus struct {
Status ReleaseStatusType `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"`
}
ReleaseStatus is the status of a release
func (*ReleaseStatus) DeepCopy ¶
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatusType ¶
type ReleaseStatusType string
ReleaseStatusType is the status of a release; usually deployed or failed at completion
const ( // ReleaseStatusTypeNone an activity step has not started yet ReleaseStatusTypeNone ReleaseStatusType = "" // ReleaseStatusTypePending the release is pending ReleaseStatusTypePending ReleaseStatusType = "Pending" // ReleaseStatusTypeDeployed a release has been deployed ReleaseStatusTypeDeployed ReleaseStatusType = "Deployed" // ReleaseStatusTypeFailed release failed ReleaseStatusTypeFailed ReleaseStatusType = "Failed" )
type 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"` // +kubebuilder:pruning:PreserveUnknownFields Spec SourceRepositorySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
+genclient +genclient:noStatus +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="URL",type="string",JSONPath=".spec.url",description="The URL of the git repository" +kubebuilder:printcolumn:name="Description",type="string",JSONPath=".spec.description",description="A description of the source code repository - non-functional user-data" +kubebuilder:resource:categories=all,shortName=sourcerepo;srcrepo;sr +k8s:openapi-gen=true +kubebuilder:storageversion SourceRepository is the metadata for an Application/Project/SourceRepository
func (*SourceRepository) DeepCopy ¶
func (in *SourceRepository) DeepCopy() *SourceRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepository.
func (*SourceRepository) DeepCopyInto ¶
func (in *SourceRepository) DeepCopyInto(out *SourceRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceRepository) DeepCopyObject ¶
func (in *SourceRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SourceRepository) Sanitize ¶
func (repo *SourceRepository) Sanitize()
Sanitize sanitizes the source repository URL
type 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"` // ProviderName is a logical name for the provider without any URL scheme which can be used in a label selector ProviderName string `json:"providerName,omitempty" protobuf:"bytes,5,opt,name=providerName"` // ProviderKind is the kind of provider (github / bitbucketcloud / bitbucketserver etc) ProviderKind string `json:"providerKind,omitempty" protobuf:"bytes,6,opt,name=providerKind"` // URL is the web URL of the project page URL string `json:"url,omitempty" protobuf:"bytes,7,opt,name=url"` // SSHCloneURL is the git URL to clone this repository using SSH SSHCloneURL string `json:"sshCloneURL,omitempty" protobuf:"bytes,8,opt,name=sshCloneURL"` // HTTPCloneURL is the git URL to clone this repository using HTTP/HTTPS HTTPCloneURL string `json:"httpCloneURL,omitempty" protobuf:"bytes,9,opt,name=httpCloneURL"` // Scheduler a reference to a custom scheduler otherwise we default to the Team's Scededuler Scheduler ResourceReference `json:"scheduler,omitempty" protobuf:"bytes,10,opt,name=scheduler"` }
SourceRepositorySpec provides details of the metadata for an App
func (*SourceRepositorySpec) DeepCopy ¶
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 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 TeamSettings ¶
type TeamSettings struct { 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"` PostPreviewJobs []batchv1.Job `json:"postPreviewJobs,omitempty" protobuf:"bytes,9,opt,name=postPreviewJobs"` PromotionEngine PromotionEngineType `json:"promotionEngine,omitempty" protobuf:"bytes,10,opt,name=promotionEngine"` GitServer string `` /* 140-byte string literal not displayed */ Organisation string `` /* 155-byte string literal not displayed */ EnvOrganisation string `` /* 176-byte string literal not displayed */ PipelineUsername string `` /* 191-byte string literal not displayed */ PipelineUserEmail string `` /* 201-byte string literal not displayed */ DockerRegistryOrg string `` /* 189-byte string literal not displayed */ GitPublic bool `` /* 139-byte string literal not displayed */ KubeProvider string `json:"kubeProvider,omitempty" protobuf:"bytes,18,opt,name=kubeProvider"` AppsRepository string `json:"appsRepository,omitempty" protobuf:"bytes,19,opt,name=appsRepository"` StorageLocations []StorageLocation `json:"storageLocations,omitempty" protobuf:"bytes,21,opt,name=storageLocations"` // DeployKind what kind of deployment ("default" uses regular Kubernetes Services and Deployments, "knative" uses the Knative Service resource instead) DeployKind string `json:"deployKind,omitempty" protobuf:"bytes,24,opt,name=deployKind"` // AppsPrefixes is the list of prefixes for appNames AppsPrefixes []string `json:"appPrefixes,omitempty" protobuf:"bytes,27,opt,name=appPrefixes"` DefaultScheduler ResourceReference `json:"defaultScheduler,omitempty" protobuf:"bytes,28,opt,name=defaultScheduler"` // ProwConfig is the way we manage prow configurations ProwConfig ProwConfigType `json:"prowConfig,omitempty" protobuf:"bytes,29,opt,name=prowConfig"` // BootRequirements is a marshaled string of the jx-requirements.yml used in the most recent run for this cluster BootRequirements string `json:"bootRequirements,omitempty" protobuf:"bytes,31,opt,name=bootRequirements"` // DeployOptions configures options for how to deploy applications by default such as using canary rollouts (progressive delivery) or using horizontal pod autoscaler DeployOptions *DeployOptions `json:"deployOptions,omitempty" protobuf:"bytes,32,opt,name=deployOptions"` }
TeamSettings the default settings for a team
func (*TeamSettings) DeepCopy ¶
func (in *TeamSettings) DeepCopy() *TeamSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSettings.
func (*TeamSettings) DeepCopyInto ¶
func (in *TeamSettings) DeepCopyInto(out *TeamSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeamSettings) GetDeployOptions ¶
func (t *TeamSettings) GetDeployOptions() DeployOptions
GetDeployOptions returns the default deploy options for a team
func (*TeamSettings) SetStorageLocation ¶
func (t *TeamSettings) SetStorageLocation(classifier string, storage StorageLocation)
SetStorageLocation stores the given storage location in the team settings
func (*TeamSettings) StorageLocation ¶
func (t *TeamSettings) StorageLocation(classifier string) StorageLocation
StorageLocation returns the storage location, lazily creating one if one does not already exist
func (*TeamSettings) StorageLocationOrDefault ¶
func (t *TeamSettings) StorageLocationOrDefault(classifier string) StorageLocation
StorageLocationOrDefault returns the storage location if there is one or returns the default storage configuration
func (*TeamSettings) UnmarshalJSON ¶
func (t *TeamSettings) UnmarshalJSON(data []byte) error
UnmarshalJSON method handles the rename of GitPrivate to GitPublic.
type 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 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 ( // WebHookEngineLighthouse specifies that we use lighthouse for webhooks // see: https://github.com/jenkins-x/lighthouse WebHookEngineLighthouse WebHookEngineType = "Lighthouse" )