v1alpha1

package
v0.24.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

Package v1alpha1 contains the metal provider API resources. +groupName=metal.provider.extensions.gardener.cloud

Index

Constants

View Source
const (
	// NetworkAccessBaseline allows the cluster to access external networks in a baseline manner
	NetworkAccessBaseline = NetworkAccessType("baseline")
	// NetworkAccessRestricted access to external networks is by default restricted to registries, dns and ntp to partition only destinations.
	// Therefore registries, dns and ntp destinations must be specified in the cloud-profile accordingly-
	// If this is not the case, restricting the access must not be possible.
	// Image overrides for all images which are required to create such a shoot, must be specified. No other images are provided in the given registry.
	// customers can define own rules to access external networks as in the baseline.
	// Service type loadbalancers are also not restricted.
	NetworkAccessRestricted = NetworkAccessType("restricted")
	// NetworkAccessForbidden in this configuration a customer can no longer create rules to access external networks.
	// which are outside of a given list of allowed networks. This is enforced by the firewall.
	// Service type loadbalancers are also not possible to open a service ip which is not in the list of allowed networks.
	// This is also enforced by the firewall.
	NetworkAccessForbidden = NetworkAccessType("forbidden")
)
View Source
const GroupName = "metal.provider.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_metal_AllowedNetworks_To_v1alpha1_AllowedNetworks added in v0.22.0

func Convert_metal_AllowedNetworks_To_v1alpha1_AllowedNetworks(in *metal.AllowedNetworks, out *AllowedNetworks, s conversion.Scope) error

Convert_metal_AllowedNetworks_To_v1alpha1_AllowedNetworks is an autogenerated conversion function.

func Convert_metal_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig

func Convert_metal_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig(in *metal.CloudControllerManagerConfig, out *CloudControllerManagerConfig, s conversion.Scope) error

Convert_metal_CloudControllerManagerConfig_To_v1alpha1_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_metal_CloudProfileConfig_To_v1alpha1_CloudProfileConfig

func Convert_metal_CloudProfileConfig_To_v1alpha1_CloudProfileConfig(in *metal.CloudProfileConfig, out *CloudProfileConfig, s conversion.Scope) error

Convert_metal_CloudProfileConfig_To_v1alpha1_CloudProfileConfig is an autogenerated conversion function.

func Convert_metal_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig

func Convert_metal_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig(in *metal.ControlPlaneConfig, out *ControlPlaneConfig, s conversion.Scope) error

Convert_metal_ControlPlaneConfig_To_v1alpha1_ControlPlaneConfig is an autogenerated conversion function.

func Convert_metal_ControlPlaneFeatures_To_v1alpha1_ControlPlaneFeatures added in v0.15.1

func Convert_metal_ControlPlaneFeatures_To_v1alpha1_ControlPlaneFeatures(in *metal.ControlPlaneFeatures, out *ControlPlaneFeatures, s conversion.Scope) error

Convert_metal_ControlPlaneFeatures_To_v1alpha1_ControlPlaneFeatures is an autogenerated conversion function.

func Convert_metal_CustomDefaultStorageClass_To_v1alpha1_CustomDefaultStorageClass added in v0.18.6

func Convert_metal_CustomDefaultStorageClass_To_v1alpha1_CustomDefaultStorageClass(in *metal.CustomDefaultStorageClass, out *CustomDefaultStorageClass, s conversion.Scope) error

Convert_metal_CustomDefaultStorageClass_To_v1alpha1_CustomDefaultStorageClass is an autogenerated conversion function.

func Convert_metal_EgressRule_To_v1alpha1_EgressRule added in v0.15.1

func Convert_metal_EgressRule_To_v1alpha1_EgressRule(in *metal.EgressRule, out *EgressRule, s conversion.Scope) error

Convert_metal_EgressRule_To_v1alpha1_EgressRule is an autogenerated conversion function.

func Convert_metal_FirewallControllerVersion_To_v1alpha1_FirewallControllerVersion added in v0.16.12

