Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BgpPeer
- type CalicoBgpConfig
- type CloudControllerManagerConfig
- type CloudProfileConfig
- type ControlPlaneConfig
- type IgnitionConfig
- type InfrastructureConfig
- type InfrastructureStatus
- type LoadBalancerConfig
- type MachineImage
- type MachineImageVersion
- type MachineImages
- type MachineType
- type MetallbConfig
- type RegionConfig
- type WorkerConfig
- type WorkerStatus
Constants ¶
const GroupName = "metal.provider.extensions.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var (
// AddToScheme is a pointer to schemeBuilder.AddToScheme.
AddToScheme = schemeBuilder.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 BgpPeer ¶
type BgpPeer struct { // PeerIP contains IP address of BGP peer followed by an optional port number to peer with. PeerIP string // ASNumber contains the AS number of the BGP peer. ASNumber int // NodeSelector is a key-value pair to select nodes that should have this peering. NodeSelector string }
BgpPeer contains configuration for BGPPeer resource.
func (*BgpPeer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeer.
func (*BgpPeer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CalicoBgpConfig ¶
type CalicoBgpConfig struct { // ASNumber is the default AS number used by a node. ASNumber int // ServiceLoadBalancerIPs are the CIDR blocks for Kubernetes Service LoadBalancer IPs. ServiceLoadBalancerIPs []string // ServiceExternalIPs are the CIDR blocks for Kubernetes Service External IPs. ServiceExternalIPs []string // ServiceClusterIPs are the CIDR blocks from which service cluster IPs are allocated. ServiceClusterIPs []string // BGPPeer contains configuration for BGPPeer resource. BgpPeer []BgpPeer }
CalicoBgpConfig contains BGP configuration settings for calico.
func (*CalicoBgpConfig) DeepCopy ¶
func (in *CalicoBgpConfig) DeepCopy() *CalicoBgpConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalicoBgpConfig.
func (*CalicoBgpConfig) DeepCopyInto ¶
func (in *CalicoBgpConfig) DeepCopyInto(out *CalicoBgpConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudControllerManagerConfig ¶
type CloudControllerManagerConfig struct { // FeatureGates contains information about enabled feature gates. FeatureGates map[string]bool }
CloudControllerManagerConfig contains configuration settings for the cloud-controller-manager.
func (*CloudControllerManagerConfig) DeepCopy ¶
func (in *CloudControllerManagerConfig) DeepCopy() *CloudControllerManagerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfig.
func (*CloudControllerManagerConfig) DeepCopyInto ¶
func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManagerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProfileConfig ¶
type CloudProfileConfig struct { metav1.TypeMeta // MachineImages is the list of machine images that are understood by the controller. It maps // logical names and versions to provider-specific identifiers. MachineImages []MachineImages // RegionConfigs is the list of supported regions. RegionConfigs []RegionConfig MachineTypes []MachineType }
CloudProfileConfig contains provider-specific configuration that is embedded into Gardener's `CloudProfile` resource.
func (*CloudProfileConfig) DeepCopy ¶
func (in *CloudProfileConfig) DeepCopy() *CloudProfileConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProfileConfig.
func (*CloudProfileConfig) DeepCopyInto ¶
func (in *CloudProfileConfig) DeepCopyInto(out *CloudProfileConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudProfileConfig) DeepCopyObject ¶
func (in *CloudProfileConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControlPlaneConfig ¶
type ControlPlaneConfig struct { metav1.TypeMeta // CloudControllerManager contains configuration settings for the cloud-controller-manager. CloudControllerManager *CloudControllerManagerConfig // LoadBalancerConfig contains configuration settings for the shoot loadbalancing. LoadBalancerConfig *LoadBalancerConfig }
ControlPlaneConfig contains configuration settings for the control plane.
func (*ControlPlaneConfig) DeepCopy ¶
func (in *ControlPlaneConfig) DeepCopy() *ControlPlaneConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfig.
func (*ControlPlaneConfig) DeepCopyInto ¶
func (in *ControlPlaneConfig) DeepCopyInto(out *ControlPlaneConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneConfig) DeepCopyObject ¶
func (in *ControlPlaneConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IgnitionConfig ¶
IgnitionConfig contains ignition settings.
func (*IgnitionConfig) DeepCopy ¶
func (in *IgnitionConfig) DeepCopy() *IgnitionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnitionConfig.
func (*IgnitionConfig) DeepCopyInto ¶
func (in *IgnitionConfig) DeepCopyInto(out *IgnitionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureConfig ¶
InfrastructureConfig infrastructure configuration resource
func (*InfrastructureConfig) DeepCopy ¶
func (in *InfrastructureConfig) DeepCopy() *InfrastructureConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureConfig.
func (*InfrastructureConfig) DeepCopyInto ¶
func (in *InfrastructureConfig) DeepCopyInto(out *InfrastructureConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureConfig) DeepCopyObject ¶
func (in *InfrastructureConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureStatus ¶
InfrastructureStatus contains information about created infrastructure resources.
func (*InfrastructureStatus) DeepCopy ¶
func (in *InfrastructureStatus) DeepCopy() *InfrastructureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStatus.
func (*InfrastructureStatus) DeepCopyInto ¶
func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureStatus) DeepCopyObject ¶
func (in *InfrastructureStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoadBalancerConfig ¶
type LoadBalancerConfig struct { // MetallbConfig contains configuration settings for metallb. MetallbConfig *MetallbConfig // CalicoBgpConfig contains configuration settings for calico. CalicoBgpConfig *CalicoBgpConfig }
LoadBalancerConfig contains configuration settings for the shoot loadbalancing.
func (*LoadBalancerConfig) DeepCopy ¶
func (in *LoadBalancerConfig) DeepCopy() *LoadBalancerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerConfig.
func (*LoadBalancerConfig) DeepCopyInto ¶
func (in *LoadBalancerConfig) DeepCopyInto(out *LoadBalancerConfig)
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 // Version is the logical version of the machine image. Version string // Image is the path to the image. Image string // Architecture is the CPU architecture of the machine image. Architecture *string }
MachineImage is a mapping from logical names and versions to metal-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 MachineImageVersion ¶
type MachineImageVersion struct { // Version is the version of the image. Version string // Image is the path to the image. Image string // Architecture is the CPU architecture of the machine image. Architecture *string }
MachineImageVersion contains a version and a provider-specific identifier.
func (*MachineImageVersion) DeepCopy ¶
func (in *MachineImageVersion) DeepCopy() *MachineImageVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImageVersion.
func (*MachineImageVersion) DeepCopyInto ¶
func (in *MachineImageVersion) DeepCopyInto(out *MachineImageVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineImages ¶
type MachineImages struct { // Name is the logical name of the machine image. Name string // Versions contains versions and a provider-specific identifier. Versions []MachineImageVersion }
MachineImages is a mapping from logical names and versions to provider-specific identifiers.
func (*MachineImages) DeepCopy ¶
func (in *MachineImages) DeepCopy() *MachineImages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImages.
func (*MachineImages) DeepCopyInto ¶
func (in *MachineImages) DeepCopyInto(out *MachineImages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineType ¶
func (*MachineType) DeepCopy ¶
func (in *MachineType) DeepCopy() *MachineType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineType.
func (*MachineType) DeepCopyInto ¶
func (in *MachineType) DeepCopyInto(out *MachineType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetallbConfig ¶
type MetallbConfig struct { // IPAddressPool contains IP address pools for metallb. IPAddressPool []string // EnableSpeaker enables the metallb speaker. EnableSpeaker bool // EnableL2Advertisement enables L2 advertisement. EnableL2Advertisement bool }
MetallbConfig contains configuration settings for metallb.
func (*MetallbConfig) DeepCopy ¶
func (in *MetallbConfig) DeepCopy() *MetallbConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetallbConfig.
func (*MetallbConfig) DeepCopyInto ¶
func (in *MetallbConfig) DeepCopyInto(out *MetallbConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegionConfig ¶
type RegionConfig struct { // Name is the name of a region. Name string // Server is the server endpoint of this region. Server string // CertificateAuthorityData is the CA data of the region server. CertificateAuthorityData []byte }
RegionConfig is the definition of a region.
func (*RegionConfig) DeepCopy ¶
func (in *RegionConfig) DeepCopy() *RegionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegionConfig.
func (*RegionConfig) DeepCopyInto ¶
func (in *RegionConfig) DeepCopyInto(out *RegionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkerConfig ¶
type WorkerConfig struct { metav1.TypeMeta // ExtraIgnition contains additional Ignition for Worker nodes. ExtraIgnition *IgnitionConfig // ExtraServerLabels is a map of extra labels that are applied to the ServerClaim for Server selection. ExtraServerLabels map[string]string }
WorkerConfig contains configuration settings for the worker nodes.
func (*WorkerConfig) DeepCopy ¶
func (in *WorkerConfig) DeepCopy() *WorkerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerConfig.
func (*WorkerConfig) DeepCopyInto ¶
func (in *WorkerConfig) DeepCopyInto(out *WorkerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerConfig) DeepCopyObject ¶
func (in *WorkerConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkerStatus ¶
type WorkerStatus struct { metav1.TypeMeta // MachineImages is a list of machine images that have been used in this worker. Usually, the extension controller // gets the mapping from name/version to the provider-specific machine image data in its componentconfig. However, if // a version that is still in use gets removed from this componentconfig it cannot reconcile anymore existing `Worker` // resources that are still using this version. Hence, it stores the used versions in the provider status to ensure // reconciliation is possible. MachineImages []MachineImage }
WorkerStatus contains information about created worker resources.
func (*WorkerStatus) DeepCopy ¶
func (in *WorkerStatus) DeepCopy() *WorkerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkerStatus.
func (*WorkerStatus) DeepCopyInto ¶
func (in *WorkerStatus) DeepCopyInto(out *WorkerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkerStatus) DeepCopyObject ¶
func (in *WorkerStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 contains the metal provider API resources.
|
Package v1alpha1 contains the metal provider API resources. |