jx: github.com/jenkins-x/jx/pkg/apis/jenkins.io/v1 Index | Files

package v1

import "github.com/jenkins-x/jx/pkg/apis/jenkins.io/v1"

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

Index

Package Files

doc.go register.go types_buildpack.go types_environment.go types_extensions.go types_fact.go types_pipeline.go types_pipeline_scheduler.go types_pipelinestructure.go types_release.go types_teams.go types_users.go types_workflow.go zz_generated.deepcopy.go

Constants

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

Recommended measurements for static program analysis

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

Recommended measurements for code coverage

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

Recommended types for code coverage count

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

Variables

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

PromotionStrategyTypeValues is the list of all values

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

SchemeGroupVersion is group version used to register these objects

func Kind Uses

func Kind(kind string) schema.GroupKind

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

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type AccountReference Uses

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 Uses

func (in *AccountReference) DeepCopy() *AccountReference

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

func (*AccountReference) DeepCopyInto Uses

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 Uses

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 Uses

func (s ActivityStatusType) IsTerminated() bool

IsTerminated returns true if this activity has stopped executing

func (ActivityStatusType) String Uses

func (s ActivityStatusType) String() string

type ActivityStepKindType Uses

type ActivityStepKindType string

ActivityStepKindType is a kind of step

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

type App Uses

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

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

App is the metadata for an App

func (*App) DeepCopy Uses

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto Uses

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

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

func (*App) DeepCopyObject Uses

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

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

type AppList Uses

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

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

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

func (*AppList) DeepCopy Uses

func (in *AppList) DeepCopy() *AppList

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

func (*AppList) DeepCopyInto Uses

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

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

func (*AppList) DeepCopyObject Uses

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

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

type AppSpec Uses

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

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

AppSpec provides details of the metadata for an App

func (*AppSpec) DeepCopy Uses

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto Uses

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

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

type Approve Uses

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

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

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

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

Approve specifies a configuration for a single approve.

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

func (*Approve) DeepCopy Uses

func (in *Approve) DeepCopy() *Approve

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

func (*Approve) DeepCopyInto Uses

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

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

type Attachment Uses

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 Uses

func (in *Attachment) DeepCopy() *Attachment

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

func (*Attachment) DeepCopyInto Uses

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 Uses

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 Uses

func (in *BatchPipelineActivity) DeepCopy() *BatchPipelineActivity

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

func (*BatchPipelineActivity) DeepCopyInto Uses

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 Uses

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 Uses

func (in *Binary) DeepCopy() *Binary

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

func (*Binary) DeepCopyInto Uses

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

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

type BranchProtectionContextPolicy Uses

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

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

func (*BranchProtectionContextPolicy) DeepCopy Uses

func (in *BranchProtectionContextPolicy) DeepCopy() *BranchProtectionContextPolicy

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

func (*BranchProtectionContextPolicy) DeepCopyInto Uses

func (in *BranchProtectionContextPolicy) DeepCopyInto(out *BranchProtectionContextPolicy)

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

type Brancher Uses

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

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

func (*Brancher) DeepCopy Uses

func (in *Brancher) DeepCopy() *Brancher

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

func (*Brancher) DeepCopyInto Uses

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

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

type BuildPack Uses

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

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

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

func (*BuildPack) DeepCopy Uses

func (in *BuildPack) DeepCopy() *BuildPack

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

func (*BuildPack) DeepCopyInto Uses

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

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

func (*BuildPack) DeepCopyObject Uses

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

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

type BuildPackList Uses

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

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

BuildPackList is a list of TypeMeta resources

func (*BuildPackList) DeepCopy Uses

func (in *BuildPackList) DeepCopy() *BuildPackList

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

func (*BuildPackList) DeepCopyInto Uses

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

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

func (*BuildPackList) DeepCopyObject Uses

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

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

type BuildPackSpec Uses

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

BuildPackSpec is the specification of an BuildPack

func (*BuildPackSpec) DeepCopy Uses

func (in *BuildPackSpec) DeepCopy() *BuildPackSpec

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

func (*BuildPackSpec) DeepCopyInto Uses

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

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

type ChartRef Uses

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

func (*ChartRef) DeepCopy Uses

func (in *ChartRef) DeepCopy() *ChartRef

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

func (*ChartRef) DeepCopyInto Uses

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

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

type CommitStatus Uses

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

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

CommitStatus represents the commit statuses for a particular pull request

func (*CommitStatus) DeepCopy Uses

func (in *CommitStatus) DeepCopy() *CommitStatus

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

func (*CommitStatus) DeepCopyInto Uses

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

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

func (*CommitStatus) DeepCopyObject Uses

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

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

type CommitStatusCommitReference Uses

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

func (*CommitStatusCommitReference) DeepCopy Uses

func (in *CommitStatusCommitReference) DeepCopy() *CommitStatusCommitReference

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

func (*CommitStatusCommitReference) DeepCopyInto Uses

func (in *CommitStatusCommitReference) DeepCopyInto(out *CommitStatusCommitReference)

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

type CommitStatusDetails Uses

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

func (*CommitStatusDetails) DeepCopy Uses

func (in *CommitStatusDetails) DeepCopy() *CommitStatusDetails

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

func (*CommitStatusDetails) DeepCopyInto Uses

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

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

type CommitStatusItem Uses

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

func (*CommitStatusItem) DeepCopy Uses

func (in *CommitStatusItem) DeepCopy() *CommitStatusItem

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

func (*CommitStatusItem) DeepCopyInto Uses

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

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

type CommitStatusList Uses

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

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

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

func (*CommitStatusList) DeepCopy Uses

func (in *CommitStatusList) DeepCopy() *CommitStatusList

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

func (*CommitStatusList) DeepCopyInto Uses

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

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

func (*CommitStatusList) DeepCopyObject Uses

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

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

type CommitStatusSpec Uses

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

CommitStatusSpec provides details of a particular commit status

