Documentation ¶
Index ¶
- func GetCertSecret(client client.Client, registry types.NamespacedName, ...) (string, error)
- func GetHTTPClient(client client.Client, image *regv1.ImageInfo) (*cmhttp.HttpClient, error)
- func GetLoginSecret(client client.Client, registry types.NamespacedName, ...) (string, error)
- func GetURL(client client.Client, registry types.NamespacedName, ...) (string, error)
- type RegistryFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertSecret ¶ added in v0.3.2
func GetCertSecret(client client.Client, registry types.NamespacedName, registryType regv1.RegistryType) (string, error)
func GetHTTPClient ¶
GetHTTPClient returns httpClient
func GetLoginSecret ¶ added in v0.3.2
func GetLoginSecret(client client.Client, registry types.NamespacedName, registryType regv1.RegistryType) (string, error)
func GetURL ¶
func GetURL(client client.Client, registry types.NamespacedName, registryType regv1.RegistryType) (string, error)
GetURL returns registry url
Types ¶
type RegistryFactory ¶
type RegistryFactory interface {
Create(registryType regv1.RegistryType) base.Registry
}
func GetFactory ¶
func GetFactory(registryType regv1.RegistryType, f *base.Factory) RegistryFactory
Click to show internal directories.
Click to hide internal directories.