# README
ocm-controller SDK
This SDK contains code segments which should be used by other OCM related controllers.
And example usage of this SDK can be found in the ocm-controller project.
Licensing
Copyright 2022 SAP SE or an SAP affiliate company and Open Component Model contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.
# Packages
No description provided by the author
# Functions
ConfigureCredentials takes a repository url and secret ref and configures access to an OCI repository.
ConfigureTemplateFilesystem takes a version access and a resource name and sets up a virtual filesystem to work with.
No description provided by the author
GetParentObject returns the first find in the owner references of a given object.
GetResourceForComponentVersion returns the raw resource and the access for that resource.
GetSnapshotName generates a snapshot name that should be used by all controllers.