kyma

package
v0.0.0-...-4b2f6ea Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrManifestsStillExist = errors.New("manifests still exist")
	ErrInvalidKymaSpec     = errors.New("invalid kyma spec")
	ErrKymaInErrorState    = errors.New("kyma in error state")
)

Functions

This section is empty.

Types

type ModuleStatusHandler

type ModuleStatusHandler interface {
	UpdateModuleStatuses(ctx context.Context, kyma *v1beta2.Kyma, modules modulecommon.Modules) error
}

type Reconciler

type Reconciler struct {
	client.Client
	event.Event
	queue.RequeueIntervals

	Config               ReconcilerConfig
	SkrContextFactory    remote.SkrContextProvider
	DescriptorProvider   *provider.CachedDescriptorProvider
	SkrSyncService       SkrSyncService
	ModulesStatusHandler ModuleStatusHandler
	SKRWebhookManager    SKRWebhookManager

	Metrics        *metrics.KymaMetrics
	RemoteCatalog  *remote.RemoteCatalog
	TemplateLookup *templatelookup.TemplateLookup
}

func (*Reconciler) DeleteNoLongerExistingModules

func (r *Reconciler) DeleteNoLongerExistingModules(ctx context.Context, kyma *v1beta2.Kyma) error

func (*Reconciler) GetModuleTemplateList

func (r *Reconciler) GetModuleTemplateList(ctx context.Context) (*v1beta2.ModuleTemplateList, error)

func (*Reconciler) IsKymaManaged

func (r *Reconciler) IsKymaManaged() bool

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, opts ctrlruntime.Options, settings SetupOptions) error

func (*Reconciler) SkrImagePullSecretSyncEnabled

func (r *Reconciler) SkrImagePullSecretSyncEnabled() bool

func (*Reconciler) UpdateMetrics

func (r *Reconciler) UpdateMetrics(ctx context.Context, kyma *v1beta2.Kyma)

func (*Reconciler) UpdateModuleTemplatesIfNeeded

func (r *Reconciler) UpdateModuleTemplatesIfNeeded(ctx context.Context) error

func (*Reconciler) ValidateDefaultChannel

func (r *Reconciler) ValidateDefaultChannel(kyma *v1beta2.Kyma) error

ValidateDefaultChannel validates the Kyma spec.

func (*Reconciler) WatcherEnabled

func (r *Reconciler) WatcherEnabled() bool

type ReconcilerConfig

type ReconcilerConfig struct {
	RemoteSyncNamespace    string
	IsManagedKyma          bool
	OCIRegistryHost        string
	SkrImagePullSecretName string
}

ReconcilerConfig holds configuration values for the Kyma Reconciler. Usually read from flags or environment variables.

type SKRWebhookManager

type SKRWebhookManager interface {
	Reconcile(ctx context.Context, kyma *v1beta2.Kyma) error
	Remove(ctx context.Context, kyma *v1beta2.Kyma) error
	RemoveSkrCertificate(ctx context.Context, kymaName string) error
}

type SetupOptions

type SetupOptions struct {
	ListenerAddr                 string
	EnableDomainNameVerification bool
	IstioNamespace               string
}

type SkrSyncService

type SkrSyncService interface {
	SyncCrds(ctx context.Context, kyma *v1beta2.Kyma) (bool, error)
	SyncImagePullSecret(ctx context.Context, kyma types.NamespacedName) error
}

Jump to

Keyboard shortcuts

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