registry

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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

Directories

Path Synopsis
ext

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL