Documentation ¶
Index ¶
- Constants
- func NewAWSControlPlane() *aws.ControlPlaneConfig
- func NewAWSInfrastructure(awsConfig AWSGardenerConfig) *aws.InfrastructureConfig
- func NewAWSWorkerConfig(httpPutResponseHopLimit int64) *aws.WorkerConfig
- func NewAzureControlPlane(zones []string) *azure.ControlPlaneConfig
- func NewAzureInfrastructure(workerCIDR string, azConfig AzureGardenerConfig) *azure.InfrastructureConfig
- func NewGCPControlPlane(zones []string) *gcp.ControlPlaneConfig
- func NewGCPInfrastructure(workerCIDR string) *gcp.InfrastructureConfig
- func NewOpenStackControlPlane(loadBalancerProvider string) *openstack.ControlPlaneConfig
- func NewOpenStackInfrastructure(floatingPoolName, workerCIDR string) *openstack.InfrastructureConfig
- type AWSGardenerConfig
- func (c AWSGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
- func (c AWSGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c AWSGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c AWSGardenerConfig) NodeCIDR(GardenerConfig) string
- func (c AWSGardenerConfig) ValidateShootConfigChange(shoot *gardener_types.Shoot) apperrors.AppError
- type Asset
- type AzureGardenerConfig
- func (c AzureGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
- func (c AzureGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c AzureGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c AzureGardenerConfig) NodeCIDR(GardenerConfig) string
- func (c AzureGardenerConfig) ValidateShootConfigChange(shoot *gardener_types.Shoot) apperrors.AppError
- type Cluster
- type ClusterAdministrator
- type ConfigEntry
- type Configuration
- type DNSConfig
- type DNSProvider
- type DNSProviderReplication
- type ExtensionProviderConfig
- type GCPGardenerConfig
- func (c GCPGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
- func (c GCPGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c GCPGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c GCPGardenerConfig) NodeCIDR(gardenerConfig GardenerConfig) string
- func (c GCPGardenerConfig) ValidateShootConfigChange(*gardener_types.Shoot) apperrors.AppError
- type GardenerConfig
- type GardenerProviderConfig
- type GithubRelease
- type HibernationStatus
- type KymaComponent
- type KymaComponentConfig
- type KymaConfig
- type KymaProfile
- type LastError
- type OIDCConfig
- type OpenStackGardenerConfig
- func (c OpenStackGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
- func (c OpenStackGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c OpenStackGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
- func (c OpenStackGardenerConfig) NodeCIDR(gardenerConfig GardenerConfig) string
- func (c OpenStackGardenerConfig) ValidateShootConfigChange(*gardener_types.Shoot) apperrors.AppError
- type Operation
- type OperationStage
- type OperationState
- type OperationType
- type OperationsCount
- type ProviderSpecificConfig
- type RuntimeAgentConnectionStatus
- type RuntimeStatus
- type RuntimeUpgrade
- type ShootIssuers
- type UpgradeState
Constants ¶
View Source
const ( SubAccountLabel = "subaccount" AccountLabel = "account" LicenceTypeAnnotation = "kcp.provisioner.kyma-project.io/licence-type" EuAccessAnnotation = "support.gardener.cloud/eu-access-for-cluster-nodes" ShootNetworkingFilterExtensionType = "shoot-networking-filter" ShootNetworkingFilterDisabledDefault = true )
Variables ¶
This section is empty.
Functions ¶
func NewAWSControlPlane ¶
func NewAWSControlPlane() *aws.ControlPlaneConfig
func NewAWSInfrastructure ¶
func NewAWSInfrastructure(awsConfig AWSGardenerConfig) *aws.InfrastructureConfig
func NewAWSWorkerConfig ¶
func NewAWSWorkerConfig(httpPutResponseHopLimit int64) *aws.WorkerConfig
func NewAzureControlPlane ¶
func NewAzureControlPlane(zones []string) *azure.ControlPlaneConfig
func NewAzureInfrastructure ¶
func NewAzureInfrastructure(workerCIDR string, azConfig AzureGardenerConfig) *azure.InfrastructureConfig
func NewGCPControlPlane ¶
func NewGCPControlPlane(zones []string) *gcp.ControlPlaneConfig
func NewGCPInfrastructure ¶
func NewGCPInfrastructure(workerCIDR string) *gcp.InfrastructureConfig
func NewOpenStackControlPlane ¶
func NewOpenStackControlPlane(loadBalancerProvider string) *openstack.ControlPlaneConfig
func NewOpenStackInfrastructure ¶
func NewOpenStackInfrastructure(floatingPoolName, workerCIDR string) *openstack.InfrastructureConfig
Types ¶
type AWSGardenerConfig ¶
type AWSGardenerConfig struct { ProviderSpecificConfig // contains filtered or unexported fields }
func NewAWSGardenerConfig ¶
func NewAWSGardenerConfig(input *gqlschema.AWSProviderConfigInput) (*AWSGardenerConfig, apperrors.AppError)
func (AWSGardenerConfig) AsProviderSpecificConfig ¶
func (c AWSGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
func (AWSGardenerConfig) EditShootConfig ¶
func (c AWSGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (AWSGardenerConfig) ExtendShootConfig ¶
func (c AWSGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (AWSGardenerConfig) NodeCIDR ¶
func (c AWSGardenerConfig) NodeCIDR(GardenerConfig) string
func (AWSGardenerConfig) ValidateShootConfigChange ¶
func (c AWSGardenerConfig) ValidateShootConfigChange(shoot *gardener_types.Shoot) apperrors.AppError
type AzureGardenerConfig ¶
type AzureGardenerConfig struct { ProviderSpecificConfig // contains filtered or unexported fields }
func NewAzureGardenerConfig ¶
func NewAzureGardenerConfig(input *gqlschema.AzureProviderConfigInput) (*AzureGardenerConfig, apperrors.AppError)
func (AzureGardenerConfig) AsProviderSpecificConfig ¶
func (c AzureGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
func (AzureGardenerConfig) EditShootConfig ¶
func (c AzureGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (AzureGardenerConfig) ExtendShootConfig ¶
func (c AzureGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (AzureGardenerConfig) NodeCIDR ¶
func (c AzureGardenerConfig) NodeCIDR(GardenerConfig) string
func (AzureGardenerConfig) ValidateShootConfigChange ¶
func (c AzureGardenerConfig) ValidateShootConfigChange(shoot *gardener_types.Shoot) apperrors.AppError
type ClusterAdministrator ¶
type ConfigEntry ¶
type ConfigEntry struct { Key string `json:"key"` Value string `json:"value"` Secret bool `json:"secret"` }
func NewConfigEntry ¶
func NewConfigEntry(key, val string, secret bool) ConfigEntry
type Configuration ¶
type Configuration struct { ConfigEntries []ConfigEntry `json:"configEntries"` ConflictStrategy string `json:"conflictStrategy"` }
type DNSConfig ¶
type DNSConfig struct { Domain string `json:"domain"` Providers []*DNSProvider `json:"providers"` }
type DNSProvider ¶
type DNSProviderReplication ¶
type DNSProviderReplication struct { // Enabled indicates whether replication is on Enabled bool `json:"enabled"` }
type ExtensionProviderConfig ¶
type ExtensionProviderConfig struct { // ApiVersion is gardener extension api version ApiVersion string `json:"apiVersion"` // DnsProviderReplication indicates whether dnsProvider replication is on DNSProviderReplication *DNSProviderReplication `json:"dnsProviderReplication,omitempty"` // ShootIssuers indicates whether shoot Issuers are on ShootIssuers *ShootIssuers `json:"shootIssuers,omitempty"` // Kind is extension type Kind string `json:"kind"` }
func NewCertConfig ¶
func NewCertConfig() *ExtensionProviderConfig
func NewDNSConfig ¶
func NewDNSConfig() *ExtensionProviderConfig
type GCPGardenerConfig ¶
type GCPGardenerConfig struct { ProviderSpecificConfig // contains filtered or unexported fields }
func NewGCPGardenerConfig ¶
func NewGCPGardenerConfig(input *gqlschema.GCPProviderConfigInput) (*GCPGardenerConfig, apperrors.AppError)
func (GCPGardenerConfig) AsProviderSpecificConfig ¶
func (c GCPGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
func (GCPGardenerConfig) EditShootConfig ¶
func (c GCPGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (GCPGardenerConfig) ExtendShootConfig ¶
func (c GCPGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (GCPGardenerConfig) NodeCIDR ¶
func (c GCPGardenerConfig) NodeCIDR(gardenerConfig GardenerConfig) string
func (GCPGardenerConfig) ValidateShootConfigChange ¶
func (c GCPGardenerConfig) ValidateShootConfigChange(*gardener_types.Shoot) apperrors.AppError
type GardenerConfig ¶
type GardenerConfig struct { AutoScalerMax int AutoScalerMin int ClusterID string ControlPlaneFailureTolerance *string DNSConfig *DNSConfig DiskType *string EnableKubernetesVersionAutoUpdate bool EnableMachineImageVersionAutoUpdate bool EuAccess bool ExposureClassName *string GardenerProviderConfig GardenerProviderConfig ID string KubernetesVersion string LicenceType *string MachineImage *string MachineImageVersion *string MachineType string MaxSurge int Name string OIDCConfig *OIDCConfig PodsCIDR *string ProjectName string Provider string Purpose *string Region string Seed string ServicesCIDR *string ShootNetworkingFilterDisabled *bool TargetSecret string VolumeSizeGB *int WorkerCidr string }
func (GardenerConfig) ToShootTemplate ¶
func (c GardenerConfig) ToShootTemplate(namespace string, accountId string, subAccountId string, oidcConfig *OIDCConfig, dnsInputConfig *DNSConfig) (*gardener_types.Shoot, apperrors.AppError)
type GardenerProviderConfig ¶
type GardenerProviderConfig interface { RawJSON() string NodeCIDR(gardenerConfig GardenerConfig) string AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError ValidateShootConfigChange(shoot *gardener_types.Shoot) apperrors.AppError }
func NewGardenerProviderConfigFromJSON ¶
func NewGardenerProviderConfigFromJSON(jsonData string) (GardenerProviderConfig, apperrors.AppError)
type GithubRelease ¶
type HibernationStatus ¶
type KymaComponent ¶
type KymaComponent string
type KymaComponentConfig ¶
type KymaComponentConfig struct { ID string Component KymaComponent Namespace string SourceURL *string Configuration Configuration ComponentOrder int KymaConfigID string }
type KymaConfig ¶
type KymaConfig struct { ID string Profile *KymaProfile Components []KymaComponentConfig GlobalConfiguration Configuration ClusterID string Active bool }
func (KymaConfig) GetComponentConfig ¶
func (c KymaConfig) GetComponentConfig(name string) (KymaComponentConfig, bool)
type KymaProfile ¶
type KymaProfile string
const ( EvaluationProfile KymaProfile = "EVALUATION" ProductionProfile KymaProfile = "PRODUCTION" )
type OIDCConfig ¶
type OpenStackGardenerConfig ¶
type OpenStackGardenerConfig struct { ProviderSpecificConfig // contains filtered or unexported fields }
func NewOpenStackGardenerConfig ¶
func NewOpenStackGardenerConfig(input *gqlschema.OpenStackProviderConfigInput) (*OpenStackGardenerConfig, apperrors.AppError)
func (OpenStackGardenerConfig) AsProviderSpecificConfig ¶
func (c OpenStackGardenerConfig) AsProviderSpecificConfig() gqlschema.ProviderSpecificConfig
func (OpenStackGardenerConfig) EditShootConfig ¶
func (c OpenStackGardenerConfig) EditShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (OpenStackGardenerConfig) ExtendShootConfig ¶
func (c OpenStackGardenerConfig) ExtendShootConfig(gardenerConfig GardenerConfig, shoot *gardener_types.Shoot) apperrors.AppError
func (OpenStackGardenerConfig) NodeCIDR ¶
func (c OpenStackGardenerConfig) NodeCIDR(gardenerConfig GardenerConfig) string
func (OpenStackGardenerConfig) ValidateShootConfigChange ¶
func (c OpenStackGardenerConfig) ValidateShootConfigChange(*gardener_types.Shoot) apperrors.AppError
type Operation ¶
type Operation struct { ID string Type OperationType StartTimestamp time.Time EndTimestamp *time.Time State OperationState Message string ClusterID string Stage OperationStage LastTransition *time.Time LastError }
type OperationStage ¶
type OperationStage string
const ( WaitingForClusterDomain OperationStage = "WaitingForClusterDomain" WaitingForClusterCreation OperationStage = "WaitingForClusterCreation" CreatingBindingsForOperators OperationStage = "CreatingBindingsForOperators" StartingInstallation OperationStage = "StartingInstallation" WaitingForInstallation OperationStage = "WaitingForInstallation" ConnectRuntimeAgent OperationStage = "ConnectRuntimeAgent" WaitForAgentToConnect OperationStage = "WaitForAgentToConnect" TriggerKymaUninstall OperationStage = "TriggerKymaUninstall" WaitForClusterDeletion OperationStage = "WaitForClusterDeletion" DeleteCluster OperationStage = "DeprovisionCluster" CleanupCluster OperationStage = "CleanupCluster" StartingUpgrade OperationStage = "StartingUpgrade" UpdatingUpgradeState OperationStage = "UpdatingUpgradeState" WaitingForShootUpgrade OperationStage = "WaitingForShootUpgrade" WaitingForShootNewVersion OperationStage = "WaitingForShootNewVersion" WaitForHibernation OperationStage = "WaitForHibernation" FinishedStage OperationStage = "Finished" )
type OperationState ¶
type OperationState string
const ( InProgress OperationState = "IN_PROGRESS" Succeeded OperationState = "SUCCEEDED" Failed OperationState = "FAILED" )
type OperationType ¶
type OperationType string
const ( Provision OperationType = "PROVISION" ProvisionNoInstall OperationType = "PROVISION_NO_INSTALL" Upgrade OperationType = "UPGRADE" UpgradeShoot OperationType = "UPGRADE_SHOOT" Deprovision OperationType = "DEPROVISION" DeprovisionNoInstall OperationType = "DEPROVISION_NO_INSTALL" ReconnectRuntime OperationType = "RECONNECT_RUNTIME" Hibernate OperationType = "HIBERNATE" )
type OperationsCount ¶
type OperationsCount struct {
Count map[OperationType]int
}
type ProviderSpecificConfig ¶
type ProviderSpecificConfig string
func (ProviderSpecificConfig) RawJSON ¶
func (c ProviderSpecificConfig) RawJSON() string
type RuntimeAgentConnectionStatus ¶
type RuntimeAgentConnectionStatus int
const ( RuntimeAgentConnectionStatusPending RuntimeAgentConnectionStatus = iota RuntimeAgentConnectionStatusConnected RuntimeAgentConnectionStatus = iota RuntimeAgentConnectionStatusDisconnected RuntimeAgentConnectionStatus = iota )
type RuntimeStatus ¶
type RuntimeStatus struct { LastOperationStatus Operation RuntimeConnectionStatus RuntimeAgentConnectionStatus RuntimeConfiguration Cluster HibernationStatus HibernationStatus }
type RuntimeUpgrade ¶
type RuntimeUpgrade struct { Id string State UpgradeState OperationId string PreUpgradeKymaConfigId string PostUpgradeKymaConfigId string PreUpgradeKymaConfig KymaConfig `db:"-"` PostUpgradeKymaConfig KymaConfig `db:"-"` }
type ShootIssuers ¶
type ShootIssuers struct { // Enabled indicates whether shoot Issuers are on Enabled bool `json:"enabled"` }
type UpgradeState ¶
type UpgradeState string
const ( UpgradeInProgress UpgradeState = "IN_PROGRESS" UpgradeSucceeded UpgradeState = "SUCCEEDED" UpgradeFailed UpgradeState = "FAILED" UpgradeRolledBack UpgradeState = "ROLLED_BACK" )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.