Documentation ¶
Index ¶
- Variables
- func AllocateStaticName(r Manager, url, repository string, access oci.RegistryAccess) compute.Computable[oci.RepositoryWithParent]
- func AttachStaticKeychain(r Manager, repository string, access oci.RegistryAccess) oci.RepositoryWithParent
- func Precomputed(tag oci.RepositoryWithParent) compute.Computable[oci.RepositoryWithParent]
- func Register(name string, make func(context.Context, cfg.Configuration) (Manager, error))
- func StaticRepository(parent Manager, repository string, access oci.RegistryAccess) compute.Computable[oci.RepositoryWithParent]
- type Manager
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDockerKeychain oci.Keychain = defaultDockerKeychain{}
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.RepositoryWithParent]
func AttachStaticKeychain ¶
func AttachStaticKeychain(r Manager, repository string, access oci.RegistryAccess) oci.RepositoryWithParent
func Precomputed ¶
func Precomputed(tag oci.RepositoryWithParent) compute.Computable[oci.RepositoryWithParent]
func StaticRepository ¶ added in v0.0.124
func StaticRepository(parent Manager, repository string, access oci.RegistryAccess) compute.Computable[oci.RepositoryWithParent]
Types ¶
type Manager ¶
type Manager interface { Access() oci.RegistryAccess AllocateName(repository string) compute.Computable[oci.RepositoryWithParent] }
func GetRegistryFromConfig ¶
func MakeStaticRegistry ¶
Click to show internal directories.
Click to hide internal directories.