logs

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 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) 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) 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