func (*CommitStatusSpec) DeepCopy Uses

func (in *CommitStatusSpec) DeepCopy() *CommitStatusSpec

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

func (*CommitStatusSpec) DeepCopyInto Uses

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

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

type CommitSummary Uses

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 Uses

func (in *CommitSummary) DeepCopy() *CommitSummary

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

func (*CommitSummary) DeepCopyInto Uses

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

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

type ConfigMapSpec Uses

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

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

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

func (*ConfigMapSpec) DeepCopy Uses

func (in *ConfigMapSpec) DeepCopy() *ConfigMapSpec

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

func (*ConfigMapSpec) DeepCopyInto Uses

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

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

type ConfigUpdater Uses

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

ConfigUpdater holds configuration for the config updater plugin

func (*ConfigUpdater) DeepCopy Uses

func (in *ConfigUpdater) DeepCopy() *ConfigUpdater

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

func (*ConfigUpdater) DeepCopyInto Uses

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

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

type ContextPolicy Uses

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

ContextPolicy configures options about how to handle various contexts.

func (*ContextPolicy) DeepCopy Uses

func (in *ContextPolicy) DeepCopy() *ContextPolicy

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

func (*ContextPolicy) DeepCopyInto Uses

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

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

type CoreActivityStep Uses

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 Uses

func (in *CoreActivityStep) DeepCopy() *CoreActivityStep

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

func (*CoreActivityStep) DeepCopyInto Uses

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 Uses

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

DependencyUpdate describes an dependency update message from the commit log

func (*DependencyUpdate) DeepCopy Uses

func (in *DependencyUpdate) DeepCopy() *DependencyUpdate

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

func (*DependencyUpdate) DeepCopyInto Uses

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 Uses

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

DependencyUpdateDetails are the details of a dependency update

func (*DependencyUpdateDetails) DeepCopy Uses

func (in *DependencyUpdateDetails) DeepCopy() *DependencyUpdateDetails

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

func (*DependencyUpdateDetails) DeepCopyInto Uses

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 Uses

func (d *DependencyUpdateDetails) String() string

type DependencyUpdatePath Uses

type DependencyUpdatePath []DependencyUpdateDetails

DependencyUpdatePath is the path of a dependency update

func (DependencyUpdatePath) DeepCopy Uses

func (in DependencyUpdatePath) DeepCopy() DependencyUpdatePath

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

func (DependencyUpdatePath) DeepCopyInto Uses

func (in DependencyUpdatePath) DeepCopyInto(out *DependencyUpdatePath)

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

type Environment Uses

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 Uses

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto Uses

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 Uses

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

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

type EnvironmentFilter Uses

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 Uses

func (in *EnvironmentFilter) DeepCopy() *EnvironmentFilter

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

func (*EnvironmentFilter) DeepCopyInto Uses

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 Uses

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 Uses

func (e EnvironmentKindType) IsPermanent() bool

IsPermanent returns true if this environment is permanent

type EnvironmentList Uses

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 Uses

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto Uses

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 Uses

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

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

type EnvironmentRepository Uses

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 Uses

func (in *EnvironmentRepository) DeepCopy() *EnvironmentRepository

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

func (*EnvironmentRepository) DeepCopyInto Uses

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 Uses

type EnvironmentRepositoryType string

EnvironmentRepositoryType is the repository type

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

type EnvironmentRoleBinding Uses

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 Uses

func (in *EnvironmentRoleBinding) DeepCopy() *EnvironmentRoleBinding

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

func (*EnvironmentRoleBinding) DeepCopyInto Uses

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 Uses

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

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

type EnvironmentRoleBindingList Uses

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 Uses

func (in *EnvironmentRoleBindingList) DeepCopy() *EnvironmentRoleBindingList

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

func (*EnvironmentRoleBindingList) DeepCopyInto Uses

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 Uses

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

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

type EnvironmentRoleBindingSpec Uses

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 Uses

func (in *EnvironmentRoleBindingSpec) DeepCopy() *EnvironmentRoleBindingSpec

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

func (*EnvironmentRoleBindingSpec) DeepCopyInto Uses

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 Uses

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

EnvironmentRoleBindingStatus is the status for an EnvironmentRoleBinding resource

func (*EnvironmentRoleBindingStatus) DeepCopy Uses

func (in *EnvironmentRoleBindingStatus) DeepCopy() *EnvironmentRoleBindingStatus

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

func (*EnvironmentRoleBindingStatus) DeepCopyInto Uses

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 Uses

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 Uses

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto Uses

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 Uses

func (e *EnvironmentSpec) IsLighthouse() bool

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

func (*EnvironmentSpec) IsProwOrLighthouse Uses

func (e *EnvironmentSpec) IsProwOrLighthouse() bool

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

type EnvironmentStatus Uses

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

EnvironmentStatus is the status for an Environment resource

func (*EnvironmentStatus) DeepCopy Uses

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto Uses

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 Uses

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 Uses

func (in *EnvironmentVariable) DeepCopy() *EnvironmentVariable

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

func (*EnvironmentVariable) DeepCopyInto Uses

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 Uses

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 Uses

func (in *Extension) DeepCopy() *Extension

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

func (*Extension) DeepCopyInto Uses

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

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

func (*Extension) DeepCopyObject Uses

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

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

type ExtensionConfig Uses

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 Uses

func (in *ExtensionConfig) DeepCopy() *ExtensionConfig

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

func (*ExtensionConfig) DeepCopyInto Uses

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 Uses

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

func (*ExtensionConfig) FullyQualifiedName Uses

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

type ExtensionConfigList Uses

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

ExtensionsConfigList contains a list of ExtensionConfig items

func (*ExtensionConfigList) DeepCopy Uses

func (in *ExtensionConfigList) DeepCopy() *ExtensionConfigList

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

func (*ExtensionConfigList) DeepCopyInto Uses

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 Uses

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

func (*ExtensionConfigList) LoadFromFile Uses

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

