internal

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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