Documentation ¶
Index ¶
- Variables
- func AliasFlags(f *pflag.FlagSet, name string) pflag.NormalizedName
- func ExitCodeFromBuildError(errorMsg string) (int, error)
- func FileExists(path string) bool
- func IsDir(path string) bool
- func PrintContainerPruneResults(containerPruneReports []*reports.PruneReport, heading bool) error
- func PrintImagePruneResults(imagePruneReports []*reports.PruneReport, heading bool) error
- func PrintPodPruneResults(podPruneReports []*entities.PodPruneReport, heading bool) error
- func PrintVolumePruneResults(volumePruneReport []*reports.PruneReport, heading bool) error
- func TimeoutAliasFlags(f *pflag.FlagSet, name string) pflag.NormalizedName
- type OutputErrors
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SIGHUP os.Signal = unix.SIGHUP
)
Platform specific signal synonyms
Functions ¶
func AliasFlags ¶
func AliasFlags(f *pflag.FlagSet, name string) pflag.NormalizedName
AliasFlags is a function to handle backwards compatibility with old flags
func ExitCodeFromBuildError ¶
For remote client, server does not returns error with exit code
instead returns a message and we cast it to a new error. Following function performs parsing on build error and returns exit status which was expected for this current build
func FileExists ¶
FileExists returns true if path refers to an existing file.
func PrintContainerPruneResults ¶
func PrintContainerPruneResults(containerPruneReports []*reports.PruneReport, heading bool) error
func PrintImagePruneResults ¶
func PrintImagePruneResults(imagePruneReports []*reports.PruneReport, heading bool) error
func PrintPodPruneResults ¶
func PrintPodPruneResults(podPruneReports []*entities.PodPruneReport, heading bool) error
func PrintVolumePruneResults ¶
func PrintVolumePruneResults(volumePruneReport []*reports.PruneReport, heading bool) error
func TimeoutAliasFlags ¶
func TimeoutAliasFlags(f *pflag.FlagSet, name string) pflag.NormalizedName
TimeoutAliasFlags is a function to handle backwards compatibility with old timeout flags
Types ¶
type OutputErrors ¶
type OutputErrors []error
func (OutputErrors) PrintErrors ¶
func (o OutputErrors) PrintErrors() (lastError error)
Click to show internal directories.
Click to hide internal directories.