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 ActivityStatusType
- type ActivityStepKindType
- type Attachment
- type CommitSummary
- type ComplianceCheck
- type ComplianceCheckCommitReference
- type ComplianceCheckItem
- type ComplianceCheckList
- type ComplianceCheckSpec
- 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 ExtensionSpec
- func (e *ExtensionSpec) Contains(whens []ExtensionWhen, when ExtensionWhen) bool
- func (in *ExtensionSpec) DeepCopy() *ExtensionSpec
- func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)
- func (e *ExtensionSpec) EnvVarName(names ...string) string
- func (e *ExtensionSpec) FullyQualifiedKebabName() (fqn string)
- func (e *ExtensionSpec) FullyQualifiedName() (fqn string)
- func (e *ExtensionSpec) IsPost() bool
- func (e *ExtensionSpec) ToExecutable(paramValues []ExtensionParameterValue, teamNamespace string) (ext ExtensionExecution, envVarsStr string, err error)
- type ExtensionWhen
- type Fact
- type GitService
- type GitServiceList
- type GitServiceSpec
- type GitStatus
- type IssueLabel
- type IssueSummary
- type Measurement
- type Original
- type PipelineActivity
- type PipelineActivityList
- type PipelineActivitySpec
- type PipelineActivityStatus
- type PipelineActivityStep
- type PreviewActivityStep
- type PreviewGitSpec
- type PromoteActivityStep
- type PromotePullRequestStep
- type PromoteUpdateStep
- type PromoteWorkflowStep
- type PromotionEngineType
- type PromotionStrategyType
- type QuickStartLocation
- type Release
- type ReleaseList
- type ReleaseSpec
- type ReleaseStatus
- type ReleaseStatusType
- type ResourceReference
- type StageActivityStep
- type Statement
- type Team
- type TeamKindType
- type TeamList
- type TeamProvisionStatusType
- type TeamSettings
- 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 ( VersionGlobalParameterName string = "extVersion" TeamNamespaceGlobalParameterName string = "extTeamNamespace" )
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 = "Coverage" )
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" )
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: 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 ActivityStatusType ¶ added in v1.0.84
type ActivityStatusType string
ActivityStatusType is the status of an activity; usually succeeded or failed/error on completion
const ( // ActivityStatusTypeNone an activity step has not started yet ActivityStatusTypeNone ActivityStatusType = "" // ActivityStatusTypePending an activity step is waiting to start ActivityStatusTypePending ActivityStatusType = "Pending" // ActivityStatusTypeRunning an activity is running ActivityStatusTypeRunning ActivityStatusType = "Running" // ActivityStatusTypeSucceeded an activity completed successfully ActivityStatusTypeSucceeded ActivityStatusType = "Succeeded" // ActivityStatusTypeFailed an activity failed ActivityStatusTypeFailed ActivityStatusType = "Failed" // ActivityStatusTypeWaitingForApproval an activity is waiting for approval ActivityStatusTypeWaitingForApproval ActivityStatusType = "WaitingForApproval" // ActivityStatusTypeError there is some error with an activity ActivityStatusTypeError ActivityStatusType = "Error" // ActivityStatusTypeAborted if the workflow was aborted ActivityStatusTypeAborted ActivityStatusType = "Aborted" )
func (ActivityStatusType) IsTerminated ¶ added in v1.3.169
func (s ActivityStatusType) IsTerminated() bool
IsTerminated returns true if this activity has stopped executing
func (ActivityStatusType) String ¶ added in v1.0.84
func (s ActivityStatusType) String() string
type ActivityStepKindType ¶ added in v1.0.87
type ActivityStepKindType string
ActivityStepKindType is a kind of step
const ( // ActivityStepKindTypeNone no kind yet ActivityStepKindTypeNone ActivityStepKindType = "" // ActivityStepKindTypeStage a group of low level steps ActivityStepKindTypeStage ActivityStepKindType = "Stage" // ActivityStepKindTypePreview a promote activity ActivityStepKindTypePreview ActivityStepKindType = "Preview" // ActivityStepKindTypePromote a promote activity ActivityStepKindTypePromote ActivityStepKindType = "Promote" )
type Attachment ¶ added in v1.3.354
type Attachment struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` URLs []string `json:"urls,omitempty" protobuf:"bytes,2,opt,name=urls"` }
func (*Attachment) DeepCopy ¶ added in v1.3.354
func (in *Attachment) DeepCopy() *Attachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attachment.
func (*Attachment) DeepCopyInto ¶ added in v1.3.354
func (in *Attachment) DeepCopyInto(out *Attachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitSummary ¶ added in v1.0.90
type CommitSummary struct { Message string `json:"message,omitempty" protobuf:"bytes,1,opt,name=message"` SHA string `json:"sha,omitempty" protobuf:"bytes,2,opt,name=sha"` URL string `json:"url,omitempty" protobuf:"bytes,3,opt,name=url"` Author *UserDetails `json:"author,omitempty" protobuf:"bytes,4,opt,name=author"` Committer *UserDetails `json:"committer,omitempty" protobuf:"bytes,5,opt,name=committer"` Branch string `json:"branch,omitempty" protobuf:"bytes,6,opt,name=branch"` IssueIDs []string `json:"issueIds,omitempty" protobuf:"bytes,7,opt,name=issueIds"` }
CommitSummary is the summary of a commit
func (*CommitSummary) DeepCopy ¶ added in v1.0.90
func (in *CommitSummary) DeepCopy() *CommitSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitSummary.
func (*CommitSummary) DeepCopyInto ¶ added in v1.0.90
func (in *CommitSummary) DeepCopyInto(out *CommitSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComplianceCheck ¶ added in v1.3.413
type ComplianceCheck 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 ComplianceCheckSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
ComplianceCheck represents the compliance checks performed for a particular pipeline run
func (*ComplianceCheck) DeepCopy ¶ added in v1.3.413
func (in *ComplianceCheck) DeepCopy() *ComplianceCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceCheck.
func (*ComplianceCheck) DeepCopyInto ¶ added in v1.3.413
func (in *ComplianceCheck) DeepCopyInto(out *ComplianceCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComplianceCheck) DeepCopyObject ¶ added in v1.3.413
func (in *ComplianceCheck) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComplianceCheckCommitReference ¶ added in v1.3.417
type ComplianceCheckCommitReference 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 (*ComplianceCheckCommitReference) DeepCopy ¶ added in v1.3.417
func (in *ComplianceCheckCommitReference) DeepCopy() *ComplianceCheckCommitReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceCheckCommitReference.
func (*ComplianceCheckCommitReference) DeepCopyInto ¶ added in v1.3.417
func (in *ComplianceCheckCommitReference) DeepCopyInto(out *ComplianceCheckCommitReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComplianceCheckCommitReference) String ¶ added in v1.3.417
func (r *ComplianceCheckCommitReference) String() string
type ComplianceCheckItem ¶ added in v1.3.413
type ComplianceCheckItem 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,omitempty" protobuf:"bytes,3,opt,name=pass"` }
func (*ComplianceCheckItem) DeepCopy ¶ added in v1.3.413
func (in *ComplianceCheckItem) DeepCopy() *ComplianceCheckItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceCheckItem.
func (*ComplianceCheckItem) DeepCopyInto ¶ added in v1.3.413
func (in *ComplianceCheckItem) DeepCopyInto(out *ComplianceCheckItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComplianceCheckList ¶ added in v1.3.413
type ComplianceCheckList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ComplianceCheck `json:"items"` }
ComnplianceCheckList is a list of ComplianceChecks
func (*ComplianceCheckList) DeepCopy ¶ added in v1.3.413
func (in *ComplianceCheckList) DeepCopy() *ComplianceCheckList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceCheckList.
func (*ComplianceCheckList) DeepCopyInto ¶ added in v1.3.413
func (in *ComplianceCheckList) DeepCopyInto(out *ComplianceCheckList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComplianceCheckList) DeepCopyObject ¶ added in v1.3.413
func (in *ComplianceCheckList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComplianceCheckSpec ¶ added in v1.3.413
type ComplianceCheckSpec struct { PipelineActivity ResourceReference `json:"pipelineActivity" protobuf:"bytes,1,opt,name=pipelineActivity"` Checks []ComplianceCheckItem `json:"checks,omitempty" protobuf:"bytes,2,opt,name=checks"` Checked bool `json:"checked" protobuf:"bytes,3,opt,name=checked"` Commit ComplianceCheckCommitReference `json:"commit" protobuf:"bytes,4,opt,name=commit"` }
ComplianceCheckSpec provides details of a particular Compliance Check
func (*ComplianceCheckSpec) DeepCopy ¶ added in v1.3.413
func (in *ComplianceCheckSpec) DeepCopy() *ComplianceCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComplianceCheckSpec.
func (*ComplianceCheckSpec) DeepCopyInto ¶ added in v1.3.413
func (in *ComplianceCheckSpec) DeepCopyInto(out *ComplianceCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoreActivityStep ¶ added in v1.0.84
type CoreActivityStep struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"` Status ActivityStatusType `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` StartedTimestamp *metav1.Time `json:"startedTimestamp,omitempty" protobuf:"bytes,4,opt,name=startedTimestamp"` CompletedTimestamp *metav1.Time `json:"completedTimestamp,omitempty" protobuf:"bytes,5,opt,name=completedTimestamp"` }
CoreActivityStep is a base step included in Stages of a pipeline or other kinds of step
func (*CoreActivityStep) DeepCopy ¶ added in v1.0.84
func (in *CoreActivityStep) DeepCopy() *CoreActivityStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreActivityStep.
func (*CoreActivityStep) DeepCopyInto ¶ added in v1.0.84
func (in *CoreActivityStep) DeepCopyInto(out *CoreActivityStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec EnvironmentSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status EnvironmentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Environment represents an environment like Dev, Test, Staging, Production where code lives
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Environment) DeepCopyObject ¶
func (in *Environment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentFilter ¶ added in v1.3.16
type EnvironmentFilter struct { Kind EnvironmentKindType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` Includes []string `json:"includes,omitempty" protobuf:"bytes,2,opt,name=includes"` Excludes []string `json:"excludes,omitempty" protobuf:"bytes,3,opt,name=excludes"` }
EnvironmentFilter specifies the environments to apply the role binding to
func (*EnvironmentFilter) DeepCopy ¶ added in v1.3.16
func (in *EnvironmentFilter) DeepCopy() *EnvironmentFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentFilter.
func (*EnvironmentFilter) DeepCopyInto ¶ added in v1.3.16
func (in *EnvironmentFilter) DeepCopyInto(out *EnvironmentFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentKindType ¶ added in v1.0.18
type EnvironmentKindType string
EnvironmentKindType is the kind of an environment
const ( // EnvironmentKindTypePermanent specifies that the environment is a regular permanent one EnvironmentKindTypePermanent EnvironmentKindType = "Permanent" // EnvironmentKindTypePreview specifies that an environment is a Preview environment that lasts as long as a Pull Request EnvironmentKindTypePreview EnvironmentKindType = "Preview" // EnvironmentKindTypeTest specifies that an environment is a temporary one for a test EnvironmentKindTypeTest EnvironmentKindType = "Test" // EnvironmentKindTypeEdit specifies that an environment is a developers editing workspace EnvironmentKindTypeEdit EnvironmentKindType = "Edit" // EnvironmentKindTypeDevelopment specifies that an environment is a development environment; for developer tools like Jenkins, Nexus etc EnvironmentKindTypeDevelopment EnvironmentKindType = "Development" )
func (EnvironmentKindType) IsPermanent ¶ added in v1.0.83
func (e EnvironmentKindType) IsPermanent() bool
IsPermanent returns true if this environment is permanent
type EnvironmentList ¶
type EnvironmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Environment `json:"items"` }
EnvironmentList is a list of TypeMeta resources
func (*EnvironmentList) DeepCopy ¶
func (in *EnvironmentList) DeepCopy() *EnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentList.
func (*EnvironmentList) DeepCopyInto ¶
func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentList) DeepCopyObject ¶
func (in *EnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentRepository ¶
type EnvironmentRepository struct { Kind EnvironmentRepositoryType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` URL string `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"` Ref string `json:"ref,omitempty" protobuf:"bytes,3,opt,name=ref"` }
EnvironmentRepository is the repository for an environment using GitOps
func (*EnvironmentRepository) DeepCopy ¶
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 ¶ added in v1.3.16
type EnvironmentRoleBinding struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec EnvironmentRoleBindingSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status EnvironmentRoleBindingStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
EnvironmentRoleBinding is like a vanilla RoleBinding but applies to a set of Namespaces based on an Environment filter so that roles can be bound to multiple namespaces easily.
For example to specify the binding of roles on all Preview environments or on all permanent environments.
func (*EnvironmentRoleBinding) DeepCopy ¶ added in v1.3.16
func (in *EnvironmentRoleBinding) DeepCopy() *EnvironmentRoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBinding.
func (*EnvironmentRoleBinding) DeepCopyInto ¶ added in v1.3.16
func (in *EnvironmentRoleBinding) DeepCopyInto(out *EnvironmentRoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentRoleBinding) DeepCopyObject ¶ added in v1.3.16
func (in *EnvironmentRoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentRoleBindingList ¶ added in v1.3.16
type EnvironmentRoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []EnvironmentRoleBinding `json:"items"` }
EnvironmentRoleBindingList is a list of TypeMeta resources
func (*EnvironmentRoleBindingList) DeepCopy ¶ added in v1.3.16
func (in *EnvironmentRoleBindingList) DeepCopy() *EnvironmentRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingList.
func (*EnvironmentRoleBindingList) DeepCopyInto ¶ added in v1.3.16
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 ¶ added in v1.3.16
func (in *EnvironmentRoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EnvironmentRoleBindingSpec ¶ added in v1.3.16
type EnvironmentRoleBindingSpec struct { // Subjects holds references to the objects the role applies to. Subjects []rbacv1.Subject `json:"subjects" protobuf:"bytes,2,rep,name=subjects"` // RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. // If the RoleRef cannot be resolved, the Authorizer must return an error. RoleRef rbacv1.RoleRef `json:"roleRef" protobuf:"bytes,3,opt,name=roleRef"` // specifies which sets of environments this binding applies to Environments []EnvironmentFilter `json:"environments,omitempty" protobuf:"bytes,4,opt,name=environments"` }
EnvironmentRoleBindingSpec is the specification of an EnvironmentRoleBinding
func (*EnvironmentRoleBindingSpec) DeepCopy ¶ added in v1.3.16
func (in *EnvironmentRoleBindingSpec) DeepCopy() *EnvironmentRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingSpec.
func (*EnvironmentRoleBindingSpec) DeepCopyInto ¶ added in v1.3.16
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 ¶ added in v1.3.16
type EnvironmentRoleBindingStatus struct {
Version string `json:"version,omitempty"`
}
EnvironmentRoleBindingStatus is the status for an EnvironmentRoleBinding resource
func (*EnvironmentRoleBindingStatus) DeepCopy ¶ added in v1.3.16
func (in *EnvironmentRoleBindingStatus) DeepCopy() *EnvironmentRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentRoleBindingStatus.
func (*EnvironmentRoleBindingStatus) DeepCopyInto ¶ added in v1.3.16
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 ¶ added in v1.3.393
type EnvironmentVariable struct { Name string `json:"name,omitempty protobuf:"bytes,1,opt,name=name"` Value string `json:"value,omitempty protobuf:"bytes,2,opt,name=value"` }
func (*EnvironmentVariable) DeepCopy ¶ added in v1.3.393
func (in *EnvironmentVariable) DeepCopy() *EnvironmentVariable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentVariable.
func (*EnvironmentVariable) DeepCopyInto ¶ added in v1.3.393
func (in *EnvironmentVariable) DeepCopyInto(out *EnvironmentVariable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extension ¶ added in v1.3.354
type Extension struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ExtensionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
Extension represents an extension available to this Jenkins X install
func (*Extension) DeepCopy ¶ added in v1.3.354
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶ added in v1.3.354
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Extension) DeepCopyObject ¶ added in v1.3.354
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtensionConfig ¶ added in v1.3.393
type ExtensionConfig struct { Name string `json:"name"` Namespace string `json:"namespace"` Parameters []ExtensionParameterValue `json: "parameters"` }
ExtensionConfig is the configuration and enablement for an extension inside an app
func (*ExtensionConfig) DeepCopy ¶ added in v1.3.393
func (in *ExtensionConfig) DeepCopy() *ExtensionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfig.
func (*ExtensionConfig) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionConfig) DeepCopyInto(out *ExtensionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionConfig) FullyQualifiedKebabName ¶ added in v1.3.393
func (e *ExtensionConfig) FullyQualifiedKebabName() (fqn string)
func (*ExtensionConfig) FullyQualifiedName ¶ added in v1.3.393
func (e *ExtensionConfig) FullyQualifiedName() (fqn string)
type ExtensionConfigList ¶ added in v1.3.393
type ExtensionConfigList struct {
Extensions []ExtensionConfig `json:"extensions"`
}
ExtensionsConfigList contains a list of ExtensionConfig items
func (*ExtensionConfigList) DeepCopy ¶ added in v1.3.393
func (in *ExtensionConfigList) DeepCopy() *ExtensionConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionConfigList.
func (*ExtensionConfigList) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionConfigList) DeepCopyInto(out *ExtensionConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionConfigList) LoadFromConfigMap ¶ added in v1.3.393
func (extensionsConfig *ExtensionConfigList) LoadFromConfigMap(configMapName string, client kubernetes.Interface, namespace string) (cfg *ExtensionConfigList, err error)
func (*ExtensionConfigList) LoadFromFile ¶ added in v1.3.393
func (extensionsConfig *ExtensionConfigList) LoadFromFile(inputFile string) (cfg *ExtensionConfigList, err error)
type ExtensionDefinition ¶ added in v1.3.393
type ExtensionDefinition struct { Name string `json:"name"` Namespace string `json:"namespace"` UUID string `json:"uuid"` Description string `json:"description,omitempty"` When []ExtensionWhen `json:"when,omitempty"` Given ExtensionGiven `json:"given,omitempty"` Children []ExtensionDefinitionChildReference `json:"children,omitempty"` ScriptFile string `json:"scriptFile,omitempty"` Parameters []ExtensionParameter `json:"parameters,omitempty"` }
ExtensionDefinition defines an Extension
func (*ExtensionDefinition) DeepCopy ¶ added in v1.3.393
func (in *ExtensionDefinition) DeepCopy() *ExtensionDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinition.
func (*ExtensionDefinition) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionDefinition) DeepCopyInto(out *ExtensionDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionDefinition) FullyQualifiedKebabName ¶ added in v1.3.393
func (e *ExtensionDefinition) FullyQualifiedKebabName() (fqn string)
func (*ExtensionDefinition) FullyQualifiedName ¶ added in v1.3.393
func (e *ExtensionDefinition) FullyQualifiedName() (fqn string)
type ExtensionDefinitionChildReference ¶ added in v1.3.393
type ExtensionDefinitionChildReference struct { UUID string `json:"uuid,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Remote string `json:"remote,omitempty"` Tag string `json:"tag,omitempty"` }
ExtensionDefinitionChildReference provides a reference to a child
func (*ExtensionDefinitionChildReference) DeepCopy ¶ added in v1.3.393
func (in *ExtensionDefinitionChildReference) DeepCopy() *ExtensionDefinitionChildReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionChildReference.
func (*ExtensionDefinitionChildReference) DeepCopyInto ¶ added in v1.3.393
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 ¶ added in v1.3.393
func (e *ExtensionDefinitionChildReference) FullyQualifiedKebabName() (fqn string)
func (*ExtensionDefinitionChildReference) FullyQualifiedName ¶ added in v1.3.393
func (e *ExtensionDefinitionChildReference) FullyQualifiedName() (fqn string)
type ExtensionDefinitionList ¶ added in v1.3.393
type ExtensionDefinitionList struct { Version string `json:"version,omitempty"` Extensions []ExtensionDefinition `json:"extensions"` }
ExtensionDefinitionList contains a list of ExtensionDefinition items
func (*ExtensionDefinitionList) DeepCopy ¶ added in v1.3.393
func (in *ExtensionDefinitionList) DeepCopy() *ExtensionDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionList.
func (*ExtensionDefinitionList) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionDefinitionList) DeepCopyInto(out *ExtensionDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionDefinitionList) LoadFromURL ¶ added in v1.3.393
func (lock *ExtensionDefinitionList) LoadFromURL(definitionsUrl string, extension string, version string) (err error)
type ExtensionDefinitionReference ¶ added in v1.3.393
ExtensionRepositoryReference references a GitHub repo that contains extension definitions
func (*ExtensionDefinitionReference) DeepCopy ¶ added in v1.3.393
func (in *ExtensionDefinitionReference) DeepCopy() *ExtensionDefinitionReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionReference.
func (*ExtensionDefinitionReference) DeepCopyInto ¶ added in v1.3.393
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 ¶ added in v1.3.393
type ExtensionDefinitionReferenceList struct {
Remotes []ExtensionDefinitionReference `json:"remotes"`
}
ExtensionDefinitionReferenceList contains a list of ExtensionRepository items
func (*ExtensionDefinitionReferenceList) DeepCopy ¶ added in v1.3.393
func (in *ExtensionDefinitionReferenceList) DeepCopy() *ExtensionDefinitionReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionDefinitionReferenceList.
func (*ExtensionDefinitionReferenceList) DeepCopyInto ¶ added in v1.3.393
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 ¶ added in v1.3.393
func (constraints *ExtensionDefinitionReferenceList) LoadFromFile(inputFile string) (err error)
type ExtensionExecution ¶ added in v1.3.393
type ExtensionExecution struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"` Script string `json:"script,omitempty" protobuf:"bytes,3,opt,name=script"` EnvironmentVariables []EnvironmentVariable `json:"environmentVariables,omitempty protobuf:"bytes,4,opt,name=environmentvariables"` Given ExtensionGiven `json:"given,omitempty" protobuf:"bytes,5,opt,name=given"` Namespace string `json:"namespace,omitempty" protobuf:"bytes,7,opt,name=namespace"` UUID string `json:"uuid,omitempty" protobuf:"bytes,8,opt,name=uuid"` }
ExtensionExecution is an executable instance of an extension which can be attached into a pipeline for later execution. It differs from an Extension as it cannot have children and parameters have been resolved to environment variables
func (*ExtensionExecution) DeepCopy ¶ added in v1.3.393
func (in *ExtensionExecution) DeepCopy() *ExtensionExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionExecution.
func (*ExtensionExecution) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionExecution) DeepCopyInto(out *ExtensionExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionExecution) Execute ¶ added in v1.3.393
func (e *ExtensionExecution) Execute(verbose bool) (err error)
func (*ExtensionExecution) FullyQualifiedKebabName ¶ added in v1.3.398
func (e *ExtensionExecution) FullyQualifiedKebabName() (fqn string)
func (*ExtensionExecution) FullyQualifiedName ¶ added in v1.3.398
func (e *ExtensionExecution) FullyQualifiedName() (fqn string)
type ExtensionGiven ¶ added in v1.3.354
type ExtensionGiven string
ExtensionGiven specifies the condition (if the extension is executing in a pipeline on which the extension should execute. By default Always.
const ( ExtensionGivenAlways ExtensionGiven = "Always" ExtensionGivenFailure ExtensionGiven = "Failure" ExtensionGivenSuccess ExtensionGiven = "Success" )
type ExtensionList ¶ added in v1.3.354
type ExtensionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Extension `json:"items"` }
ExtensionList is a list of Extensions available for a team
func (*ExtensionList) DeepCopy ¶ added in v1.3.354
func (in *ExtensionList) DeepCopy() *ExtensionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionList.
func (*ExtensionList) DeepCopyInto ¶ added in v1.3.354
func (in *ExtensionList) DeepCopyInto(out *ExtensionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionList) DeepCopyObject ¶ added in v1.3.354
func (in *ExtensionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExtensionParameter ¶ added in v1.3.354
type ExtensionParameter struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"` EnvironmentVariableName string `json:"environmentVariableName,omitempty" protobuf:"bytes,3,opt,name=environmentVariableName"` DefaultValue string `json:"defaultValue,omitempty" protobuf:"bytes,3,opt,name=defaultValue"` }
ExtensionParameter describes a parameter definition for an extension
func (*ExtensionParameter) DeepCopy ¶ added in v1.3.354
func (in *ExtensionParameter) DeepCopy() *ExtensionParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameter.
func (*ExtensionParameter) DeepCopyInto ¶ added in v1.3.354
func (in *ExtensionParameter) DeepCopyInto(out *ExtensionParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionParameterValue ¶ added in v1.3.393
func (*ExtensionParameterValue) DeepCopy ¶ added in v1.3.393
func (in *ExtensionParameterValue) DeepCopy() *ExtensionParameterValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameterValue.
func (*ExtensionParameterValue) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionParameterValue) DeepCopyInto(out *ExtensionParameterValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionRepositoryLockList ¶ added in v1.3.393
type ExtensionRepositoryLockList struct { Version int `json:"version"` Extensions []ExtensionSpec `json:"extensions"` }
ExtensionRepositoryLockList contains a list of ExtensionRepositoryLock items
func (*ExtensionRepositoryLockList) DeepCopy ¶ added in v1.3.393
func (in *ExtensionRepositoryLockList) DeepCopy() *ExtensionRepositoryLockList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionRepositoryLockList.
func (*ExtensionRepositoryLockList) DeepCopyInto ¶ added in v1.3.393
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 ¶ added in v1.3.393
func (lock *ExtensionRepositoryLockList) LoadFromFile(inputFile string) (err error)
type ExtensionSpec ¶ added in v1.3.393
type ExtensionSpec struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"` Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"` Script string `json:"script,omitempty" protobuf:"bytes,4,opt,name=script"` When []ExtensionWhen `json:"when,omitempty" protobuf:"bytes,5,opt,name=when"` Given ExtensionGiven `json:"given,omitempty" protobuf:"bytes,6,opt,name=given"` Parameters []ExtensionParameter `json:"parameters,omitempty" protobuf:"bytes,8,opt,name=parameters"` Namespace string `json:"namespace,omitempty" protobuf:"bytes,9,opt,name=namespace"` UUID string `json:"uuid,omitempty" protobuf:"bytes,10,opt,name=uuid"` Children []string `json:"children,omitempty" protobuf:"bytes,11,opt,name=children"` }
ExtensionSpec provides details of an extension available for a team
func (*ExtensionSpec) Contains ¶ added in v1.3.395
func (e *ExtensionSpec) Contains(whens []ExtensionWhen, when ExtensionWhen) bool
func (*ExtensionSpec) DeepCopy ¶ added in v1.3.393
func (in *ExtensionSpec) DeepCopy() *ExtensionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionSpec.
func (*ExtensionSpec) DeepCopyInto ¶ added in v1.3.393
func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionSpec) EnvVarName ¶ added in v1.3.403
func (e *ExtensionSpec) EnvVarName(names ...string) string
func (*ExtensionSpec) FullyQualifiedKebabName ¶ added in v1.3.393
func (e *ExtensionSpec) FullyQualifiedKebabName() (fqn string)
func (*ExtensionSpec) FullyQualifiedName ¶ added in v1.3.393
func (e *ExtensionSpec) FullyQualifiedName() (fqn string)
func (*ExtensionSpec) IsPost ¶ added in v1.3.395
func (e *ExtensionSpec) IsPost() bool
func (*ExtensionSpec) ToExecutable ¶ added in v1.3.393
func (e *ExtensionSpec) ToExecutable(paramValues []ExtensionParameterValue, teamNamespace string) (ext ExtensionExecution, envVarsStr string, err error)
TODO remove the env vars formatting stuff from here and make it a function on ExtensionSpec
type ExtensionWhen ¶ added in v1.3.354
type ExtensionWhen string
ExtensionWhen specifies when in the lifecycle an extension should execute. By default Post.
const ( // Executed before a pipeline starts ExtensionWhenPre ExtensionWhen = "pre" // Executed after a pipeline completes ExtensionWhenPost ExtensionWhen = "post" // Executed when an extension installs ExtensionWhenInstall ExtensionWhen = "onInstall" // Executed when an extension upgrades ExtensionWhenUpgrade ExtensionWhen = "onUpgrade" )
type Fact ¶ added in v1.3.411
type Fact struct { Name string `json:"name" protobuf:"bytes,1,opt,name=name"` ID int `json:"id" protobuf:"bytes,2,opt,name=id"` FactType string `json:"factType" protobuf:"bytes,3,opt,name=factType"` Measurements []Measurement `json:"measurements" protobuf:"bytes,4,opt,name=measurements"` Statements []Statement `json:"statements" protobuf:"bytes,5,opt,name=statements"` Original Original `json:"original,omitempty" protobuf: "bytes,6,opt,name=original"` Tags []string `json:"tags,omitempty" protobuf: "bytes,7,opt,name=tags"` }
func (*Fact) DeepCopy ¶ added in v1.3.411
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fact.
func (*Fact) DeepCopyInto ¶ added in v1.3.411
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitService ¶ added in v1.0.114
type GitService struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec GitServiceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
GitService represents a git provider so we can map the host name to a kinda of git service
func (*GitService) DeepCopy ¶ added in v1.0.114
func (in *GitService) DeepCopy() *GitService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitService.
func (*GitService) DeepCopyInto ¶ added in v1.0.114
func (in *GitService) DeepCopyInto(out *GitService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitService) DeepCopyObject ¶ added in v1.0.114
func (in *GitService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitServiceList ¶ added in v1.0.114
type GitServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []GitService `json:"items"` }
GitServiceList is a list of GitService resources
func (*GitServiceList) DeepCopy ¶ added in v1.0.114
func (in *GitServiceList) DeepCopy() *GitServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServiceList.
func (*GitServiceList) DeepCopyInto ¶ added in v1.0.114
func (in *GitServiceList) DeepCopyInto(out *GitServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitServiceList) DeepCopyObject ¶ added in v1.0.114
func (in *GitServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitServiceSpec ¶ added in v1.0.114
type GitServiceSpec struct { GitKind string `json:"gitKind,omitempty" protobuf:"bytes,1,opt,name=gitKind"` URL string `json:"url,omitempty" protobuf:"bytes,2,opt,name=host"` Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=host"` }
GitServiceSpec is the specification of an GitService
func (*GitServiceSpec) DeepCopy ¶ added in v1.0.114
func (in *GitServiceSpec) DeepCopy() *GitServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitServiceSpec.
func (*GitServiceSpec) DeepCopyInto ¶ added in v1.0.114
func (in *GitServiceSpec) DeepCopyInto(out *GitServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitStatus ¶ added in v1.0.87
type GitStatus struct { URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"` Status string `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"` }
GitStatus the status of a git commit in terms of CI/CD
func (*GitStatus) DeepCopy ¶ added in v1.0.87
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitStatus.
func (*GitStatus) DeepCopyInto ¶ added in v1.0.87
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssueLabel ¶ added in v1.2.100
type IssueLabel struct { URL string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Name string `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"` Color string `json:"color,omitempty" protobuf:"bytes,3,opt,name=color"` }
func (*IssueLabel) DeepCopy ¶ added in v1.2.100
func (in *IssueLabel) DeepCopy() *IssueLabel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssueLabel.
func (*IssueLabel) DeepCopyInto ¶ added in v1.2.100
func (in *IssueLabel) DeepCopyInto(out *IssueLabel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IssueSummary ¶ added in v1.0.97
type IssueSummary struct { ID string `json:"id,omitempty" protobuf:"bytes,1,opt,name=id"` URL string `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"` Title string `json:"title,omitempty" protobuf:"bytes,3,opt,name=title"` Body string `json:"body,omitempty" protobuf:"bytes,4,opt,name=body"` State string `json:"state,omitempty" protobuf:"bytes,5,opt,name=state"` Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` User *UserDetails `json:"user,omitempty" protobuf:"bytes,7,opt,name=user"` Assignees []UserDetails `json:"assignees,omitempty" protobuf:"bytes,8,opt,name=assignees"` ClosedBy *UserDetails `json:"closedBy,omitempty" protobuf:"bytes,9,opt,name=closedBy"` CreationTimestamp *metav1.Time `json:"creationTimestamp,omitempty" protobuf:"bytes,10,opt,name=creationTimestamp"` Labels []IssueLabel `json:"labels,omitempty" protobuf:"bytes,11,opt,name=labels"` }
IssueSummary is the summary of an issue
func (*IssueSummary) DeepCopy ¶ added in v1.0.97
func (in *IssueSummary) DeepCopy() *IssueSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IssueSummary.
func (*IssueSummary) DeepCopyInto ¶ added in v1.0.97
func (in *IssueSummary) DeepCopyInto(out *IssueSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IssueSummary) IsClosed ¶ added in v1.0.101
func (i *IssueSummary) IsClosed() bool
IsClosed returns true if this issue is closed or fixed
type Measurement ¶ added in v1.3.411
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"` }
func (*Measurement) DeepCopy ¶ added in v1.3.411
func (in *Measurement) DeepCopy() *Measurement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Measurement.
func (*Measurement) DeepCopyInto ¶ added in v1.3.411
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 ¶ added in v1.3.368
type Original struct { MimeType string `json:"mimetype,omitempty" protobuf: "bytes,1,opt,name=mimetype"` URL string `json:"mimetype,omitempty" protobuf: "bytes,1,opt,name=mimetype"` Tags []string `json:"tags,omitempty" protobuf: "bytes,8,opt,name=tags"` }
func (*Original) DeepCopy ¶ added in v1.3.386
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Original.
func (*Original) DeepCopyInto ¶ added in v1.3.386
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineActivity ¶ added in v1.0.84
type PipelineActivity struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec PipelineActivitySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status PipelineActivityStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
PipelineActivity represents pipeline activity for a particular run of a pipeline
func (*PipelineActivity) BranchName ¶ added in v1.3.169
func (p *PipelineActivity) BranchName() string
BranchName returns the name of the branch for the pipeline
func (*PipelineActivity) DeepCopy ¶ added in v1.0.84
func (in *PipelineActivity) DeepCopy() *PipelineActivity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivity.
func (*PipelineActivity) DeepCopyInto ¶ added in v1.0.84
func (in *PipelineActivity) DeepCopyInto(out *PipelineActivity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineActivity) DeepCopyObject ¶ added in v1.0.84
func (in *PipelineActivity) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PipelineActivity) RepositoryName ¶ added in v1.3.169
func (p *PipelineActivity) RepositoryName() string
RepositoryName returns the repository name for the given pipeline
type PipelineActivityList ¶ added in v1.0.84
type PipelineActivityList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []PipelineActivity `json:"items"` }
PipelineActivityList is a list of PipelineActivity resources
func (*PipelineActivityList) DeepCopy ¶ added in v1.0.84
func (in *PipelineActivityList) DeepCopy() *PipelineActivityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivityList.
func (*PipelineActivityList) DeepCopyInto ¶ added in v1.0.84
func (in *PipelineActivityList) DeepCopyInto(out *PipelineActivityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineActivityList) DeepCopyObject ¶ added in v1.0.84
func (in *PipelineActivityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineActivitySpec ¶ added in v1.0.84
type PipelineActivitySpec struct { Pipeline string `json:"pipeline,omitempty" protobuf:"bytes,1,opt,name=pipeline"` Build string `json:"build,omitempty" protobuf:"bytes,2,opt,name=build"` Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"` Status ActivityStatusType `json:"status,omitempty" protobuf:"bytes,4,opt,name=status"` StartedTimestamp *metav1.Time `json:"startedTimestamp,omitempty" protobuf:"bytes,5,opt,name=startedTimestamp"` CompletedTimestamp *metav1.Time `json:"completedTimestamp,omitempty" protobuf:"bytes,6,opt,name=completedTimestamp"` Steps []PipelineActivityStep `json:"steps,omitempty" protobuf:"bytes,7,opt,name=steps"` BuildURL string `json:"buildUrl,omitempty" protobuf:"bytes,8,opt,name=buildUrl"` BuildLogsURL string `json:"buildLogsUrl,omitempty" protobuf:"bytes,9,opt,name=buildLogsUrl"` GitURL string `json:"gitUrl,omitempty" protobuf:"bytes,10,opt,name=gitUrl"` GitRepository string `json:"gitRepository,omitempty" protobuf:"bytes,10,opt,name=gitRepository"` GitOwner string `json:"gitOwner,omitempty" protobuf:"bytes,10,opt,name=gitOwner"` ReleaseNotesURL string `json:"releaseNotesURL,omitempty" protobuf:"bytes,11,opt,name=releaseNotesURL"` LastCommitSHA string `json:"lastCommitSHA,omitempty" protobuf:"bytes,12,opt,name=lastCommitSHA"` LastCommitMessage string `json:"lastCommitMessage,omitempty" protobuf:"bytes,13,opt,name=lastCommitMessage"` LastCommitURL string `json:"lastCommitURL,omitempty" protobuf:"bytes,14,opt,name=lastCommitURL"` Workflow string `json:"workflow,omitempty" protobuf:"bytes,15,opt,name=workflow"` WorkflowStatus ActivityStatusType `json:"workflowStatus,omitempty" protobuf:"bytes,16,opt,name=workflowStatus"` WorkflowMessage string `json:"workflowMessage,omitempty" protobuf:"bytes,17,opt,name=workflowMessage"` PostExtensions []ExtensionExecution `json:"postExtensions,omitempty" protobuf: "bytes,18,opt,name=postExtensions"` Attachments []Attachment `json:"attachments,omitempty" protobuf: "bytes,19,opt,name=attachments"` Facts []Fact `json:"facts,omitempty" protobuf: "bytes,20,opt,name=facts"` }
PipelineActivitySpec is the specification of the pipeline activity
func (*PipelineActivitySpec) DeepCopy ¶ added in v1.0.84
func (in *PipelineActivitySpec) DeepCopy() *PipelineActivitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivitySpec.
func (*PipelineActivitySpec) DeepCopyInto ¶ added in v1.0.84
func (in *PipelineActivitySpec) DeepCopyInto(out *PipelineActivitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineActivityStatus ¶ added in v1.0.84
type PipelineActivityStatus struct {
Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`
}
PipelineActivityStatus is the status for an Environment resource
func (*PipelineActivityStatus) DeepCopy ¶ added in v1.0.84
func (in *PipelineActivityStatus) DeepCopy() *PipelineActivityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivityStatus.
func (*PipelineActivityStatus) DeepCopyInto ¶ added in v1.0.84
func (in *PipelineActivityStatus) DeepCopyInto(out *PipelineActivityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineActivityStep ¶ added in v1.0.84
type PipelineActivityStep struct { Kind ActivityStepKindType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` Stage *StageActivityStep `json:"stage,omitempty" protobuf:"bytes,2,opt,name=stage"` Promote *PromoteActivityStep `json:"promote,omitempty" protobuf:"bytes,3,opt,name=promote"` Preview *PreviewActivityStep `json:"preview,omitempty" protobuf:"bytes,4,opt,name=preview"` }
PipelineActivityStep represents a step in a pipeline activity
func (*PipelineActivityStep) DeepCopy ¶ added in v1.0.84
func (in *PipelineActivityStep) DeepCopy() *PipelineActivityStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineActivityStep.
func (*PipelineActivityStep) DeepCopyInto ¶ added in v1.0.84
func (in *PipelineActivityStep) DeepCopyInto(out *PipelineActivityStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreviewActivityStep ¶ added in v1.2.70
type PreviewActivityStep struct { CoreActivityStep Environment string `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"` PullRequestURL string `json:"pullRequestURL,omitempty" protobuf:"bytes,2,opt,name=pullRequestURL"` ApplicationURL string `json:"applicationURL,omitempty" protobuf:"bytes,3,opt,name=applicationURL"` }
PreviewActivityStep is the step of creating a preview environment as part of a Pull Request pipeline
func (*PreviewActivityStep) DeepCopy ¶ added in v1.2.70
func (in *PreviewActivityStep) DeepCopy() *PreviewActivityStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewActivityStep.
func (*PreviewActivityStep) DeepCopyInto ¶ added in v1.2.70
func (in *PreviewActivityStep) DeepCopyInto(out *PreviewActivityStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreviewGitSpec ¶ added in v1.0.22
type PreviewGitSpec struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` URL string `json:"url,omitempty" protobuf:"bytes,2,opt,name=url"` User UserSpec `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"` Title string `json:"title,omitempty" protobuf:"bytes,4,opt,name=title"` Description string `json:"description,omitempty" protobuf:"bytes,5,opt,name=description"` BuildStatus string `json:"buildStatus,omitempty" protobuf:"bytes,6,opt,name=buildStatus"` BuildStatusURL string `json:"buildStatusUrl,omitempty" protobuf:"bytes,7,opt,name=buildStatusUrl"` ApplicationName string `json:"appName,omitempty" protobuf:"bytes,8,opt,name=appName"` ApplicationURL string `json:"applicationURL,omitempty" protobuf:"bytes,9,opt,name=applicationURL"` }
PreviewGitSpec is the preview git branch/pull request details
func (*PreviewGitSpec) DeepCopy ¶ added in v1.0.22
func (in *PreviewGitSpec) DeepCopy() *PreviewGitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreviewGitSpec.
func (*PreviewGitSpec) DeepCopyInto ¶ added in v1.0.22
func (in *PreviewGitSpec) DeepCopyInto(out *PreviewGitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromoteActivityStep ¶ added in v1.0.87
type PromoteActivityStep struct { CoreActivityStep Environment string `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"` PullRequest *PromotePullRequestStep `json:"pullRequest,omitempty" protobuf:"bytes,2,opt,name=pullRequest"` Update *PromoteUpdateStep `json:"update,omitempty" protobuf:"bytes,3,opt,name=update"` ApplicationURL string `json:"applicationURL,omitempty" protobuf:"bytes,4,opt,name=environment"` }
PromoteActivityStep is the step of promoting a version of an application to an environment
func (*PromoteActivityStep) DeepCopy ¶ added in v1.0.87
func (in *PromoteActivityStep) DeepCopy() *PromoteActivityStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoteActivityStep.
func (*PromoteActivityStep) DeepCopyInto ¶ added in v1.0.87
func (in *PromoteActivityStep) DeepCopyInto(out *PromoteActivityStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromotePullRequestStep ¶ added in v1.0.84
type PromotePullRequestStep struct { CoreActivityStep PullRequestURL string `json:"pullRequestURL,omitempty" protobuf:"bytes,1,opt,name=pullRequestURL"` MergeCommitSHA string `json:"mergeCommitSHA,omitempty" protobuf:"bytes,2,opt,name=mergeCommitSHA"` }
PromotePullRequestStep is the step for promoting a version to an environment by raising a Pull Request on the git repository of the environment
func (*PromotePullRequestStep) DeepCopy ¶ added in v1.0.84
func (in *PromotePullRequestStep) DeepCopy() *PromotePullRequestStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromotePullRequestStep.
func (*PromotePullRequestStep) DeepCopyInto ¶ added in v1.0.84
func (in *PromotePullRequestStep) DeepCopyInto(out *PromotePullRequestStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromoteUpdateStep ¶ added in v1.0.87
type PromoteUpdateStep struct { CoreActivityStep Statuses []GitStatus `json:"statuses,omitempty" protobuf:"bytes,1,opt,name=statuses"` }
PromoteUpdateStep is the step for updating a promotion after the Pull Request merges to master
func (*PromoteUpdateStep) DeepCopy ¶ added in v1.0.87
func (in *PromoteUpdateStep) DeepCopy() *PromoteUpdateStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoteUpdateStep.
func (*PromoteUpdateStep) DeepCopyInto ¶ added in v1.0.87
func (in *PromoteUpdateStep) DeepCopyInto(out *PromoteUpdateStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromoteWorkflowStep ¶ added in v1.3.166
type PromoteWorkflowStep struct {
Environment string `json:"environment,omitempty" protobuf:"bytes,1,opt,name=environment"`
}
PromoteWorkflowStep is the step of promoting a version of an application to an environment
func (*PromoteWorkflowStep) DeepCopy ¶ added in v1.3.166
func (in *PromoteWorkflowStep) DeepCopy() *PromoteWorkflowStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromoteWorkflowStep.
func (*PromoteWorkflowStep) DeepCopyInto ¶ added in v1.3.166
func (in *PromoteWorkflowStep) DeepCopyInto(out *PromoteWorkflowStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromotionEngineType ¶ added in v1.3.140
type PromotionEngineType string
PromotionEngineType is the type of promotion implementation the team uses
const ( PromotionEngineJenkins PromotionEngineType = "Jenkins" PromotionEngineProw PromotionEngineType = "Prow" )
type PromotionStrategyType ¶
type PromotionStrategyType string
PromotionStrategyType is the type of a promotion strategy
const ( // PromotionStrategyTypeManual specifies that promotion happens manually PromotionStrategyTypeManual PromotionStrategyType = "Manual" // PromotionStrategyTypeAutomatic specifies that promotion happens automatically PromotionStrategyTypeAutomatic PromotionStrategyType = "Auto" // PromotionStrategyTypeNever specifies that promotion is disabled for this environment PromotionStrategyTypeNever PromotionStrategyType = "Never" )
type QuickStartLocation ¶ added in v1.2.84
type QuickStartLocation struct { GitURL string `json:"gitUrl,omitempty" protobuf:"bytes,1,opt,name=gitUrl"` GitKind string `json:"gitKind,omitempty" protobuf:"bytes,2,opt,name=gitKind"` Owner string `json:"owner,omitempty" protobuf:"bytes,3,opt,name=owner"` Includes []string `json:"includes,omitempty" protobuf:"bytes,4,opt,name=includes"` Excludes []string `json:"excludes,omitempty" protobuf:"bytes,5,opt,name=excludes"` }
QuickStartLocation
func (*QuickStartLocation) DeepCopy ¶ added in v1.2.100
func (in *QuickStartLocation) DeepCopy() *QuickStartLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuickStartLocation.
func (*QuickStartLocation) DeepCopyInto ¶ added in v1.2.100
func (in *QuickStartLocation) DeepCopyInto(out *QuickStartLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Release ¶ added in v1.0.90
type Release struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ReleaseSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ReleaseStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Release represents a single version of an app that has been released
func (*Release) DeepCopy ¶ added in v1.0.90
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶ added in v1.0.90
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶ added in v1.0.90
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleaseList ¶ added in v1.0.90
type ReleaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Release `json:"items"` }
ReleaseList is a list of Release resources
func (*ReleaseList) DeepCopy ¶ added in v1.0.90
func (in *ReleaseList) DeepCopy() *ReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseList.
func (*ReleaseList) DeepCopyInto ¶ added in v1.0.90
func (in *ReleaseList) DeepCopyInto(out *ReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseList) DeepCopyObject ¶ added in v1.0.90
func (in *ReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleaseSpec ¶ added in v1.0.90
type ReleaseSpec struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"` GitHTTPURL string `json:"gitHttpUrl,omitempty" protobuf:"bytes,3,opt,name=gitHttpUrl"` GitCloneURL string `json:"gitCloneUrl,omitempty" protobuf:"bytes,4,opt,name=gitCloneUrl"` Commits []CommitSummary `json:"commits,omitempty" protobuf:"bytes,5,opt,name=commits"` Issues []IssueSummary `json:"issues,omitempty" protobuf:"bytes,6,opt,name=issues"` PullRequests []IssueSummary `json:"pullRequests,omitempty" protobuf:"bytes,7,opt,name=pullRequests"` ReleaseNotesURL string `json:"releaseNotesURL,omitempty" protobuf:"bytes,8,opt,name=releaseNotesURL"` GitRepository string `json:"gitRepository,omitempty" protobuf:"bytes,9,opt,name=gitRepository"` GitOwner string `json:"gitOwner,omitempty" protobuf:"bytes,10,opt,name=gitOwner"` }
ReleaseSpec is the specification of the Release
func (*ReleaseSpec) DeepCopy ¶ added in v1.0.90
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.
func (*ReleaseSpec) DeepCopyInto ¶ added in v1.0.90
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatus ¶ added in v1.0.90
type ReleaseStatus struct {
Status ReleaseStatusType `json:"status,omitempty" protobuf:"bytes,1,opt,name=status"`
}
ReleaseStatus is the status of a release
func (*ReleaseStatus) DeepCopy ¶ added in v1.0.90
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶ added in v1.0.90
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatusType ¶ added in v1.0.90
type ReleaseStatusType string
ReleaseStatusType is the status of a release; usually deployed or failed at completion
const ( // ReleaseStatusTypeNone an activity step has not started yet ReleaseStatusTypeNone ReleaseStatusType = "" // ReleaseStatusTypePending the release is pending ReleaseStatusTypePending ReleaseStatusType = "Pending" // ReleaseStatusTypeDeployed a release has been deployed ReleaseStatusTypeDeployed ReleaseStatusType = "Deployed" // ReleaseStatusTypeFailed release failed ReleaseStatusTypeFailed ReleaseStatusType = "Failed" )
type ResourceReference ¶ added in v1.3.413
type ResourceReference struct { // API version of the referent. APIVersion string `json:"apiVersion" protobuf:"bytes,5,opt,name=apiVersion"` // Kind of the referent. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // Name of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,3,opt,name=name"` // UID of the referent. // More info: http://kubernetes.io/docs/user-guide/identifiers#uids UID types.UID `json:"uid" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/apimachinery/pkg/types.UID"` }
func (*ResourceReference) DeepCopy ¶ added in v1.3.413
func (in *ResourceReference) DeepCopy() *ResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
func (*ResourceReference) DeepCopyInto ¶ added in v1.3.413
func (in *ResourceReference) DeepCopyInto(out *ResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StageActivityStep ¶ added in v1.0.84
type StageActivityStep struct { CoreActivityStep Steps []CoreActivityStep `json:"steps,omitempty" protobuf:"bytes,1,opt,name=steps"` }
StageActivityStep represents a stage of zero to more sub steps in a jenkins pipeline
func (*StageActivityStep) DeepCopy ¶ added in v1.0.84
func (in *StageActivityStep) DeepCopy() *StageActivityStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageActivityStep.
func (*StageActivityStep) DeepCopyInto ¶ added in v1.0.84
func (in *StageActivityStep) DeepCopyInto(out *StageActivityStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Statement ¶ added in v1.3.411
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"` }
func (*Statement) DeepCopy ¶ added in v1.3.411
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.
func (*Statement) DeepCopyInto ¶ added in v1.3.411
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Team ¶ added in v1.3.146
type Team struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec TeamSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status TeamStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Team represents a request to create an actual Team which is a group of users, a development environment and optional other environments
func (*Team) DeepCopy ¶ added in v1.3.146
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Team.
func (*Team) DeepCopyInto ¶ added in v1.3.146
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Team) DeepCopyObject ¶ added in v1.3.146
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeamKindType ¶ added in v1.3.146
type TeamKindType string
TeamKindType is the kind of an Team
const ( // TeamKindTypeCD specifies that the Team is a regular permanent one TeamKindTypeCD TeamKindType = "CD" // TeamKindTypeCI specifies that the Team is a regular permanent one TeamKindTypeCI TeamKindType = "CI" )
type TeamList ¶ added in v1.3.146
type TeamList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Team `json:"items"` }
TeamList is a list of TypeMeta resources
func (*TeamList) DeepCopy ¶ added in v1.3.146
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamList.
func (*TeamList) DeepCopyInto ¶ added in v1.3.146
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeamList) DeepCopyObject ¶ added in v1.3.146
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeamProvisionStatusType ¶ added in v1.3.146
type TeamProvisionStatusType string
TeamProvisionStatusType is the kind of an Team
const ( // TeamProvisionStatusNone provisioning not started yet TeamProvisionStatusNone TeamProvisionStatusType = "" // TeamProvisionStatusPending specifies that the Team is being provisioned TeamProvisionStatusPending TeamProvisionStatusType = "Pending" // TeamProvisionStatusComplete specifies that the Team has been provisioned TeamProvisionStatusComplete TeamProvisionStatusType = "Complete" // TeamProvisionStatusDeleting specifies that the Team is being deleted TeamProvisionStatusDeleting TeamProvisionStatusType = "Deleting" // TeamProvisionStatusError specifies that the Team provisioning failed with some error TeamProvisionStatusError TeamProvisionStatusType = "Error" )
type TeamSettings ¶ added in v1.0.58
type TeamSettings struct { UseGitOPs bool `json:"useGitOps,omitempty" protobuf:"bytes,1,opt,name=useGitOps"` AskOnCreate bool `json:"askOnCreate,omitempty" protobuf:"bytes,2,opt,name=askOnCreate"` BranchPatterns string `json:"branchPatterns,omitempty" protobuf:"bytes,3,opt,name=branchPatterns"` ForkBranchPatterns string `json:"forkBranchPatterns,omitempty" protobuf:"bytes,4,opt,name=forkBranchPatterns"` QuickstartLocations []QuickStartLocation `json:"quickstartLocations,omitempty" protobuf:"bytes,5,opt,name=quickstartLocations"` BuildPackURL string `json:"buildPackUrl,omitempty" protobuf:"bytes,6,opt,name=buildPackUrl"` BuildPackRef string `json:"buildPackRef,omitempty" protobuf:"bytes,7,opt,name=buildPackRef"` HelmBinary string `json:"helmBinary,omitempty" protobuf:"bytes,8,opt,name=helmBinary"` PostPreviewJobs []batchv1.Job `json:"postPreviewJobs,omitempty" protobuf:"bytes,9,opt,name=postPreviewJobs"` PromotionEngine PromotionEngineType `json:"promotionEngine,omitempty" protobuf:"bytes,10,opt,name=promotionEngine"` NoTiller bool `json:"noTiller,omitempty" protobuf:"bytes,11,opt,name=noTiller"` HelmTemplate bool `json:"helmTemplate,omitempty" protobuf:"bytes,12,opt,name=helmTemplate"` GitServer string `` /* 140-byte string literal not displayed */ Organisation string `` /* 155-byte string literal not displayed */ PipelineUsername string `` /* 191-byte string literal not displayed */ DockerRegistryOrg string `` /* 189-byte string literal not displayed */ GitPrivate bool `` /* 143-byte string literal not displayed */ KubeProvider string `json:"kubeProvider,omitempty" protobuf:"bytes,18,opt,name=kubeProvider"` }
TeamSettings the default settings for a team
func (*TeamSettings) DeepCopy ¶ added in v1.0.83
func (in *TeamSettings) DeepCopy() *TeamSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSettings.
func (*TeamSettings) DeepCopyInto ¶ added in v1.0.83
func (in *TeamSettings) DeepCopyInto(out *TeamSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamSpec ¶ added in v1.3.146
type TeamSpec struct { Label string `json:"label,omitempty" protobuf:"bytes,1,opt,name=label"` Kind TeamKindType `json:"kind,omitempty" protobuf:"bytes,2,opt,name=kind"` Members []string `json:"members,omitempty" protobuf:"bytes,3,opt,name=members"` }
TeamSpec is the specification of an Team
func (*TeamSpec) DeepCopy ¶ added in v1.3.146
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSpec.
func (*TeamSpec) DeepCopyInto ¶ added in v1.3.146
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamStatus ¶ added in v1.3.146
type TeamStatus struct { ProvisionStatus TeamProvisionStatusType `json:"provisionStatus,omitempty"` Message string `json:"message,omitempty"` }
TeamStatus is the status for an Team resource
func (*TeamStatus) DeepCopy ¶ added in v1.3.146
func (in *TeamStatus) DeepCopy() *TeamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamStatus.
func (*TeamStatus) DeepCopyInto ¶ added in v1.3.146
func (in *TeamStatus) DeepCopyInto(out *TeamStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶ added in v1.2.63
type User struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Deprecated, use Spec User UserDetails `json:"user,omitempty" protobuf:"bytes,2,opt,name=user"` Spec UserDetails `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"` }
User represents a git user so we have a cache to find by email address
func (*User) DeepCopy ¶ added in v1.2.63
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶ added in v1.2.63
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶ added in v1.2.63
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) SubjectKind ¶ added in v1.3.249
UserKind returns the subject kind of user - either "User" or "ServiceAccount"
type UserDetails ¶ added in v1.0.90
type UserDetails struct { Login string `json:"login,omitempty" protobuf:"bytes,1,opt,name=login"` Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` Email string `json:"email,omitempty" protobuf:"bytes,3,opt,name=email"` CreationTimestamp *metav1.Time `json:"creationTimestamp,omitempty" protobuf:"bytes,4,opt,name=creationTimestamp"` URL string `json:"url,omitempty" protobuf:"bytes,5,opt,name=url"` AvatarURL string `json:"avatarUrl,omitempty" protobuf:"bytes,6,opt,name=avatarUrl"` ServiceAccount string `json:"serviceAccount,omitempty" protobuf:"bytes,7,opt,name=serviceAccount"` SlackUser string `json:"slackUser,omitempty" protobuf:"bytes,8,opt,name=slackUser"` }
UserDetails containers details of a user
func (*UserDetails) DeepCopy ¶ added in v1.0.90
func (in *UserDetails) DeepCopy() *UserDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDetails.
func (*UserDetails) DeepCopyInto ¶ added in v1.0.90
func (in *UserDetails) DeepCopyInto(out *UserDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserList ¶ added in v1.2.63
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []User `json:"items"` }
UserList is a list of User resources
func (*UserList) DeepCopy ¶ added in v1.2.63
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶ added in v1.2.63
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶ added in v1.2.63
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶ added in v1.0.25
type UserSpec struct { Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"` Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` LinkURL string `json:"linkUrl,omitempty" protobuf:"bytes,3,opt,name=linkUrl"` ImageURL string `json:"imageUrl,omitempty" protobuf:"bytes,4,opt,name=imageUrl"` }
UserSpec is the user details
func (*UserSpec) DeepCopy ¶ added in v1.0.25
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶ added in v1.0.25
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebHookEngineType ¶ added in v1.3.247
type WebHookEngineType string
WebHookEngineType is the type of webhook processing implementation the team uses
const ( WebHookEngineNone WebHookEngineType = "" WebHookEngineJenkins WebHookEngineType = "Jenkins" WebHookEngineProw WebHookEngineType = "Prow" )
type Workflow ¶ added in v1.3.166
type Workflow struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec WorkflowSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status WorkflowStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Workflow represents pipeline activity for a particular run of a pipeline
func (*Workflow) DeepCopy ¶ added in v1.3.166
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.
func (*Workflow) DeepCopyInto ¶ added in v1.3.166
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Workflow) DeepCopyObject ¶ added in v1.3.166
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkflowList ¶ added in v1.3.166
type WorkflowList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Workflow `json:"items"` }
WorkflowList is a list of Workflow resources
func (*WorkflowList) DeepCopy ¶ added in v1.3.166
func (in *WorkflowList) DeepCopy() *WorkflowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList.
func (*WorkflowList) DeepCopyInto ¶ added in v1.3.166
func (in *WorkflowList) DeepCopyInto(out *WorkflowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkflowList) DeepCopyObject ¶ added in v1.3.166
func (in *WorkflowList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkflowPreconditions ¶ added in v1.3.166
type WorkflowPreconditions struct { // the names of the environments which need to have promoted before this step can be triggered Environments []string `json:"environments,omitempty" protobuf:"bytes,1,opt,name=environments"` }
WorkflowPreconditions is the trigger to start a step
func (*WorkflowPreconditions) DeepCopy ¶ added in v1.3.166
func (in *WorkflowPreconditions) DeepCopy() *WorkflowPreconditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowPreconditions.
func (*WorkflowPreconditions) DeepCopyInto ¶ added in v1.3.166
func (in *WorkflowPreconditions) DeepCopyInto(out *WorkflowPreconditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowSpec ¶ added in v1.3.166
type WorkflowSpec struct { PipelineName string `json:"pipeline,omitempty" protobuf:"bytes,1,opt,name=pipeline"` Steps []WorkflowStep `json:"steps,omitempty" protobuf:"bytes,7,opt,name=steps"` }
WorkflowSpec is the specification of the pipeline activity
func (*WorkflowSpec) DeepCopy ¶ added in v1.3.166
func (in *WorkflowSpec) DeepCopy() *WorkflowSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowSpec.
func (*WorkflowSpec) DeepCopyInto ¶ added in v1.3.166
func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowStatus ¶ added in v1.3.166
type WorkflowStatus struct {
Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`
}
WorkflowStatus is the status for an Environment resource
func (*WorkflowStatus) DeepCopy ¶ added in v1.3.166
func (in *WorkflowStatus) DeepCopy() *WorkflowStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStatus.
func (*WorkflowStatus) DeepCopyInto ¶ added in v1.3.166
func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowStatusType ¶ added in v1.3.166
type WorkflowStatusType string
WorkflowStatusType is the status of an activity; usually succeeded or failed/error on completion
const ( // WorkflowStatusTypeNone an activity step has not started yet WorkflowStatusTypeNone WorkflowStatusType = "" // WorkflowStatusTypePending an activity step is waiting to start WorkflowStatusTypePending WorkflowStatusType = "Pending" // WorkflowStatusTypeRunning an activity is running WorkflowStatusTypeRunning WorkflowStatusType = "Running" // WorkflowStatusTypeSucceeded an activity completed successfully WorkflowStatusTypeSucceeded WorkflowStatusType = "Succeeded" // WorkflowStatusTypeFailed an activity failed WorkflowStatusTypeFailed WorkflowStatusType = "Failed" // WorkflowStatusTypeWaitingForApproval an activity is waiting for approval WorkflowStatusTypeWaitingForApproval WorkflowStatusType = "WaitingForApproval" // WorkflowStatusTypeError there is some error with an activity WorkflowStatusTypeError WorkflowStatusType = "Error" )
func (WorkflowStatusType) String ¶ added in v1.3.166
func (s WorkflowStatusType) String() string
type WorkflowStep ¶ added in v1.3.166
type WorkflowStep struct { Kind WorkflowStepKindType `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Description string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"` Preconditions WorkflowPreconditions `json:"trigger,omitempty" protobuf:"bytes,3,opt,name=trigger"` Promote *PromoteWorkflowStep `json:"promote,omitempty" protobuf:"bytes,4,opt,name=promote"` }
WorkflowStep represents a step in a pipeline activity
func (*WorkflowStep) DeepCopy ¶ added in v1.3.166
func (in *WorkflowStep) DeepCopy() *WorkflowStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStep.
func (*WorkflowStep) DeepCopyInto ¶ added in v1.3.166
func (in *WorkflowStep) DeepCopyInto(out *WorkflowStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowStepKindType ¶ added in v1.3.166
type WorkflowStepKindType string
WorkflowStepKindType is a kind of step
const ( // WorkflowStepKindTypeNone no kind yet WorkflowStepKindTypeNone WorkflowStepKindType = "" // WorkflowStepKindTypePromote a promote activity WorkflowStepKindTypePromote WorkflowStepKindType = "Promote" )