package log
import "k8s.io/apiserver/plugin/pkg/audit/log"
Index ¶
- Constants
- Variables
- func NewBackend(out io.Writer, format string, groupVersion schema.GroupVersion) audit.Backend
Constants ¶
const ( // FormatLegacy saves event in 1-line text format. FormatLegacy = "legacy" // FormatJson saves event in structured json format. FormatJson = "json" // PluginName is the name of this plugin, to be used in help and logs. PluginName = "log" )
Variables ¶
var AllowedFormats = []string{ FormatLegacy, FormatJson, }
AllowedFormats are the formats known by log backend.
Functions ¶
func NewBackend ¶
Source Files ¶
backend.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 hour ago –
Tools for package owners.