cleanup: delete unused AuditDynamicOptions in apiserver
Signed-off-by: Abirdcfly <fp544037857@gmail.com> Kubernetes-commit: f16f9100e5761b5c579a81c1d5411f8a2fba20c4
This commit is contained in:
parent
ed61fb1c78
commit
b1f0ff0536
|
@ -142,16 +142,6 @@ type AuditWebhookOptions struct {
|
||||||
GroupVersionString string
|
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 {
|
func NewAuditOptions() *AuditOptions {
|
||||||
return &AuditOptions{
|
return &AuditOptions{
|
||||||
WebhookOptions: AuditWebhookOptions{
|
WebhookOptions: AuditWebhookOptions{
|
||||||
|
|
Loading…
Reference in New Issue