log

package
v0.0.0-...-64e8fac Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LogTypePipeline = "pipeline"
	LogTypeTask     = "task"
)
View Source
const (
	MsgTRNotFoundErr = "Unable to get Taskrun"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

Log represents data to write on log channel

type Reader

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

func NewReader

func NewReader(logType string, opts *options.LogOptions) (*Reader, error)

func (*Reader) Read

func (r *Reader) Read() (<-chan Log, <-chan error, error)

type TektonParams

type TektonParams struct {
	*cli.TektonParams
	// contains filtered or unexported fields
}

func NewTektonParams

func NewTektonParams(dynamic dynamic.Interface, kubeClient k8s.Interface,
	tekton tektonclientset.Interface, namespace string) *TektonParams

func (*TektonParams) Clients

func (t *TektonParams) Clients() (*cli.Clients, error)

func (*TektonParams) Namespace

func (t *TektonParams) Namespace() string

Jump to

Keyboard shortcuts

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