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.24.16
- Published
- Jul 19, 2023
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 8 seconds ago –
Tools for package owners.