redact

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v0.1.52

func Contains(substr string) func(s string) bool

func Wildcard added in v0.1.52

func Wildcard(pattern string) func(s string) bool

Types

type Matcher added in v0.1.52

type Matcher func(string) bool

type Redacter added in v0.1.52

type Redacter struct {
	// contains filtered or unexported fields
}

func NewRedacter added in v0.1.52

func NewRedacter(ds datastore.Datastore, matchers ...Matcher) *Redacter

func (*Redacter) RedactJob added in v0.1.52

func (r *Redacter) RedactJob(j *tork.Job)

func (*Redacter) RedactTask added in v0.1.52

func (r *Redacter) RedactTask(t *tork.Task)

Jump to

Keyboard shortcuts

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