package
3.11.0+incompatible
Repository: https://github.com/openshift/image-registry.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AddImage tags image into the image stream namespace/name.
AddImageStream creates a new image stream with annotations.
AddImageStreamTag creates an image stream tag.
AddRandomImage creates a new image with a random content and tags it into the image stream namespace/name.
AddUntaggedImage creates image in fos.
AssertManifestsEqual compares two manifests and returns if they are equal.
CanonicalManifest returns m in its canonical representation.
No description provided by the author
CreateAndUploadTestManifest generates a random manifest blob and uploads it to the given repository.
CreateRandomImage creates an image with a random content.
CreateRandomTarFile creates a random tarfile and returns its content.
No description provided by the author
No description provided by the author
MakeSchema1Manifest constructs a schema 1 manifest from a given list of digests and returns the digest of the manifest.
MakeSchema2Manifest constructs a schema 2 manifest from a given list of digests and returns the digest of the manifest.
NewBasicCredentialStore returns a test credential store for use with registry token handler and/or basic handler.
NewFakeOpenShift constructs the fake OpenShift reactors.
NewFakeOpenShiftWithClient constructs a fake client associated with the stateful fake in-memory OpenShift reactors.
NewImageForManifest creates a new Image object for the given manifest string.
NewRepository creates a new Repository for the given repository name, base URL and creds.
No description provided by the author
UploadBlob uploads the blob with content to repo and verifies its digest.
UploadManifest uploads manifest to repo and verifies its digest.
UploadRandomTestBlob generates a random tar file and uploads it to the given repository.
UploadSchema2Image creates a random image with a schema 2 manifest and uploads it to the repository.
No description provided by the author
WithTestLogger creates a new context with a Distribution logger which records the text in the test's error log.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

FakeOpenShift is an in-mempory reactors for fake.Client.

# Type aliases

No description provided by the author
No description provided by the author