v1alpha1

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: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the registry service extension. +groupName=registry.extensions.gardener.cloud

Index

Constants

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

GroupName is the group name use in this package

View Source
const RegistryEnsurerResourceName = "extension-registry-cache-cri-ensurer"

RegistryEnsurerResourceName is the name for registry cri ensurer resources in the shoot.

View Source
const RegistryResourceName = "extension-registry-cache"

RegistryResourceName is the name for registry resources in the shoot.

Variables

View Source
var (

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

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_registry_RegistryCache_To_v1alpha1_RegistryCache

func Convert_registry_RegistryCache_To_v1alpha1_RegistryCache(in *registry.RegistryCache, out *RegistryCache, s conversion.Scope) error

Convert_registry_RegistryCache_To_v1alpha1_RegistryCache is an autogenerated conversion function.

func Convert_registry_RegistryConfig_To_v1alpha1_RegistryConfig

func Convert_registry_RegistryConfig_To_v1alpha1_RegistryConfig(in *registry.RegistryConfig, out *RegistryConfig, s conversion.Scope) error

Convert_registry_RegistryConfig_To_v1alpha1_RegistryConfig is an autogenerated conversion function.

func Convert_v1alpha1_RegistryCache_To_registry_RegistryCache

func Convert_v1alpha1_RegistryCache_To_registry_RegistryCache(in *RegistryCache, out *registry.RegistryCache, s conversion.Scope) error

Convert_v1alpha1_RegistryCache_To_registry_RegistryCache is an autogenerated conversion function.

func Convert_v1alpha1_RegistryConfig_To_registry_RegistryConfig

func Convert_v1alpha1_RegistryConfig_To_registry_RegistryConfig(in *RegistryConfig, out *registry.RegistryConfig, s conversion.Scope) error

Convert_v1alpha1_RegistryConfig_To_registry_RegistryConfig is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_RegistryCache

func SetDefaults_RegistryCache(cache *RegistryCache)

SetDefaults_RegistryCache sets the defaults for the RegistryCache configuration

func SetObjectDefaults_RegistryConfig

func SetObjectDefaults_RegistryConfig(in *RegistryConfig)

Types

type RegistryCache

type RegistryCache struct {
	// Upstream is the remote registry host (and optionally port) to cache
	Upstream string `json:"upstream"`
	// Size is the size of the registry cache, defaults to 10Gi.
	// +optional
	Size *resource.Quantity `json:"size,omitempty"`
	// GarbageCollectionEnabled enables/disables cache garbage collection, defaults to true.
	// +optional
	GarbageCollectionEnabled *bool `json:"garbageCollectionEnabled,omitempty"`
	// StorageClassName specifies the storageclass to use for the cache's volume
	// +optional
	StorageClassName *string `json:"storageClassName,omitempty"`
}

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 `json:",inline"`

	// Caches is a slice of registry cache to deploy
	Caches []RegistryCache `json:"caches"`
}

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.

Jump to

Keyboard shortcuts

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