redact

package
v0.1.166 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) *Redacter

func NewRedacterWithMatchers added in v0.1.156

func NewRedacterWithMatchers(ds datastore.Datastore, exclusions []Matcher, 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)

func (*Redacter) RedactTaskLogPart added in v0.1.141

func (r *Redacter) RedactTaskLogPart(p *tork.TaskLogPart, secrets map[string]string)

func (*Redacter) RedactTaskLogParts added in v0.1.156

func (r *Redacter) RedactTaskLogParts(ctx context.Context, parts []*tork.TaskLogPart) error

Jump to

Keyboard shortcuts

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