factory

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryFactory

type RegistryFactory struct {
	base.Factory
}

RegistryFactory creates synchronizable external registry

func NewRegistryFactory

func NewRegistryFactory(
	k8sClient client.Client,
	namespacedName types.NamespacedName,
	scheme *runtime.Scheme,
	httpClient *cmhttp.HttpClient,
) *RegistryFactory

NewRegistryFactory returns RegistryFactory

func (*RegistryFactory) Create

func (f *RegistryFactory) Create(registryType regv1.RegistryType) base.Registry

Jump to

Keyboard shortcuts

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