func Convert_metal_FirewallControllerVersion_To_v1alpha1_FirewallControllerVersion(in *metal.FirewallControllerVersion, out *FirewallControllerVersion, s conversion.Scope) error

Convert_metal_FirewallControllerVersion_To_v1alpha1_FirewallControllerVersion is an autogenerated conversion function.

func Convert_metal_FirewallStatus_To_v1alpha1_FirewallStatus

func Convert_metal_FirewallStatus_To_v1alpha1_FirewallStatus(in *metal.FirewallStatus, out *FirewallStatus, s conversion.Scope) error

Convert_metal_FirewallStatus_To_v1alpha1_FirewallStatus is an autogenerated conversion function.

func Convert_metal_Firewall_To_v1alpha1_Firewall

func Convert_metal_Firewall_To_v1alpha1_Firewall(in *metal.Firewall, out *Firewall, s conversion.Scope) error

Convert_metal_Firewall_To_v1alpha1_Firewall is an autogenerated conversion function.

func Convert_metal_ImageProviderConfig_To_v1alpha1_ImageProviderConfig added in v0.22.0

func Convert_metal_ImageProviderConfig_To_v1alpha1_ImageProviderConfig(in *metal.ImageProviderConfig, out *ImageProviderConfig, s conversion.Scope) error

Convert_metal_ImageProviderConfig_To_v1alpha1_ImageProviderConfig is an autogenerated conversion function.

func Convert_metal_InfrastructureConfig_To_v1alpha1_InfrastructureConfig

func Convert_metal_InfrastructureConfig_To_v1alpha1_InfrastructureConfig(in *metal.InfrastructureConfig, out *InfrastructureConfig, s conversion.Scope) error

Convert_metal_InfrastructureConfig_To_v1alpha1_InfrastructureConfig is an autogenerated conversion function.

func Convert_metal_InfrastructureStatus_To_v1alpha1_InfrastructureStatus

func Convert_metal_InfrastructureStatus_To_v1alpha1_InfrastructureStatus(in *metal.InfrastructureStatus, out *InfrastructureStatus, s conversion.Scope) error

Convert_metal_InfrastructureStatus_To_v1alpha1_InfrastructureStatus is an autogenerated conversion function.

func Convert_metal_MachineImage_To_v1alpha1_MachineImage added in v0.19.0

func Convert_metal_MachineImage_To_v1alpha1_MachineImage(in *metal.MachineImage, out *MachineImage, s conversion.Scope) error

Convert_metal_MachineImage_To_v1alpha1_MachineImage is an autogenerated conversion function.

func Convert_metal_MetalControlPlane_To_v1alpha1_MetalControlPlane added in v0.15.1

func Convert_metal_MetalControlPlane_To_v1alpha1_MetalControlPlane(in *metal.MetalControlPlane, out *MetalControlPlane, s conversion.Scope) error

Convert_metal_MetalControlPlane_To_v1alpha1_MetalControlPlane is an autogenerated conversion function.

func Convert_metal_NetworkIsolation_To_v1alpha1_NetworkIsolation added in v0.22.0

func Convert_metal_NetworkIsolation_To_v1alpha1_NetworkIsolation(in *metal.NetworkIsolation, out *NetworkIsolation, s conversion.Scope) error

Convert_metal_NetworkIsolation_To_v1alpha1_NetworkIsolation is an autogenerated conversion function.

func Convert_metal_NftablesExporter_To_v1alpha1_NftablesExporter added in v0.19.0

func Convert_metal_NftablesExporter_To_v1alpha1_NftablesExporter(in *metal.NftablesExporter, out *NftablesExporter, s conversion.Scope) error

Convert_metal_NftablesExporter_To_v1alpha1_NftablesExporter is an autogenerated conversion function.

func Convert_metal_Partition_To_v1alpha1_Partition added in v0.15.1

func Convert_metal_Partition_To_v1alpha1_Partition(in *metal.Partition, out *Partition, s conversion.Scope) error

Convert_metal_Partition_To_v1alpha1_Partition is an autogenerated conversion function.

func Convert_metal_RateLimit_To_v1alpha1_RateLimit added in v0.15.1

