oci

package
v0.0.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 36 Imported by: 4 modules, 5 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

OCI Repository Adapter

Index

Constants

View Source
const (
	FunctionTypesKey    = ociImagePrefix + "types"
	DescriptionKey      = ociImagePrefix + "description"
	DocumentationURLKey = ociImagePrefix + "documentationurl"

	// experimental: this field is very likely to be changed in the future.
	ConfigMapFnKey = fnConfigMetaPrefix + "configmap.requiredfields"
)

Variables

This section is empty.

Functions

func AnnotationToSlice

func AnnotationToSlice(annotation string) []string

func GetDefaultFunctionConfig

func GetDefaultFunctionConfig(manifest *v1.Manifest) []functionConfig

func GetFunctionMeta

func GetFunctionMeta(reference string, ctx context.Context) (*functionMeta, error)

func GetSingleFromAnnotation

func GetSingleFromAnnotation(key string, manifest *v1.Manifest) string

func GetSliceFromAnnotation

func GetSliceFromAnnotation(key string, manifest *v1.Manifest) []string

func LoadResources added in v0.0.9

func LoadResources(ctx context.Context, s *oci.Storage, imageName *oci.ImageDigestName) (*repository.PackageResources, error)

func LookupImageTag added in v0.0.9

func LookupImageTag(ctx context.Context, s *oci.Storage, imageName oci.ImageTagName) (*oci.ImageDigestName, error)

func OpenRepository

func OpenRepository(name string, namespace string, content configapi.RepositoryContent, spec *configapi.OciRepository, deployment bool, storage *oci.Storage) (repository.Repository, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL