Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, ...) error
- func Convert_config_DurosConfiguration_To_v1alpha1_DurosConfiguration(in *config.DurosConfiguration, out *DurosConfiguration, s conversion.Scope) error
- func Convert_config_DurosPartitionConfiguration_To_v1alpha1_DurosPartitionConfiguration(in *config.DurosPartitionConfiguration, out *DurosPartitionConfiguration, ...) error
- func Convert_config_DurosSeedStorageClass_To_v1alpha1_DurosSeedStorageClass(in *config.DurosSeedStorageClass, out *DurosSeedStorageClass, ...) error
- func Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup(in *config.ETCDBackup, out *ETCDBackup, s conversion.Scope) error
- func Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage(in *config.ETCDStorage, out *ETCDStorage, s conversion.Scope) error
- func Convert_config_ETCD_To_v1alpha1_ETCD(in *config.ETCD, out *ETCD, s conversion.Scope) error
- func Convert_config_EgressDest_To_v1alpha1_EgressDest(in *config.EgressDest, out *EgressDest, s conversion.Scope) error
- func Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret(in *config.ImagePullSecret, out *ImagePullSecret, s conversion.Scope) error
- func Convert_config_MachineImage_To_v1alpha1_MachineImage(in *config.MachineImage, out *MachineImage, s conversion.Scope) error
- func Convert_config_StorageConfiguration_To_v1alpha1_StorageConfiguration(in *config.StorageConfiguration, out *StorageConfiguration, s conversion.Scope) error
- func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, ...) error
- func Convert_v1alpha1_DurosConfiguration_To_config_DurosConfiguration(in *DurosConfiguration, out *config.DurosConfiguration, s conversion.Scope) error
- func Convert_v1alpha1_DurosPartitionConfiguration_To_config_DurosPartitionConfiguration(in *DurosPartitionConfiguration, out *config.DurosPartitionConfiguration, ...) error
- func Convert_v1alpha1_DurosSeedStorageClass_To_config_DurosSeedStorageClass(in *DurosSeedStorageClass, out *config.DurosSeedStorageClass, ...) error
- func Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup(in *ETCDBackup, out *config.ETCDBackup, s conversion.Scope) error
- func Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage(in *ETCDStorage, out *config.ETCDStorage, s conversion.Scope) error
- func Convert_v1alpha1_ETCD_To_config_ETCD(in *ETCD, out *config.ETCD, s conversion.Scope) error
- func Convert_v1alpha1_EgressDest_To_config_EgressDest(in *EgressDest, out *config.EgressDest, s conversion.Scope) error
- func Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret(in *ImagePullSecret, out *config.ImagePullSecret, s conversion.Scope) error
- func Convert_v1alpha1_MachineImage_To_config_MachineImage(in *MachineImage, out *config.MachineImage, s conversion.Scope) error
- func Convert_v1alpha1_StorageConfiguration_To_config_StorageConfiguration(in *StorageConfiguration, out *config.StorageConfiguration, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ControllerConfiguration
- type DurosConfiguration
- type DurosPartitionConfiguration
- type DurosSeedStorageClass
- type ETCD
- type ETCDBackup
- type ETCDStorage
- type EgressDest
- type ImagePullSecret
- type MachineImage
- type StorageConfiguration
Constants ¶
const GroupName = "metal.provider.extensions.config.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // 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_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration ¶
func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, s conversion.Scope) error
Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration is an autogenerated conversion function.
func Convert_config_DurosConfiguration_To_v1alpha1_DurosConfiguration ¶ added in v0.15.1
func Convert_config_DurosConfiguration_To_v1alpha1_DurosConfiguration(in *config.DurosConfiguration, out *DurosConfiguration, s conversion.Scope) error
Convert_config_DurosConfiguration_To_v1alpha1_DurosConfiguration is an autogenerated conversion function.
func Convert_config_DurosPartitionConfiguration_To_v1alpha1_DurosPartitionConfiguration ¶ added in v0.16.11
func Convert_config_DurosPartitionConfiguration_To_v1alpha1_DurosPartitionConfiguration(in *config.DurosPartitionConfiguration, out *DurosPartitionConfiguration, s conversion.Scope) error
Convert_config_DurosPartitionConfiguration_To_v1alpha1_DurosPartitionConfiguration is an autogenerated conversion function.
func Convert_config_DurosSeedStorageClass_To_v1alpha1_DurosSeedStorageClass ¶ added in v0.15.1
func Convert_config_DurosSeedStorageClass_To_v1alpha1_DurosSeedStorageClass(in *config.DurosSeedStorageClass, out *DurosSeedStorageClass, s conversion.Scope) error
Convert_config_DurosSeedStorageClass_To_v1alpha1_DurosSeedStorageClass is an autogenerated conversion function.
func Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup ¶
func Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup(in *config.ETCDBackup, out *ETCDBackup, s conversion.Scope) error
Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup is an autogenerated conversion function.
func Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage ¶
func Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage(in *config.ETCDStorage, out *ETCDStorage, s conversion.Scope) error
Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage is an autogenerated conversion function.
func Convert_config_ETCD_To_v1alpha1_ETCD ¶
Convert_config_ETCD_To_v1alpha1_ETCD is an autogenerated conversion function.
func Convert_config_EgressDest_To_v1alpha1_EgressDest ¶ added in v0.18.25
func Convert_config_EgressDest_To_v1alpha1_EgressDest(in *config.EgressDest, out *EgressDest, s conversion.Scope) error
Convert_config_EgressDest_To_v1alpha1_EgressDest is an autogenerated conversion function.
func Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret ¶ added in v0.15.6
func Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret(in *config.ImagePullSecret, out *ImagePullSecret, s conversion.Scope) error
Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret is an autogenerated conversion function.
func Convert_config_MachineImage_To_v1alpha1_MachineImage ¶
func Convert_config_MachineImage_To_v1alpha1_MachineImage(in *config.MachineImage, out *MachineImage, s conversion.Scope) error
Convert_config_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.
func Convert_config_StorageConfiguration_To_v1alpha1_StorageConfiguration ¶ added in v0.15.1
func Convert_config_StorageConfiguration_To_v1alpha1_StorageConfiguration(in *config.StorageConfiguration, out *StorageConfiguration, s conversion.Scope) error
Convert_config_StorageConfiguration_To_v1alpha1_StorageConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration ¶
func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_DurosConfiguration_To_config_DurosConfiguration ¶ added in v0.15.1
func Convert_v1alpha1_DurosConfiguration_To_config_DurosConfiguration(in *DurosConfiguration, out *config.DurosConfiguration, s conversion.Scope) error
Convert_v1alpha1_DurosConfiguration_To_config_DurosConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_DurosPartitionConfiguration_To_config_DurosPartitionConfiguration ¶ added in v0.16.11
func Convert_v1alpha1_DurosPartitionConfiguration_To_config_DurosPartitionConfiguration(in *DurosPartitionConfiguration, out *config.DurosPartitionConfiguration, s conversion.Scope) error
Convert_v1alpha1_DurosPartitionConfiguration_To_config_DurosPartitionConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_DurosSeedStorageClass_To_config_DurosSeedStorageClass ¶ added in v0.15.1
func Convert_v1alpha1_DurosSeedStorageClass_To_config_DurosSeedStorageClass(in *DurosSeedStorageClass, out *config.DurosSeedStorageClass, s conversion.Scope) error
Convert_v1alpha1_DurosSeedStorageClass_To_config_DurosSeedStorageClass is an autogenerated conversion function.
func Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup ¶
func Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup(in *ETCDBackup, out *config.ETCDBackup, s conversion.Scope) error
Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup is an autogenerated conversion function.
func Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage ¶
func Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage(in *ETCDStorage, out *config.ETCDStorage, s conversion.Scope) error
Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage is an autogenerated conversion function.
func Convert_v1alpha1_ETCD_To_config_ETCD ¶
Convert_v1alpha1_ETCD_To_config_ETCD is an autogenerated conversion function.
func Convert_v1alpha1_EgressDest_To_config_EgressDest ¶ added in v0.18.25
func Convert_v1alpha1_EgressDest_To_config_EgressDest(in *EgressDest, out *config.EgressDest, s conversion.Scope) error
Convert_v1alpha1_EgressDest_To_config_EgressDest is an autogenerated conversion function.
func Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret ¶ added in v0.15.6
func Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret(in *ImagePullSecret, out *config.ImagePullSecret, s conversion.Scope) error
Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret is an autogenerated conversion function.
func Convert_v1alpha1_MachineImage_To_config_MachineImage ¶
func Convert_v1alpha1_MachineImage_To_config_MachineImage(in *MachineImage, out *config.MachineImage, s conversion.Scope) error
Convert_v1alpha1_MachineImage_To_config_MachineImage is an autogenerated conversion function.
func Convert_v1alpha1_StorageConfiguration_To_config_StorageConfiguration ¶ added in v0.15.1
func Convert_v1alpha1_StorageConfiguration_To_config_StorageConfiguration(in *StorageConfiguration, out *config.StorageConfiguration, s conversion.Scope) error
Convert_v1alpha1_StorageConfiguration_To_config_StorageConfiguration 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
Types ¶
type ControllerConfiguration ¶
type ControllerConfiguration struct { metav1.TypeMeta `json:",inline"` // ClientConnection specifies the kubeconfig file and client connection // settings for the proxy server to use when communicating with the apiserver. // +optional ClientConnection *componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:"clientConnection,omitempty"` // MachineImages is the list of machine images that are understood by the controller. It maps // logical names and versions to metal-specific identifiers, i.e. AMIs. MachineImages []MachineImage `json:"machineImages,omitempty"` // FirewallInternalPrefixes is a list of prefixes for the firewall-controller // which will be counted as internal network traffic. this is important for accounting // networking traffic. FirewallInternalPrefixes []string `json:"firewallInternalPrefixes,omitempty"` // ETCD is the etcd configuration. ETCD ETCD `json:"etcd"` // HealthCheckConfig is the config for the health check controller // +optional HealthCheckConfig *healthcheckconfigv1alpha1.HealthCheckConfig `json:"healthCheckConfig,omitempty"` // Storage is the configuration for storage. Storage StorageConfiguration `json:"storage,omitempty"` // ImagePullPolicy defines the pull policy for the components deployed through the control plane controller. // Defaults to IfNotPresent if empty or unknown. ImagePullPolicy string `json:"imagePullPolicy,omitempty"` // ImagePullSecret provides an opportunity to inject an image pull secret into the resource deployments // +optional ImagePullSecret *ImagePullSecret `json:"imagePullSecret,omitempty"` // EgressDestinations is used when the RestrictEgress control plane feature gate is enabled // and provides additional egress destinations to the kube-apiserver. // // It is intended to be configured at least with container registries for the cluster. // Deprecated: Will be replaced by NetworkAccessRestricted. EgressDestinations []EgressDest `json:"egressDestinations,omitempty"` }
ControllerConfiguration defines the configuration for the metal provider.
func (*ControllerConfiguration) DeepCopy ¶
func (in *ControllerConfiguration) DeepCopy() *ControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfiguration.
func (*ControllerConfiguration) DeepCopyInto ¶
func (in *ControllerConfiguration) DeepCopyInto(out *ControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerConfiguration) DeepCopyObject ¶
func (in *ControllerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DurosConfiguration ¶ added in v0.15.1
type DurosConfiguration struct { // Enabled enables duros storage when set to true. Enabled bool `json:"enabled"` // PartitionConfig is a map of a partition id to the duros partition configuration PartitionConfig map[string]DurosPartitionConfiguration `json:"partitionConfig"` }
DurosConfiguration contains the configuration for lightbits duros storage.
func (*DurosConfiguration) DeepCopy ¶ added in v0.15.1
func (in *DurosConfiguration) DeepCopy() *DurosConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DurosConfiguration.
func (*DurosConfiguration) DeepCopyInto ¶ added in v0.15.1
func (in *DurosConfiguration) DeepCopyInto(out *DurosConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DurosPartitionConfiguration ¶ added in v0.16.11
type DurosPartitionConfiguration struct { // Endpoints is the list of endpoints for the storage data plane and control plane communication Endpoints []string `json:"endpoints"` // AdminKey is the key used for generating storage credentials AdminKey string `json:"adminKey"` // AdminToken is the token used by the duros-controller to authenticate against the duros API AdminToken string `json:"adminToken"` // StorageClasses contain information on the storage classes that the duros-controller creates in the shoot cluster StorageClasses []DurosSeedStorageClass `json:"storageClasses"` // APIEndpoint is the endpoint used for control plane network communication. APIEndpoint string `json:"apiEndpoint"` // APICA is the ca of the client cert to access the api endpoint APICA string `json:"apiCA,omitempty"` // APICert is the cert of the client cert to access the api endpoint APICert string `json:"apiCert,omitempty"` // APIKey is the key of the client cert to access the api endpoint APIKey string `json:"apiKey,omitempty"` }
DurosPartitionConfiguration is the configuration for duros for a particular partition
func (*DurosPartitionConfiguration) DeepCopy ¶ added in v0.16.11
func (in *DurosPartitionConfiguration) DeepCopy() *DurosPartitionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DurosPartitionConfiguration.
func (*DurosPartitionConfiguration) DeepCopyInto ¶ added in v0.16.11
func (in *DurosPartitionConfiguration) DeepCopyInto(out *DurosPartitionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DurosSeedStorageClass ¶ added in v0.15.1
type DurosSeedStorageClass struct { // Name is the name of the storage class Name string `json:"name"` // ReplicaCount is the amount of replicas in the storage backend for this storage class ReplicaCount int `json:"replicaCount"` // Compression enables compression for this storage class Compression bool `json:"compression"` // Encryption defines a SC with client side encryption enabled Encryption bool `json:"encryption"` }
func (*DurosSeedStorageClass) DeepCopy ¶ added in v0.15.1
func (in *DurosSeedStorageClass) DeepCopy() *DurosSeedStorageClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DurosSeedStorageClass.
func (*DurosSeedStorageClass) DeepCopyInto ¶ added in v0.15.1
func (in *DurosSeedStorageClass) DeepCopyInto(out *DurosSeedStorageClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCD ¶
type ETCD struct { // ETCDStorage is the etcd storage configuration. Storage ETCDStorage `json:"storage"` // ETCDBackup is the etcd backup configuration. Backup ETCDBackup `json:"backup"` }
ETCD is an etcd configuration.
func (*ETCD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCD.
func (*ETCD) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDBackup ¶
type ETCDBackup struct { // Schedule is the etcd backup schedule. // +optional Schedule *string `json:"schedule,omitempty"` // DeltaSnapshotPeriod is the time for delta snapshots to be made DeltaSnapshotPeriod *string `json:"deltaSnapshotPeriod,omitempty"` }
ETCDBackup is an etcd backup configuration.
func (*ETCDBackup) DeepCopy ¶
func (in *ETCDBackup) DeepCopy() *ETCDBackup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDBackup.
func (*ETCDBackup) DeepCopyInto ¶
func (in *ETCDBackup) DeepCopyInto(out *ETCDBackup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ETCDStorage ¶
type ETCDStorage struct { // ClassName is the name of the storage class used in etcd-main volume claims. // +optional ClassName *string `json:"className,omitempty"` // Capacity is the storage capacity used in etcd-main volume claims. // +optional Capacity *resource.Quantity `json:"capacity,omitempty"` }
ETCDStorage is an etcd storage configuration.
func (*ETCDStorage) DeepCopy ¶
func (in *ETCDStorage) DeepCopy() *ETCDStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ETCDStorage.
func (*ETCDStorage) DeepCopyInto ¶
func (in *ETCDStorage) DeepCopyInto(out *ETCDStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EgressDest ¶ added in v0.18.25
type EgressDest struct { // Description is a description for this egress destination. Description string `json:"description,omitempty"` // MatchPattern is the DNS match pattern for this destination. MatchPattern string `json:"matchPattern,omitempty"` // MatchName is the DNS match name for this destination. Use either a pattern or a name. MatchName string `json:"matchName,omitempty"` // Protocol is either TCP or UDP. Protocol string `json:"protocol,omitempty"` // Port is the port for this destination. Port int `json:"port,omitempty"` }
func (*EgressDest) DeepCopy ¶ added in v0.18.25
func (in *EgressDest) DeepCopy() *EgressDest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressDest.
func (*EgressDest) DeepCopyInto ¶ added in v0.18.25
func (in *EgressDest) DeepCopyInto(out *EgressDest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImagePullSecret ¶ added in v0.15.6
type ImagePullSecret struct { // DockerConfigJSON contains the already base64 encoded JSON content for the image pull secret DockerConfigJSON string `json:"encodedDockerConfigJSON"` }
ImagePullSecret provides an opportunity to inject an image pull secret into the resource deployments
func (*ImagePullSecret) DeepCopy ¶ added in v0.15.6
func (in *ImagePullSecret) DeepCopy() *ImagePullSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullSecret.
func (*ImagePullSecret) DeepCopyInto ¶ added in v0.15.6
func (in *ImagePullSecret) DeepCopyInto(out *ImagePullSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineImage ¶
type MachineImage struct { // Name is the logical name of the machine image. Name string `json:"name"` // Version is the logical version of the machine image. Version string `json:"version"` // Image is the path to the image. Image string `json:"image"` }
MachineImage is a mapping from logical names and versions to GCP-specific identifiers.
func (*MachineImage) DeepCopy ¶
func (in *MachineImage) DeepCopy() *MachineImage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImage.
func (*MachineImage) DeepCopyInto ¶
func (in *MachineImage) DeepCopyInto(out *MachineImage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageConfiguration ¶ added in v0.15.1
type StorageConfiguration struct { // Duros contains the configuration for duros cloud storage Duros DurosConfiguration `json:"duros"` }
StorageConfiguration contains the configuration for provider specific storage solutions.
func (*StorageConfiguration) DeepCopy ¶ added in v0.15.1
func (in *StorageConfiguration) DeepCopy() *StorageConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfiguration.
func (*StorageConfiguration) DeepCopyInto ¶ added in v0.15.1
func (in *StorageConfiguration) DeepCopyInto(out *StorageConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.