internal

package
v5.36.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseReferenceIntoElements added in v5.34.0

func ParseReferenceIntoElements(reference string) (string, string, int, error)

ParseReferenceIntoElements splits the oci reference into location, image name and source index if exists

func SplitPathAndImage

func SplitPathAndImage(reference string) (string, string)

SplitPathAndImage tries to split the provided OCI reference into the OCI path and image. Neither path nor image parts are validated at this stage.

func ValidateImageName

func ValidateImageName(image string) error

ValidateImageName returns nil if the image name is empty or matches the open-containers image name specs. In any other case an error is returned.

func ValidateOCIPath

func ValidateOCIPath(path string) error

ValidateOCIPath takes the OCI path and validates it.

func ValidateScope

func ValidateScope(scope string) error

ValidateScope validates a policy configuration scope for an OCI transport.

Types

This section is empty.

Jump to

Keyboard shortcuts

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