Documentation
¶
Index ¶
- Constants
- func Configure(ctx ocm.Context, path string, fss ...vfs.FileSystem) (ocm.Context, error)
- func ConfigureByData(ctx ocm.Context, data []byte, info string) error
- func GetOCIArtifactRef(ctx ocm.Context, r ocm.ResourceAccess) (string, error)
- func GetResourceData(acc ocm.ResourceAccess) ([]byte, error)
- func MatchResourceReference(cv ocm.ComponentVersionAccess, typ string, ref metav1.ResourceReference, ...) (ocm.ResourceAccess, ocm.ComponentVersionAccess, error)
- func ResolveReferencePath(cv ocm.ComponentVersionAccess, path []metav1.Identity, ...) (ocm.ComponentVersionAccess, error)
- func ResolveResourceReference(cv ocm.ComponentVersionAccess, ref metav1.ResourceReference, ...) (ocm.ResourceAccess, ocm.ComponentVersionAccess, error)
Constants ¶
View Source
const DEFAULT_OCM_CONFIG = ".ocmconfig"
View Source
const DEFAULT_OCM_CONFIG_DIR = ".ocm"
Variables ¶
This section is empty.
Functions ¶
func GetOCIArtifactRef ¶
func GetResourceData ¶ added in v0.3.0
func GetResourceData(acc ocm.ResourceAccess) ([]byte, error)
func MatchResourceReference ¶
func MatchResourceReference(cv ocm.ComponentVersionAccess, typ string, ref metav1.ResourceReference, resolver ocm.ComponentVersionResolver) (ocm.ResourceAccess, ocm.ComponentVersionAccess, error)
func ResolveReferencePath ¶
func ResolveReferencePath(cv ocm.ComponentVersionAccess, path []metav1.Identity, resolver ocm.ComponentVersionResolver) (ocm.ComponentVersionAccess, error)
func ResolveResourceReference ¶
func ResolveResourceReference(cv ocm.ComponentVersionAccess, ref metav1.ResourceReference, resolver ocm.ComponentVersionResolver) (ocm.ResourceAccess, ocm.ComponentVersionAccess, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.