Documentation ¶
Overview ¶
Package v1alpha1 contains the registry service extension. +groupName=registry.extensions.gardener.cloud
Index ¶
- Constants
- Variables
- func Convert_registry_RegistryCache_To_v1alpha1_RegistryCache(in *registry.RegistryCache, out *RegistryCache, s conversion.Scope) error
- func Convert_registry_RegistryConfig_To_v1alpha1_RegistryConfig(in *registry.RegistryConfig, out *RegistryConfig, s conversion.Scope) error
- func Convert_v1alpha1_RegistryCache_To_registry_RegistryCache(in *RegistryCache, out *registry.RegistryCache, s conversion.Scope) error
- func Convert_v1alpha1_RegistryConfig_To_registry_RegistryConfig(in *RegistryConfig, out *registry.RegistryConfig, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_RegistryCache(cache *RegistryCache)
- func SetObjectDefaults_RegistryConfig(in *RegistryConfig)
- type RegistryCache
- type RegistryConfig
Constants ¶
const GroupName = "registry.extensions.gardener.cloud"
GroupName is the group name use in this package
const RegistryEnsurerResourceName = "extension-registry-cache-cri-ensurer"
RegistryEnsurerResourceName is the name for registry cri ensurer resources in the shoot.
const RegistryResourceName = "extension-registry-cache"
RegistryResourceName is the name for registry resources in the shoot.
Variables ¶
var (
// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
AddToScheme = localSchemeBuilder.AddToScheme
)
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 ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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.