redact

package
v1.15.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupSpec

func CleanupSpec(spec string) (string, error)

CleanupSpec attempts to parse the provided spec as a redactor, and then renders it again to clean things

func GetRedact

func GetRedact() (*v1beta1.Redactor, error)

func GetRedactSpec

func GetRedactSpec() (string, string, error)

GetRedactSpec returns the redaction yaml spec, a pretty error string, and the underlying error

func SetRedactSpec

func SetRedactSpec(spec string) (string, error)

SetRedactSpec sets the global redact spec to the specified string, and returns a pretty error string + the underlying error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL