internal

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: Apache-2.0 Imports: 8 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 (*RedactingReporter) Report

func (r *RedactingReporter) Report(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(time.Time, *exec.Cmd)
}

func NewRedactingReporter

func NewRedactingReporter(writer io.Writer, redactor Redactor) Reporter

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