v1alpha1

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 9 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 (
	// DependenciesInstalled is a Condition indicating that potential dependencies have
	// been installed correctly.
	DependenciesInstalled apis.ConditionType = "DependenciesInstalled"
	// InstallSucceeded is a Condition indiciating that the installation of the component
	// itself has been successful.
	InstallSucceeded apis.ConditionType = "InstallSucceeded"
	// DeploymentsAvailable is a Condition indicating whether or not the Deployments of
	// the respective component have come up successfully.
	DeploymentsAvailable apis.ConditionType = "DeploymentsAvailable"
)
View Source
const (
	// Profiles
	ProfileAll   = "all"
	ProfileBasic = "basic"
	ProfileLite  = "lite"

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

	PipelineApiFieldAlpha  = "alpha"
	PipelineApiFieldStable = "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 Config in a GVK context.
	KindTektonResult = "TektonResult"
)

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
)

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 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 Param

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

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"`
}

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 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"`
	// +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
	Keep *uint `json:"keep,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) 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

GroupVersionKind returns SchemeGroupVersion of a TektonAddon

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"`

	// The url links of the manifests, separated by comma
	// +optional
	Manifests []string `json:"manifests,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 (tps *TektonAddonStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonAddonStatus) GetManifests

func (tps *TektonAddonStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*TektonAddonStatus) GetVersion

func (tps *TektonAddonStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonAddonStatus) InitializeConditions

func (tps *TektonAddonStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonAddonStatus

func (*TektonAddonStatus) IsReady

func (tps *TektonAddonStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonAddonStatus) MarkDependenciesInstalled

func (tps *TektonAddonStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonAddonStatus) MarkDependencyInstalling

func (tps *TektonAddonStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonAddonStatus) MarkDependencyMissing

func (tps *TektonAddonStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonAddonStatus) MarkDeploymentsAvailable

func (tps *TektonAddonStatus) MarkDeploymentsAvailable()

MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.

func (*TektonAddonStatus) MarkDeploymentsNotReady

func (tps *TektonAddonStatus) MarkDeploymentsNotReady()

MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.

func (*TektonAddonStatus) MarkInstallFailed

func (tps *TektonAddonStatus) MarkInstallFailed(msg string)

MarkInstallFailed marks the InstallationSucceeded status as false with the given message.

func (*TektonAddonStatus) MarkInstallSucceeded

func (tps *TektonAddonStatus) MarkInstallSucceeded()

MarkInstallSucceeded marks the InstallationSucceeded status as true.

func (*TektonAddonStatus) SetManifests

func (tps *TektonAddonStatus) SetManifests(manifests []string)

SetVersion sets the url links of the manifests.

func (*TektonAddonStatus) SetVersion

func (tps *TektonAddonStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

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) GetSpec

func (tp *TektonConfig) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonConfig) GetStatus

func (tp *TektonConfig) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonConfig) GroupVersionKind

func (tp *TektonConfig) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonConfig

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"`
}

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 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"`
}

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 (tps *TektonConfigStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonConfigStatus) GetManifests

func (tps *TektonConfigStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*TektonConfigStatus) GetVersion

func (tps *TektonConfigStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonConfigStatus) InitializeConditions

func (tps *TektonConfigStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonConfigStatus

func (*TektonConfigStatus) IsReady

func (tps *TektonConfigStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonConfigStatus) MarkDependenciesInstalled

func (tps *TektonConfigStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonConfigStatus) MarkDependencyInstalling

func (tps *TektonConfigStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonConfigStatus) MarkDependencyMissing

func (tps *TektonConfigStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonConfigStatus) MarkDeploymentsAvailable

func (tps *TektonConfigStatus) MarkDeploymentsAvailable()

MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.

func (*TektonConfigStatus) MarkDeploymentsNotReady

func (tps *TektonConfigStatus) MarkDeploymentsNotReady()

MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.

func (*TektonConfigStatus) MarkInstallFailed

func (tps *TektonConfigStatus) MarkInstallFailed(msg string)

MarkInstallFailed marks the InstallationSucceeded status as false with the given message.

func (*TektonConfigStatus) MarkInstallSucceeded

func (tps *TektonConfigStatus) MarkInstallSucceeded()

MarkInstallSucceeded marks the InstallationSucceeded status as true.

func (*TektonConfigStatus) SetManifests

func (tps *TektonConfigStatus) SetManifests(manifests []string)

SetVersion sets the url links of the manifests.

func (*TektonConfigStatus) SetVersion

func (tps *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"`
	// 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 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) GetSpec

func (tp *TektonPipeline) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonPipeline) GetStatus

func (tp *TektonPipeline) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonPipeline) GroupVersionKind

func (tp *TektonPipeline) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonPipeline

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"`
	PipelineProperties `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 url links of the manifests, separated by comma
	// +optional
	Manifests []string `json:"manifests,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

GetCondition returns the current condition of a given condition type

func (*TektonPipelineStatus) GetManifests

func (tps *TektonPipelineStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*TektonPipelineStatus) GetVersion

func (tps *TektonPipelineStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonPipelineStatus) InitializeConditions

func (tps *TektonPipelineStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonPipelineStatus

func (*TektonPipelineStatus) IsReady

func (tps *TektonPipelineStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonPipelineStatus) MarkDependenciesInstalled

func (tps *TektonPipelineStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonPipelineStatus) MarkDependencyInstalling

func (tps *TektonPipelineStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonPipelineStatus) MarkDependencyMissing

func (tps *TektonPipelineStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonPipelineStatus) MarkDeploymentsAvailable

func (tps *TektonPipelineStatus) MarkDeploymentsAvailable()

MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.

func (*TektonPipelineStatus) MarkDeploymentsNotReady

func (tps *TektonPipelineStatus) MarkDeploymentsNotReady()

MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.

func (*TektonPipelineStatus) MarkInstallFailed

func (tps *TektonPipelineStatus) MarkInstallFailed(msg string)

MarkInstallFailed marks the InstallationSucceeded status as false with the given message.

func (*TektonPipelineStatus) MarkInstallSucceeded

func (tps *TektonPipelineStatus) MarkInstallSucceeded()

MarkInstallSucceeded marks the InstallationSucceeded status as true.

func (*TektonPipelineStatus) SetManifests

func (tps *TektonPipelineStatus) SetManifests(manifests []string)

SetVersion sets the url links of the manifests.

func (*TektonPipelineStatus) SetVersion

func (tps *TektonPipelineStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

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) GetSpec

func (tp *TektonTrigger) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonTrigger) GetStatus

func (tp *TektonTrigger) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonTrigger) GroupVersionKind

func (tp *TektonTrigger) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonTrigger

func (*TektonTrigger) SetDefaults

func (tr *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"`
	// 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 url links of the manifests, separated by comma
	// +optional
	Manifests []string `json:"manifests,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 (tps *TektonTriggerStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonTriggerStatus) GetManifests

func (tps *TektonTriggerStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*TektonTriggerStatus) GetVersion

func (tps *TektonTriggerStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonTriggerStatus) InitializeConditions

func (tps *TektonTriggerStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonTriggerStatus

func (*TektonTriggerStatus) IsReady

func (tps *TektonTriggerStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonTriggerStatus) MarkDependenciesInstalled

func (tps *TektonTriggerStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonTriggerStatus) MarkDependencyInstalling

func (tps *TektonTriggerStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonTriggerStatus) MarkDependencyMissing

func (tps *TektonTriggerStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonTriggerStatus) MarkDeploymentsAvailable

func (tps *TektonTriggerStatus) MarkDeploymentsAvailable()

MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.

func (*TektonTriggerStatus) MarkDeploymentsNotReady

func (tps *TektonTriggerStatus) MarkDeploymentsNotReady()

MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.

func (*TektonTriggerStatus) MarkInstallFailed

func (tps *TektonTriggerStatus) MarkInstallFailed(msg string)

MarkInstallFailed marks the InstallationSucceeded status as false with the given message.

func (*TektonTriggerStatus) MarkInstallSucceeded

func (tps *TektonTriggerStatus) MarkInstallSucceeded()

MarkInstallSucceeded marks the InstallationSucceeded status as true.

func (*TektonTriggerStatus) SetManifests

func (tps *TektonTriggerStatus) SetManifests(manifests []string)

SetVersion sets the url links of the manifests.

func (*TektonTriggerStatus) SetVersion

func (tps *TektonTriggerStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

Jump to

Keyboard shortcuts

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