image

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 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"
	UnknownStateReason     = "UnknownState"
	BuildFailedReason      = "BuildFailed"
	UpToDateReason         = "UpToDate"
	NotUpToDateMessage     = "Builder is not up to date. The latest stack and buildpacks may not be in use."
)

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