Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPClient ¶
func GetHTTPClient(url, namespace, imagePullSecret, certificateSecret string) *cmhttp.HttpClient
GetHTTPClient returns httpClient
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.