Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tekton.dev
Index ¶
- Constants
- Variables
- func ParseParams(params []Param) map[string]string
- func Resource(resource string) schema.GroupResource
- type Addon
- type CommonSpec
- type Config
- type Dashboard
- type DashboardProperties
- type OptionalPipelineProperties
- type OptionalTriggersProperties
- type Param
- type ParamValue
- type Pipeline
- type PipelineMetricsProperties
- type PipelineProperties
- type Prune
- type TektonAddon
- func (in *TektonAddon) DeepCopy() *TektonAddon
- func (in *TektonAddon) DeepCopyInto(out *TektonAddon)
- func (in *TektonAddon) DeepCopyObject() runtime.Object
- func (tp *TektonAddon) GetGroupVersionKind() schema.GroupVersionKind
- func (tp *TektonAddon) GetSpec() TektonComponentSpec
- func (tp *TektonAddon) GetStatus() TektonComponentStatus
- func (tp *TektonAddon) GroupVersionKind() schema.GroupVersionKind
- func (ta *TektonAddon) SetDefaults(ctx context.Context)
- func (ta *TektonAddon) Validate(ctx context.Context) (errs *apis.FieldError)
- type TektonAddonList
- type TektonAddonSpec
- type TektonAddonStatus
- func (in *TektonAddonStatus) DeepCopy() *TektonAddonStatus
- func (in *TektonAddonStatus) DeepCopyInto(out *TektonAddonStatus)
- func (tas *TektonAddonStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tas *TektonAddonStatus) GetManifests() []string
- func (tas *TektonAddonStatus) GetVersion() string
- func (tas *TektonAddonStatus) InitializeConditions()
- func (tas *TektonAddonStatus) IsReady() bool
- func (tas *TektonAddonStatus) MarkDependenciesInstalled()
- func (tas *TektonAddonStatus) MarkDependencyInstalling(msg string)
- func (tas *TektonAddonStatus) MarkDependencyMissing(msg string)
- func (tas *TektonAddonStatus) MarkDeploymentsAvailable()
- func (tas *TektonAddonStatus) MarkDeploymentsNotReady()
- func (tas *TektonAddonStatus) MarkInstallFailed(msg string)
- func (tas *TektonAddonStatus) MarkInstallSucceeded()
- func (tas *TektonAddonStatus) MarkInstallerSetNotReady(msg string)
- func (tas *TektonAddonStatus) MarkInstallerSetReady()
- func (tas *TektonAddonStatus) MarkNotReady(msg string)
- func (tas *TektonAddonStatus) MarkPostReconcilerComplete()
- func (tas *TektonAddonStatus) MarkPostReconcilerFailed(msg string)
- func (tas *TektonAddonStatus) MarkPreReconcilerComplete()
- func (tas *TektonAddonStatus) MarkPreReconcilerFailed(msg string)
- func (tas *TektonAddonStatus) SetVersion(version string)
- type TektonComponent
- type TektonComponentSpec
- type TektonComponentStatus
- type TektonConfig
- func (in *TektonConfig) DeepCopy() *TektonConfig
- func (in *TektonConfig) DeepCopyInto(out *TektonConfig)
- func (in *TektonConfig) DeepCopyObject() runtime.Object
- func (tc *TektonConfig) GetGroupVersionKind() schema.GroupVersionKind
- func (tp *TektonConfig) GetSpec() TektonComponentSpec
- func (tp *TektonConfig) GetStatus() TektonComponentStatus
- func (tc *TektonConfig) GroupVersionKind() schema.GroupVersionKind
- func (tc *TektonConfig) SetDefaults(ctx context.Context)
- func (tc *TektonConfig) Validate(ctx context.Context) (errs *apis.FieldError)
- type TektonConfigList
- type TektonConfigSpec
- type TektonConfigStatus
- func (in *TektonConfigStatus) DeepCopy() *TektonConfigStatus
- func (in *TektonConfigStatus) DeepCopyInto(out *TektonConfigStatus)
- func (tcs *TektonConfigStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tcs *TektonConfigStatus) GetManifests() []string
- func (tcs *TektonConfigStatus) GetVersion() string
- func (tcs *TektonConfigStatus) InitializeConditions()
- func (tcs *TektonConfigStatus) IsReady() bool
- func (tcs *TektonConfigStatus) MarkComponentNotReady(msg string)
- func (tcs *TektonConfigStatus) MarkComponentsReady()
- func (tcs *TektonConfigStatus) MarkDependenciesInstalled()
- func (tcs *TektonConfigStatus) MarkDependencyInstalling(msg string)
- func (tcs *TektonConfigStatus) MarkDependencyMissing(msg string)
- func (tcs *TektonConfigStatus) MarkDeploymentsAvailable()
- func (tcs *TektonConfigStatus) MarkDeploymentsNotReady()
- func (tcs *TektonConfigStatus) MarkInstallFailed(msg string)
- func (tcs *TektonConfigStatus) MarkInstallSucceeded()
- func (tcs *TektonConfigStatus) MarkNotReady(msg string)
- func (tcs *TektonConfigStatus) MarkPostInstallComplete()
- func (tcs *TektonConfigStatus) MarkPostInstallFailed(msg string)
- func (tcs *TektonConfigStatus) MarkPreInstallComplete()
- func (tcs *TektonConfigStatus) MarkPreInstallFailed(msg string)
- func (tcs *TektonConfigStatus) SetManifests(manifests []string)
- func (tcs *TektonConfigStatus) SetVersion(version string)
- type TektonDashboard
- func (in *TektonDashboard) DeepCopy() *TektonDashboard
- func (in *TektonDashboard) DeepCopyInto(out *TektonDashboard)
- func (in *TektonDashboard) DeepCopyObject() runtime.Object
- func (tp *TektonDashboard) GetSpec() TektonComponentSpec
- func (tp *TektonDashboard) GetStatus() TektonComponentStatus
- func (tp *TektonDashboard) GroupVersionKind() schema.GroupVersionKind
- func (td *TektonDashboard) SetDefaults(ctx context.Context)
- func (td *TektonDashboard) Validate(ctx context.Context) (errs *apis.FieldError)
- type TektonDashboardList
- type TektonDashboardSpec
- type TektonDashboardStatus
- func (in *TektonDashboardStatus) DeepCopy() *TektonDashboardStatus
- func (in *TektonDashboardStatus) DeepCopyInto(out *TektonDashboardStatus)
- func (tps *TektonDashboardStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonDashboardStatus) GetManifests() []string
- func (tps *TektonDashboardStatus) GetVersion() string
- func (tps *TektonDashboardStatus) InitializeConditions()
- func (tps *TektonDashboardStatus) IsReady() bool
- func (tps *TektonDashboardStatus) MarkDependenciesInstalled()
- func (tps *TektonDashboardStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonDashboardStatus) MarkDependencyMissing(msg string)
- func (tps *TektonDashboardStatus) MarkDeploymentsAvailable()
- func (tps *TektonDashboardStatus) MarkDeploymentsNotReady()
- func (tps *TektonDashboardStatus) MarkInstallFailed(msg string)
- func (tps *TektonDashboardStatus) MarkInstallSucceeded()
- func (tps *TektonDashboardStatus) SetManifests(manifests []string)
- func (tps *TektonDashboardStatus) SetVersion(version string)
- type TektonInstallerSet
- type TektonInstallerSetList
- type TektonInstallerSetSpec
- type TektonInstallerSetStatus
- func (in *TektonInstallerSetStatus) DeepCopy() *TektonInstallerSetStatus
- func (in *TektonInstallerSetStatus) DeepCopyInto(out *TektonInstallerSetStatus)
- func (tis *TektonInstallerSetStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tis *TektonInstallerSetStatus) InitializeConditions()
- func (tis *TektonInstallerSetStatus) IsReady() bool
- func (tis *TektonInstallerSetStatus) MarkAllDeploymentsNotReady(msg string)
- func (tis *TektonInstallerSetStatus) MarkAllDeploymentsReady()
- func (tis *TektonInstallerSetStatus) MarkCRDsInstallationFailed(msg string)
- func (tis *TektonInstallerSetStatus) MarkCRDsInstalled()
- func (tis *TektonInstallerSetStatus) MarkClustersScopedInstallationFailed(msg string)
- func (tis *TektonInstallerSetStatus) MarkClustersScopedResourcesInstalled()
- func (tis *TektonInstallerSetStatus) MarkControllerNotReady(msg string)
- func (tis *TektonInstallerSetStatus) MarkControllerReady()
- func (tis *TektonInstallerSetStatus) MarkDeploymentsAvailable()
- func (tis *TektonInstallerSetStatus) MarkDeploymentsAvailableFailed(msg string)
- func (tis *TektonInstallerSetStatus) MarkNamespaceScopedInstallationFailed(msg string)
- func (tis *TektonInstallerSetStatus) MarkNamespaceScopedResourcesInstalled()
- func (tis *TektonInstallerSetStatus) MarkNotReady(msg string)
- func (tis *TektonInstallerSetStatus) MarkReady()
- func (tis *TektonInstallerSetStatus) MarkWebhookNotReady(msg string)
- func (tis *TektonInstallerSetStatus) MarkWebhookReady()
- type TektonPipeline
- func (in *TektonPipeline) DeepCopy() *TektonPipeline
- func (in *TektonPipeline) DeepCopyInto(out *TektonPipeline)
- func (in *TektonPipeline) DeepCopyObject() runtime.Object
- func (tp *TektonPipeline) GetGroupVersionKind() schema.GroupVersionKind
- func (tp *TektonPipeline) GetSpec() TektonComponentSpec
- func (tp *TektonPipeline) GetStatus() TektonComponentStatus
- func (tp *TektonPipeline) GroupVersionKind() schema.GroupVersionKind
- func (tp *TektonPipeline) SetDefaults(ctx context.Context)
- func (tp *TektonPipeline) Validate(ctx context.Context) (errs *apis.FieldError)
- type TektonPipelineList
- type TektonPipelineSpec
- type TektonPipelineStatus
- func (in *TektonPipelineStatus) DeepCopy() *TektonPipelineStatus
- func (in *TektonPipelineStatus) DeepCopyInto(out *TektonPipelineStatus)
- func (tps *TektonPipelineStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonPipelineStatus) GetManifests() []string
- func (tps *TektonPipelineStatus) GetTektonInstallerSet() string
- func (tps *TektonPipelineStatus) GetVersion() string
- func (tps *TektonPipelineStatus) InitializeConditions()
- func (tps *TektonPipelineStatus) IsReady() bool
- func (tps *TektonPipelineStatus) MarkDependenciesInstalled()
- func (tps *TektonPipelineStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonPipelineStatus) MarkDependencyMissing(msg string)
- func (tps *TektonPipelineStatus) MarkDeploymentsAvailable()
- func (tps *TektonPipelineStatus) MarkDeploymentsNotReady()
- func (tps *TektonPipelineStatus) MarkInstallFailed(msg string)
- func (tps *TektonPipelineStatus) MarkInstallSucceeded()
- func (tps *TektonPipelineStatus) MarkInstallerSetAvailable()
- func (tps *TektonPipelineStatus) MarkInstallerSetNotAvailable(msg string)
- func (tps *TektonPipelineStatus) MarkInstallerSetNotReady(msg string)
- func (tps *TektonPipelineStatus) MarkInstallerSetReady()
- func (tps *TektonPipelineStatus) MarkNotReady(msg string)
- func (tps *TektonPipelineStatus) MarkPostReconcilerComplete()
- func (tps *TektonPipelineStatus) MarkPostReconcilerFailed(msg string)
- func (tps *TektonPipelineStatus) MarkPreReconcilerComplete()
- func (tps *TektonPipelineStatus) MarkPreReconcilerFailed(msg string)
- func (tps *TektonPipelineStatus) SetTektonInstallerSet(installerSet string)
- func (tps *TektonPipelineStatus) SetVersion(version string)
- type TektonResult
- func (in *TektonResult) DeepCopy() *TektonResult
- func (in *TektonResult) DeepCopyInto(out *TektonResult)
- func (in *TektonResult) DeepCopyObject() runtime.Object
- func (tp *TektonResult) GetSpec() TektonComponentSpec
- func (tp *TektonResult) GetStatus() TektonComponentStatus
- func (tr *TektonResult) GroupVersionKind() schema.GroupVersionKind
- type TektonResultList
- type TektonResultSpec
- type TektonResultStatus
- func (in *TektonResultStatus) DeepCopy() *TektonResultStatus
- func (in *TektonResultStatus) DeepCopyInto(out *TektonResultStatus)
- func (trs *TektonResultStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (trs *TektonResultStatus) GetManifests() []string
- func (trs *TektonResultStatus) GetVersion() string
- func (trs *TektonResultStatus) InitializeConditions()
- func (trs *TektonResultStatus) IsReady() bool
- func (trs *TektonResultStatus) MarkDependenciesInstalled()
- func (trs *TektonResultStatus) MarkDependencyInstalling(msg string)
- func (trs *TektonResultStatus) MarkDependencyMissing(msg string)
- func (trs *TektonResultStatus) MarkDeploymentsAvailable()
- func (trs *TektonResultStatus) MarkDeploymentsNotReady()
- func (trs *TektonResultStatus) MarkInstallFailed(msg string)
- func (trs *TektonResultStatus) MarkInstallSucceeded()
- func (trs *TektonResultStatus) SetManifests(manifests []string)
- func (trs *TektonResultStatus) SetVersion(version string)
- type TektonTrigger
- func (in *TektonTrigger) DeepCopy() *TektonTrigger
- func (in *TektonTrigger) DeepCopyInto(out *TektonTrigger)
- func (in *TektonTrigger) DeepCopyObject() runtime.Object
- func (tr *TektonTrigger) GetGroupVersionKind() schema.GroupVersionKind
- func (tp *TektonTrigger) GetSpec() TektonComponentSpec
- func (tp *TektonTrigger) GetStatus() TektonComponentStatus
- func (tr *TektonTrigger) GroupVersionKind() schema.GroupVersionKind
- func (tt *TektonTrigger) SetDefaults(ctx context.Context)
- func (tr *TektonTrigger) Validate(ctx context.Context) (errs *apis.FieldError)
- type TektonTriggerList
- type TektonTriggerSpec
- type TektonTriggerStatus
- func (in *TektonTriggerStatus) DeepCopy() *TektonTriggerStatus
- func (in *TektonTriggerStatus) DeepCopyInto(out *TektonTriggerStatus)
- func (tts *TektonTriggerStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tts *TektonTriggerStatus) GetManifests() []string
- func (tts *TektonTriggerStatus) GetTektonInstallerSet() string
- func (tts *TektonTriggerStatus) GetVersion() string
- func (tts *TektonTriggerStatus) InitializeConditions()
- func (tts *TektonTriggerStatus) IsReady() bool
- func (tts *TektonTriggerStatus) MarkDependenciesInstalled()
- func (tts *TektonTriggerStatus) MarkDependencyInstalling(msg string)
- func (tts *TektonTriggerStatus) MarkDependencyMissing(msg string)
- func (tts *TektonTriggerStatus) MarkDeploymentsAvailable()
- func (tts *TektonTriggerStatus) MarkDeploymentsNotReady()
- func (tts *TektonTriggerStatus) MarkInstallFailed(msg string)
- func (tts *TektonTriggerStatus) MarkInstallSucceeded()
- func (tts *TektonTriggerStatus) MarkInstallerSetAvailable()
- func (tts *TektonTriggerStatus) MarkInstallerSetNotAvailable(msg string)
- func (tts *TektonTriggerStatus) MarkInstallerSetNotReady(msg string)
- func (tts *TektonTriggerStatus) MarkInstallerSetReady()
- func (tts *TektonTriggerStatus) MarkNotReady(msg string)
- func (tts *TektonTriggerStatus) MarkPostReconcilerComplete()
- func (tts *TektonTriggerStatus) MarkPostReconcilerFailed(msg string)
- func (tts *TektonTriggerStatus) MarkPreReconcilerComplete()
- func (tts *TektonTriggerStatus) MarkPreReconcilerFailed(msg string)
- func (tts *TektonTriggerStatus) SetTektonInstallerSet(installerSet string)
- func (tts *TektonTriggerStatus) SetVersion(version string)
- type Trigger
- type TriggersProperties
Constants ¶
const ( // Profiles ProfileAll = "all" ProfileBasic = "basic" ProfileLite = "lite" // Addon Params ClusterTasksParam = "clusterTasks" PipelineTemplatesParam = "pipelineTemplates" ApiFieldAlpha = "alpha" ApiFieldStable = "stable" )
const ( // GroupName is the group of the API. GroupName = "operator.tekton.dev" // SchemaVersion is the current version of the API. SchemaVersion = "v1alpha1" // KindTektonPipeline is the Kind of Tekton Pipeline in a GVK context. KindTektonPipeline = "TektonPipeline" // KindTektonTrigger is the Kind of Tekton Trigger in a GVK context. KindTektonTrigger = "TektonTrigger" // KindTektonDashboard is the Kind of Tekton Dashboard in a GVK context. KindTektonDashboard = "TektonDashboard" // KindTektonAddon is the Kind of Tekton Addon in a GVK context. KindTektonAddon = "TektonAddon" // KindTektonConfig is the Kind of Tekton Config in a GVK context. KindTektonConfig = "TektonConfig" // KindTektonResult is the Kind of Tekton Result in a GVK context. KindTektonResult = "TektonResult" // KindTektonInstallerSet is the Kind of TektonInstallerSet in a GVK context. KindTektonInstallerSet = "TektonInstallerSet" )
const ( PreInstall apis.ConditionType = "PreInstall" ComponentsReady apis.ConditionType = "ComponentsReady" PostInstall apis.ConditionType = "PostInstall" )
const ( CrdInstalled apis.ConditionType = "CrdsInstalled" ClustersScoped apis.ConditionType = "ClusterScopedResourcesInstalled" NamespaceScoped apis.ConditionType = "NamespaceScopedResourcesInstalled" DeploymentsAvailable apis.ConditionType = "DeploymentsAvailable" WebhookReady apis.ConditionType = "WebhooksReady" ControllerReady apis.ConditionType = "ControllersReady" AllDeploymentsReady apis.ConditionType = "AllDeploymentsReady" )
const ( DefaultMetricsPipelinerunLevel = "pipeline" DefaultMetricsTaskrunLevel = "task" DefaultMetricsPipelierunDurationType = "histogram" DefaultMetricsTaskrunDurationType = "histogram" )
const ( PreReconciler apis.ConditionType = "PreReconciler" InstallerSetAvailable apis.ConditionType = "InstallerSetAvailable" InstallerSetReady apis.ConditionType = "InstallerSetReady" PostReconciler apis.ConditionType = "PostReconciler" )
const (
DependenciesInstalled apis.ConditionType = "DependenciesInstalled"
)
const ( // InstallSucceeded is a Condition indiciating that the installation of the component // itself has been successful. InstallSucceeded apis.ConditionType = "InstallSucceeded" )
Variables ¶
var ( // Profiles Profiles = []string{ ProfileLite, ProfileBasic, ProfileAll, } PruningResource = []string{ "taskrun", "pipelinerun", } AddonParams = map[string]ParamValue{ ClusterTasksParam: defaultParamValue, PipelineTemplatesParam: defaultParamValue, } )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: SchemaVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the API's types to the Scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( // RECONCILE_AGAIN_ERR // When we updates spec or status we reconcile again and then proceed so // that we proceed ahead with updated object RECONCILE_AGAIN_ERR = fmt.Errorf("reconcile again and proceed") )
Functions ¶
func ParseParams ¶
ParseParams returns the params array as map
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Addon ¶
type Addon struct { // Params is the list of params passed for Addon customization // +optional Params []Param `json:"params,omitempty"` }
Addon defines the field to customize Addon component
func (*Addon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonSpec ¶
type CommonSpec struct { // TargetNamespace is where resources will be installed // +optional TargetNamespace string `json:"targetNamespace,omitempty"` }
CommonSpec unifies common fields and functions on the Spec.
func (*CommonSpec) DeepCopy ¶
func (in *CommonSpec) DeepCopy() *CommonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonSpec.
func (*CommonSpec) DeepCopyInto ¶
func (in *CommonSpec) DeepCopyInto(out *CommonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommonSpec) GetTargetNamespace ¶
func (c *CommonSpec) GetTargetNamespace() string
GetTargetNamespace implements KComponentSpec.
type Config ¶
type Config struct { NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dashboard ¶ added in v0.50.0
type Dashboard struct {
DashboardProperties `json:",inline"`
}
Dashboard degines the fields to customize the Dashboard component
func (*Dashboard) DeepCopy ¶ added in v0.50.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.
func (*Dashboard) DeepCopyInto ¶ added in v0.50.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardProperties ¶ added in v0.50.0
type DashboardProperties struct { // Readonly when set to true configures the Tekton dashboard in read-only mode Readonly bool `json:"readonly"` }
Dashboard degines the fields to customize the Dashboard component
func (*DashboardProperties) DeepCopy ¶ added in v0.50.0
func (in *DashboardProperties) DeepCopy() *DashboardProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardProperties.
func (*DashboardProperties) DeepCopyInto ¶ added in v0.50.0
func (in *DashboardProperties) DeepCopyInto(out *DashboardProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OptionalPipelineProperties ¶
type OptionalPipelineProperties struct { DefaultTimeoutMinutes *uint `json:"default-timeout-minutes,omitempty"` DefaultServiceAccount string `json:"default-service-account,omitempty"` DefaultManagedByLabelValue string `json:"default-managed-by-label-value,omitempty"` DefaultPodTemplate string `json:"default-pod-template,omitempty"` DefaultCloudEventsSink string `json:"default-cloud-events-sink,omitempty"` DefaultTaskRunWorkspaceBinding string `json:"default-task-run-workspace-binding,omitempty"` }
OptionalPipelineProperties defines the fields which are to be defined for pipelines only if user pass them
func (*OptionalPipelineProperties) DeepCopy ¶
func (in *OptionalPipelineProperties) DeepCopy() *OptionalPipelineProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalPipelineProperties.
func (*OptionalPipelineProperties) DeepCopyInto ¶
func (in *OptionalPipelineProperties) DeepCopyInto(out *OptionalPipelineProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OptionalTriggersProperties ¶ added in v0.50.0
type OptionalTriggersProperties struct {
DefaultServiceAccount string `json:"default-service-account,omitempty"`
}
OptionalTriggersProperties defines the fields which are to be defined for triggers only if user pass them
func (*OptionalTriggersProperties) DeepCopy ¶ added in v0.50.0
func (in *OptionalTriggersProperties) DeepCopy() *OptionalTriggersProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalTriggersProperties.
func (*OptionalTriggersProperties) DeepCopyInto ¶ added in v0.50.0
func (in *OptionalTriggersProperties) DeepCopyInto(out *OptionalTriggersProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Param ¶
Param declares an string value to use for the parameter called name.
func (*Param) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Param.
func (*Param) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParamValue ¶
ParamValue defines a default value and possible values for a param
func (*ParamValue) DeepCopy ¶
func (in *ParamValue) DeepCopy() *ParamValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamValue.
func (*ParamValue) DeepCopyInto ¶
func (in *ParamValue) DeepCopyInto(out *ParamValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pipeline ¶
type Pipeline struct { PipelineProperties `json:",inline"` // The params to customize different components of Pipelines // +optional Params []Param `json:"params,omitempty"` }
Pipeline defines the field to customize Pipeline component
func (*Pipeline) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pipeline.
func (*Pipeline) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineMetricsProperties ¶ added in v0.50.0
type PipelineMetricsProperties struct { MetricsTaskrunLevel string `json:"metrics.taskrun.level,omitempty"` MetricsTaskrunDurationType string `json:"metrics.taskrun.duration-type,omitempty"` MetricsPipelinerunLevel string `json:"metrics.pipelinerun.level,omitempty"` MetricsPipelinerunDurationType string `json:"metrics.pipelinerun.duration-type,omitempty"` }
PipelineMetricsProperties defines the fields which are configurable for metrics
func (*PipelineMetricsProperties) DeepCopy ¶ added in v0.50.0
func (in *PipelineMetricsProperties) DeepCopy() *PipelineMetricsProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineMetricsProperties.
func (*PipelineMetricsProperties) DeepCopyInto ¶ added in v0.50.0
func (in *PipelineMetricsProperties) DeepCopyInto(out *PipelineMetricsProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineProperties ¶
type PipelineProperties struct { DisableAffinityAssistant *bool `json:"disable-affinity-assistant,omitempty"` DisableHomeEnvOverwrite *bool `json:"disable-home-env-overwrite,omitempty"` DisableWorkingDirectoryOverwrite *bool `json:"disable-working-directory-overwrite,omitempty"` DisableCredsInit *bool `json:"disable-creds-init,omitempty"` RunningInEnvironmentWithInjectedSidecars *bool `json:"running-in-environment-with-injected-sidecars,omitempty"` RequireGitSshSecretKnownHosts *bool `json:"require-git-ssh-secret-known-hosts,omitempty"` EnableTektonOciBundles *bool `json:"enable-tekton-oci-bundles,omitempty"` EnableCustomTasks *bool `json:"enable-custom-tasks,omitempty"` EnableApiFields string `json:"enable-api-fields,omitempty"` ScopeWhenExpressionsToTask *bool `json:"scope-when-expressions-to-task,omitempty"` PipelineMetricsProperties `json:",inline"` // +optional OptionalPipelineProperties `json:",inline"` }
PipelineProperties defines customizable flags for Pipeline Component.
func (*PipelineProperties) DeepCopy ¶
func (in *PipelineProperties) DeepCopy() *PipelineProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineProperties.
func (*PipelineProperties) DeepCopyInto ¶
func (in *PipelineProperties) DeepCopyInto(out *PipelineProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Prune ¶
type Prune struct { // The resources which need to be pruned Resources []string `json:"resources,omitempty"` // The number of resource to keep // You dont want to delete all the pipelinerun/taskrun's by a cron // +optional Keep *uint `json:"keep,omitempty"` // KeepSince keeps the resources younger than the specified value // Its value is taken in minutes // +optional KeepSince *uint `json:"keep-since,omitempty"` // How frequent pruning should happen Schedule string `json:"schedule,omitempty"` }
Prune defines the pruner
func (*Prune) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prune.
func (*Prune) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonAddon ¶
type TektonAddon struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonAddonSpec `json:"spec,omitempty"` Status TektonAddonStatus `json:"status,omitempty"` }
TektonAddon is the Schema for the tektonaddons API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonAddon) DeepCopy ¶
func (in *TektonAddon) DeepCopy() *TektonAddon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonAddon.
func (*TektonAddon) DeepCopyInto ¶
func (in *TektonAddon) DeepCopyInto(out *TektonAddon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonAddon) DeepCopyObject ¶
func (in *TektonAddon) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonAddon) GetGroupVersionKind ¶ added in v0.50.0
func (tp *TektonAddon) GetGroupVersionKind() schema.GroupVersionKind
func (*TektonAddon) GetSpec ¶
func (tp *TektonAddon) GetSpec() TektonComponentSpec
GetSpec implements TektonComponent
func (*TektonAddon) GetStatus ¶
func (tp *TektonAddon) GetStatus() TektonComponentStatus
GetStatus implements TektonComponent
func (*TektonAddon) GroupVersionKind ¶
func (tp *TektonAddon) GroupVersionKind() schema.GroupVersionKind
func (*TektonAddon) SetDefaults ¶
func (ta *TektonAddon) SetDefaults(ctx context.Context)
func (*TektonAddon) Validate ¶
func (ta *TektonAddon) Validate(ctx context.Context) (errs *apis.FieldError)
type TektonAddonList ¶
type TektonAddonList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonAddon `json:"items"` }
TektonAddonsList contains a list of TektonAddon +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonAddonList) DeepCopy ¶
func (in *TektonAddonList) DeepCopy() *TektonAddonList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonAddonList.
func (*TektonAddonList) DeepCopyInto ¶
func (in *TektonAddonList) DeepCopyInto(out *TektonAddonList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonAddonList) DeepCopyObject ¶
func (in *TektonAddonList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonAddonSpec ¶
type TektonAddonSpec struct { CommonSpec `json:",inline"` // The params to customize different components of Addon // +optional Params []Param `json:"params,omitempty"` }
TektonAddonSpec defines the desired state of TektonAddon
func (*TektonAddonSpec) DeepCopy ¶
func (in *TektonAddonSpec) DeepCopy() *TektonAddonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonAddonSpec.
func (*TektonAddonSpec) DeepCopyInto ¶
func (in *TektonAddonSpec) DeepCopyInto(out *TektonAddonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonAddonStatus ¶
type TektonAddonStatus struct { duckv1.Status `json:",inline"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // TektonInstallerSet created to install addons // +optional AddonsInstallerSet map[string]string `json:"installerSets,omitempty"` }
TektonAddonStatus defines the observed state of TektonAddon
func (*TektonAddonStatus) DeepCopy ¶
func (in *TektonAddonStatus) DeepCopy() *TektonAddonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonAddonStatus.
func (*TektonAddonStatus) DeepCopyInto ¶
func (in *TektonAddonStatus) DeepCopyInto(out *TektonAddonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonAddonStatus) GetCondition ¶
func (tas *TektonAddonStatus) GetCondition(t apis.ConditionType) *apis.Condition
func (*TektonAddonStatus) GetManifests ¶
func (tas *TektonAddonStatus) GetManifests() []string
func (*TektonAddonStatus) GetVersion ¶
func (tas *TektonAddonStatus) GetVersion() string
func (*TektonAddonStatus) InitializeConditions ¶
func (tas *TektonAddonStatus) InitializeConditions()
func (*TektonAddonStatus) IsReady ¶
func (tas *TektonAddonStatus) IsReady() bool
func (*TektonAddonStatus) MarkDependenciesInstalled ¶
func (tas *TektonAddonStatus) MarkDependenciesInstalled()
func (*TektonAddonStatus) MarkDependencyInstalling ¶
func (tas *TektonAddonStatus) MarkDependencyInstalling(msg string)
func (*TektonAddonStatus) MarkDependencyMissing ¶
func (tas *TektonAddonStatus) MarkDependencyMissing(msg string)
func (*TektonAddonStatus) MarkDeploymentsAvailable ¶
func (tas *TektonAddonStatus) MarkDeploymentsAvailable()
func (*TektonAddonStatus) MarkDeploymentsNotReady ¶
func (tas *TektonAddonStatus) MarkDeploymentsNotReady()
func (*TektonAddonStatus) MarkInstallFailed ¶
func (tas *TektonAddonStatus) MarkInstallFailed(msg string)
func (*TektonAddonStatus) MarkInstallSucceeded ¶
func (tas *TektonAddonStatus) MarkInstallSucceeded()
func (*TektonAddonStatus) MarkInstallerSetNotReady ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkInstallerSetNotReady(msg string)
func (*TektonAddonStatus) MarkInstallerSetReady ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkInstallerSetReady()
func (*TektonAddonStatus) MarkNotReady ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkNotReady(msg string)
func (*TektonAddonStatus) MarkPostReconcilerComplete ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkPostReconcilerComplete()
func (*TektonAddonStatus) MarkPostReconcilerFailed ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkPostReconcilerFailed(msg string)
func (*TektonAddonStatus) MarkPreReconcilerComplete ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkPreReconcilerComplete()
func (*TektonAddonStatus) MarkPreReconcilerFailed ¶ added in v0.50.0
func (tas *TektonAddonStatus) MarkPreReconcilerFailed(msg string)
func (*TektonAddonStatus) SetVersion ¶
func (tas *TektonAddonStatus) SetVersion(version string)
type TektonComponent ¶
type TektonComponent interface { metav1.Object schema.ObjectKind // GetSpec returns the common spec for all known types. GetSpec() TektonComponentSpec // GetStatus returns the common status of all known types. GetStatus() TektonComponentStatus }
TektonComponent is a common interface for accessing meta, spec and status of all known types.
type TektonComponentSpec ¶
type TektonComponentSpec interface { // GetTargetNamespace gets the version to be installed GetTargetNamespace() string }
TektonComponentSpec is a common interface for accessing the common spec of all known types.
type TektonComponentStatus ¶
type TektonComponentStatus interface { // MarkInstallSucceeded marks the InstallationSucceeded status as true. MarkInstallSucceeded() // MarkInstallFailed marks the InstallationSucceeded status as false with the given // message. MarkInstallFailed(msg string) // MarkDeploymentsAvailable marks the DeploymentsAvailable status as true. MarkDeploymentsAvailable() // MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out // it's waiting for deployments. MarkDeploymentsNotReady() // MarkDependenciesInstalled marks the DependenciesInstalled status as true. MarkDependenciesInstalled() // MarkDependencyInstalling marks the DependenciesInstalled status as false with the // given message. MarkDependencyInstalling(msg string) // MarkDependencyMissing marks the DependenciesInstalled status as false with the // given message. MarkDependencyMissing(msg string) // GetVersion gets the currently installed version of the component. GetVersion() string // SetVersion sets the currently installed version of the component. SetVersion(version string) // GetManifests gets the url links of the manifests GetManifests() []string // IsReady return true if all conditions are satisfied IsReady() bool }
TektonComponentStatus is a common interface for status mutations of all known types.
type TektonConfig ¶
type TektonConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonConfigSpec `json:"spec,omitempty"` Status TektonConfigStatus `json:"status,omitempty"` }
TektonConfig is the Schema for the TektonConfigs API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonConfig) DeepCopy ¶
func (in *TektonConfig) DeepCopy() *TektonConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonConfig.
func (*TektonConfig) DeepCopyInto ¶
func (in *TektonConfig) DeepCopyInto(out *TektonConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonConfig) DeepCopyObject ¶
func (in *TektonConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonConfig) GetGroupVersionKind ¶ added in v0.50.0
func (tc *TektonConfig) GetGroupVersionKind() schema.GroupVersionKind
func (*TektonConfig) GetSpec ¶
func (tp *TektonConfig) GetSpec() TektonComponentSpec
GetSpec implements TektonComponent
func (*TektonConfig) GetStatus ¶
func (tp *TektonConfig) GetStatus() TektonComponentStatus
GetStatus implements TektonComponent
func (*TektonConfig) GroupVersionKind ¶
func (tc *TektonConfig) GroupVersionKind() schema.GroupVersionKind
func (*TektonConfig) SetDefaults ¶
func (tc *TektonConfig) SetDefaults(ctx context.Context)
func (*TektonConfig) Validate ¶
func (tc *TektonConfig) Validate(ctx context.Context) (errs *apis.FieldError)
type TektonConfigList ¶
type TektonConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonConfig `json:"items"` }
TektonConfigList contains a list of TektonConfig +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonConfigList) DeepCopy ¶
func (in *TektonConfigList) DeepCopy() *TektonConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonConfigList.
func (*TektonConfigList) DeepCopyInto ¶
func (in *TektonConfigList) DeepCopyInto(out *TektonConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonConfigList) DeepCopyObject ¶
func (in *TektonConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonConfigSpec ¶
type TektonConfigSpec struct { Profile string `json:"profile,omitempty"` // Config holds the configuration for resources created by TektonConfig // +optional Config Config `json:"config,omitempty"` // Pruner holds the prune config // +optional Pruner Prune `json:"pruner,omitempty"` CommonSpec `json:",inline"` // Addon holds the addons config // +optional Addon Addon `json:"addon,omitempty"` // Pipeline holds the customizable option for pipeline component // +optional Pipeline Pipeline `json:"pipeline,omitempty"` // Trigger holds the customizable option for triggers component // +optional Trigger Trigger `json:"trigger,omitempty"` // Dashboard holds the customizable options for dashboards component // +optional Dashboard Dashboard `json:"dashboard,omitempty"` // Params is the list of params passed for all platforms // +optional Params []Param `json:"params,omitempty"` }
TektonConfigSpec defines the desired state of TektonConfig
func (*TektonConfigSpec) DeepCopy ¶
func (in *TektonConfigSpec) DeepCopy() *TektonConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonConfigSpec.
func (*TektonConfigSpec) DeepCopyInto ¶
func (in *TektonConfigSpec) DeepCopyInto(out *TektonConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonConfigStatus ¶
type TektonConfigStatus struct { duckv1.Status `json:",inline"` // The profile installed // +optional Profile string `json:"profile,omitempty"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // The current installer set name // +optional TektonInstallerSet map[string]string `json:"tektonInstallerSets,omitempty"` }
TektonConfigStatus defines the observed state of TektonConfig
func (*TektonConfigStatus) DeepCopy ¶
func (in *TektonConfigStatus) DeepCopy() *TektonConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonConfigStatus.
func (*TektonConfigStatus) DeepCopyInto ¶
func (in *TektonConfigStatus) DeepCopyInto(out *TektonConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonConfigStatus) GetCondition ¶
func (tcs *TektonConfigStatus) GetCondition(t apis.ConditionType) *apis.Condition
func (*TektonConfigStatus) GetManifests ¶
func (tcs *TektonConfigStatus) GetManifests() []string
GetManifests gets the url links of the manifests.
func (*TektonConfigStatus) GetVersion ¶
func (tcs *TektonConfigStatus) GetVersion() string
GetVersion gets the currently installed version of the component.
func (*TektonConfigStatus) InitializeConditions ¶
func (tcs *TektonConfigStatus) InitializeConditions()
func (*TektonConfigStatus) IsReady ¶
func (tcs *TektonConfigStatus) IsReady() bool
func (*TektonConfigStatus) MarkComponentNotReady ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkComponentNotReady(msg string)
func (*TektonConfigStatus) MarkComponentsReady ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkComponentsReady()
func (*TektonConfigStatus) MarkDependenciesInstalled ¶
func (tcs *TektonConfigStatus) MarkDependenciesInstalled()
func (*TektonConfigStatus) MarkDependencyInstalling ¶
func (tcs *TektonConfigStatus) MarkDependencyInstalling(msg string)
func (*TektonConfigStatus) MarkDependencyMissing ¶
func (tcs *TektonConfigStatus) MarkDependencyMissing(msg string)
func (*TektonConfigStatus) MarkDeploymentsAvailable ¶
func (tcs *TektonConfigStatus) MarkDeploymentsAvailable()
func (*TektonConfigStatus) MarkDeploymentsNotReady ¶
func (tcs *TektonConfigStatus) MarkDeploymentsNotReady()
func (*TektonConfigStatus) MarkInstallFailed ¶
func (tcs *TektonConfigStatus) MarkInstallFailed(msg string)
func (*TektonConfigStatus) MarkInstallSucceeded ¶
func (tcs *TektonConfigStatus) MarkInstallSucceeded()
func (*TektonConfigStatus) MarkNotReady ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkNotReady(msg string)
func (*TektonConfigStatus) MarkPostInstallComplete ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkPostInstallComplete()
func (*TektonConfigStatus) MarkPostInstallFailed ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkPostInstallFailed(msg string)
func (*TektonConfigStatus) MarkPreInstallComplete ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkPreInstallComplete()
func (*TektonConfigStatus) MarkPreInstallFailed ¶ added in v0.50.0
func (tcs *TektonConfigStatus) MarkPreInstallFailed(msg string)
func (*TektonConfigStatus) SetManifests ¶
func (tcs *TektonConfigStatus) SetManifests(manifests []string)
SetVersion sets the url links of the manifests.
func (*TektonConfigStatus) SetVersion ¶
func (tcs *TektonConfigStatus) SetVersion(version string)
SetVersion sets the currently installed version of the component.
type TektonDashboard ¶
type TektonDashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonDashboardSpec `json:"spec,omitempty"` Status TektonDashboardStatus `json:"status,omitempty"` }
TektonDashboard is the Schema for the tektondashboards API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonDashboard) DeepCopy ¶
func (in *TektonDashboard) DeepCopy() *TektonDashboard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonDashboard.
func (*TektonDashboard) DeepCopyInto ¶
func (in *TektonDashboard) DeepCopyInto(out *TektonDashboard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonDashboard) DeepCopyObject ¶
func (in *TektonDashboard) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonDashboard) GetSpec ¶
func (tp *TektonDashboard) GetSpec() TektonComponentSpec
GetSpec implements TektonComponent
func (*TektonDashboard) GetStatus ¶
func (tp *TektonDashboard) GetStatus() TektonComponentStatus
GetStatus implements TektonComponent
func (*TektonDashboard) GroupVersionKind ¶
func (tp *TektonDashboard) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind returns SchemeGroupVersion of a TektonDashboard
func (*TektonDashboard) SetDefaults ¶
func (td *TektonDashboard) SetDefaults(ctx context.Context)
func (*TektonDashboard) Validate ¶
func (td *TektonDashboard) Validate(ctx context.Context) (errs *apis.FieldError)
type TektonDashboardList ¶
type TektonDashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonDashboard `json:"items"` }
TektonDashboardsList contains a list of TektonDashboard +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonDashboardList) DeepCopy ¶
func (in *TektonDashboardList) DeepCopy() *TektonDashboardList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonDashboardList.
func (*TektonDashboardList) DeepCopyInto ¶
func (in *TektonDashboardList) DeepCopyInto(out *TektonDashboardList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonDashboardList) DeepCopyObject ¶
func (in *TektonDashboardList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonDashboardSpec ¶
type TektonDashboardSpec struct { CommonSpec `json:",inline"` DashboardProperties `json:",inline"` // Config holds the configuration for resources created by TektonDashboard // +optional Config Config `json:"config,omitempty"` }
TektonDashboardSpec defines the desired state of TektonDashboard
func (*TektonDashboardSpec) DeepCopy ¶
func (in *TektonDashboardSpec) DeepCopy() *TektonDashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonDashboardSpec.
func (*TektonDashboardSpec) DeepCopyInto ¶
func (in *TektonDashboardSpec) DeepCopyInto(out *TektonDashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonDashboardStatus ¶
type TektonDashboardStatus struct { duckv1.Status `json:",inline"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // The url links of the manifests, separated by comma // +optional Manifests []string `json:"manifests,omitempty"` }
TektonDashboardStatus defines the observed state of TektonDashboard
func (*TektonDashboardStatus) DeepCopy ¶
func (in *TektonDashboardStatus) DeepCopy() *TektonDashboardStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonDashboardStatus.
func (*TektonDashboardStatus) DeepCopyInto ¶
func (in *TektonDashboardStatus) DeepCopyInto(out *TektonDashboardStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonDashboardStatus) GetCondition ¶
func (tps *TektonDashboardStatus) GetCondition(t apis.ConditionType) *apis.Condition
GetCondition returns the current condition of a given condition type
func (*TektonDashboardStatus) GetManifests ¶
func (tps *TektonDashboardStatus) GetManifests() []string
GetManifests gets the url links of the manifests.
func (*TektonDashboardStatus) GetVersion ¶
func (tps *TektonDashboardStatus) GetVersion() string
GetVersion gets the currently installed version of the component.
func (*TektonDashboardStatus) InitializeConditions ¶
func (tps *TektonDashboardStatus) InitializeConditions()
InitializeConditions initializes conditions of an TektonDashboardStatus
func (*TektonDashboardStatus) IsReady ¶
func (tps *TektonDashboardStatus) IsReady() bool
IsReady looks at the conditions returns true if they are all true.
func (*TektonDashboardStatus) MarkDependenciesInstalled ¶
func (tps *TektonDashboardStatus) MarkDependenciesInstalled()
MarkDependenciesInstalled marks the DependenciesInstalled status as true.
func (*TektonDashboardStatus) MarkDependencyInstalling ¶
func (tps *TektonDashboardStatus) MarkDependencyInstalling(msg string)
MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.
func (*TektonDashboardStatus) MarkDependencyMissing ¶
func (tps *TektonDashboardStatus) MarkDependencyMissing(msg string)
MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.
func (*TektonDashboardStatus) MarkDeploymentsAvailable ¶
func (tps *TektonDashboardStatus) MarkDeploymentsAvailable()
MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.
func (*TektonDashboardStatus) MarkDeploymentsNotReady ¶
func (tps *TektonDashboardStatus) MarkDeploymentsNotReady()
MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.
func (*TektonDashboardStatus) MarkInstallFailed ¶
func (tps *TektonDashboardStatus) MarkInstallFailed(msg string)
MarkInstallFailed marks the InstallationSucceeded status as false with the given message.
func (*TektonDashboardStatus) MarkInstallSucceeded ¶
func (tps *TektonDashboardStatus) MarkInstallSucceeded()
MarkInstallSucceeded marks the InstallationSucceeded status as true.
func (*TektonDashboardStatus) SetManifests ¶
func (tps *TektonDashboardStatus) SetManifests(manifests []string)
SetVersion sets the url links of the manifests.
func (*TektonDashboardStatus) SetVersion ¶
func (tps *TektonDashboardStatus) SetVersion(version string)
SetVersion sets the currently installed version of the component.
type TektonInstallerSet ¶ added in v0.50.0
type TektonInstallerSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonInstallerSetSpec `json:"spec,omitempty"` Status TektonInstallerSetStatus `json:"status,omitempty"` }
TektonInstallerSet is the Schema for the TektonInstallerSet API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonInstallerSet) DeepCopy ¶ added in v0.50.0
func (in *TektonInstallerSet) DeepCopy() *TektonInstallerSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonInstallerSet.
func (*TektonInstallerSet) DeepCopyInto ¶ added in v0.50.0
func (in *TektonInstallerSet) DeepCopyInto(out *TektonInstallerSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonInstallerSet) DeepCopyObject ¶ added in v0.50.0
func (in *TektonInstallerSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonInstallerSet) GetGroupVersionKind ¶ added in v0.50.0
func (tis *TektonInstallerSet) GetGroupVersionKind() schema.GroupVersionKind
type TektonInstallerSetList ¶ added in v0.50.0
type TektonInstallerSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonInstallerSet `json:"items"` }
TektonInstallerSetList contains a list of TektonInstallerSet +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonInstallerSetList) DeepCopy ¶ added in v0.50.0
func (in *TektonInstallerSetList) DeepCopy() *TektonInstallerSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonInstallerSetList.
func (*TektonInstallerSetList) DeepCopyInto ¶ added in v0.50.0
func (in *TektonInstallerSetList) DeepCopyInto(out *TektonInstallerSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonInstallerSetList) DeepCopyObject ¶ added in v0.50.0
func (in *TektonInstallerSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonInstallerSetSpec ¶ added in v0.50.0
TektonInstallerSetSpec defines the desired state of TektonInstallerSet
func (*TektonInstallerSetSpec) DeepCopy ¶ added in v0.50.0
func (in *TektonInstallerSetSpec) DeepCopy() *TektonInstallerSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonInstallerSetSpec.
func (*TektonInstallerSetSpec) DeepCopyInto ¶ added in v0.50.0
func (in *TektonInstallerSetSpec) DeepCopyInto(out *TektonInstallerSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonInstallerSetStatus ¶ added in v0.50.0
TektonInstallerSetStatus defines the observed state of TektonInstallerSet
func (*TektonInstallerSetStatus) DeepCopy ¶ added in v0.50.0
func (in *TektonInstallerSetStatus) DeepCopy() *TektonInstallerSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonInstallerSetStatus.
func (*TektonInstallerSetStatus) DeepCopyInto ¶ added in v0.50.0
func (in *TektonInstallerSetStatus) DeepCopyInto(out *TektonInstallerSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonInstallerSetStatus) GetCondition ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) GetCondition(t apis.ConditionType) *apis.Condition
func (*TektonInstallerSetStatus) InitializeConditions ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) InitializeConditions()
func (*TektonInstallerSetStatus) IsReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) IsReady() bool
func (*TektonInstallerSetStatus) MarkAllDeploymentsNotReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkAllDeploymentsNotReady(msg string)
func (*TektonInstallerSetStatus) MarkAllDeploymentsReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkAllDeploymentsReady()
func (*TektonInstallerSetStatus) MarkCRDsInstallationFailed ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkCRDsInstallationFailed(msg string)
func (*TektonInstallerSetStatus) MarkCRDsInstalled ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkCRDsInstalled()
func (*TektonInstallerSetStatus) MarkClustersScopedInstallationFailed ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkClustersScopedInstallationFailed(msg string)
func (*TektonInstallerSetStatus) MarkClustersScopedResourcesInstalled ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkClustersScopedResourcesInstalled()
func (*TektonInstallerSetStatus) MarkControllerNotReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkControllerNotReady(msg string)
func (*TektonInstallerSetStatus) MarkControllerReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkControllerReady()
func (*TektonInstallerSetStatus) MarkDeploymentsAvailable ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkDeploymentsAvailable()
func (*TektonInstallerSetStatus) MarkDeploymentsAvailableFailed ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkDeploymentsAvailableFailed(msg string)
func (*TektonInstallerSetStatus) MarkNamespaceScopedInstallationFailed ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkNamespaceScopedInstallationFailed(msg string)
func (*TektonInstallerSetStatus) MarkNamespaceScopedResourcesInstalled ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkNamespaceScopedResourcesInstalled()
func (*TektonInstallerSetStatus) MarkNotReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkNotReady(msg string)
func (*TektonInstallerSetStatus) MarkReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkReady()
func (*TektonInstallerSetStatus) MarkWebhookNotReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkWebhookNotReady(msg string)
func (*TektonInstallerSetStatus) MarkWebhookReady ¶ added in v0.50.0
func (tis *TektonInstallerSetStatus) MarkWebhookReady()
type TektonPipeline ¶
type TektonPipeline struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonPipelineSpec `json:"spec,omitempty"` Status TektonPipelineStatus `json:"status,omitempty"` }
TektonPipeline is the Schema for the tektonpipelines API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonPipeline) DeepCopy ¶
func (in *TektonPipeline) DeepCopy() *TektonPipeline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonPipeline.
func (*TektonPipeline) DeepCopyInto ¶
func (in *TektonPipeline) DeepCopyInto(out *TektonPipeline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonPipeline) DeepCopyObject ¶
func (in *TektonPipeline) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonPipeline) GetGroupVersionKind ¶ added in v0.50.0
func (tp *TektonPipeline) GetGroupVersionKind() schema.GroupVersionKind
func (*TektonPipeline) GetSpec ¶
func (tp *TektonPipeline) GetSpec() TektonComponentSpec
func (*TektonPipeline) GetStatus ¶
func (tp *TektonPipeline) GetStatus() TektonComponentStatus
func (*TektonPipeline) GroupVersionKind ¶
func (tp *TektonPipeline) GroupVersionKind() schema.GroupVersionKind
func (*TektonPipeline) SetDefaults ¶
func (tp *TektonPipeline) SetDefaults(ctx context.Context)
func (*TektonPipeline) Validate ¶
func (tp *TektonPipeline) Validate(ctx context.Context) (errs *apis.FieldError)
type TektonPipelineList ¶
type TektonPipelineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonPipeline `json:"items"` }
TektonPipelineList contains a list of TektonPipeline +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonPipelineList) DeepCopy ¶
func (in *TektonPipelineList) DeepCopy() *TektonPipelineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonPipelineList.
func (*TektonPipelineList) DeepCopyInto ¶
func (in *TektonPipelineList) DeepCopyInto(out *TektonPipelineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonPipelineList) DeepCopyObject ¶
func (in *TektonPipelineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonPipelineSpec ¶
type TektonPipelineSpec struct { CommonSpec `json:",inline"` Pipeline `json:",inline"` // Config holds the configuration for resources created by TektonPipeline // +optional Config Config `json:"config,omitempty"` }
TektonPipelineSpec defines the desired state of TektonPipeline
func (*TektonPipelineSpec) DeepCopy ¶
func (in *TektonPipelineSpec) DeepCopy() *TektonPipelineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonPipelineSpec.
func (*TektonPipelineSpec) DeepCopyInto ¶
func (in *TektonPipelineSpec) DeepCopyInto(out *TektonPipelineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonPipelineStatus ¶
type TektonPipelineStatus struct { duckv1.Status `json:",inline"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // The current installer set name for TektonPipeline // +optional TektonInstallerSet string `json:"tektonInstallerSet,omitempty"` // The installer sets created for extension components // +optional ExtentionInstallerSets map[string]string `json:"extTektonInstallerSets,omitempty"` }
TektonPipelineStatus defines the observed state of TektonPipeline
func (*TektonPipelineStatus) DeepCopy ¶
func (in *TektonPipelineStatus) DeepCopy() *TektonPipelineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonPipelineStatus.
func (*TektonPipelineStatus) DeepCopyInto ¶
func (in *TektonPipelineStatus) DeepCopyInto(out *TektonPipelineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonPipelineStatus) GetCondition ¶
func (tps *TektonPipelineStatus) GetCondition(t apis.ConditionType) *apis.Condition
func (*TektonPipelineStatus) GetManifests ¶
func (tps *TektonPipelineStatus) GetManifests() []string
func (*TektonPipelineStatus) GetTektonInstallerSet ¶ added in v0.50.0
func (tps *TektonPipelineStatus) GetTektonInstallerSet() string
func (*TektonPipelineStatus) GetVersion ¶
func (tps *TektonPipelineStatus) GetVersion() string
func (*TektonPipelineStatus) InitializeConditions ¶
func (tps *TektonPipelineStatus) InitializeConditions()
func (*TektonPipelineStatus) IsReady ¶
func (tps *TektonPipelineStatus) IsReady() bool
func (*TektonPipelineStatus) MarkDependenciesInstalled ¶
func (tps *TektonPipelineStatus) MarkDependenciesInstalled()
func (*TektonPipelineStatus) MarkDependencyInstalling ¶
func (tps *TektonPipelineStatus) MarkDependencyInstalling(msg string)
func (*TektonPipelineStatus) MarkDependencyMissing ¶
func (tps *TektonPipelineStatus) MarkDependencyMissing(msg string)
func (*TektonPipelineStatus) MarkDeploymentsAvailable ¶
func (tps *TektonPipelineStatus) MarkDeploymentsAvailable()
func (*TektonPipelineStatus) MarkDeploymentsNotReady ¶
func (tps *TektonPipelineStatus) MarkDeploymentsNotReady()
func (*TektonPipelineStatus) MarkInstallFailed ¶
func (tps *TektonPipelineStatus) MarkInstallFailed(msg string)
func (*TektonPipelineStatus) MarkInstallSucceeded ¶
func (tps *TektonPipelineStatus) MarkInstallSucceeded()
func (*TektonPipelineStatus) MarkInstallerSetAvailable ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkInstallerSetAvailable()
func (*TektonPipelineStatus) MarkInstallerSetNotAvailable ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkInstallerSetNotAvailable(msg string)
func (*TektonPipelineStatus) MarkInstallerSetNotReady ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkInstallerSetNotReady(msg string)
func (*TektonPipelineStatus) MarkInstallerSetReady ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkInstallerSetReady()
func (*TektonPipelineStatus) MarkNotReady ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkNotReady(msg string)
func (*TektonPipelineStatus) MarkPostReconcilerComplete ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkPostReconcilerComplete()
func (*TektonPipelineStatus) MarkPostReconcilerFailed ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkPostReconcilerFailed(msg string)
func (*TektonPipelineStatus) MarkPreReconcilerComplete ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkPreReconcilerComplete()
func (*TektonPipelineStatus) MarkPreReconcilerFailed ¶ added in v0.50.0
func (tps *TektonPipelineStatus) MarkPreReconcilerFailed(msg string)
func (*TektonPipelineStatus) SetTektonInstallerSet ¶ added in v0.50.0
func (tps *TektonPipelineStatus) SetTektonInstallerSet(installerSet string)
func (*TektonPipelineStatus) SetVersion ¶
func (tps *TektonPipelineStatus) SetVersion(version string)
type TektonResult ¶
type TektonResult struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonResultSpec `json:"spec,omitempty"` Status TektonResultStatus `json:"status,omitempty"` }
TektonResult is the Schema for the tektonresults API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonResult) DeepCopy ¶
func (in *TektonResult) DeepCopy() *TektonResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonResult.
func (*TektonResult) DeepCopyInto ¶
func (in *TektonResult) DeepCopyInto(out *TektonResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonResult) DeepCopyObject ¶
func (in *TektonResult) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonResult) GetSpec ¶
func (tp *TektonResult) GetSpec() TektonComponentSpec
GetSpec implements TektonComponent
func (*TektonResult) GetStatus ¶
func (tp *TektonResult) GetStatus() TektonComponentStatus
GetStatus implements TektonComponent
func (*TektonResult) GroupVersionKind ¶
func (tr *TektonResult) GroupVersionKind() schema.GroupVersionKind
GroupVersionKind returns SchemeGroupVersion of a TektonResult
type TektonResultList ¶
type TektonResultList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonResult `json:"items"` }
TektonResultsList contains a list of TektonResult +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonResultList) DeepCopy ¶
func (in *TektonResultList) DeepCopy() *TektonResultList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonResultList.
func (*TektonResultList) DeepCopyInto ¶
func (in *TektonResultList) DeepCopyInto(out *TektonResultList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonResultList) DeepCopyObject ¶
func (in *TektonResultList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonResultSpec ¶
type TektonResultSpec struct {
CommonSpec `json:",inline"`
}
TektonResultSpec defines the desired state of TektonResult
func (*TektonResultSpec) DeepCopy ¶
func (in *TektonResultSpec) DeepCopy() *TektonResultSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonResultSpec.
func (*TektonResultSpec) DeepCopyInto ¶
func (in *TektonResultSpec) DeepCopyInto(out *TektonResultSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonResultStatus ¶
type TektonResultStatus struct { duckv1.Status `json:",inline"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // The url links of the manifests, separated by comma // +optional Manifests []string `json:"manifests,omitempty"` }
TektonResultStatus defines the observed state of TektonResult
func (*TektonResultStatus) DeepCopy ¶
func (in *TektonResultStatus) DeepCopy() *TektonResultStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonResultStatus.
func (*TektonResultStatus) DeepCopyInto ¶
func (in *TektonResultStatus) DeepCopyInto(out *TektonResultStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonResultStatus) GetCondition ¶
func (trs *TektonResultStatus) GetCondition(t apis.ConditionType) *apis.Condition
GetCondition returns the current condition of a given condition type
func (*TektonResultStatus) GetManifests ¶
func (trs *TektonResultStatus) GetManifests() []string
GetManifests gets the url links of the manifests.
func (*TektonResultStatus) GetVersion ¶
func (trs *TektonResultStatus) GetVersion() string
GetVersion gets the currently installed version of the component.
func (*TektonResultStatus) InitializeConditions ¶
func (trs *TektonResultStatus) InitializeConditions()
InitializeConditions initializes conditions of an TektonResultStatus
func (*TektonResultStatus) IsReady ¶
func (trs *TektonResultStatus) IsReady() bool
IsReady looks at the conditions returns true if they are all true.
func (*TektonResultStatus) MarkDependenciesInstalled ¶
func (trs *TektonResultStatus) MarkDependenciesInstalled()
MarkDependenciesInstalled marks the DependenciesInstalled status as true.
func (*TektonResultStatus) MarkDependencyInstalling ¶
func (trs *TektonResultStatus) MarkDependencyInstalling(msg string)
MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.
func (*TektonResultStatus) MarkDependencyMissing ¶
func (trs *TektonResultStatus) MarkDependencyMissing(msg string)
MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.
func (*TektonResultStatus) MarkDeploymentsAvailable ¶
func (trs *TektonResultStatus) MarkDeploymentsAvailable()
MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.
func (*TektonResultStatus) MarkDeploymentsNotReady ¶
func (trs *TektonResultStatus) MarkDeploymentsNotReady()
MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.
func (*TektonResultStatus) MarkInstallFailed ¶
func (trs *TektonResultStatus) MarkInstallFailed(msg string)
MarkInstallFailed marks the InstallationSucceeded status as false with the given message.
func (*TektonResultStatus) MarkInstallSucceeded ¶
func (trs *TektonResultStatus) MarkInstallSucceeded()
MarkInstallSucceeded marks the InstallationSucceeded status as true.
func (*TektonResultStatus) SetManifests ¶
func (trs *TektonResultStatus) SetManifests(manifests []string)
SetManifests sets the url links of the manifests.
func (*TektonResultStatus) SetVersion ¶
func (trs *TektonResultStatus) SetVersion(version string)
SetVersion sets the currently installed version of the component.
type TektonTrigger ¶
type TektonTrigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TektonTriggerSpec `json:"spec,omitempty"` Status TektonTriggerStatus `json:"status,omitempty"` }
TektonTrigger is the Schema for the tektontriggers API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced
func (*TektonTrigger) DeepCopy ¶
func (in *TektonTrigger) DeepCopy() *TektonTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonTrigger.
func (*TektonTrigger) DeepCopyInto ¶
func (in *TektonTrigger) DeepCopyInto(out *TektonTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonTrigger) DeepCopyObject ¶
func (in *TektonTrigger) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TektonTrigger) GetGroupVersionKind ¶ added in v0.50.0
func (tr *TektonTrigger) GetGroupVersionKind() schema.GroupVersionKind
func (*TektonTrigger) GetSpec ¶
func (tp *TektonTrigger) GetSpec() TektonComponentSpec
GetSpec implements TektonComponent
func (*TektonTrigger) GetStatus ¶
func (tp *TektonTrigger) GetStatus() TektonComponentStatus
GetStatus implements TektonComponent
func (*TektonTrigger) GroupVersionKind ¶
func (tr *TektonTrigger) GroupVersionKind() schema.GroupVersionKind
func (*TektonTrigger) SetDefaults ¶
func (tt *TektonTrigger) SetDefaults(ctx context.Context)
func (*TektonTrigger) Validate ¶
func (tr *TektonTrigger) Validate(ctx context.Context) (errs *apis.FieldError)
type TektonTriggerList ¶
type TektonTriggerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TektonTrigger `json:"items"` }
TektonTriggersList contains a list of TektonTrigger +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TektonTriggerList) DeepCopy ¶
func (in *TektonTriggerList) DeepCopy() *TektonTriggerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonTriggerList.
func (*TektonTriggerList) DeepCopyInto ¶
func (in *TektonTriggerList) DeepCopyInto(out *TektonTriggerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonTriggerList) DeepCopyObject ¶
func (in *TektonTriggerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TektonTriggerSpec ¶
type TektonTriggerSpec struct { CommonSpec `json:",inline"` Trigger `json:",inline"` // Config holds the configuration for resources created by TektonTrigger // +optional Config Config `json:"config,omitempty"` }
TektonTriggerSpec defines the desired state of TektonTrigger
func (*TektonTriggerSpec) DeepCopy ¶
func (in *TektonTriggerSpec) DeepCopy() *TektonTriggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonTriggerSpec.
func (*TektonTriggerSpec) DeepCopyInto ¶
func (in *TektonTriggerSpec) DeepCopyInto(out *TektonTriggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonTriggerStatus ¶
type TektonTriggerStatus struct { duckv1.Status `json:",inline"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // The current installer set name // +optional TektonInstallerSet string `json:"tektonInstallerSet,omitempty"` }
TektonTriggerStatus defines the observed state of TektonTrigger
func (*TektonTriggerStatus) DeepCopy ¶
func (in *TektonTriggerStatus) DeepCopy() *TektonTriggerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonTriggerStatus.
func (*TektonTriggerStatus) DeepCopyInto ¶
func (in *TektonTriggerStatus) DeepCopyInto(out *TektonTriggerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonTriggerStatus) GetCondition ¶
func (tts *TektonTriggerStatus) GetCondition(t apis.ConditionType) *apis.Condition
func (*TektonTriggerStatus) GetManifests ¶
func (tts *TektonTriggerStatus) GetManifests() []string
func (*TektonTriggerStatus) GetTektonInstallerSet ¶ added in v0.50.0
func (tts *TektonTriggerStatus) GetTektonInstallerSet() string
func (*TektonTriggerStatus) GetVersion ¶
func (tts *TektonTriggerStatus) GetVersion() string
func (*TektonTriggerStatus) InitializeConditions ¶
func (tts *TektonTriggerStatus) InitializeConditions()
func (*TektonTriggerStatus) IsReady ¶
func (tts *TektonTriggerStatus) IsReady() bool
func (*TektonTriggerStatus) MarkDependenciesInstalled ¶
func (tts *TektonTriggerStatus) MarkDependenciesInstalled()
func (*TektonTriggerStatus) MarkDependencyInstalling ¶
func (tts *TektonTriggerStatus) MarkDependencyInstalling(msg string)
func (*TektonTriggerStatus) MarkDependencyMissing ¶
func (tts *TektonTriggerStatus) MarkDependencyMissing(msg string)
func (*TektonTriggerStatus) MarkDeploymentsAvailable ¶
func (tts *TektonTriggerStatus) MarkDeploymentsAvailable()
func (*TektonTriggerStatus) MarkDeploymentsNotReady ¶
func (tts *TektonTriggerStatus) MarkDeploymentsNotReady()
func (*TektonTriggerStatus) MarkInstallFailed ¶
func (tts *TektonTriggerStatus) MarkInstallFailed(msg string)
func (*TektonTriggerStatus) MarkInstallSucceeded ¶
func (tts *TektonTriggerStatus) MarkInstallSucceeded()
func (*TektonTriggerStatus) MarkInstallerSetAvailable ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkInstallerSetAvailable()
func (*TektonTriggerStatus) MarkInstallerSetNotAvailable ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkInstallerSetNotAvailable(msg string)
func (*TektonTriggerStatus) MarkInstallerSetNotReady ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkInstallerSetNotReady(msg string)
func (*TektonTriggerStatus) MarkInstallerSetReady ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkInstallerSetReady()
func (*TektonTriggerStatus) MarkNotReady ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkNotReady(msg string)
func (*TektonTriggerStatus) MarkPostReconcilerComplete ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkPostReconcilerComplete()
func (*TektonTriggerStatus) MarkPostReconcilerFailed ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkPostReconcilerFailed(msg string)
func (*TektonTriggerStatus) MarkPreReconcilerComplete ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkPreReconcilerComplete()
func (*TektonTriggerStatus) MarkPreReconcilerFailed ¶ added in v0.50.0
func (tts *TektonTriggerStatus) MarkPreReconcilerFailed(msg string)
func (*TektonTriggerStatus) SetTektonInstallerSet ¶ added in v0.50.0
func (tts *TektonTriggerStatus) SetTektonInstallerSet(installerSet string)
func (*TektonTriggerStatus) SetVersion ¶
func (tts *TektonTriggerStatus) SetVersion(version string)
type Trigger ¶ added in v0.50.0
type Trigger struct {
TriggersProperties `json:",inline"`
}
Trigger defines the field to customize Trigger component
func (*Trigger) DeepCopy ¶ added in v0.50.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶ added in v0.50.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggersProperties ¶ added in v0.50.0
type TriggersProperties struct { EnableApiFields string `json:"enable-api-fields,omitempty"` // +optional OptionalTriggersProperties `json:",inline"` }
TriggersProperties defines the fields which are to be defined for triggers only if user pass them
func (*TriggersProperties) DeepCopy ¶ added in v0.50.0
func (in *TriggersProperties) DeepCopy() *TriggersProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggersProperties.
func (*TriggersProperties) DeepCopyInto ¶ added in v0.50.0
func (in *TriggersProperties) DeepCopyInto(out *TriggersProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- common.go
- const.go
- doc.go
- register.go
- tektonaddon_defaults.go
- tektonaddon_lifecycle.go
- tektonaddon_types.go
- tektonaddon_validation.go
- tektonconfig_defaults.go
- tektonconfig_lifecycle.go
- tektonconfig_types.go
- tektonconfig_validation.go
- tektondashboard_lifecycle.go
- tektondashboard_types.go
- tektondashboard_validation.go
- tektoninstallerset_lifecycle.go
- tektoninstallerset_types.go
- tektonpipeline_defaults.go
- tektonpipeline_lifecycle.go
- tektonpipeline_types.go
- tektonpipeline_validation.go
- tektonresult_lifecycle.go
- tektonresult_types.go
- tektontrigger_defaults.go
- tektontrigger_lifecycle.go
- tektontrigger_types.go
- tektontrigger_validation.go
- zz_generated.deepcopy.go