Merge pull request #111992 from Abirdcfly/20220824

cleanup: delete unused AuditDynamicOptions in apiserver
This commit is contained in:
Kubernetes Prow Robot 2023-06-12 21:27:57 -07:00 committed by GitHub
commit c1154d838f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,16 +142,6 @@ type AuditWebhookOptions struct {
GroupVersionString string
}
// AuditDynamicOptions control the configuration of dynamic backends for audit events
type AuditDynamicOptions struct {
// Enabled tells whether the dynamic audit capability is enabled.
Enabled bool
// Configuration for batching backend. This is currently only used as an override
// for integration tests
BatchConfig *pluginbuffered.BatchConfig
}
func NewAuditOptions() *AuditOptions {
return &AuditOptions{
WebhookOptions: AuditWebhookOptions{