catalog

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonOK            = "OK"
	ReasonAuthError     = "AuthError"
	ReasonSecretMissing = "SecretMissing"
	ReasonUnknown       = "Unknown"
)
View Source
const (
	Source = "CatalogSource"
)

Variables

This section is empty.

Functions

func GetOwnerRepoInfo added in v0.9.0

func GetOwnerRepoInfo(s string) (host, owner, repo string, err error)

GetOwnerRepoInfo - extracts host, owner, repo from git repository URL host is transformed to replace '.' with '-' to be used as source group in Catalog.Status.Inventory

func HashValue added in v0.9.0

func HashValue(value string) (string, error)

HashValue - returns a hash of the string

Types

type CatalogReconciler

type CatalogReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger

	StoragePath string
	HTTPRetry   int
	// contains filtered or unexported fields
}

func (*CatalogReconciler) EnsureCreated

func (*CatalogReconciler) EnsureDeleted

func (*CatalogReconciler) EnsureSuspended

func (r *CatalogReconciler) EnsureSuspended(ctx context.Context, obj lifecycle.RuntimeObject) (ctrl.Result, error)

func (*CatalogReconciler) Reconcile

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

func (*CatalogReconciler) SetupWithManager

func (r *CatalogReconciler) SetupWithManager(name string, mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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