internal

package
v0.0.1-beta07 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatYAML

func FormatYAML(yamlString io.Reader) (string, error)

func IsImageWithLatestTag

func IsImageWithLatestTag(image *types.ImageSummary) bool

func MustGetwd

func MustGetwd() string

func NamedLogger

func NamedLogger(logger *log.Logger, name string) *log.Logger

NamedLogger creates a logger with a prefix to indent its output.

func NodeToString

func NodeToString(node *yaml.Node) (string, error)

Types

type LogWriter

type LogWriter struct {
	Logger *log.Logger
}

func (*LogWriter) Write

func (l *LogWriter) Write(bytes []byte) (n int, err error)

type TestWriter

type TestWriter struct {
	T *testing.T
}

func (*TestWriter) Write

func (tw *TestWriter) Write(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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