phases

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldSkipChartReplication

func ShouldSkipChartReplication(pluginDef common.GenericPluginDefinition, registry, chartName, version string) bool

ShouldSkipChartReplication reports whether this chart version is already replicated. The reconcile annotation forces a re-fetch in case the mirror cleaned up the artifact.

Types

type Phase

type Phase struct {
	Client              client.Client
	Recorder            events.EventRecorder
	PluginDef           common.GenericPluginDefinition
	NamespaceName       string
	OCIMirroringEnabled bool
	// contains filtered or unexported fields
}

Phase holds per-reconcile state for plugindefinition subroutines.

func (*Phase) CreateUpdateHelmChart

func (p *Phase) CreateUpdateHelmChart(ctx context.Context, helmRepo *sourcev1.HelmRepository) (*sourcev1.HelmChart, error)

func (*Phase) EnsureCreatePhases

func (p *Phase) EnsureCreatePhases() []lifecycle.SubRoutine

EnsureCreatePhases returns the ordered subroutines for a create/update reconcile.

Jump to

Keyboard shortcuts

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