func Convert_metal_RateLimit_To_v1alpha1_RateLimit(in *metal.RateLimit, out *RateLimit, s conversion.Scope) error

Convert_metal_RateLimit_To_v1alpha1_RateLimit is an autogenerated conversion function.

func Convert_metal_RegistryMirror_To_v1alpha1_RegistryMirror added in v0.22.0

func Convert_metal_RegistryMirror_To_v1alpha1_RegistryMirror(in *metal.RegistryMirror, out *RegistryMirror, s conversion.Scope) error

Convert_metal_RegistryMirror_To_v1alpha1_RegistryMirror is an autogenerated conversion function.

func Convert_metal_WorkerStatus_To_v1alpha1_WorkerStatus

func Convert_metal_WorkerStatus_To_v1alpha1_WorkerStatus(in *metal.WorkerStatus, out *WorkerStatus, s conversion.Scope) error

Convert_metal_WorkerStatus_To_v1alpha1_WorkerStatus is an autogenerated conversion function.

func Convert_v1alpha1_AllowedNetworks_To_metal_AllowedNetworks added in v0.22.0

func Convert_v1alpha1_AllowedNetworks_To_metal_AllowedNetworks(in *AllowedNetworks, out *metal.AllowedNetworks, s conversion.Scope) error

Convert_v1alpha1_AllowedNetworks_To_metal_AllowedNetworks is an autogenerated conversion function.

func Convert_v1alpha1_CloudControllerManagerConfig_To_metal_CloudControllerManagerConfig

func Convert_v1alpha1_CloudControllerManagerConfig_To_metal_CloudControllerManagerConfig(in *CloudControllerManagerConfig, out *metal.CloudControllerManagerConfig, s conversion.Scope) error

Convert_v1alpha1_CloudControllerManagerConfig_To_metal_CloudControllerManagerConfig is an autogenerated conversion function.

func Convert_v1alpha1_CloudProfileConfig_To_metal_CloudProfileConfig

func Convert_v1alpha1_CloudProfileConfig_To_metal_CloudProfileConfig(in *CloudProfileConfig, out *metal.CloudProfileConfig, s conversion.Scope) error

Convert_v1alpha1_CloudProfileConfig_To_metal_CloudProfileConfig is an autogenerated conversion function.

func Convert_v1alpha1_ControlPlaneConfig_To_metal_ControlPlaneConfig

func Convert_v1alpha1_ControlPlaneConfig_To_metal_ControlPlaneConfig(in *ControlPlaneConfig, out *metal.ControlPlaneConfig, s conversion.Scope) error

Convert_v1alpha1_ControlPlaneConfig_To_metal_ControlPlaneConfig is an autogenerated conversion function.

func Convert_v1alpha1_ControlPlaneFeatures_To_metal_ControlPlaneFeatures added in v0.15.1

func Convert_v1alpha1_ControlPlaneFeatures_To_metal_ControlPlaneFeatures(in *ControlPlaneFeatures, out *metal.ControlPlaneFeatures, s conversion.Scope) error

Convert_v1alpha1_ControlPlaneFeatures_To_metal_ControlPlaneFeatures is an autogenerated conversion function.

func Convert_v1alpha1_CustomDefaultStorageClass_To_metal_CustomDefaultStorageClass added in v0.18.6

func Convert_v1alpha1_CustomDefaultStorageClass_To_metal_CustomDefaultStorageClass(in *CustomDefaultStorageClass, out *metal.CustomDefaultStorageClass, s conversion.Scope) error

Convert_v1alpha1_CustomDefaultStorageClass_To_metal_CustomDefaultStorageClass is an autogenerated conversion function.

func Convert_v1alpha1_EgressRule_To_metal_EgressRule added in v0.15.1

func Convert_v1alpha1_EgressRule_To_metal_EgressRule(in *EgressRule, out *metal.EgressRule, s conversion.Scope) error

Convert_v1alpha1_EgressRule_To_metal_EgressRule is an autogenerated conversion function.

func Convert_v1alpha1_FirewallControllerVersion_To_metal_FirewallControllerVersion added in v0.16.12