type ExtensionDefinition Uses

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 Uses

func (in *ExtensionDefinition) DeepCopy() *ExtensionDefinition

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

func (*ExtensionDefinition) DeepCopyInto Uses

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 Uses

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

func (*ExtensionDefinition) FullyQualifiedName Uses

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

type ExtensionDefinitionChildReference Uses

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 Uses

func (in *ExtensionDefinitionChildReference) DeepCopy() *ExtensionDefinitionChildReference

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

func (*ExtensionDefinitionChildReference) DeepCopyInto Uses

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 Uses

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

func (*ExtensionDefinitionChildReference) FullyQualifiedName Uses

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

type ExtensionDefinitionList Uses

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

ExtensionDefinitionList contains a list of ExtensionDefinition items

func (*ExtensionDefinitionList) DeepCopy Uses

func (in *ExtensionDefinitionList) DeepCopy() *ExtensionDefinitionList

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

func (*ExtensionDefinitionList) DeepCopyInto Uses

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

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

type ExtensionDefinitionReference Uses

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

ExtensionRepositoryReference references a GitHub repo that contains extension definitions

func (*ExtensionDefinitionReference) DeepCopy Uses

func (in *ExtensionDefinitionReference) DeepCopy() *ExtensionDefinitionReference

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

func (*ExtensionDefinitionReference) DeepCopyInto Uses

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 Uses

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

ExtensionDefinitionReferenceList contains a list of ExtensionRepository items

func (*ExtensionDefinitionReferenceList) DeepCopy Uses

func (in *ExtensionDefinitionReferenceList) DeepCopy() *ExtensionDefinitionReferenceList

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

func (*ExtensionDefinitionReferenceList) DeepCopyInto Uses

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 Uses

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

type ExtensionExecution Uses

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 Uses

func (in *ExtensionExecution) DeepCopy() *ExtensionExecution

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

func (*ExtensionExecution) DeepCopyInto Uses

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 Uses

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

func (*ExtensionExecution) FullyQualifiedKebabName Uses

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

func (*ExtensionExecution) FullyQualifiedName Uses

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

type ExtensionGiven Uses

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 Uses

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 Uses

func (in *ExtensionList) DeepCopy() *ExtensionList

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

func (*ExtensionList) DeepCopyInto Uses

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 Uses

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

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

type ExtensionParameter Uses

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 Uses

func (in *ExtensionParameter) DeepCopy() *ExtensionParameter

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

func (*ExtensionParameter) DeepCopyInto Uses

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 Uses

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

func (*ExtensionParameterValue) DeepCopy Uses

func (in *ExtensionParameterValue) DeepCopy() *ExtensionParameterValue

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

func (*ExtensionParameterValue) DeepCopyInto Uses

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 Uses

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

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

func (*ExtensionRepositoryLockList) DeepCopy Uses

func (in *ExtensionRepositoryLockList) DeepCopy() *ExtensionRepositoryLockList

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

func (*ExtensionRepositoryLockList) DeepCopyInto Uses

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 Uses

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

type ExtensionRepositoryReference Uses

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

func (*ExtensionRepositoryReference) DeepCopy Uses

func (in *ExtensionRepositoryReference) DeepCopy() *ExtensionRepositoryReference

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

func (*ExtensionRepositoryReference) DeepCopyInto Uses

func (in *ExtensionRepositoryReference) DeepCopyInto(out *ExtensionRepositoryReference)

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

type ExtensionRepositoryReferenceList Uses

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

func (*ExtensionRepositoryReferenceList) DeepCopy Uses

func (in *ExtensionRepositoryReferenceList) DeepCopy() *ExtensionRepositoryReferenceList

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

func (*ExtensionRepositoryReferenceList) DeepCopyInto Uses

func (in *ExtensionRepositoryReferenceList) DeepCopyInto(out *ExtensionRepositoryReferenceList)

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

type ExtensionSpec Uses

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 Uses

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

func (*ExtensionSpec) DeepCopy Uses

func (in *ExtensionSpec) DeepCopy() *ExtensionSpec

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

func (*ExtensionSpec) DeepCopyInto Uses

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

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

func (*ExtensionSpec) FullyQualifiedKebabName Uses

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

func (*ExtensionSpec) FullyQualifiedName Uses

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

func (*ExtensionSpec) IsOnUninstall Uses

func (e *ExtensionSpec) IsOnUninstall() bool

func (*ExtensionSpec) IsPost Uses

func (e *ExtensionSpec) IsPost() bool

type ExtensionWhen Uses

type ExtensionWhen string

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

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

type ExternalPlugin Uses

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

ExternalPlugin holds configuration for registering an external plugin.

func (*ExternalPlugin) DeepCopy Uses

func (in *ExternalPlugin) DeepCopy() *ExternalPlugin

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

func (*ExternalPlugin) DeepCopyInto Uses

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

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

type Fact Uses

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

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

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

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

func (*Fact) DeepCopy Uses

func (in *Fact) DeepCopy() *Fact

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

func (*Fact) DeepCopyInto Uses

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

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

func (*Fact) DeepCopyObject Uses

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

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

type FactList Uses

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

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

FactList is a list of Fact resources

func (*FactList) DeepCopy Uses

func (in *FactList) DeepCopy() *FactList

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

func (*FactList) DeepCopyInto Uses

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

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

func (*FactList) DeepCopyObject Uses

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

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

type FactSpec Uses

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

FactSpec is the specification of a Fact

func (*FactSpec) DeepCopy Uses

func (in *FactSpec) DeepCopy() *FactSpec

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

func (*FactSpec) DeepCopyInto Uses

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

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

type FactStatus Uses

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

FactStatus is the status for an Fact resource

func (*FactStatus) DeepCopy Uses

func (in *FactStatus) DeepCopy() *FactStatus

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

func (*FactStatus) DeepCopyInto Uses

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

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

type GitService Uses

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 Uses

