Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotFound = NewPolicyError("policy not found") BuildFailed = NewPolicyError("build failed") LoginFailed = NewPolicyError("login failed") LogoutFailed = NewPolicyError("logout failed") ImagesFailed = NewPolicyError("list images failed") InspectFailed = NewPolicyError("inspect failed") PullFailed = NewPolicyError("pull failed") PushFailed = NewPolicyError("push failed") SaveFailed = NewPolicyError("save failed") ReplFailed = NewPolicyError("repl failed") TagFailed = NewPolicyError("tag failed") TemplateFailed = NewPolicyError("template failed") )
Functions ¶
This section is empty.
Types ¶
type PolicyCLIError ¶
func NewPolicyError ¶
func NewPolicyError(message string) *PolicyCLIError
func (*PolicyCLIError) Error ¶
func (e *PolicyCLIError) Error() string
func (*PolicyCLIError) WithError ¶
func (e *PolicyCLIError) WithError(base error) *PolicyCLIError
func (*PolicyCLIError) WithMessage ¶
func (e *PolicyCLIError) WithMessage(message string, args ...interface{}) *PolicyCLIError
Click to show internal directories.
Click to hide internal directories.