taskrun

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 19 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

Types

type Log

type Log struct {
	Task string
	Step string
	Log  string
}

Log data to write on log channel

type LogOptions

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

LogOptions provides options on what logs to fetch. An empty LogOptions implies fetching all logs including init steps

type LogReader

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

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