Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOption ¶
type Repository ¶
type Repository interface { // used for discovery ListPackageRevisions(ctx context.Context, opts *ListOption) ([]*pkgv1alpha1.PackageRevision, error) // UpsertPackageRevision updates the package revision in the revision backend UpsertPackageRevision(ctx context.Context, pkgRev *pkgv1alpha1.PackageRevision, resources map[string]string) error // DeletePackageRevision deletes the package revision in the revision backend DeletePackageRevision(ctx context.Context, pkgRev *pkgv1alpha1.PackageRevision) error // used for List or Gte PackageRevisionResources GetResources(ctx context.Context, pr *pkgv1alpha1.PackageRevision) (map[string]string, error) // ensure packageRevision ensure the Packagerevision tag exists on the package revision EnsurePackageRevision(ctx context.Context, pkgRev *pkgv1alpha1.PackageRevision) error }
Click to show internal directories.
Click to hide internal directories.