tektonaddon

package
v0.73.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

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

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

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 NewRecorder() (*Recorder, error)

func (*Recorder) LogMetrics added in v0.63.0

func (m *Recorder) LogMetrics(status, version string, logger *zap.SugaredLogger)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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