internal

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cf

func Cf(cmdStarter Starter, args ...string) *gexec.Session

func CfWithCustomReporter

func CfWithCustomReporter(cmdStarter Starter, reporter Reporter, args ...string) *gexec.Session

Types

type RedactingReporter

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

func NewRedactingReporter

func NewRedactingReporter(writer io.Writer, redactor Redactor) *RedactingReporter

func (*RedactingReporter) Report

func (r *RedactingReporter) Report(withColour bool, startTime time.Time, cmd *exec.Cmd)

type Redactor

type Redactor interface {
	Redact(toRedact string) string
}

func NewRedactor

func NewRedactor(redactees ...string) Redactor

type Reporter

type Reporter interface {
	Report(bool, time.Time, *exec.Cmd)
}

type Starter

type Starter interface {
	Start(Reporter, string, ...string) (*gexec.Session, error)
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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