Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.50.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 19

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

View Source
const (
	// Profiles
	ProfileAll   = "all"
	ProfileBasic = "basic"
	ProfileLite  = "lite"

	// Addon Params
	ClusterTasksParam      = "clusterTasks"
	PipelineTemplatesParam = "pipelineTemplates"

	ApiFieldAlpha  = "alpha"
	ApiFieldStable = "stable"
)
View Source
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"
)
View Source
const (
	PreInstall      apis.ConditionType = "PreInstall"
	ComponentsReady apis.ConditionType = "ComponentsReady"
	PostInstall     apis.ConditionType = "PostInstall"
)
View Source
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"
)
View Source
const (
	DefaultMetricsPipelinerunLevel       = "pipeline"
	DefaultMetricsTaskrunLevel           = "task"
	DefaultMetricsPipelierunDurationType = "histogram"
	DefaultMetricsTaskrunDurationType    = "histogram"
)
View Source
const (
	PreReconciler         apis.ConditionType = "PreReconciler"
	InstallerSetAvailable apis.ConditionType = "InstallerSetAvailable"
	InstallerSetReady     apis.ConditionType = "InstallerSetReady"
	PostReconciler        apis.ConditionType = "PostReconciler"
)
View Source
const (
	DependenciesInstalled apis.ConditionType = "DependenciesInstalled"
)
View Source
const (
	// InstallSucceeded is a Condition indiciating that the installation of the component
	// itself has been successful.
	InstallSucceeded apis.ConditionType = "InstallSucceeded"
)

Variables

View Source
var (

	// Profiles
	Profiles = []string{
		ProfileLite,
		ProfileBasic,
		ProfileAll,
	}

	PruningResource = []string{
		"taskrun",
		"pipelinerun",
	}

	AddonParams = map[string]ParamValue{
		ClusterTasksParam:      defaultParamValue,
		PipelineTemplatesParam: defaultParamValue,
	}
)
View Source
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
)
View Source
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

func ParseParams(params []Param) map[string]string

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

func (in *Addon) DeepCopy() *Addon

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

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

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

func (Addon) IsEmpty

func (a Addon) IsEmpty() bool

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

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto added in v0.50.0

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

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

func (*OptionalPipelineProperties) DeepCopyInto

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

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

func (*OptionalTriggersProperties) DeepCopyInto added in v0.50.0

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

type Param

type Param struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

Param declares an string value to use for the parameter called name.

func (*Param) DeepCopy

func (in *Param) DeepCopy() *Param

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

func (*Param) DeepCopyInto

func (in *Param) DeepCopyInto(out *Param)

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

type ParamValue

type ParamValue struct {
	Default  string
	Possible []string
}

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

func (in *Pipeline) DeepCopy() *Pipeline

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

func (*Pipeline) DeepCopyInto

func (in *Pipeline) DeepCopyInto(out *Pipeline)

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

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

func (*PipelineMetricsProperties) DeepCopyInto added in v0.50.0

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

func (in *Prune) DeepCopy() *Prune

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

func (*Prune) DeepCopyInto

func (in *Prune) DeepCopyInto(out *Prune)

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

func (Prune) IsEmpty

func (p Prune) IsEmpty() bool

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

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

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

type TektonInstallerSetSpec struct {
	Manifests mf.Slice `json:"manifests,omitempty"`
}

TektonInstallerSetSpec defines the desired state of TektonInstallerSet

func (*TektonInstallerSetSpec) DeepCopy added in v0.50.0

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

type TektonInstallerSetStatus struct {
	duckv1.Status `json:",inline"`
}

TektonInstallerSetStatus defines the observed state of TektonInstallerSet

func (*TektonInstallerSetStatus) DeepCopy added in v0.50.0

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 (*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

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

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto added in v0.50.0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL