Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingMapping = errors.New("missing mapping for selected region in provider config")
Functions ¶
func ApplyAuditLogConfig ¶
Types ¶
type AuditLog ¶
type AuditLog struct {
AuditLogConfigurator
}
func (*AuditLog) UpdateShootClient ¶
type AuditLogConfigurator ¶
type AuditLogConfigurator interface { CanEnableAuditLogsForShoot(seedName string) bool GetPolicyConfigMapName() string GetSeedObj(ctx context.Context, seedKey types.NamespacedName) (gardener.Seed, error) UpdateShoot(ctx context.Context, shoot *gardener.Shoot) error GetConfigFromFile() (data map[string]map[string]AuditLogData, err error) UpdateClient(client client.Client) }
type AuditLogData ¶
type AuditLogging ¶
type AuditLogging interface { Enable(ctx context.Context, shoot *gardener.Shoot) (bool, error) UpdateShootClient(client client.Client) }
func NewAuditLogging ¶
func NewAuditLogging(auditLogTenantConfigPath, auditLogPolicyConfigMapName string, k8s client.Client) AuditLogging
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"` }
Click to show internal directories.
Click to hide internal directories.