func (in *GitService) DeepCopy() *GitService

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

func (*GitService) DeepCopyInto Uses

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 Uses

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

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

type GitServiceList Uses

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 Uses

func (in *GitServiceList) DeepCopy() *GitServiceList

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

func (*GitServiceList) DeepCopyInto Uses

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 Uses

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

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

type GitServiceSpec Uses

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 Uses

func (in *GitServiceSpec) DeepCopy() *GitServiceSpec

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

func (*GitServiceSpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *GitStatus) DeepCopy() *GitStatus

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

func (*GitStatus) DeepCopyInto Uses

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

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

type GlobalProtectionPolicy Uses

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

GlobalProtectionPolicy defines the default branch protection policy for the scheduler

func (*GlobalProtectionPolicy) DeepCopy Uses

func (in *GlobalProtectionPolicy) DeepCopy() *GlobalProtectionPolicy

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

func (*GlobalProtectionPolicy) DeepCopyInto Uses

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

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

type ImportModeType Uses

type ImportModeType string

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

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

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

type IssueLabel Uses

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 Uses

func (in *IssueLabel) DeepCopy() *IssueLabel

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

func (*IssueLabel) DeepCopyInto Uses

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 Uses

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 Uses

func (in *IssueSummary) DeepCopy() *IssueSummary

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

func (*IssueSummary) DeepCopyInto Uses

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 Uses

func (i *IssueSummary) IsClosed() bool

IsClosed returns true if this issue is closed or fixed

type JobBase Uses

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

JobBase contains attributes common to all job types

func (*JobBase) DeepCopy Uses

func (in *JobBase) DeepCopy() *JobBase

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

func (*JobBase) DeepCopyInto Uses

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

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

type Lgtm Uses

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

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

func (*Lgtm) DeepCopy Uses

func (in *Lgtm) DeepCopy() *Lgtm

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

func (*Lgtm) DeepCopyInto Uses

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

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

type Measurement Uses

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

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

func (*Measurement) DeepCopy Uses

func (in *Measurement) DeepCopy() *Measurement

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

func (*Measurement) DeepCopyInto Uses

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

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

type Merger Uses

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

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

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

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

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

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

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

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

Merger defines the options used to merge the PR

func (*Merger) DeepCopy Uses

func (in *Merger) DeepCopy() *Merger

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

func (*Merger) DeepCopyInto Uses

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

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

type Original Uses

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

Original contains the report

func (*Original) DeepCopy Uses

func (in *Original) DeepCopy() *Original

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

func (*Original) DeepCopyInto Uses

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

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

type Periodic Uses

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

Periodic defines a job to be run periodically

func (*Periodic) DeepCopy Uses

func (in *Periodic) DeepCopy() *Periodic

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

func (*Periodic) DeepCopyInto Uses

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

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

type Periodics Uses

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

Periodics is a list of jobs to be run periodically

func (*Periodics) DeepCopy Uses

func (in *Periodics) DeepCopy() *Periodics

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

func (*Periodics) DeepCopyInto Uses

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

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

type PipelineActivity Uses

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 Uses

func (p *PipelineActivity) BranchName() string

BranchName returns the name of the branch for the pipeline

func (*PipelineActivity) DeepCopy Uses

func (in *PipelineActivity) DeepCopy() *PipelineActivity

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

func (*PipelineActivity) DeepCopyInto Uses

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 Uses

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

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

func (*PipelineActivity) RepositoryName Uses

func (p *PipelineActivity) RepositoryName() string

RepositoryName returns the repository name for the given pipeline

func (*PipelineActivity) RepositoryOwner Uses

func (p *PipelineActivity) RepositoryOwner() string

RepositoryOwner returns the repository name for the given pipeline

type PipelineActivityList Uses

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 Uses

func (in *PipelineActivityList) DeepCopy() *PipelineActivityList

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

func (*PipelineActivityList) DeepCopyInto Uses

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 Uses

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

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

type PipelineActivitySpec Uses

type PipelineActivitySpec struct {
    Pipeline              string                 `json:"pipeline,omitempty" protobuf:"bytes,1,opt,name=pipeline"`
    Build                 string                 `json:"build,omitempty" protobuf:"bytes,2,opt,name=build"`
    Version               string                 `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
    Status                ActivityStatusType     `json:"status,omitempty" protobuf:"bytes,4,opt,name=status"`
    StartedTimestamp      *metav1.Time           `json:"startedTimestamp,omitempty" protobuf:"bytes,5,opt,name=startedTimestamp"`
    CompletedTimestamp    *metav1.Time           `json:"completedTimestamp,omitempty" protobuf:"bytes,6,opt,name=completedTimestamp"`
    Steps                 []PipelineActivityStep `json:"steps,omitempty" protobuf:"bytes,7,opt,name=steps"`
    BuildURL              string                 `json:"buildUrl,omitempty" protobuf:"bytes,8,opt,name=buildUrl"`
    BuildLogsURL          string                 `json:"buildLogsUrl,omitempty" protobuf:"bytes,9,opt,name=buildLogsUrl"`
    GitURL                string                 `json:"gitUrl,omitempty" protobuf:"bytes,10,opt,name=gitUrl"`
    GitRepository         string                 `json:"gitRepository,omitempty" protobuf:"bytes,11,opt,name=gitRepository"`
    GitOwner              string                 `json:"gitOwner,omitempty" protobuf:"bytes,12,opt,name=gitOwner"`
    GitBranch             string                 `json:"gitBranch,omitempty" protobuf:"bytes,13,opt,name=gitBranch"`
    Author                string                 `json:"author,omitempty" protobuf:"bytes,14,opt,name=author"`
    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"`
    Workflow              string                 `json:"workflow,omitempty" protobuf:"bytes,20,opt,name=workflow"`
    WorkflowStatus        ActivityStatusType     `json:"workflowStatus,omitempty" protobuf:"bytes,21,opt,name=workflowStatus"`
    WorkflowMessage       string                 `json:"workflowMessage,omitempty" protobuf:"bytes,22,opt,name=workflowMessage"`
    PostExtensions        []ExtensionExecution   `json:"postExtensions,omitempty" protobuf:"bytes,23,opt,name=postExtensions"`
    Attachments           []Attachment           `json:"attachments,omitempty" protobuf:"bytes,24,opt,name=attachments"`
    BatchPipelineActivity BatchPipelineActivity  `json:"batchPipelineActivity,omitempty" protobuf:"bytes,25,opt,name=batchPipelineActivity"`
    Context               string                 `json:"context,omitempty" protobuf:"bytes,26,opt,name=context"`
    BaseSHA               string                 `json:"baseSHA,omitempty" protobuf:"bytes,27,opt,name=baseSHA"`
}

