registry

package
v0.0.0-...-da54f9a Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "registry.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type RegistryCache

type RegistryCache struct {
	// Upstream is the remote registry host (and optionally port) to cache
	Upstream string
	// Size is the size of the registry cache
	Size *resource.Quantity
	// GarbageCollectionEnabled enables/disables cache garbage collection
	GarbageCollectionEnabled *bool
	// StorageClassName
	StorageClassName *string
}

RegistryCache defines a registry cache to deploy

func (*RegistryCache) DeepCopy

func (in *RegistryCache) DeepCopy() *RegistryCache

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCache.

func (*RegistryCache) DeepCopyInto

func (in *RegistryCache) DeepCopyInto(out *RegistryCache)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RegistryConfig

type RegistryConfig struct {
	metav1.TypeMeta

	// Caches is a slice of registry cache to deploy
	Caches []RegistryCache
}

RegistryConfig configuration resource

func (*RegistryConfig) DeepCopy

func (in *RegistryConfig) DeepCopy() *RegistryConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryConfig.

func (*RegistryConfig) DeepCopyInto

func (in *RegistryConfig) DeepCopyInto(out *RegistryConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RegistryConfig) DeepCopyObject

func (in *RegistryConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Directories

Path Synopsis
Package v1alpha1 contains the registry service extension.
Package v1alpha1 contains the registry service extension.

Jump to

Keyboard shortcuts

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