extender

package
v0.0.0-...-1308b90 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShootRuntimeIDAnnotation          = "infrastructuremanager.kyma-project.io/runtime-id"
	ShootLicenceTypeAnnotation        = "infrastructuremanager.kyma-project.io/licence-type"
	RuntimeIDLabel                    = "kyma-project.io/runtime-id"
	ShootRestrictedEUAccessAnnotation = "support.gardener.cloud/eu-access-for-cluster-nodes"
)
View Source
const (
	RuntimeGlobalAccountLabel = "kyma-project.io/global-account-id"
	RuntimeSubaccountLabel    = "kyma-project.io/subaccount-id"
	ShootGlobalAccountLabel   = "account"
	ShootSubAccountLabel      = "subaccount"
)
View Source
const (
	ProviderTypeAWS       = "aws"
	ProviderTypeAzure     = "azure"
	ProviderTypeGCP       = "gcp"
	ProviderTypeOpenstack = "openstack"
)

Variables

This section is empty.

Functions

func ExtendWithAnnotations

func ExtendWithAnnotations(runtime imv1.Runtime, shoot *gardener.Shoot) error

func ExtendWithLabels

func ExtendWithLabels(runtime imv1.Runtime, shoot *gardener.Shoot) error

func ExtendWithNetworking

func ExtendWithNetworking(runtime imv1.Runtime, shoot *gardener.Shoot) error

func NewExtendWithDNS

func NewExtendWithDNS(secretName, domainPrefix, dnsProviderType string) func(runtime imv1.Runtime, shoot *gardener.Shoot) error

func NewExtendWithKubernetes

func NewExtendWithKubernetes(defaultKubernetesVersion string) func(runtime imv1.Runtime, shoot *gardener.Shoot) error

func NewProviderExtender

func NewProviderExtender(enableIMDSv2 bool) func(runtime imv1.Runtime, shoot *gardener.Shoot) error

Types

type ControlPlaneProviderFunc

type ControlPlaneProviderFunc func(zones []string) ([]byte, error)

type DNSExtensionProviderConfig

type DNSExtensionProviderConfig struct {
	// APIVersion is gardener extension api version
	APIVersion string `json:"apiVersion"`
	// DnsProviderReplication indicates whether dnsProvider replication is on
	DNSProviderReplication *DNSProviderReplication `json:"dnsProviderReplication,omitempty"`
	// Kind is extension type
	Kind string `json:"kind"`
}

type DNSProviderReplication

type DNSProviderReplication struct {
	// Enabled indicates whether replication is on
	Enabled bool `json:"enabled"`
}

type InfrastructureProviderFunc

type InfrastructureProviderFunc func(workersCidr string, zones []string) ([]byte, error)

Jump to

Keyboard shortcuts

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