azure

package
v1.46.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AzureChinaCloudName  string = "AzureChina"
	AzureGovCloudName    string = "AzureGovernment"
	AzurePublicCloudName string = "AzurePublic"
)

The (currently) supported values for the names of clouds to use in the CloudConfiguration.

View Source
const GroupName = "azure.provider.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	AzureGovRegionPrefixes   = []string{"usgov", "usdod", "ussec"}
	AzureChinaRegionPrefixes = []string{"china"}
)

The known prefixes in of region names for the various instances.

View Source
var (

	// AddToScheme is a pointer to schemeBuilder.AddToScheme.
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AvailabilitySet

type AvailabilitySet struct {
	// Purpose is the purpose of the availability set
	Purpose Purpose
	// ID is the id of the availability set
	ID string
	// Name is the name of the availability set
	Name string
	// CountFaultDomains is the count of fault domains.
	CountFaultDomains *int32
	// CountUpdateDomains is the count of update domains.
	CountUpdateDomains *int32
}

AvailabilitySet contains information about the azure availability set

func (*AvailabilitySet) DeepCopy

func (in *AvailabilitySet) DeepCopy() *AvailabilitySet

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

func (*AvailabilitySet) DeepCopyInto

func (in *AvailabilitySet) DeepCopyInto(out *AvailabilitySet)

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

type AzureResource added in v1.40.0

type AzureResource struct {
	// Kind is the type of resource.
	Kind string
	// ID is the ID of the resource.
	ID string
}

AzureResource represents metadata information about created infrastructure resources.

func (*AzureResource) DeepCopy added in v1.40.0

func (in *AzureResource) DeepCopy() *AzureResource

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

func (*AzureResource) DeepCopyInto added in v1.40.0

func (in *AzureResource) DeepCopyInto(out *AzureResource)

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

type BackupConfig added in v1.43.0

type BackupConfig struct {
	metav1.TypeMeta
	// CloudConfiguration contains config that controls which cloud to connect to.
	CloudConfiguration *CloudConfiguration
}

BackupConfig is the provider-specific configuration for backup buckets/entries

func (*BackupConfig) DeepCopy added in v1.43.0

func (in *BackupConfig) DeepCopy() *BackupConfig

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

func (*BackupConfig) DeepCopyInto added in v1.43.0

func (in *BackupConfig) DeepCopyInto(out *BackupConfig)

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

func (*BackupConfig) DeepCopyObject added in v1.43.0

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

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

type CloudConfiguration added in v1.43.0

type CloudConfiguration struct {
	// Name is the name of the cloud to connect to, e.g. "AzurePublic" or "AzureChina".
	Name string
}

CloudConfiguration contains detailed config for the cloud to connect to. Currently we only support selection of well- known Azure-instances by name, but this could be extended in future to support private clouds.

func (*CloudConfiguration) DeepCopy added in v1.43.0

func (in *CloudConfiguration) DeepCopy() *CloudConfiguration

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

func (*CloudConfiguration) DeepCopyInto added in v1.43.0

func (in *CloudConfiguration) DeepCopyInto(out *CloudConfiguration)

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

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
	// CountUpdateDomains is list of update domain counts for each region.
	CountUpdateDomains []DomainCount
	// CountFaultDomains is list of fault domain counts for each region.
	CountFaultDomains []DomainCount
	// 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
	// MachineTypes is a list of machine types complete with provider specific information.
	MachineTypes []MachineType
	// CloudConfiguration contains config that controls which cloud to connect to.
	CloudConfiguration *CloudConfiguration
}

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.
	// +optional
	CloudControllerManager *CloudControllerManagerConfig

	// Storage contains configuration for storage in the cluster.
	// +optional
	Storage *Storage `json:"storage,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 DNSRecordConfig added in v1.44.0

type DNSRecordConfig struct {
	metav1.TypeMeta
	// CloudConfiguration contains config that controls which cloud to connect to.
	CloudConfiguration *CloudConfiguration
}

DNSRecordConfig is the provider-specific configuration for DNSRecords.

func (*DNSRecordConfig) DeepCopy added in v1.44.0

func (in *DNSRecordConfig) DeepCopy() *DNSRecordConfig

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

func (*DNSRecordConfig) DeepCopyInto added in v1.44.0

func (in *DNSRecordConfig) DeepCopyInto(out *DNSRecordConfig)

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

func (*DNSRecordConfig) DeepCopyObject added in v1.44.0

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

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

type DiagnosticsProfile added in v1.45.0

type DiagnosticsProfile struct {
	// Enabled configures boot diagnostics to be stored or not
	Enabled bool
	// StorageURI is the URI of the storage account to use for storing console output and screenshot.
	// If not specified azure managed storage will be used.
	StorageURI *string
}

DiagnosticsProfile specifies boot diagnostic options

func (*DiagnosticsProfile) DeepCopy added in v1.45.0

func (in *DiagnosticsProfile) DeepCopy() *DiagnosticsProfile

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

func (*DiagnosticsProfile) DeepCopyInto added in v1.45.0

func (in *DiagnosticsProfile) DeepCopyInto(out *DiagnosticsProfile)

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

type DomainCount

type DomainCount struct {
	// Region is a region.
	Region string
	// Count is the count value for the respective domain count.
	Count int32
}

DomainCount defines the region and the count for this domain count value.

func (*DomainCount) DeepCopy

func (in *DomainCount) DeepCopy() *DomainCount

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

func (*DomainCount) DeepCopyInto

func (in *DomainCount) DeepCopyInto(out *DomainCount)

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

type IdentityConfig

type IdentityConfig struct {
	// Name is the name of the identity.
	Name string
	// ResourceGroup is the resource group where the identity belongs to.
	ResourceGroup string
	// ACRAccess indicated if the identity should be used by the Shoot worker nodes to pull from an Azure Container Registry.
	ACRAccess *bool
}

IdentityConfig contains configuration for the managed identity.

func (*IdentityConfig) DeepCopy

func (in *IdentityConfig) DeepCopy() *IdentityConfig

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

func (*IdentityConfig) DeepCopyInto

func (in *IdentityConfig) DeepCopyInto(out *IdentityConfig)

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

type IdentityStatus

type IdentityStatus struct {
	// ID is the Azure resource if of the identity.
	ID string
	// ClientID is the client id of the identity.
	ClientID string
	// ACRAccess specifies if the identity should be used by the Shoot worker nodes to pull from an Azure Container Registry.
	ACRAccess bool
}

IdentityStatus contains the status information of the created managed identity.

func (*IdentityStatus) DeepCopy

func (in *IdentityStatus) DeepCopy() *IdentityStatus

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

func (*IdentityStatus) DeepCopyInto

func (in *IdentityStatus) DeepCopyInto(out *IdentityStatus)

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

type InfrastructureConfig

type InfrastructureConfig struct {
	metav1.TypeMeta
	// ResourceGroup is azure resource group
	ResourceGroup *ResourceGroup
	// Networks is the network configuration (VNets, subnets, etc.)
	Networks NetworkConfig
	// Identity contains configuration for the assigned managed identity.
	Identity *IdentityConfig
	// Zoned indicates whether the cluster uses zones
	Zoned bool
}

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 InfrastructureState added in v1.40.0

type InfrastructureState struct {
	metav1.TypeMeta
	// Data is map to store things.
	// +optional
	Data map[string]string
	// ManagedItems is a list of resources that were created during the infrastructure reconciliation.
	// +optional
	ManagedItems []AzureResource
}

InfrastructureState contains state information of the infrastructure resource.

func (*InfrastructureState) DeepCopy added in v1.40.0

func (in *InfrastructureState) DeepCopy() *InfrastructureState

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

func (*InfrastructureState) DeepCopyInto added in v1.40.0

func (in *InfrastructureState) DeepCopyInto(out *InfrastructureState)

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

func (*InfrastructureState) DeepCopyObject added in v1.40.0

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

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

type InfrastructureStatus

type InfrastructureStatus struct {
	metav1.TypeMeta
	// Networks is the status of the networks of the infrastructure.
	Networks NetworkStatus
	// ResourceGroup is azure resource group
	ResourceGroup ResourceGroup
	// AvailabilitySets is a list of created availability sets
	AvailabilitySets []AvailabilitySet
	// AvailabilitySets is a list of created route tables
	RouteTables []RouteTable
	// SecurityGroups is a list of created security groups
	SecurityGroups []SecurityGroup
	// Identity is the status of the managed identity.
	Identity *IdentityStatus
	// Zoned indicates whether the cluster uses zones
	Zoned bool
}

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

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
	// URN is the uniform resource name of the image, it has the format 'publisher:offer:sku:version'.
	URN *string
	// ID is the VM image ID
	ID *string
	// CommunityGalleryImageID is the Community Image Gallery image id.
	CommunityGalleryImageID *string
	// SharedGalleryImageID is the Shared Image Gallery image id.
	SharedGalleryImageID *string
	// AcceleratedNetworking is an indicator if the image supports Azure accelerated networking.
	AcceleratedNetworking *bool
	// Architecture is the CPU architecture of the machine image.
	Architecture *string
	// SkipMarketplaceAgreement skips the marketplace agreement check when enabled.
	SkipMarketplaceAgreement *bool
}

MachineImage is a mapping from logical names and versions to provider-specific machine image data.

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
	// URN is the uniform resource name of the image, it has the format 'publisher:offer:sku:version'.
	URN *string
	// SkipMarketplaceAgreement skips the marketplace agreement check when enabled.
	SkipMarketplaceAgreement *bool
	// ID is the Shared Image Gallery image id.
	ID *string
	// CommunityGalleryImageID is the Community Image Gallery image id, it has the format '/CommunityGalleries/myGallery/Images/myImage/Versions/myVersion'
	CommunityGalleryImageID *string
	// SharedGalleryImageID is the Shared Image Gallery image id, it has the format '/SharedGalleries/sharedGalleryName/Images/sharedGalleryImageName/Versions/sharedGalleryImageVersionName'
	SharedGalleryImageID *string
	// AcceleratedNetworking is an indicator if the image supports Azure accelerated networking.
	AcceleratedNetworking *bool
	// 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 added in v1.6.0

type MachineType struct {
	// Name is the name of the machine type.
	Name string
	// AcceleratedNetworking is an indicator if the machine type supports Azure accelerated networking.
	AcceleratedNetworking *bool
}

MachineType contains provider specific information to a machine type.

func (*MachineType) DeepCopy added in v1.6.0

func (in *MachineType) DeepCopy() *MachineType

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

func (*MachineType) DeepCopyInto added in v1.6.0

func (in *MachineType) DeepCopyInto(out *MachineType)

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

type NatGatewayConfig added in v1.4.0

type NatGatewayConfig struct {
	// Enabled is an indicator if NAT gateway should be deployed.
	Enabled bool
	// IdleConnectionTimeoutMinutes specifies the idle connection timeout limit for NAT gateway in minutes.
	IdleConnectionTimeoutMinutes *int32
	// Zone specifies the zone in which the NAT gateway should be deployed to.
	Zone *int32
	// IPAddresses is a list of ip addresses which should be assigned to the NAT gateway.
	IPAddresses []PublicIPReference
}

NatGatewayConfig contains configuration for the NAT gateway and the attached resources.

func (*NatGatewayConfig) DeepCopy added in v1.4.0

func (in *NatGatewayConfig) DeepCopy() *NatGatewayConfig

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

func (*NatGatewayConfig) DeepCopyInto added in v1.4.0

func (in *NatGatewayConfig) DeepCopyInto(out *NatGatewayConfig)

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

type NetworkConfig

type NetworkConfig struct {
	// VNet indicates whether to use an existing VNet or create a new one.
	VNet VNet
	// Workers is the worker subnet range to create (used for the VMs).
	Workers *string
	// NatGateway contains the configuration for the NatGateway.
	NatGateway *NatGatewayConfig
	// ServiceEndpoints is a list of Azure ServiceEndpoints which should be associated with the worker subnet.
	ServiceEndpoints []string
	// Zones is a list of zones with their respective configuration.
	Zones []Zone
}

NetworkConfig holds information about the Kubernetes and infrastructure networks.

func (*NetworkConfig) DeepCopy

func (in *NetworkConfig) DeepCopy() *NetworkConfig

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

func (*NetworkConfig) DeepCopyInto

func (in *NetworkConfig) DeepCopyInto(out *NetworkConfig)

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

type NetworkLayout added in v1.25.0

type NetworkLayout string

NetworkLayout is the network layout type for the cluster.

const (
	// NetworkLayoutSingleSubnet is a network layout for all types of clusters. Clusters with this layout have a single
	// subnet. If the cluster is zoned that subnet is shared among all availability zones.
	NetworkLayoutSingleSubnet NetworkLayout = "SingleSubnet"
	// NetworkLayoutMultipleSubnet is a network layout for zonal clusters, where a subnet is created for each availability zone.
	NetworkLayoutMultipleSubnet NetworkLayout = "MultipleSubnet"
)

type NetworkStatus

type NetworkStatus struct {
	// VNet states the name of the infrastructure VNet.
	VNet VNetStatus
	// Subnets are the subnets that have been created.
	Subnets []Subnet
	// Layout describes the network layout of the cluster.
	Layout NetworkLayout
}

NetworkStatus is the current status of the infrastructure networks.

func (*NetworkStatus) DeepCopy

func (in *NetworkStatus) DeepCopy() *NetworkStatus

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

func (*NetworkStatus) DeepCopyInto

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

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

type PublicIPReference added in v1.18.0

type PublicIPReference struct {
	// Name is the name of the public ip.
	Name string
	// ResourceGroup is the name of the resource group where the public ip is assigned to.
	ResourceGroup string
	// Zone is the zone in which the public ip is deployed to.
	Zone int32
}

PublicIPReference contains information about a public ip.

func (*PublicIPReference) DeepCopy added in v1.18.0

func (in *PublicIPReference) DeepCopy() *PublicIPReference

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

func (*PublicIPReference) DeepCopyInto added in v1.18.0

func (in *PublicIPReference) DeepCopyInto(out *PublicIPReference)

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

type Purpose

type Purpose string

Purpose is a purpose of a subnet.

const (
	// PurposeNodes is a Purpose for nodes.
	PurposeNodes Purpose = "nodes"
	// PurposeInternal is a Purpose for internal use.
	PurposeInternal Purpose = "internal"
)

type ResourceGroup

type ResourceGroup struct {
	// Name is the name of the resource group
	Name string
}

ResourceGroup is azure resource group

func (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

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

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

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

type RouteTable

type RouteTable struct {
	// Purpose is the purpose of the route table
	Purpose Purpose
	// Name is the name of the route table
	Name string
}

RouteTable is the azure route table

func (*RouteTable) DeepCopy

func (in *RouteTable) DeepCopy() *RouteTable

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

func (*RouteTable) DeepCopyInto

func (in *RouteTable) DeepCopyInto(out *RouteTable)

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

type SecurityGroup

type SecurityGroup struct {
	// Purpose is the purpose of the security group
	Purpose Purpose
	// Name is the name of the security group
	Name string
}

SecurityGroup contains information about the security group

func (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

type Storage added in v1.35.0

type Storage struct {
	// ManagedDefaultStorageClass controls if the 'default' StorageClass would be marked as default. Set to false to
	// manually set the default to another class not managed by Gardener.
	// Defaults to true.
	// +optional
	ManagedDefaultStorageClass *bool
	// ManagedDefaultVolumeSnapshotClass controls if the 'default' VolumeSnapshotClass would be marked as default.
	// Set to false to manually set the default to another class not managed by Gardener.
	// Defaults to true.
	// +optional
	ManagedDefaultVolumeSnapshotClass *bool
}

Storage contains configuration for storage in the cluster.

func (*Storage) DeepCopy added in v1.35.0

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto added in v1.35.0

func (in *Storage) DeepCopyInto(out *Storage)

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

type Subnet

type Subnet struct {
	// Name is the name of the subnet.
	Name string
	// Purpose is the purpose for which the subnet was created.
	Purpose Purpose
	// Zone is the name of the zone for which the subnet was created.
	Zone *string
	// Migrated is set when the network layout is migrated from NetworkLayoutSingleSubnet to NetworkLayoutMultipleSubnet.
	// Only the subnet that was used prior to the migration should have this attribute set.
	Migrated bool
}

Subnet is a subnet that was created.

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

type VNet

type VNet struct {
	// Name is the VNet name.
	Name *string
	// ResourceGroup is the resource group where the existing vNet belongs to.
	ResourceGroup *string
	// CIDR is the VNet CIDR
	CIDR *string
	// DDosProtectionPlanID is the id of a ddos protection plan assigned to the vnet.
	DDosProtectionPlanID *string
}

VNet contains information about the VNet and some related resources.

func (*VNet) DeepCopy

func (in *VNet) DeepCopy() *VNet

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

func (*VNet) DeepCopyInto

func (in *VNet) DeepCopyInto(out *VNet)

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

type VNetStatus

type VNetStatus struct {
	// Name is the VNet name.
	Name string
	// ResourceGroup is the resource group where the existing vNet belongs to.
	ResourceGroup *string
}

VNetStatus contains the VNet name.

func (*VNetStatus) DeepCopy

func (in *VNetStatus) DeepCopy() *VNetStatus

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

func (*VNetStatus) DeepCopyInto

func (in *VNetStatus) DeepCopyInto(out *VNetStatus)

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

type VmoDependency added in v1.18.0

type VmoDependency struct {
	// PoolName is the name of the worker pool to which the VMO belong to.
	PoolName string
	// ID is the id of the VMO resource on Azure.
	ID string
	// Name is the name of the VMO resource on Azure.
	Name string
}

VmoDependency is dependency reference for a workerpool to a VirtualMachineScaleSet Orchestration Mode VM (VMO).

func (*VmoDependency) DeepCopy added in v1.18.0

func (in *VmoDependency) DeepCopy() *VmoDependency

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

func (*VmoDependency) DeepCopyInto added in v1.18.0

func (in *VmoDependency) DeepCopyInto(out *VmoDependency)

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

type WorkerConfig added in v1.29.0

type WorkerConfig struct {
	metav1.TypeMeta
	// NodeTemplate contains resource information of the machine which is used by Cluster Autoscaler to generate nodeTemplate during scaling a nodeGroup from zero.
	NodeTemplate *extensionsv1alpha1.NodeTemplate
	// DiagnosticsProfile specifies boot diagnostic options
	DiagnosticsProfile *DiagnosticsProfile
}

WorkerConfig contains configuration settings for the worker nodes.

func (*WorkerConfig) DeepCopy added in v1.29.0

func (in *WorkerConfig) DeepCopy() *WorkerConfig

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

func (*WorkerConfig) DeepCopyInto added in v1.29.0

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 added in v1.29.0

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

	// VmoDependencies is a list of external VirtualMachineScaleSet Orchestration Mode VM (VMO) dependencies.
	VmoDependencies []VmoDependency
}

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.

type Zone added in v1.25.0

type Zone struct {
	// Name is the name of the zone and should match with the name the infrastructure provider is using for the zone.
	Name int32
	// CIDR is the CIDR range used for the zone's subnet.
	CIDR string
	// ServiceEndpoints is a list of Azure ServiceEndpoints which should be associated with the zone's subnet.
	ServiceEndpoints []string
	// NatGateway contains the configuration for the NatGateway associated with this subnet.
	NatGateway *ZonedNatGatewayConfig
}

Zone describes the configuration for a subnet that is used for VMs on that region.

func (*Zone) DeepCopy added in v1.25.0

func (in *Zone) DeepCopy() *Zone

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

func (*Zone) DeepCopyInto added in v1.25.0

func (in *Zone) DeepCopyInto(out *Zone)

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

type ZonedNatGatewayConfig added in v1.25.0

type ZonedNatGatewayConfig struct {
	// Enabled is an indicator if NAT gateway should be deployed.
	Enabled bool
	// IdleConnectionTimeoutMinutes specifies the idle connection timeout limit for NAT gateway in minutes.
	IdleConnectionTimeoutMinutes *int32
	// IPAddresses is a list of ip addresses which should be assigned to the NAT gateway.
	IPAddresses []ZonedPublicIPReference
}

ZonedNatGatewayConfig contains configuration for the NAT gateway and the attached resources.

func (*ZonedNatGatewayConfig) DeepCopy added in v1.25.0

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

func (*ZonedNatGatewayConfig) DeepCopyInto added in v1.25.0

func (in *ZonedNatGatewayConfig) DeepCopyInto(out *ZonedNatGatewayConfig)

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

type ZonedPublicIPReference added in v1.25.0

type ZonedPublicIPReference struct {
	// Name is the name of the public ip.
	Name string
	// ResourceGroup is the name of the resource group where the public ip is assigned to.
	ResourceGroup string
}

ZonedPublicIPReference contains information about a public ip.

func (*ZonedPublicIPReference) DeepCopy added in v1.25.0

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

func (*ZonedPublicIPReference) DeepCopyInto added in v1.25.0

func (in *ZonedPublicIPReference) DeepCopyInto(out *ZonedPublicIPReference)

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

Directories

Path Synopsis
Package v1alpha1 contains the Azure provider API resources.
Package v1alpha1 contains the Azure provider API resources.

Jump to

Keyboard shortcuts

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