Documentation ¶
Overview ¶
Package v1alpha1 contains the registry service extension. +groupName=registry.extensions.gardener.cloud
Index ¶
- Constants
- Variables
- func Convert_registry_GarbageCollection_To_v1alpha1_GarbageCollection(in *registry.GarbageCollection, out *GarbageCollection, s conversion.Scope) error
- func Convert_registry_RegistryCacheStatus_To_v1alpha1_RegistryCacheStatus(in *registry.RegistryCacheStatus, out *RegistryCacheStatus, s conversion.Scope) error
- 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_registry_RegistryStatus_To_v1alpha1_RegistryStatus(in *registry.RegistryStatus, out *RegistryStatus, s conversion.Scope) error
- func Convert_v1alpha1_GarbageCollection_To_registry_GarbageCollection(in *GarbageCollection, out *registry.GarbageCollection, s conversion.Scope) error
- func Convert_v1alpha1_RegistryCacheStatus_To_registry_RegistryCacheStatus(in *RegistryCacheStatus, out *registry.RegistryCacheStatus, 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 Convert_v1alpha1_RegistryStatus_To_registry_RegistryStatus(in *RegistryStatus, out *registry.RegistryStatus, 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 GarbageCollection
- type RegistryCache
- type RegistryCacheStatus
- type RegistryConfig
- type RegistryStatus
Constants ¶
const GroupName = "registry.extensions.gardener.cloud"
GroupName is the group name use in this package
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_GarbageCollection_To_v1alpha1_GarbageCollection ¶ added in v0.2.0
func Convert_registry_GarbageCollection_To_v1alpha1_GarbageCollection(in *registry.GarbageCollection, out *GarbageCollection, s conversion.Scope) error
Convert_registry_GarbageCollection_To_v1alpha1_GarbageCollection is an autogenerated conversion function.
func Convert_registry_RegistryCacheStatus_To_v1alpha1_RegistryCacheStatus ¶ added in v0.2.0
func Convert_registry_RegistryCacheStatus_To_v1alpha1_RegistryCacheStatus(in *registry.RegistryCacheStatus, out *RegistryCacheStatus, s conversion.Scope) error
Convert_registry_RegistryCacheStatus_To_v1alpha1_RegistryCacheStatus is an autogenerated conversion function.
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_registry_RegistryStatus_To_v1alpha1_RegistryStatus ¶ added in v0.2.0
func Convert_registry_RegistryStatus_To_v1alpha1_RegistryStatus(in *registry.RegistryStatus, out *RegistryStatus, s conversion.Scope) error
Convert_registry_RegistryStatus_To_v1alpha1_RegistryStatus is an autogenerated conversion function.
func Convert_v1alpha1_GarbageCollection_To_registry_GarbageCollection ¶ added in v0.2.0
func Convert_v1alpha1_GarbageCollection_To_registry_GarbageCollection(in *GarbageCollection, out *registry.GarbageCollection, s conversion.Scope) error
Convert_v1alpha1_GarbageCollection_To_registry_GarbageCollection is an autogenerated conversion function.
func Convert_v1alpha1_RegistryCacheStatus_To_registry_RegistryCacheStatus ¶ added in v0.2.0
func Convert_v1alpha1_RegistryCacheStatus_To_registry_RegistryCacheStatus(in *RegistryCacheStatus, out *registry.RegistryCacheStatus, s conversion.Scope) error
Convert_v1alpha1_RegistryCacheStatus_To_registry_RegistryCacheStatus 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 Convert_v1alpha1_RegistryStatus_To_registry_RegistryStatus ¶ added in v0.2.0
func Convert_v1alpha1_RegistryStatus_To_registry_RegistryStatus(in *RegistryStatus, out *registry.RegistryStatus, s conversion.Scope) error
Convert_v1alpha1_RegistryStatus_To_registry_RegistryStatus 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 GarbageCollection ¶ added in v0.2.0
type GarbageCollection struct { // Enabled indicates whether the garbage collection is enabled. Enabled bool `json:"enabled"` }
GarbageCollection contains settings for the garbage collection of content from the cache.
func (*GarbageCollection) DeepCopy ¶ added in v0.2.0
func (in *GarbageCollection) DeepCopy() *GarbageCollection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollection.
func (*GarbageCollection) DeepCopyInto ¶ added in v0.2.0
func (in *GarbageCollection) DeepCopyInto(out *GarbageCollection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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"` // GarbageCollection contains settings for the garbage collection of content from the cache. // Defaults to enabled garbage collection. // +optional GarbageCollection *GarbageCollection `json:"garbageCollection,omitempty"` }
RegistryCache represents 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 RegistryCacheStatus ¶ added in v0.2.0
type RegistryCacheStatus struct { // Upstream is the remote registry host (and optionally port). Upstream string `json:"upstream"` // Endpoint is the registry cache endpoint. // Example: "http://10.4.246.205:5000" Endpoint string `json:"endpoint"` }
RegistryCacheStatus represents a deployed registry cache.
func (*RegistryCacheStatus) DeepCopy ¶ added in v0.2.0
func (in *RegistryCacheStatus) DeepCopy() *RegistryCacheStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCacheStatus.
func (*RegistryCacheStatus) DeepCopyInto ¶ added in v0.2.0
func (in *RegistryCacheStatus) DeepCopyInto(out *RegistryCacheStatus)
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 caches to deploy. Caches []RegistryCache `json:"caches"` }
RegistryConfig contains information about registry caches to deploy.
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.
type RegistryStatus ¶ added in v0.2.0
type RegistryStatus struct { metav1.TypeMeta `json:",inline"` // Caches is a slice of deployed registry caches. Caches []RegistryCacheStatus `json:"caches"` }
RegistryStatus contains information about deployed registry caches.
func (*RegistryStatus) DeepCopy ¶ added in v0.2.0
func (in *RegistryStatus) DeepCopy() *RegistryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryStatus.
func (*RegistryStatus) DeepCopyInto ¶ added in v0.2.0
func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryStatus) DeepCopyObject ¶ added in v0.2.0
func (in *RegistryStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.