image

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReconcilerName = "Images"
	Kind           = "Image"
)
View Source
const (
	BuildRunningReason     = "BuildRunning"
	ResolverNotReadyReason = "ResolverNotReady"
	BuildFailedReason      = "BuildFailed"
	UpToDateReason         = "UpToDate"
)

Variables

This section is empty.

Functions

func NewController

func NewController(
	ctx context.Context,
	opt reconciler.Options,
	k8sClient k8sclient.Interface,
	imageInformer buildinformers.ImageInformer,
	buildInformer buildinformers.BuildInformer,
	duckbuilderInformer *duckbuilder.DuckBuilderInformer,
	sourceResolverInformer buildinformers.SourceResolverInformer,
	pvcInformer coreinformers.PersistentVolumeClaimInformer,
	enablePriorityClasses bool,
) *controller.Impl

Types

type Reconciler

type Reconciler struct {
	Client                versioned.Interface
	DuckBuilderLister     *duckbuilder.DuckBuilderLister
	ImageLister           buildlisters.ImageLister
	BuildLister           buildlisters.BuildLister
	SourceResolverLister  buildlisters.SourceResolverLister
	PvcLister             corelisters.PersistentVolumeClaimLister
	Tracker               reconciler.Tracker
	K8sClient             k8sclient.Interface
	EnablePriorityClasses bool
}

func (*Reconciler) Reconcile

func (c *Reconciler) Reconcile(ctx context.Context, key string) error

Jump to

Keyboard shortcuts

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