func Convert_v1alpha1_FirewallControllerVersion_To_metal_FirewallControllerVersion(in *FirewallControllerVersion, out *metal.FirewallControllerVersion, s conversion.Scope) error

Convert_v1alpha1_FirewallControllerVersion_To_metal_FirewallControllerVersion is an autogenerated conversion function.

func Convert_v1alpha1_FirewallStatus_To_metal_FirewallStatus

func Convert_v1alpha1_FirewallStatus_To_metal_FirewallStatus(in *FirewallStatus, out *metal.FirewallStatus, s conversion.Scope) error

Convert_v1alpha1_FirewallStatus_To_metal_FirewallStatus is an autogenerated conversion function.

func Convert_v1alpha1_Firewall_To_metal_Firewall

func Convert_v1alpha1_Firewall_To_metal_Firewall(in *Firewall, out *metal.Firewall, s conversion.Scope) error

Convert_v1alpha1_Firewall_To_metal_Firewall is an autogenerated conversion function.

func Convert_v1alpha1_ImageProviderConfig_To_metal_ImageProviderConfig added in v0.22.0

func Convert_v1alpha1_ImageProviderConfig_To_metal_ImageProviderConfig(in *ImageProviderConfig, out *metal.ImageProviderConfig, s conversion.Scope) error

Convert_v1alpha1_ImageProviderConfig_To_metal_ImageProviderConfig is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureConfig_To_metal_InfrastructureConfig

func Convert_v1alpha1_InfrastructureConfig_To_metal_InfrastructureConfig(in *InfrastructureConfig, out *metal.InfrastructureConfig, s conversion.Scope) error

Convert_v1alpha1_InfrastructureConfig_To_metal_InfrastructureConfig is an autogenerated conversion function.

func Convert_v1alpha1_InfrastructureStatus_To_metal_InfrastructureStatus

func Convert_v1alpha1_InfrastructureStatus_To_metal_InfrastructureStatus(in *InfrastructureStatus, out *metal.InfrastructureStatus, s conversion.Scope) error

Convert_v1alpha1_InfrastructureStatus_To_metal_InfrastructureStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineImage_To_metal_MachineImage added in v0.19.0

func Convert_v1alpha1_MachineImage_To_metal_MachineImage(in *MachineImage, out *metal.MachineImage, s conversion.Scope) error

Convert_v1alpha1_MachineImage_To_metal_MachineImage is an autogenerated conversion function.

func Convert_v1alpha1_MetalControlPlane_To_metal_MetalControlPlane added in v0.15.1

func Convert_v1alpha1_MetalControlPlane_To_metal_MetalControlPlane(in *MetalControlPlane, out *metal.MetalControlPlane, s conversion.Scope) error

Convert_v1alpha1_MetalControlPlane_To_metal_MetalControlPlane is an autogenerated conversion function.

func Convert_v1alpha1_NetworkIsolation_To_metal_NetworkIsolation added in v0.22.0

func Convert_v1alpha1_NetworkIsolation_To_metal_NetworkIsolation(in *NetworkIsolation, out *metal.NetworkIsolation, s conversion.Scope) error

Convert_v1alpha1_NetworkIsolation_To_metal_NetworkIsolation is an autogenerated conversion function.

func Convert_v1alpha1_NftablesExporter_To_metal_NftablesExporter added in v0.19.0

func Convert_v1alpha1_NftablesExporter_To_metal_NftablesExporter(in *NftablesExporter, out *metal.NftablesExporter, s conversion.Scope) error

Convert_v1alpha1_NftablesExporter_To_metal_NftablesExporter is an autogenerated conversion function.

func Convert_v1alpha1_Partition_To_metal_Partition added in v0.15.1

func Convert_v1alpha1_Partition_To_metal_Partition(in *Partition, out *metal.Partition, s conversion.Scope) error

Convert_v1alpha1_Partition_To_metal_Partition is an autogenerated conversion function.

func Convert_v1alpha1_RateLimit_To_metal_RateLimit added in v0.15.1

