fake

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Streamer

func Streamer(l []Log) stream.NewStreamerFunc

Types

type Container

type Container struct {
	Name string
	Logs []string
}

func NewContainer

func NewContainer(name string, logs ...string) Container

func Step

func Step(name string, logs ...string) Container

type Log

type Log struct {
	PodName    string
	Containers []Container
}

func Logs

func Logs(logs ...Log) []Log

func PodLog

func PodLog(name string, containers ...Container) Log

func Task

func Task(name string, containers ...Container) Log

type PodStream

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

func (*PodStream) Stream

func (ps *PodStream) Stream() (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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