warnings

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WarnCannotRemoveState = warning{/* contains filtered or unexported fields */}
View Source
var WarnShouldUseUpdate = warning{/* contains filtered or unexported fields */}

WarnShouldUseUpdate is the message printed to the user when they attempt to use "ship init" with a present state file on disk

Functions

func IsWarning

func IsWarning(err error) bool

func StripStackIfWarning

func StripStackIfWarning(err error) error

func WarnFileNotFound added in v0.27.0

func WarnFileNotFound(filePath string) error

func WarnShouldMoveDirectory

func WarnShouldMoveDirectory(dir string) error

WarnShouldMoveDirectory is the message printed to the user when they attempt to run ship when files like `base` or `overlays` are already present

Types

This section is empty.

Jump to

Keyboard shortcuts

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