func Convert_v1alpha1_RateLimit_To_metal_RateLimit(in *RateLimit, out *metal.RateLimit, s conversion.Scope) error

Convert_v1alpha1_RateLimit_To_metal_RateLimit is an autogenerated conversion function.

func Convert_v1alpha1_RegistryMirror_To_metal_RegistryMirror added in v0.22.0

func Convert_v1alpha1_RegistryMirror_To_metal_RegistryMirror(in *RegistryMirror, out *metal.RegistryMirror, s conversion.Scope) error

Convert_v1alpha1_RegistryMirror_To_metal_RegistryMirror is an autogenerated conversion function.

func Convert_v1alpha1_WorkerStatus_To_metal_WorkerStatus

func Convert_v1alpha1_WorkerStatus_To_metal_WorkerStatus(in *WorkerStatus, out *metal.WorkerStatus, s conversion.Scope) error

Convert_v1alpha1_WorkerStatus_To_metal_WorkerStatus is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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 AllowedNetworks added in v0.22.0

type AllowedNetworks struct {
	// Ingress defines a list of networks which are allowed for incoming traffic like service type loadbalancer
	Ingress []string `json:"ingress,omitempty"`
	// Egress defines a list of networks which are allowed for outgoing traffic
	Egress []string `json:"egress,omitempty"`
}

AllowedNetworks is a list of networks which are allowed to connect in restricted or forbidden NetworkIsolated clusters.

func (*AllowedNetworks) DeepCopy added in v0.22.0

func (in *AllowedNetworks) DeepCopy() *AllowedNetworks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedNetworks.

func (*AllowedNetworks) DeepCopyInto added in v0.22.0

func (in *AllowedNetworks) DeepCopyInto(out *AllowedNetworks)

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.
	// +optional
	FeatureGates map[string]bool `json:"featureGates,omitempty"`
	// DefaultExternalNetwork explicitly defines the network from which the CCM allocates IPs for services of type load balancer
	// If not defined, it will use the last network with the default external network tag from the infrastructure firewall networks
	// Networks not derived from a private super network have precedence.
	// +optional
	DefaultExternalNetwork *string `json:"defaultExternalNetwork" optional:"true"`
}

CloudControllerManagerConfig contains configuration settings for the cloud-controller-manager.

