taskrun

package
v2.11.22 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrimContainerNamePrefix

func TrimContainerNamePrefix(containerName string) string

TrimContainerNamePrefix trim the container name prefix to get the corresponding step name

Types

type Log

type Log struct {
	Task string
	Step string
	Log  string
}

Log data to write on log channel

type LogReader

type LogReader struct {
	Task     string
	Run      string
	Number   int
	Ns       string
	Clients  *cli.Clients
	Streamer stream.NewStreamerFunc
	Follow   bool
	AllSteps bool

	// DenylistSteps prvents steps from being displated when AllSteps is
	// enabled.
	//
	// NOTE: DenylistSteps doesn't exist in the normal tektoncd code.
	// However, istio is SOO chatty that it is distracting. So I want to be
	// able to mute it.
	DenylistSteps []string
}

func (*LogReader) Read

func (lr *LogReader) Read(ctx context.Context) (<-chan Log, <-chan error, error)

Jump to

Keyboard shortcuts

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