logs

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 18 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) GetImageLogs

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

func (*BuildLogsClient) Tail

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

func (*BuildLogsClient) TailBuildName

func (c *BuildLogsClient) TailBuildName(ctx context.Context, writer io.Writer, namespace string, buildName string, timestamp bool) 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, timestamp bool) error
}

Jump to

Keyboard shortcuts

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