func (*CloudControllerManagerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfig.

func (*CloudControllerManagerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CloudProfileConfig

type CloudProfileConfig struct {
	metav1.TypeMeta

	// MetalControlPlanes is a map of a control plane name to control plane configuration
	MetalControlPlanes map[string]MetalControlPlane `json:"metalControlPlanes"`
}

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 `json:",inline"`

	// CloudControllerManager contains configuration settings for the cloud-controller-manager.
	// +optional
	CloudControllerManager *CloudControllerManagerConfig `json:"cloudControllerManager,omitempty"`

	// FeatureGates contains feature gates for the control plane.
	FeatureGates ControlPlaneFeatures `json:"featureGates,omitempty"`

	// CustomDefaultStorageClass
	CustomDefaultStorageClass *CustomDefaultStorageClass `json:"customDefaultStorageClass,omitempty"`

	// NetworkAccessType defines how the cluster can reach external networks.
	// +optional
	NetworkAccessType *NetworkAccessType `json:"networkAccessType,omitempty"`
}

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 ControlPlaneFeatures added in v0.15.1

type ControlPlaneFeatures struct {
	// MachineControllerManagerOOT enables the deployment of the out-of-tree machine controller manager.
	// Once enabled this cannot be taken back.
	// Deprecated: This is now default and always on. Toggle does not have an effect anymore.
	// +optional
	MachineControllerManagerOOT *bool `json:"machineControllerManagerOOT,omitempty"`

	// DurosStorageEncryption enables the deployment of configured encrypted storage classes for the duros-controller.
	// +optional
	DurosStorageEncryption *bool `json:"durosStorageEncryption,omitempty"`
	// RestrictEgress limits the cluster egress to the API server and necessary external dependencies (like container registries)
	// by using DNS egress policies.
	// Requires firewall-controller >= 1.2.0.
	// +optional
	RestrictEgress *bool `json:"restrictEgress,omitempty"`

	// ClusterAudit enables the deployment of a non-null audit policy to the apiserver and the forwarding
	// of the audit events into the cluster where they appear as container log of an audittailer pod, where they
	// can be picked up by any of the available Kubernetes logging solutions.
	// Deprecated: This is not used anymore. The gardener-extension-audit handles cluster auditing.
	// +optional
	ClusterAudit *bool `json:"clusterAudit,omitempty"`
	// AuditToSplunk enables the forwarding of the apiserver auditlog to a defined splunk instance in addition to
	// forwarding it into the cluster. Needs the clusterAudit featureGate to be active.
	// Deprecated: This is not used anymore. The gardener-extension-audit handles cluster auditing.
	// +optional
	AuditToSplunk *bool `json:"auditToSplunk,omitempty"`
}

ControlPlaneFeatures contains feature gates for the control plane.

func (*ControlPlaneFeatures) DeepCopy added in v0.15.1

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneFeatures.

func (*ControlPlaneFeatures) DeepCopyInto added in v0.15.1

func (in *ControlPlaneFeatures) DeepCopyInto(out *ControlPlaneFeatures)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CustomDefaultStorageClass added in v0.18.6

type CustomDefaultStorageClass struct {
	// ClassName name of the storageclass to be set as default
	// If you want to have your own SC be set as default, set classname to ""
	ClassName string `json:"className"`
}

CustomDefaultStorageClass defines the custom storageclass which should be set as default This applies only to storageClasses managed by metal-stack. If set to nil, our default storageClass (e.g. csi-lvm) is set as default

func (*CustomDefaultStorageClass) DeepCopy added in v0.18.6

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomDefaultStorageClass.

func (*CustomDefaultStorageClass) DeepCopyInto added in v0.18.6

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EgressRule added in v0.15.1

type EgressRule struct {
	NetworkID string   `json:"networkID"`
	IPs       []string `json:"ips"`
}

func (*EgressRule) DeepCopy added in v0.15.1

func (in *EgressRule) DeepCopy() *EgressRule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressRule.

func (*EgressRule) DeepCopyInto added in v0.15.1

func (in *EgressRule) DeepCopyInto(out *EgressRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Firewall

type Firewall struct {
	Size                   string       `json:"size"`
	Image                  string       `json:"image"`
	Networks               []string     `json:"networks"`
	RateLimits             []RateLimit  `json:"rateLimits"`
	EgressRules            []EgressRule `json:"egressRules"`
	LogAcceptedConnections bool         `json:"logAcceptedConnections"`
	ControllerVersion      string       `json:"controllerVersion"`
	AutoUpdateMachineImage bool         `json:"autoUpdateMachineImage,omitempty"`
}

func (*Firewall) DeepCopy

func (in *Firewall) DeepCopy() *Firewall

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Firewall.

func (*Firewall) DeepCopyInto

func (in *Firewall) DeepCopyInto(out *Firewall)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirewallControllerVersion added in v0.16.12

type FirewallControllerVersion struct {
	// Version is the version name of the firewall controller
	Version string `json:"version"`
	// URL points to the downloadable binary artifact of the firewall controller
	URL string `json:"url"`
	// Classification defines the state of a version (preview, supported, deprecated)
	Classification *VersionClassification `json:"classification,omitempty"`
}

FirewallControllerVersion describes the version of the firewall controller binary version must not be semver compatible, the version of the created PR binary is also valid but for the calculation of the most recent version, only semver compatible versions are considered. Version 2fb7fd7 URL: https://images.metal-stack.io/firewall-controller/pull-requests/101-upload-to-gcp/firewall-controller Version a273591 URL: https://images.metal-stack.io/firewall-controller/pull-requests/102-dns-cwnp/firewall-controller Version v1.0.10 URL: https://images.metal-stack.io/firewall-controller/v1.0.10/firewall-controller Version v1.0.11 URL: https://images.metal-stack.io/firewall-controller/v1.0.11/firewall-controller

func (*FirewallControllerVersion) DeepCopy added in v0.16.12

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallControllerVersion.

func (*FirewallControllerVersion) DeepCopyInto added in v0.16.12

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirewallStatus

type FirewallStatus struct {
	MachineID string `json:"machineID"`
}

func (*FirewallStatus) DeepCopy

func (in *FirewallStatus) DeepCopy() *FirewallStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallStatus.

func (*FirewallStatus) DeepCopyInto

func (in *FirewallStatus) DeepCopyInto(out *FirewallStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ImageProviderConfig added in v0.22.0

type ImageProviderConfig struct {
	// required to convert it to/from RawExtension
	metav1.TypeMeta `json:",inline"`
	// NetworkIsolation defines restricted/forbidden networkaccess for worker nodes
	NetworkIsolation *NetworkIsolation `json:"networkIsolation,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object ImageProviderConfig is stored in the OSC's provider config RawExtension

func (*ImageProviderConfig) DeepCopy added in v0.22.0

func (in *ImageProviderConfig) DeepCopy() *ImageProviderConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageProviderConfig.

func (*ImageProviderConfig) DeepCopyInto added in v0.22.0

func (in *ImageProviderConfig) DeepCopyInto(out *ImageProviderConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageProviderConfig) DeepCopyObject added in v0.22.0

func (in *ImageProviderConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InfrastructureConfig

type InfrastructureConfig struct {
	metav1.TypeMeta `json:",inline"`
	Firewall        Firewall `json:"firewall"`
	PartitionID     string   `json:"partitionID"`
	ProjectID       string   `json:"projectID"`
}

InfrastructureConfig infrastructure configuration resource

func (*InfrastructureConfig) DeepCopy

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

type InfrastructureStatus struct {
	metav1.TypeMeta `json:",inline"`
	Firewall        FirewallStatus `json:"firewall"`
}

InfrastructureStatus contains information about created infrastructure resources.

func (*InfrastructureStatus) DeepCopy

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 MachineImage added in v0.19.0

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 specific identifiers.

func (*MachineImage) DeepCopy added in v0.19.0

func (in *MachineImage) DeepCopy() *MachineImage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineImage.

func (*MachineImage) DeepCopyInto added in v0.19.0

func (in *MachineImage) DeepCopyInto(out *MachineImage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MetalControlPlane added in v0.15.1

type MetalControlPlane struct {
	// Endpoint is the endpoint to the metal-api of the control plane
	Endpoint string `json:"endpoint"`
	// Partitions is a map of a region name from the regions defined in the cloud profile to region-specific control plane settings
	Partitions map[string]Partition `json:"partitions"`
	// FirewallImages is a list of available firewall images in this control plane. When empty, allows all values.
	FirewallImages []string `json:"firewallImages,omitempty"`
	// FirewallControllerVersions is a list of available firewall controller binary versions
	FirewallControllerVersions []FirewallControllerVersion `json:"firewallControllerVersions,omitempty"`
	// NftablesExporter is the nftables exporter which will be reconciled by the firewall controller
	NftablesExporter NftablesExporter `json:"nftablesExporter,omitempty"`
}

MetalControlPlane contains configuration specific for this metal stack control plane

func (*MetalControlPlane) DeepCopy added in v0.15.1

func (in *MetalControlPlane) DeepCopy() *MetalControlPlane

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetalControlPlane.

func (*MetalControlPlane) DeepCopyInto added in v0.15.1

func (in *MetalControlPlane) DeepCopyInto(out *MetalControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkAccessType added in v0.22.0

type NetworkAccessType string

NetworkAccessType defines how a cluster is capable of accessing external networks

type NetworkIsolation added in v0.22.0

type NetworkIsolation struct {
	// AllowedNetworks is a list of networks which are allowed to connect in restricted or forbidden NetworkIsolated clusters.
	AllowedNetworks AllowedNetworks `json:"allowedNetworks,omitempty"`
	// DNSServers
	DNSServers []string `json:"dnsServers,omitempty"`
	// NTPServers
	NTPServers []string `json:"ntpServers,omitempty"`
	// The registry which serves the images required to create a shoot.
	RegistryMirrors []RegistryMirror `json:"registryMirrors,omitempty"`
}

NetworkIsolation defines configuration for restricted or forbidden clusters.

func (*NetworkIsolation) DeepCopy added in v0.22.0

func (in *NetworkIsolation) DeepCopy() *NetworkIsolation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkIsolation.

func (*NetworkIsolation) DeepCopyInto added in v0.22.0

func (in *NetworkIsolation) DeepCopyInto(out *NetworkIsolation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NftablesExporter added in v0.19.0

type NftablesExporter struct {
	// Version is the version name of the nftables exporter
	Version string `json:"version"`
	// URL points to the downloadable binary artifact of the nftables exporter
	URL string `json:"url"`
}

NftablesExporter describes the version of the nftables exporter binary

func (*NftablesExporter) DeepCopy added in v0.19.0

func (in *NftablesExporter) DeepCopy() *NftablesExporter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NftablesExporter.

func (*NftablesExporter) DeepCopyInto added in v0.19.0

func (in *NftablesExporter) DeepCopyInto(out *NftablesExporter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Partition added in v0.15.1

type Partition struct {
	// FirewallTypes is a list of available firewall machine types in this partition. When empty, allows all values.
	FirewallTypes []string `json:"firewallTypes"`

	// NetworkIsolation if given allows the creation of shoot clusters which have network restrictions activated.
	NetworkIsolation *NetworkIsolation `json:"networkIsolation,omitempty"`
}

Partition contains configuration specific for this metal stack control plane partition

func (*Partition) DeepCopy added in v0.15.1

func (in *Partition) DeepCopy() *Partition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partition.

func (*Partition) DeepCopyInto added in v0.15.1

func (in *Partition) DeepCopyInto(out *Partition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RateLimit added in v0.15.1

type RateLimit struct {
	NetworkID string `json:"networkID"`
	RateLimit uint32 `json:"rateLimit"`
}

func (*RateLimit) DeepCopy added in v0.15.1

func (in *RateLimit) DeepCopy() *RateLimit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit.

func (*RateLimit) DeepCopyInto added in v0.15.1

func (in *RateLimit) DeepCopyInto(out *RateLimit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RegistryMirror added in v0.22.0

type RegistryMirror struct {
	// Name describes this server
	Name string `json:"name,omitempty"`
	// Endpoint is typically the url of the registry in the form https://hostname
	Endpoint string `json:"endpoint,omitempty"`
	// IP is the ipv4 or ipv6 address of this server
	IP string `json:"ip,omitempty"`
	// Port at which port the service is reachable
	Port int32 `json:"port,omitempty"`
	// This Registry Mirror mirrors the following registries
	MirrorOf []string `json:"mirrorOf,omitempty"`
}

func (*RegistryMirror) DeepCopy added in v0.22.0

func (in *RegistryMirror) DeepCopy() *RegistryMirror

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryMirror.

func (*RegistryMirror) DeepCopyInto added in v0.22.0

func (in *RegistryMirror) DeepCopyInto(out *RegistryMirror)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VersionClassification added in v0.16.13

type VersionClassification string

VersionClassification is the logical state of a version according to https://github.com/gardener/gardener/blob/master/docs/operations/versioning.md

const (
	// ClassificationPreview indicates that a version has recently been added and not promoted to "Supported" yet.
	// ClassificationPreview versions will not be considered for automatic firewallcontroller version updates.
	ClassificationPreview VersionClassification = "preview"
	// ClassificationSupported indicates that a patch version is the recommended version for a shoot.
	// Supported versions are eligible for the automated firewallcontroller version update.
	ClassificationSupported VersionClassification = "supported"
	// ClassificationDeprecated indicates that a patch version should not be used anymore, should be updated to a new version
	// and will eventually expire.
	ClassificationDeprecated VersionClassification = "deprecated"
)

type WorkerStatus

type WorkerStatus struct {
	metav1.TypeMeta `json:",inline"`

	// 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 `json:"machineImages,omitempty"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL