Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tekton.dev
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type CommonSpec
- type TektonAddon
- func (in *TektonAddon) DeepCopy() *TektonAddon
- func (in *TektonAddon) DeepCopyInto(out *TektonAddon)
- func (in *TektonAddon) DeepCopyObject() runtime.Object
- func (tp *TektonAddon) GetSpec() TektonComponentSpec
- func (tp *TektonAddon) GetStatus() TektonComponentStatus
- func (tp *TektonAddon) GroupVersionKind() schema.GroupVersionKind
- type TektonAddonList
- type TektonAddonSpec
- type TektonAddonStatus
- func (in *TektonAddonStatus) DeepCopy() *TektonAddonStatus
- func (in *TektonAddonStatus) DeepCopyInto(out *TektonAddonStatus)
- func (tps *TektonAddonStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonAddonStatus) GetManifests() []string
- func (tps *TektonAddonStatus) GetVersion() string
- func (tps *TektonAddonStatus) InitializeConditions()
- func (tps *TektonAddonStatus) IsReady() bool
- func (tps *TektonAddonStatus) MarkDependenciesInstalled()
- func (tps *TektonAddonStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonAddonStatus) MarkDependencyMissing(msg string)
- func (tps *TektonAddonStatus) MarkDeploymentsAvailable()
- func (tps *TektonAddonStatus) MarkDeploymentsNotReady()
- func (tps *TektonAddonStatus) MarkInstallFailed(msg string)
- func (tps *TektonAddonStatus) MarkInstallSucceeded()
- func (tps *TektonAddonStatus) SetManifests(manifests []string)
- func (tps *TektonAddonStatus) SetVersion(version string)
- type TektonComponent
- type TektonComponentSpec
- type TektonComponentStatus
- type TektonConfig
- func (in *TektonConfig) DeepCopy() *TektonConfig
- func (in *TektonConfig) DeepCopyInto(out *TektonConfig)
- func (in *TektonConfig) DeepCopyObject() runtime.Object
- func (tp *TektonConfig) GetSpec() TektonComponentSpec
- func (tp *TektonConfig) GetStatus() TektonComponentStatus
- func (tp *TektonConfig) GroupVersionKind() schema.GroupVersionKind
- type TektonConfigList
- type TektonConfigSpec
- type TektonConfigStatus
- func (in *TektonConfigStatus) DeepCopy() *TektonConfigStatus
- func (in *TektonConfigStatus) DeepCopyInto(out *TektonConfigStatus)
- func (tps *TektonConfigStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonConfigStatus) GetManifests() []string
- func (tps *TektonConfigStatus) GetVersion() string
- func (tps *TektonConfigStatus) InitializeConditions()
- func (tps *TektonConfigStatus) IsReady() bool
- func (tps *TektonConfigStatus) MarkDependenciesInstalled()
- func (tps *TektonConfigStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonConfigStatus) MarkDependencyMissing(msg string)
- func (tps *TektonConfigStatus) MarkDeploymentsAvailable()
- func (tps *TektonConfigStatus) MarkDeploymentsNotReady()
- func (tps *TektonConfigStatus) MarkInstallFailed(msg string)
- func (tps *TektonConfigStatus) MarkInstallSucceeded()
- func (tps *TektonConfigStatus) SetManifests(manifests []string)
- func (tps *TektonConfigStatus) SetVersion(version string)
- type TektonDashboard
- func (in *TektonDashboard) DeepCopy() *TektonDashboard
- func (in *TektonDashboard) DeepCopyInto(out *TektonDashboard)
- func (in *TektonDashboard) DeepCopyObject() runtime.Object
- func (tp *TektonDashboard) GetSpec() TektonComponentSpec
- func (tp *TektonDashboard) GetStatus() TektonComponentStatus
- func (tp *TektonDashboard) GroupVersionKind() schema.GroupVersionKind
- type TektonDashboardList
- type TektonDashboardSpec
- type TektonDashboardStatus
- func (in *TektonDashboardStatus) DeepCopy() *TektonDashboardStatus
- func (in *TektonDashboardStatus) DeepCopyInto(out *TektonDashboardStatus)
- func (tps *TektonDashboardStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonDashboardStatus) GetManifests() []string
- func (tps *TektonDashboardStatus) GetVersion() string
- func (tps *TektonDashboardStatus) InitializeConditions()
- func (tps *TektonDashboardStatus) IsReady() bool
- func (tps *TektonDashboardStatus) MarkDependenciesInstalled()
- func (tps *TektonDashboardStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonDashboardStatus) MarkDependencyMissing(msg string)
- func (tps *TektonDashboardStatus) MarkDeploymentsAvailable()
- func (tps *TektonDashboardStatus) MarkDeploymentsNotReady()
- func (tps *TektonDashboardStatus) MarkInstallFailed(msg string)
- func (tps *TektonDashboardStatus) MarkInstallSucceeded()
- func (tps *TektonDashboardStatus) SetManifests(manifests []string)
- func (tps *TektonDashboardStatus) SetVersion(version string)
- type TektonPipeline
- func (in *TektonPipeline) DeepCopy() *TektonPipeline
- func (in *TektonPipeline) DeepCopyInto(out *TektonPipeline)
- func (in *TektonPipeline) DeepCopyObject() runtime.Object
- func (tp *TektonPipeline) GetSpec() TektonComponentSpec
- func (tp *TektonPipeline) GetStatus() TektonComponentStatus
- func (tp *TektonPipeline) GroupVersionKind() schema.GroupVersionKind
- type TektonPipelineList
- type TektonPipelineSpec
- type TektonPipelineStatus
- func (in *TektonPipelineStatus) DeepCopy() *TektonPipelineStatus
- func (in *TektonPipelineStatus) DeepCopyInto(out *TektonPipelineStatus)
- func (tps *TektonPipelineStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonPipelineStatus) GetManifests() []string
- func (tps *TektonPipelineStatus) GetVersion() string
- func (tps *TektonPipelineStatus) InitializeConditions()
- func (tps *TektonPipelineStatus) IsReady() bool
- func (tps *TektonPipelineStatus) MarkDependenciesInstalled()
- func (tps *TektonPipelineStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonPipelineStatus) MarkDependencyMissing(msg string)
- func (tps *TektonPipelineStatus) MarkDeploymentsAvailable()
- func (tps *TektonPipelineStatus) MarkDeploymentsNotReady()
- func (tps *TektonPipelineStatus) MarkInstallFailed(msg string)
- func (tps *TektonPipelineStatus) MarkInstallSucceeded()
- func (tps *TektonPipelineStatus) SetManifests(manifests []string)
- func (tps *TektonPipelineStatus) SetVersion(version string)
- type TektonTrigger
- func (in *TektonTrigger) DeepCopy() *TektonTrigger
- func (in *TektonTrigger) DeepCopyInto(out *TektonTrigger)
- func (in *TektonTrigger) DeepCopyObject() runtime.Object
- func (tp *TektonTrigger) GetSpec() TektonComponentSpec
- func (tp *TektonTrigger) GetStatus() TektonComponentStatus
- func (tp *TektonTrigger) GroupVersionKind() schema.GroupVersionKind
- type TektonTriggerList
- type TektonTriggerSpec
- type TektonTriggerStatus
- func (in *TektonTriggerStatus) DeepCopy() *TektonTriggerStatus
- func (in *TektonTriggerStatus) DeepCopyInto(out *TektonTriggerStatus)
- func (tps *TektonTriggerStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (tps *TektonTriggerStatus) GetManifests() []string
- func (tps *TektonTriggerStatus) GetVersion() string
- func (tps *TektonTriggerStatus) InitializeConditions()
- func (tps *TektonTriggerStatus) IsReady() bool
- func (tps *TektonTriggerStatus) MarkDependenciesInstalled()
- func (tps *TektonTriggerStatus) MarkDependencyInstalling(msg string)
- func (tps *TektonTriggerStatus) MarkDependencyMissing(msg string)
- func (tps *TektonTriggerStatus) MarkDeploymentsAvailable()
- func (tps *TektonTriggerStatus) MarkDeploymentsNotReady()
- func (tps *TektonTriggerStatus) MarkInstallFailed(msg string)
- func (tps *TektonTriggerStatus) MarkInstallSucceeded()
- func (tps *TektonTriggerStatus) SetManifests(manifests []string)
- func (tps *TektonTriggerStatus) SetVersion(version string)
Constants ¶
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" )
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" )
Variables ¶
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 Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
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 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
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"`
}
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
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"` CommonSpec `json:",inline"` }
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
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"`
}
TektonDashboardSpec defines the desired state of TektonDashboard
func (*TektonDashboardSpec) DeepCopy ¶
func (in *TektonDashboardSpec) DeepCopy() *TektonDashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonDashboardSpec.
func (*TektonDashboardSpec) DeepCopyInto ¶
func (in *TektonDashboardSpec) DeepCopyInto(out *TektonDashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonDashboardStatus ¶
type TektonDashboardStatus struct { duckv1.Status `json:",inline"` // The version of the installed release // +optional Version string `json:"version,omitempty"` // The url links of the manifests, separated by comma // +optional Manifests []string `json:"manifests,omitempty"` }
TektonDashboardStatus defines the observed state of TektonDashboard
func (*TektonDashboardStatus) DeepCopy ¶
func (in *TektonDashboardStatus) DeepCopy() *TektonDashboardStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonDashboardStatus.
func (*TektonDashboardStatus) DeepCopyInto ¶
func (in *TektonDashboardStatus) DeepCopyInto(out *TektonDashboardStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonDashboardStatus) GetCondition ¶
func (tps *TektonDashboardStatus) GetCondition(t apis.ConditionType) *apis.Condition
GetCondition returns the current condition of a given condition type
func (*TektonDashboardStatus) GetManifests ¶
func (tps *TektonDashboardStatus) GetManifests() []string
GetManifests gets the url links of the manifests.
func (*TektonDashboardStatus) GetVersion ¶
func (tps *TektonDashboardStatus) GetVersion() string
GetVersion gets the currently installed version of the component.
func (*TektonDashboardStatus) InitializeConditions ¶
func (tps *TektonDashboardStatus) InitializeConditions()
InitializeConditions initializes conditions of an TektonDashboardStatus
func (*TektonDashboardStatus) IsReady ¶
func (tps *TektonDashboardStatus) IsReady() bool
IsReady looks at the conditions returns true if they are all true.
func (*TektonDashboardStatus) MarkDependenciesInstalled ¶
func (tps *TektonDashboardStatus) MarkDependenciesInstalled()
MarkDependenciesInstalled marks the DependenciesInstalled status as true.
func (*TektonDashboardStatus) MarkDependencyInstalling ¶
func (tps *TektonDashboardStatus) MarkDependencyInstalling(msg string)
MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.
func (*TektonDashboardStatus) MarkDependencyMissing ¶
func (tps *TektonDashboardStatus) MarkDependencyMissing(msg string)
MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.
func (*TektonDashboardStatus) MarkDeploymentsAvailable ¶
func (tps *TektonDashboardStatus) MarkDeploymentsAvailable()
MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.
func (*TektonDashboardStatus) MarkDeploymentsNotReady ¶
func (tps *TektonDashboardStatus) MarkDeploymentsNotReady()
MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.
func (*TektonDashboardStatus) MarkInstallFailed ¶
func (tps *TektonDashboardStatus) MarkInstallFailed(msg string)
MarkInstallFailed marks the InstallationSucceeded status as false with the given message.
func (*TektonDashboardStatus) MarkInstallSucceeded ¶
func (tps *TektonDashboardStatus) MarkInstallSucceeded()
MarkInstallSucceeded marks the InstallationSucceeded status as true.
func (*TektonDashboardStatus) SetManifests ¶
func (tps *TektonDashboardStatus) SetManifests(manifests []string)
SetVersion sets the url links of the manifests.
func (*TektonDashboardStatus) SetVersion ¶
func (tps *TektonDashboardStatus) SetVersion(version string)
SetVersion sets the currently installed version of the component.
type 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
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"`
}
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 ¶
func (in *TektonPipelineStatus) DeepCopy() *TektonPipelineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonPipelineStatus.
func (*TektonPipelineStatus) DeepCopyInto ¶
func (in *TektonPipelineStatus) DeepCopyInto(out *TektonPipelineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TektonPipelineStatus) GetCondition ¶
func (tps *TektonPipelineStatus) GetCondition(t apis.ConditionType) *apis.Condition
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 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
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"`
}
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.
Source Files ¶
- common.go
- doc.go
- register.go
- tektonaddon_lifecycle.go
- tektonaddon_types.go
- tektonconfig_lifecycle.go
- tektonconfig_types.go
- tektondashboard_lifecycle.go
- tektondashboard_types.go
- tektonpipeline_lifecycle.go
- tektonpipeline_types.go
- tektontrigger_lifecycle.go
- tektontrigger_types.go
- zz_generated.deepcopy.go