Documentation ¶
Index ¶
- Variables
- func AllocateStaticName(r Manager, url, repository string, access oci.RegistryAccess) compute.Computable[oci.AllocatedRepository]
- func AttachStaticKeychain(r Manager, img oci.ImageID, access oci.RegistryAccess) oci.AllocatedRepository
- func Precomputed(tag oci.AllocatedRepository) compute.Computable[oci.AllocatedRepository]
- func Register(name string, make func(context.Context, cfg.Configuration) (Manager, error))
- func StaticName(parent Manager, imageID oci.ImageID, access oci.RegistryAccess) compute.Computable[oci.AllocatedRepository]
- type Manager
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoRegistry = errors.New("no registry configured")
)
Functions ¶
func AllocateStaticName ¶
func AllocateStaticName(r Manager, url, repository string, access oci.RegistryAccess) compute.Computable[oci.AllocatedRepository]
func AttachStaticKeychain ¶
func AttachStaticKeychain(r Manager, img oci.ImageID, access oci.RegistryAccess) oci.AllocatedRepository
func Precomputed ¶
func Precomputed(tag oci.AllocatedRepository) compute.Computable[oci.AllocatedRepository]
func StaticName ¶
func StaticName(parent Manager, imageID oci.ImageID, access oci.RegistryAccess) compute.Computable[oci.AllocatedRepository]
Types ¶
type Manager ¶
type Manager interface { Access() oci.RegistryAccess AllocateName(repository string) compute.Computable[oci.AllocatedRepository] AttachKeychain(oci.ImageID) (oci.AllocatedRepository, error) }
func GetRegistryFromConfig ¶
func MakeStaticRegistry ¶
Click to show internal directories.
Click to hide internal directories.