Documentation ¶
Index ¶
- Constants
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor
- func OpenShiftExtension(ctx context.Context) common.Extension
- func SkipCommunityTaskFetch(until string) bool
- type Reconciler
- func (r *Reconciler) EnsureClusterTask(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureCommunityClusterTask(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsurePipelineTemplates(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsurePipelinesAsCode(ctx context.Context, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureTriggersResources(ctx context.Context, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureVersionedClusterTask(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) FinalizeKind(ctx context.Context, original *v1alpha1.TektonAddon) pkgreconciler.Event
- func (r *Reconciler) ReconcileKind(ctx context.Context, ta *v1alpha1.TektonAddon) pkgreconciler.Event
Constants ¶
const ( ClusterTaskInstallerSet = "ClusterTask" CommunityClusterTaskInstallerSet = "CommunityClusterTask" VersionedClusterTaskInstallerSet = "VersionedClusterTask" PipelinesTemplateInstallerSet = "PipelinesTemplate" TriggersResourcesInstallerSet = "TriggersResources" ConsoleCLIInstallerSet = "ConsoleCLI" ConsoleHubLinkInstallerSet = "ConsoleHub" MiscellaneousResourcesInstallerSet = "MiscellaneousResources" PACInstallerSet = "PipelinesAsCode" CreatedByValue = "TektonAddon" KindTask = "Task" KindClusterTask = "ClusterTask" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events
func NewExtendedController ¶
func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor
NewExtendedController returns a controller extended to a specific platform
func SkipCommunityTaskFetch ¶ added in v0.55.0
SkipCommunityTaskFetch skips community task fetch until retryWaitTime has passed if there is no value int retryWaitTime that means no error occurred prior to the call if there is some value that means error has occurred earlier and must try after 15 minutes
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler implements controller.Reconciler for TektonAddon resources.
func (*Reconciler) EnsureClusterTask ¶ added in v0.55.0
func (r *Reconciler) EnsureClusterTask(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureCommunityClusterTask ¶ added in v0.55.0
func (r *Reconciler) EnsureCommunityClusterTask(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsurePipelineTemplates ¶ added in v0.55.0
func (r *Reconciler) EnsurePipelineTemplates(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsurePipelinesAsCode ¶ added in v0.55.0
func (r *Reconciler) EnsurePipelinesAsCode(ctx context.Context, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureTriggersResources ¶ added in v0.55.0
func (r *Reconciler) EnsureTriggersResources(ctx context.Context, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureVersionedClusterTask ¶ added in v0.55.0
func (r *Reconciler) EnsureVersionedClusterTask(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) FinalizeKind ¶
func (r *Reconciler) FinalizeKind(ctx context.Context, original *v1alpha1.TektonAddon) pkgreconciler.Event
FinalizeKind removes all resources after deletion of a TektonTriggers.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, ta *v1alpha1.TektonAddon) pkgreconciler.Event
ReconcileKind compares the actual state with the desired, and attempts to converge the two.