taskrun

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 30 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(p cli.Params) *cobra.Command

func Run added in v0.6.0

func Run(opts *options.LogOptions) error

Types

type ListOptions added in v0.3.0

type ListOptions struct {
	Limit int
}

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
	Stream   *cli.Stream
}

func (*LogReader) Read

func (lr *LogReader) Read() (<-chan Log, <-chan error, error)

type LogWriter

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

func NewLogWriter

func NewLogWriter() *LogWriter

NewLogWriter returns the new instance of LogWriter

func (*LogWriter) Write

func (lw *LogWriter) Write(s *cli.Stream, logC <-chan Log, errC <-chan error)

Jump to

Keyboard shortcuts

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