Documentation ¶
Index ¶
- Constants
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- func NewExtendedController(generator common.ExtensionGenerator) injection.ControllerConstructor
- 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) EnsureConsoleCLI(ctx context.Context, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureOpenShiftConsoleResources(ctx context.Context, ta *v1alpha1.TektonAddon) (error, bool)
- func (r *Reconciler) EnsurePipelineTemplates(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureResolverStepAction(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureResolverTask(ctx context.Context, enable string, 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) EnsureVersionedResolverStepAction(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
- func (r *Reconciler) EnsureVersionedResolverTask(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
- type Recorder
Constants ¶
View Source
const ( ResolverTaskInstallerSet = "ResolverTask" ResolverStepActionInstallerSet = "ResolverStepAction" ClusterTaskInstallerSet = "ClusterTask" OpenShiftConsoleInstallerSet = "OpenShiftConsole" CommunityClusterTaskInstallerSet = "CommunityClusterTask" VersionedClusterTaskInstallerSet = "VersionedClusterTask" VersionedResolverTaskInstallerSet = "VersionedResolverTask" VersionedResolverStepActionInstallerSet = "VersionedResolverStepAction" PipelinesTemplateInstallerSet = "PipelinesTemplate" TriggersResourcesInstallerSet = "TriggersResources" ConsoleCLIInstallerSet = "ConsoleCLI" ConsoleHubLinkInstallerSet = "ConsoleHub" MiscellaneousResourcesInstallerSet = "MiscellaneousResources" PACInstallerSet = "PipelinesAsCode" CreatedByValue = "TektonAddon" KindTask = "Task" KindStepAction = "StepAction" 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
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) EnsureConsoleCLI ¶ added in v0.63.0
func (r *Reconciler) EnsureConsoleCLI(ctx context.Context, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureOpenShiftConsoleResources ¶ added in v0.63.0
func (r *Reconciler) EnsureOpenShiftConsoleResources(ctx context.Context, ta *v1alpha1.TektonAddon) (error, bool)
func (*Reconciler) EnsurePipelineTemplates ¶ added in v0.55.0
func (r *Reconciler) EnsurePipelineTemplates(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureResolverStepAction ¶ added in v0.73.0
func (r *Reconciler) EnsureResolverStepAction(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureResolverTask ¶ added in v0.71.0
func (r *Reconciler) EnsureResolverTask(ctx context.Context, enable string, 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) EnsureVersionedResolverStepAction ¶ added in v0.73.0
func (r *Reconciler) EnsureVersionedResolverStepAction(ctx context.Context, enable string, ta *v1alpha1.TektonAddon) error
func (*Reconciler) EnsureVersionedResolverTask ¶ added in v0.72.0
func (r *Reconciler) EnsureVersionedResolverTask(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.
type Recorder ¶ added in v0.63.0
type Recorder struct { }
func NewRecorder ¶ added in v0.63.0
func (*Recorder) LogMetrics ¶ added in v0.63.0
func (m *Recorder) LogMetrics(status, version string, logger *zap.SugaredLogger)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.