PipelineActivitySpec is the specification of the pipeline activity

func (*PipelineActivitySpec) DeepCopy Uses

func (in *PipelineActivitySpec) DeepCopy() *PipelineActivitySpec

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

func (*PipelineActivitySpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PipelineActivityStatus) DeepCopy() *PipelineActivityStatus

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

func (*PipelineActivityStatus) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PipelineActivityStep) DeepCopy() *PipelineActivityStep

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

func (*PipelineActivityStep) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PipelineExtension) DeepCopy() *PipelineExtension

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

func (*PipelineExtension) DeepCopyInto Uses

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

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

type PipelineStageAndChildren Uses

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

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

func (*PipelineStageAndChildren) DeepCopy Uses

func (in *PipelineStageAndChildren) DeepCopy() *PipelineStageAndChildren

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

func (*PipelineStageAndChildren) DeepCopyInto Uses

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

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

type PipelineStructure Uses

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

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

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

func (*PipelineStructure) DeepCopy Uses

func (in *PipelineStructure) DeepCopy() *PipelineStructure

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

func (*PipelineStructure) DeepCopyInto Uses

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

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

func (*PipelineStructure) DeepCopyObject Uses

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

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

func (*PipelineStructure) GetAllStagesAndChildren Uses

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

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

func (*PipelineStructure) GetAllStagesWithSteps Uses

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

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

func (*PipelineStructure) GetStage Uses

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

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

func (*PipelineStructure) GetStageAndChildren Uses

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

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

type PipelineStructureList Uses

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

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

PipelineStructureList is a list of PipelineStructureList resources

func (*PipelineStructureList) DeepCopy Uses

func (in *PipelineStructureList) DeepCopy() *PipelineStructureList

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

func (*PipelineStructureList) DeepCopyInto Uses

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

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

func (*PipelineStructureList) DeepCopyObject Uses

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

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

type PipelineStructureStage Uses

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

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

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

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

func (*PipelineStructureStage) DeepCopy Uses

func (in *PipelineStructureStage) DeepCopy() *PipelineStructureStage

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

func (*PipelineStructureStage) DeepCopyInto Uses

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

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

type Plugin Uses

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 Uses

func (in *Plugin) DeepCopy() *Plugin

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

func (*Plugin) DeepCopyInto Uses

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

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

func (*Plugin) DeepCopyObject Uses

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

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

type PluginList Uses

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 Uses

func (in *PluginList) DeepCopy() *PluginList

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

func (*PluginList) DeepCopyInto Uses

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 Uses

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

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

type PluginSpec Uses

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 Uses

func (in *PluginSpec) DeepCopy() *PluginSpec

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

func (*PluginSpec) DeepCopyInto Uses

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

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

type Postsubmit Uses

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

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

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

Postsubmit runs on push events.

func (*Postsubmit) DeepCopy Uses

func (in *Postsubmit) DeepCopy() *Postsubmit

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

func (*Postsubmit) DeepCopyInto Uses

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

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

type Postsubmits Uses

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

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

func (*Postsubmits) DeepCopy Uses

func (in *Postsubmits) DeepCopy() *Postsubmits

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

func (*Postsubmits) DeepCopyInto Uses

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

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

type Presubmit Uses

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

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

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

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

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

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

Presubmit defines a job configuration for pull requests

func (*Presubmit) DeepCopy Uses

func (in *Presubmit) DeepCopy() *Presubmit

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

func (*Presubmit) DeepCopyInto Uses

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

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

type Presubmits Uses

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

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

func (*Presubmits) DeepCopy Uses

func (in *Presubmits) DeepCopy() *Presubmits

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

func (*Presubmits) DeepCopyInto Uses

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

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

type PreviewActivityStep Uses

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 Uses

func (in *PreviewActivityStep) DeepCopy() *PreviewActivityStep

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

func (*PreviewActivityStep) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PreviewGitSpec) DeepCopy() *PreviewGitSpec

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

func (*PreviewGitSpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PromoteActivityStep) DeepCopy() *PromoteActivityStep

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

func (*PromoteActivityStep) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PromotePullRequestStep) DeepCopy() *PromotePullRequestStep

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

func (*PromotePullRequestStep) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PromoteUpdateStep) DeepCopy() *PromoteUpdateStep

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

func (*PromoteUpdateStep) DeepCopyInto Uses

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 Uses

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 Uses

func (in *PromoteWorkflowStep) DeepCopy() *PromoteWorkflowStep

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

func (*PromoteWorkflowStep) DeepCopyInto Uses

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 Uses

type PromotionEngineType string

PromotionEngineType is the type of promotion implementation the team uses

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

type PromotionStrategyType Uses

type PromotionStrategyType string

PromotionStrategyType is the type of a promotion strategy

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

type ProtectionPolicies Uses

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

ProtectionPolicies defines the branch protection policies

func (*ProtectionPolicies) DeepCopy Uses

func (in *ProtectionPolicies) DeepCopy() *ProtectionPolicies

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

func (*ProtectionPolicies) DeepCopyInto Uses

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

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

type ProtectionPolicy Uses

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

ProtectionPolicy for merging.

