errors

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Build       = Phase("Build")
	Deploy      = Phase("Deploy")
	StatusCheck = Phase("StatusCheck")
	FileSync    = Phase("FileSync")
	DevInit     = Phase("DevInit")
	Cleanup     = Phase("Cleanup")
)

These are phases in a DevLoop

View Source
const (
	PushImageErrPrefix = "could not push image"
)

Variables

View Source
var (
	// ErrNoSuggestionFound error not found
	ErrNoSuggestionFound = fmt.Errorf("no suggestions found")
)

Functions

func ActionableErr

func ActionableErr(phase Phase, err error) *proto.ActionableErr

ActionableErr returns an actionable error message with suggestions

func SetSkaffoldOptions

func SetSkaffoldOptions(opts config.SkaffoldOptions)

SetSkaffoldOptions set Skaffold config options once. These options are used later to suggest actionable error messages based on skaffold run context

func ShowAIError

func ShowAIError(err error) error

Types

type Phase

type Phase string

Jump to

Keyboard shortcuts

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