artifact

package
v6.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileNotFoundError

type FileNotFoundError struct {
	Name     string
	FilePath string
}

FileNotFoundError is returned when the specified file path does not exist within its artifact source.

func (FileNotFoundError) Error

func (err FileNotFoundError) Error() string

Error returns a human-friendly error message.

type UnknownArtifactSourceError

type UnknownArtifactSourceError struct {
	Name string
	Path string
}

UnknownArtifactSourceError is returned when the artifact.Name specified by the path does not exist in the artifact.Repository.

func (UnknownArtifactSourceError) Error

func (err UnknownArtifactSourceError) Error() string

Error returns a human-friendly error message.

type UnspecifiedArtifactSourceError

type UnspecifiedArtifactSourceError struct {
	Path string
}

UnspecifiedArtifactSourceError is returned when the specified path is of a file in the toplevel directory, and so it does not indicate a SourceName.

func (UnspecifiedArtifactSourceError) Error

Error returns a human-friendly error message.

Jump to

Keyboard shortcuts

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