Documentation ¶
Index ¶
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: 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 GarbageCollection ¶ added in v0.2.0
type GarbageCollection struct { // Enabled indicates whether the garbage collection is enabled. Enabled bool }
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 // Size is the size of the registry cache. Size *resource.Quantity // GarbageCollection contains settings for the garbage collection of content from the cache. GarbageCollection *GarbageCollection }
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 // Endpoint is the registry cache endpoint. // Example: "http://10.4.246.205:5000" Endpoint string }
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 // Caches is a slice of registry caches to deploy. Caches []RegistryCache }
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 // Caches is a slice of deployed registry caches. Caches []RegistryCacheStatus }
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.