Documentation ¶
Index ¶
- Variables
- func AllocateStaticName(r Manager, url, repository string, keychain oci.Keychain) compute.Computable[oci.AllocatedRepository]
- func AttachStaticKeychain(r Manager, img oci.ImageID, keychain oci.Keychain) 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, insecure bool, keychain oci.Keychain) 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, keychain oci.Keychain) compute.Computable[oci.AllocatedRepository]
func AttachStaticKeychain ¶
func Precomputed ¶
func Precomputed(tag oci.AllocatedRepository) compute.Computable[oci.AllocatedRepository]
func StaticName ¶
func StaticName(parent Manager, imageID oci.ImageID, insecure bool, keychain oci.Keychain) compute.Computable[oci.AllocatedRepository]
Types ¶
type Manager ¶
type Manager interface { // Returns true if calls to the registry should be made over HTTP (instead of HTTPS). IsInsecure() bool 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.