Documentation
¶
Index ¶
Constants ¶
View Source
const ( Type = ocireg.Type TypeV1 = ocireg.TypeV1 OCIRegistryURLPathMapping ComponentNameMapping = "urlPath" OCIRegistryDigestMapping ComponentNameMapping = "sha256-digest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentNameMapping ¶
type ComponentNameMapping = genericocireg.ComponentNameMapping
ComponentNameMapping describes the method that is used to map the "Component Name", "Component Version"-tuples to OCI Image References.
type ComponentRepositoryMeta ¶
type ComponentRepositoryMeta = genericocireg.ComponentRepositoryMeta
ComponentRepositoryMeta describes config special for a mapping of a component repository to an oci registry.
func NewComponentRepositoryMeta ¶
func NewComponentRepositoryMeta(subPath string, mapping ...ComponentNameMapping) *ComponentRepositoryMeta
type RepositorySpec ¶
type RepositorySpec = genericocireg.RepositorySpec
RepositorySpec describes a component repository backed by a oci registry.
func NewRepositorySpec ¶
func NewRepositorySpec(baseURL string, metas ...*ComponentRepositoryMeta) *RepositorySpec
NewRepositorySpec creates a new RepositorySpec. If no ocm meta is given, the subPath part is extracted from the base URL. Otherwise, the given URL is used as OCI registry URL as it is.
Click to show internal directories.
Click to hide internal directories.