logs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageWaiter

func NewImageWaiter(kpackClient versioned.Interface, logTailer ImageLogTailer) *imageWaiter

Types

type BuildLogsClient

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

func NewBuildLogsClient

func NewBuildLogsClient(k8sClient k8sclient.Interface) *BuildLogsClient

func (*BuildLogsClient) Tail

func (c *BuildLogsClient) Tail(ctx context.Context, writer io.Writer, image, build, namespace string) error

func (*BuildLogsClient) TailBuildName

func (c *BuildLogsClient) TailBuildName(ctx context.Context, writer io.Writer, namespace string, buildName string) error

func (*BuildLogsClient) TailImage

func (c *BuildLogsClient) TailImage(ctx context.Context, writer io.Writer, image, namespace string) error

type ImageLogTailer

type ImageLogTailer interface {
	TailBuildName(ctx context.Context, writer io.Writer, buildName, namespace string) error
}

Jump to

Keyboard shortcuts

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