Documentation
¶
Overview ¶
Package registrytest provides utilities for testing with OCI registries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PushRandomImage ¶
PushRandomImage pushes a random image to the registry and returns its reference and descriptor.
func PushReferrer ¶
func PushReferrer(t *testing.T, registryHost, repo string, subjectDesc v1.Descriptor, artifactType string, content []byte)
PushReferrer pushes an artifact referrer to the registry attached to the subject image. The artifactType is used both as the config media type (for OCI 1.1 artifact type) and layer media type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.