func (*ProtectionPolicy) DeepCopy Uses

func (in *ProtectionPolicy) DeepCopy() *ProtectionPolicy

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

func (*ProtectionPolicy) DeepCopyInto Uses

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

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

type ProwConfigType Uses

type ProwConfigType string

ProwConfigType is the type of prow configuration

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

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

type ProwEngineType Uses

type ProwEngineType string

ProwEngineType is the type of prow execution engine

const (
    // ProwEngineTypeKnativeBuild represents the Knative Build engine for use with Prow
    ProwEngineTypeKnativeBuild ProwEngineType = "KnativeBuild"

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

type PullRequestInfo Uses

type PullRequestInfo struct {
    PullRequestNumber        string `json:"pullRequestNumber,omitempty" protobuf:"bytes,1,opt,name=pullRequestNumber"`
    LastBuildNumberForCommit string `json:"lastBuildNumberForCommit,omitempty" protobuf:"bytes,2,opt,name=lastBuildNumberForCommit"`
}

PullRequestInfo contains information about a PR, like its PR and Build numbers

func (*PullRequestInfo) DeepCopy Uses

func (in *PullRequestInfo) DeepCopy() *PullRequestInfo

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

func (*PullRequestInfo) DeepCopyInto Uses

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

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

type PullRequestMergeType Uses

type PullRequestMergeType string

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

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

Possible types of merges for the Git Provider merge API

type Query Uses

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

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

func (*Query) DeepCopy Uses

func (in *Query) DeepCopy() *Query

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

func (*Query) DeepCopyInto Uses

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

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

type QuickStartLocation Uses

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 Uses

func (in *QuickStartLocation) DeepCopy() *QuickStartLocation

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

func (*QuickStartLocation) DeepCopyInto Uses

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

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

type RegexpChangeMatcher Uses

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

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

func (*RegexpChangeMatcher) DeepCopy Uses

func (in *RegexpChangeMatcher) DeepCopy() *RegexpChangeMatcher

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

func (*RegexpChangeMatcher) DeepCopyInto Uses

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

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

type Release Uses

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 Uses

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto Uses

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

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

func (*Release) DeepCopyObject Uses

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

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

type ReleaseList Uses

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 Uses

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto Uses

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 Uses

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

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

type ReleaseSpec Uses

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 Uses

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto Uses

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 Uses

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

ReleaseStatus is the status of a release

func (*ReleaseStatus) DeepCopy Uses

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto Uses

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 Uses

type ReleaseStatusType string

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

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

type ReplaceableMapOfStringContextPolicy Uses

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

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

func (*ReplaceableMapOfStringContextPolicy) DeepCopy Uses

func (in *ReplaceableMapOfStringContextPolicy) DeepCopy() *ReplaceableMapOfStringContextPolicy

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

func (*ReplaceableMapOfStringContextPolicy) DeepCopyInto Uses

func (in *ReplaceableMapOfStringContextPolicy) DeepCopyInto(out *ReplaceableMapOfStringContextPolicy)

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

type ReplaceableMapOfStringString Uses

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

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

func (*ReplaceableMapOfStringString) DeepCopy Uses

func (in *ReplaceableMapOfStringString) DeepCopy() *ReplaceableMapOfStringString

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

func (*ReplaceableMapOfStringString) DeepCopyInto Uses

func (in *ReplaceableMapOfStringString) DeepCopyInto(out *ReplaceableMapOfStringString)

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

type ReplaceableSliceOfExternalPlugins Uses

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

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

func (*ReplaceableSliceOfExternalPlugins) DeepCopy Uses

func (in *ReplaceableSliceOfExternalPlugins) DeepCopy() *ReplaceableSliceOfExternalPlugins

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

func (*ReplaceableSliceOfExternalPlugins) DeepCopyInto Uses

func (in *ReplaceableSliceOfExternalPlugins) DeepCopyInto(out *ReplaceableSliceOfExternalPlugins)

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

type ReplaceableSliceOfStrings Uses

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

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

func (*ReplaceableSliceOfStrings) DeepCopy Uses

func (in *ReplaceableSliceOfStrings) DeepCopy() *ReplaceableSliceOfStrings

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

func (*ReplaceableSliceOfStrings) DeepCopyInto Uses

func (in *ReplaceableSliceOfStrings) DeepCopyInto(out *ReplaceableSliceOfStrings)

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

type RepoContextPolicy Uses

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

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

func (*RepoContextPolicy) DeepCopy Uses

func (in *RepoContextPolicy) DeepCopy() *RepoContextPolicy

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

func (*RepoContextPolicy) DeepCopyInto Uses

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

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

type ResourceReference Uses

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 Uses

func (in *ResourceReference) DeepCopy() *ResourceReference

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

func (*ResourceReference) DeepCopyInto Uses

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

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

type Restrictions Uses

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

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

func (*Restrictions) DeepCopy Uses

func (in *Restrictions) DeepCopy() *Restrictions

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

func (*Restrictions) DeepCopyInto Uses

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

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

type ReviewPolicy Uses

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

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

func (*ReviewPolicy) DeepCopy Uses

func (in *ReviewPolicy) DeepCopy() *ReviewPolicy

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

func (*ReviewPolicy) DeepCopyInto Uses

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

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

type Scheduler Uses

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

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

Scheduler is configuration for a pipeline scheduler

func (*Scheduler) DeepCopy Uses

func (in *Scheduler) DeepCopy() *Scheduler

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

func (*Scheduler) DeepCopyInto Uses

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

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

func (*Scheduler) DeepCopyObject Uses

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

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

type SchedulerAgent Uses

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

SchedulerAgent defines the scheduler agent configuration

func (*SchedulerAgent) DeepCopy Uses

func (in *SchedulerAgent) DeepCopy() *SchedulerAgent

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

func (*SchedulerAgent) DeepCopyInto Uses

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

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

type SchedulerList Uses

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

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

SchedulerList is a list of configurations for a pipeline scheduler

func (*SchedulerList) DeepCopy Uses

func (in *SchedulerList) DeepCopy() *SchedulerList

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

func (*SchedulerList) DeepCopyInto Uses

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

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

func (*SchedulerList) DeepCopyObject Uses

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

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

type SchedulerSpec Uses

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

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

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

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

func (*SchedulerSpec) DeepCopy Uses

func (in *SchedulerSpec) DeepCopy() *SchedulerSpec

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

func (*SchedulerSpec) DeepCopyInto Uses

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

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

type SourceRepository Uses

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

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

SourceRepository is the metadata for an Application/Project/SourceRepository

func (*SourceRepository) DeepCopy Uses

func (in *SourceRepository) DeepCopy() *SourceRepository

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

func (*SourceRepository) DeepCopyInto Uses

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 Uses

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

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

func (*SourceRepository) Sanitize Uses

func (repo *SourceRepository) Sanitize()

Sanitize sanitizes the source repository URL

type SourceRepositoryGroup Uses

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

SourceRepositoryGroup is the metadata for an Application/Project/SourceRepository

func (*SourceRepositoryGroup) DeepCopy Uses

func (in *SourceRepositoryGroup) DeepCopy() *SourceRepositoryGroup

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

func (*SourceRepositoryGroup) DeepCopyInto Uses

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

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

func (*SourceRepositoryGroup) DeepCopyObject Uses

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

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

type SourceRepositoryGroupList Uses

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

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

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

func (*SourceRepositoryGroupList) DeepCopy Uses

func (in *SourceRepositoryGroupList) DeepCopy() *SourceRepositoryGroupList

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

func (*SourceRepositoryGroupList) DeepCopyInto Uses

func (in *SourceRepositoryGroupList) DeepCopyInto(out *SourceRepositoryGroupList)

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

func (*SourceRepositoryGroupList) DeepCopyObject Uses

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

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

type SourceRepositoryGroupSpec Uses

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

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

SourceRepositoryGroupSpec is the metadata for an Application/Project/SourceRepository

func (*SourceRepositoryGroupSpec) DeepCopy Uses

func (in *SourceRepositoryGroupSpec) DeepCopy() *SourceRepositoryGroupSpec

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

func (*SourceRepositoryGroupSpec) DeepCopyInto Uses

func (in *SourceRepositoryGroupSpec) DeepCopyInto(out *SourceRepositoryGroupSpec)

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

type SourceRepositoryList Uses

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 Uses

func (in *SourceRepositoryList) DeepCopy() *SourceRepositoryList

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

func (*SourceRepositoryList) DeepCopyInto Uses

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 Uses

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

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

type SourceRepositorySpec Uses

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 Uses

func (in *SourceRepositorySpec) DeepCopy() *SourceRepositorySpec

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

func (*SourceRepositorySpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *StageActivityStep) DeepCopy() *StageActivityStep

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

func (*StageActivityStep) DeepCopyInto Uses

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 Uses

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

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

func (*Statement) DeepCopy Uses

func (in *Statement) DeepCopy() *Statement

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

func (*Statement) DeepCopyInto Uses

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

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

type StorageLocation Uses

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 Uses

func (in *StorageLocation) DeepCopy() *StorageLocation

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

func (*StorageLocation) DeepCopyInto Uses

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 Uses

func (s *StorageLocation) Description() string

Description returns the textual description of the storage location

func (*StorageLocation) GetGitBranch Uses

func (s *StorageLocation) GetGitBranch() string

GetGitBranch returns the git branch to use when using git storage

func (*StorageLocation) IsEmpty Uses

func (s *StorageLocation) IsEmpty() bool

IsEmpty returns true if the storage location is empty

type Team Uses

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 Uses

func (in *Team) DeepCopy() *Team

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

func (*Team) DeepCopyInto Uses

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

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

func (*Team) DeepCopyObject Uses

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

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

type TeamKindType Uses

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 Uses

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 Uses

func (in *TeamList) DeepCopy() *TeamList

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

func (*TeamList) DeepCopyInto Uses

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

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

func (*TeamList) DeepCopyObject Uses

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

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

type TeamProvisionStatusType Uses

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 Uses

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               `json:"gitServer,omitempty" protobuf:"bytes,13,opt,name=gitServer" command:"gitserver" commandUsage:"Default git server for new repositories"`
    Organisation        string               `json:"organisation,omitempty" protobuf:"bytes,14,opt,name=organisation" command:"organisation" commandUsage:"Default git organisation for new repositories"`
    EnvOrganisation     string               `json:"envOrganisation,omitempty" protobuf:"bytes,14,opt,name=envOrganisation" command:"envOrganisation" commandUsage:"Default git organisation for new environment repositories"`
    PipelineUsername    string               `json:"pipelineUsername,omitempty" protobuf:"bytes,15,opt,name=pipelineUsername" command:"pipelineusername" commandUsage:"User used by pipeline. Is given write permission on new repositories."`
    PipelineUserEmail   string               `json:"pipelineUserEmail,omitempty" protobuf:"bytes,15,opt,name=pipelineUserEmail" command:"pipelineuseremail" commandUsage:"Users email used by pipeline. Is given write permission on new repositories."`
    DockerRegistryOrg   string               `json:"dockerRegistryOrg,omitempty" protobuf:"bytes,16,opt,name=dockerRegistryOrg" command:"dockerregistryorg" commandUsage:"Docker registry organisation used for new projects in Jenkins X."`
    GitPublic           bool                 `json:"gitPublic,omitempty" protobuf:"bytes,17,opt,name=gitPublic" command:"gitpublic" commandUsage:"Are new repositories public by default"`
    KubeProvider        string               `json:"kubeProvider,omitempty" protobuf:"bytes,18,opt,name=kubeProvider"`
    AppsRepository      string               `json:"appsRepository,omitempty" protobuf:"bytes,19,opt,name=appsRepository"`
    BuildPackName       string               `json:"buildPackName,omitempty" protobuf:"bytes,20,opt,name=buildPackName"`
    StorageLocations    []StorageLocation    `json:"storageLocations,omitempty" protobuf:"bytes,21,opt,name=storageLocations"`
    DeployKind          string               `json:"deployKind,omitempty" protobuf:"bytes,24,opt,name=deployKind"`

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

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

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

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

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

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

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

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

TeamSettings the default settings for a team

func (*TeamSettings) DeepCopy Uses

func (in *TeamSettings) DeepCopy() *TeamSettings

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

func (*TeamSettings) DeepCopyInto Uses

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

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

func (*TeamSettings) DefaultMissingValues Uses

func (t *TeamSettings) DefaultMissingValues()

DefaultMissingValues defaults any missing values

func (*TeamSettings) GetImportMode Uses

func (t *TeamSettings) GetImportMode() ImportModeType

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

func (*TeamSettings) GetProwConfig Uses

func (t *TeamSettings) GetProwConfig() ProwConfigType

GetProwConfig returns the kind of prow configuration

func (*TeamSettings) GetProwEngine Uses

func (t *TeamSettings) GetProwEngine() ProwEngineType

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

func (*TeamSettings) IsJenkinsXPipelines Uses

func (t *TeamSettings) IsJenkinsXPipelines() bool

IsJenkinsXPipelines returns true if using tekton

func (*TeamSettings) IsProw Uses

func (t *TeamSettings) IsProw() bool

IsProw returns true if using Prow

func (*TeamSettings) IsSchedulerMode Uses

func (t *TeamSettings) IsSchedulerMode() bool

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

func (*TeamSettings) SetStorageLocation Uses

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

SetStorageLocation stores the given storage location in the team settings

func (*TeamSettings) StorageLocation Uses

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

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

func (*TeamSettings) StorageLocationOrDefault Uses

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 Uses

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

UnmarshalJSON method handles the rename of GitPrivate to GitPublic.

type TeamSpec Uses

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 Uses

func (in *TeamSpec) DeepCopy() *TeamSpec

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

func (*TeamSpec) DeepCopyInto Uses

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

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

type TeamStatus Uses

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

TeamStatus is the status for an Team resource

func (*TeamStatus) DeepCopy Uses

func (in *TeamStatus) DeepCopy() *TeamStatus

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

func (*TeamStatus) DeepCopyInto Uses

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

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

type Trigger Uses

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

Trigger specifies a configuration for a single trigger.

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

func (*Trigger) DeepCopy Uses

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto Uses

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

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

type User Uses

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 Uses

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto Uses

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

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

func (*User) DeepCopyObject Uses

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

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

func (*User) SubjectKind Uses

func (u *User) SubjectKind() string

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

func (*User) UnmarshalJSON Uses

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

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

type UserDetails Uses

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 Uses

func (in *UserDetails) DeepCopy() *UserDetails

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

func (*UserDetails) DeepCopyInto Uses

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 Uses

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 Uses

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto Uses

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject Uses

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

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

type UserSpec Uses

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 Uses

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto Uses

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type WebHookEngineType Uses

type WebHookEngineType string

WebHookEngineType is the type of webhook processing implementation the team uses

const (
    // WebHookEngineNone indicates no webhook being configured
    WebHookEngineNone WebHookEngineType = ""
    // WebHookEngineJenkins specifies that we use jenkins webhooks
    WebHookEngineJenkins WebHookEngineType = "Jenkins"
    // WebHookEngineProw specifies that we use prow for webhooks
    // see: https://github.com/kubernetes/test-infra/tree/master/prow
    WebHookEngineProw WebHookEngineType = "Prow"
    // WebHookEngineLighthouse specifies that we use lighthouse for webhooks
    // see: https://github.com/jenkins-x/lighthouse
    WebHookEngineLighthouse WebHookEngineType = "Lighthouse"
)

type Welcome Uses

type Welcome struct {
    MessageTemplate *string `json:"message_template,omitempty"`
}

Welcome welcome plugin config

func (*Welcome) DeepCopy Uses

func (in *Welcome) DeepCopy() *Welcome

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

func (*Welcome) DeepCopyInto Uses

func (in *Welcome) DeepCopyInto(out *Welcome)

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

type Workflow Uses

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 Uses

func (in *Workflow) DeepCopy() *Workflow

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

func (*Workflow) DeepCopyInto Uses

func (in *Workflow) DeepCopyInto(out *Workflow)

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

func (*Workflow) DeepCopyObject Uses

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

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

type WorkflowList Uses

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 Uses

func (in *WorkflowList) DeepCopy() *WorkflowList

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

func (*WorkflowList) DeepCopyInto Uses

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 Uses

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

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

type WorkflowPreconditions Uses

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 Uses

func (in *WorkflowPreconditions) DeepCopy() *WorkflowPreconditions

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

func (*WorkflowPreconditions) DeepCopyInto Uses

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 Uses

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 Uses

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

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

func (*WorkflowSpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *WorkflowStatus) DeepCopy() *WorkflowStatus

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

func (*WorkflowStatus) DeepCopyInto Uses

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 Uses

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 Uses

func (s WorkflowStatusType) String() string

type WorkflowStep Uses

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 Uses

func (in *WorkflowStep) DeepCopy() *WorkflowStep

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

func (*WorkflowStep) DeepCopyInto Uses

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 Uses

type WorkflowStepKindType string

WorkflowStepKindType is a kind of step

const (
    // WorkflowStepKindTypeNone no kind yet
    WorkflowStepKindTypeNone WorkflowStepKindType = ""
    // WorkflowStepKindTypePromote a promote activity
    WorkflowStepKindTypePromote WorkflowStepKindType = "Promote"
)

Package v1 imports 21 packages (graph) and is imported by 58 packages. Updated 2019-11-14. Refresh now. Tools for package owners.