Help us shape the future of Go! Take the 2026 Go Developer Survey

pipelinerun

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 28 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

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

Command instantiates the pipelinerun command

Types

type ListOptions added in v0.3.0

type ListOptions struct {
	Limit int
}

type Log

type Log struct {
	Pipeline string
	Task     string
	Step     string
	Log      string
}

Log is the data gets written to the log channel

type LogOptions

type LogOptions struct {
	AllSteps        bool
	Follow          bool
	Params          cli.Params
	PipelineName    string
	PipelineRunName string
	Stream          *cli.Stream
	Streamer        stream.NewStreamerFunc
	Tasks           []string
}

func (*LogOptions) Run added in v0.2.0

func (lo *LogOptions) Run() error

type LogReader

type LogReader struct {
	Run      string
	Ns       string
	Clients  *cli.Clients
	Streamer stream.NewStreamerFunc
	Stream   *cli.Stream
	AllSteps bool
	Follow   bool
	Tasks    []string
}

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