auditlogs

package
v1.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConfigurationNotFound = fmt.Errorf("audit logs configuration not found")
)

Functions

This section is empty.

Types

type AuditLogData

type AuditLogData struct {
	TenantID   string `json:"tenantID" validate:"required"`
	ServiceURL string `json:"serviceURL" validate:"required,url"`
	SecretName string `json:"secretName" validate:"required"`
}

type Configuration

type Configuration map[providerType]map[region]AuditLogData

func (Configuration) GetAuditLogData

func (a Configuration) GetAuditLogData(providerType, region string) (AuditLogData, error)

type Extend

type Extend = func(runtime imv1.Runtime, shoot *gardener.Shoot) error

func NewAuditlogExtenderForCreate

func NewAuditlogExtenderForCreate(policyConfigMapName string, data AuditLogData) Extend

func NewAuditlogExtenderForPatch

func NewAuditlogExtenderForPatch(policyConfigMapName string) Extend

Jump to

Keyboard shortcuts

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