logpersistertest

package
v0.51.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestLogPersister

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

TestLogPersister implements logpersister for testing.

func NewTestLogPersister

func NewTestLogPersister(t *testing.T) TestLogPersister

NewTestLogPersister creates a new testLogPersister for testing.

func (TestLogPersister) Complete

func (lp TestLogPersister) Complete(timeout time.Duration) error

func (TestLogPersister) Error

func (lp TestLogPersister) Error(log string)

func (TestLogPersister) Errorf

func (lp TestLogPersister) Errorf(format string, a ...interface{})

func (TestLogPersister) Info

func (lp TestLogPersister) Info(log string)

func (TestLogPersister) Infof

func (lp TestLogPersister) Infof(format string, a ...interface{})

func (TestLogPersister) StageLogPersister

func (lp TestLogPersister) StageLogPersister(deploymentID, stageID string) logpersister.StageLogPersister

func (TestLogPersister) Success

func (lp TestLogPersister) Success(log string)

func (TestLogPersister) Successf

func (lp TestLogPersister) Successf(format string, a ...interface{})

func (TestLogPersister) Write

func (lp TestLogPersister) Write(log []byte) (int, error)

Jump to

Keyboard shortcuts

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