Documentation
¶
Index ¶
Constants ¶
View Source
const (
PkgRevisionRepoLabel = "internal.porch.kpt.dev/repository"
)
Variables ¶
This section is empty.
Functions ¶
func NewCrdMetadataStore ¶
Types ¶
type MetadataStore ¶
type MetadataStore interface {
Get(ctx context.Context, namespacedName types.NamespacedName) (PackageRevisionMeta, error)
List(ctx context.Context, repo *configapi.Repository) ([]PackageRevisionMeta, error)
Create(ctx context.Context, pkgRevMeta PackageRevisionMeta, repo *configapi.Repository) (PackageRevisionMeta, error)
Update(ctx context.Context, pkgRevMeta PackageRevisionMeta) (PackageRevisionMeta, error)
Delete(ctx context.Context, namespacedName types.NamespacedName) (PackageRevisionMeta, error)
}
MetadataStore is the store for keeping metadata about PackageRevisions. Typical examples of metadata we want to keep is labels, annotations, owner references, and finalizers.
Click to show internal directories.
Click to hide internal directories.