Documentation ¶
Index ¶
- func Config(kubeconfig []byte) (*restclient.Config, error)
- func FindExtension(shoot *gardener_types.Shoot) *gardener_types.Extension
- func FindSecret(shoot *gardener_types.Shoot) *gardener_types.NamedResourceReference
- func NewClient(config *restclient.Config) (*gardener_apis.CoreV1beta1Client, error)
- type AdminKubeconfigRequester
- type AuditLogConfig
- type AuditLogConfigurator
- type AuditlogExtensionConfig
- type Client
- type GardenerProvisioner
- func (g *GardenerProvisioner) DeprovisionCluster(cluster model.Cluster, operationId string) (model.Operation, apperrors.AppError)
- func (g *GardenerProvisioner) ProvisionCluster(cluster model.Cluster, operationId string) apperrors.AppError
- func (g *GardenerProvisioner) UpgradeCluster(clusterID string, upgradeConfig model.GardenerConfig) apperrors.AppError
- type KubeconfigProvider
- type KymaInstallationState
- type OutputDataWriter
- type ProvisioningState
- type Reconciler
- type ShootClient
- type ShootController
- type ShootProvider
- type TimeWindow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindExtension ¶
func FindExtension(shoot *gardener_types.Shoot) *gardener_types.Extension
func FindSecret ¶
func FindSecret(shoot *gardener_types.Shoot) *gardener_types.NamedResourceReference
func NewClient ¶
func NewClient(config *restclient.Config) (*gardener_apis.CoreV1beta1Client, error)
Types ¶
type AdminKubeconfigRequester ¶
type AdminKubeconfigRequester interface {
Create(ctx context.Context, obj gardenerClient.Object, subResource gardenerClient.Object, opts ...gardenerClient.SubResourceCreateOption) error
}
type AuditLogConfig ¶
type AuditLogConfigurator ¶
type AuditLogConfigurator interface { CanEnableAuditLogsForShoot(seedName string) bool ConfigureAuditLogs(logger logrus.FieldLogger, shoot *gardener_types.Shoot, seed gardener_types.Seed) (bool, error) }
func NewAuditLogConfigurator ¶
func NewAuditLogConfigurator(auditLogTenantConfigPath string) AuditLogConfigurator
type AuditlogExtensionConfig ¶
type AuditlogExtensionConfig struct { metav1.TypeMeta `json:",inline"` // Type is the type of auditlog service provider. Type string `json:"type"` // TenantID is the id of the tenant. TenantID string `json:"tenantID"` // ServiceURL is the URL of the auditlog service. ServiceURL string `json:"serviceURL"` // SecretReferenceName is the name of the reference for the secret containing the auditlog service credentials. SecretReferenceName string `json:"secretReferenceName"` }
AuditlogConfig configuration resource
type Client ¶
type Client interface { Create(ctx context.Context, shoot *v1beta1.Shoot, opts v1.CreateOptions) (*v1beta1.Shoot, error) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Shoot, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Shoot, err error) }
type GardenerProvisioner ¶
type GardenerProvisioner struct {
// contains filtered or unexported fields
}
func NewProvisioner ¶
func NewProvisioner( namespace string, shootClient Client, factory dbsession.Factory, policyConfigMapName string, maintenanceWindowConfigPath string, testDataWriter OutputDataWriter) *GardenerProvisioner
func (*GardenerProvisioner) DeprovisionCluster ¶
func (*GardenerProvisioner) ProvisionCluster ¶
func (*GardenerProvisioner) UpgradeCluster ¶
func (g *GardenerProvisioner) UpgradeCluster(clusterID string, upgradeConfig model.GardenerConfig) apperrors.AppError
type KubeconfigProvider ¶
type KubeconfigProvider struct {
// contains filtered or unexported fields
}
func NewKubeconfigProvider ¶
func NewKubeconfigProvider(gardenerShootClient Client, adminKubeconfigRequest AdminKubeconfigRequester, secretsClient v12.SecretInterface) KubeconfigProvider
func (KubeconfigProvider) FetchFromRequest ¶
func (kp KubeconfigProvider) FetchFromRequest(shootName string) ([]byte, error)
type KymaInstallationState ¶
type KymaInstallationState string
func (KymaInstallationState) String ¶
func (s KymaInstallationState) String() string
type OutputDataWriter ¶
type ProvisioningState ¶
type ProvisioningState string
func (ProvisioningState) String ¶
func (s ProvisioningState) String() string
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶
func NewReconciler( mgr ctrl.Manager, dbsFactory dbsession.Factory, auditLogConfigurator AuditLogConfigurator) *Reconciler
type ShootClient ¶
type ShootClient interface {
List(ctx context.Context, opts metav1.ListOptions) (*gardener_Types.ShootList, error)
}
type ShootController ¶
type ShootController struct {
// contains filtered or unexported fields
}
func NewShootController ¶
func (*ShootController) StartShootController ¶
func (sc *ShootController) StartShootController() error
type ShootProvider ¶
type ShootProvider struct {
// contains filtered or unexported fields
}
func NewShootProvider ¶
func NewShootProvider(shootClient ShootClient) ShootProvider
func (ShootProvider) Get ¶
func (s ShootProvider) Get(runtimeID string, tenant string) (gardener_Types.Shoot, apperrors.AppError)
type TimeWindow ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.