mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
Merge pull request #111992 from Abirdcfly/20220824
cleanup: delete unused AuditDynamicOptions in apiserver
This commit is contained in:
commit
c1154d838f
@ -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
Block a user