factory

package
Version: 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: 7 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 SyncRegistryFactory

func (*RegistryFactory) Create

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL