Documentation
¶
Index ¶
- func GetOwnerRepoInfo(s string) (host, owner, repo string, err error)
- func HashValue(value string) (string, error)
- type CatalogReconciler
- func (r *CatalogReconciler) EnsureCreated(ctx context.Context, obj lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
- func (r *CatalogReconciler) EnsureDeleted(_ context.Context, _ lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
- func (r *CatalogReconciler) EnsureSuspended(ctx context.Context, obj lifecycle.RuntimeObject) (ctrl.Result, error)
- func (r *CatalogReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *CatalogReconciler) SetupWithManager(name string, mgr ctrl.Manager) error
- type IArtifactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOwnerRepoInfo ¶ added in v0.9.0
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
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 (r *CatalogReconciler) EnsureCreated(ctx context.Context, obj lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
func (*CatalogReconciler) EnsureDeleted ¶
func (r *CatalogReconciler) EnsureDeleted(_ context.Context, _ lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
func (*CatalogReconciler) EnsureSuspended ¶
func (r *CatalogReconciler) EnsureSuspended(ctx context.Context, obj lifecycle.RuntimeObject) (ctrl.Result, error)
func (*CatalogReconciler) SetupWithManager ¶
func (r *CatalogReconciler) SetupWithManager(name string, mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.