apiserver: k8s.io/apiserver/plugin/pkg/audit/log Index | Files

package log

import "k8s.io/apiserver/plugin/pkg/audit/log"

Index

Package Files

backend.go

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.

func NewBackend Uses

func NewBackend(out io.Writer, format string, groupVersion schema.GroupVersion) audit.Backend

Package log imports 7 packages (graph) and is imported by 1 packages. Updated 2019-11-19. Refresh now. Tools for package owners.