tektonaddon

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

View Source
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

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

func OpenShiftExtension

func OpenShiftExtension(ctx context.Context) common.Extension

func SkipCommunityTaskFetch added in v0.55.0

func SkipCommunityTaskFetch(until string) bool

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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