catalog

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

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

type IArtifactory added in v0.9.0

type IArtifactory interface {
	Save(content []byte, digest string) error
	Get(ctx context.Context, url, digest string) ([]byte, error)
	DeleteAllExcept(digest string) error
}

Jump to

Keyboard shortcuts

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