cranerror

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2016 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Default ok code
	CodeOk = 0

	//Default error code
	CodeUndefined = "503-10001"

	//Node error code
	CodeErrorUpdateNodeMethod = "503-11302"
	CodeErrorNodeRole         = "503-11303"
	CodeErrorNodeAvailability = "503-11304"
	CodeGetNodeInfoError      = "503-11305"
)

Variables

This section is empty.

Functions

func NewError

func NewError(code string, message string) error

Types

type ContainerStatsStopError

type ContainerStatsStopError struct {
	ID  string
	Err error
}

func (*ContainerStatsStopError) Error

func (e *ContainerStatsStopError) Error() string

type CraneError

type CraneError struct {
	Code string `json:"Code"`
	Err  error  `json:"Err"`
}

func (*CraneError) Error

func (e *CraneError) Error() string

type NodeConnError

type NodeConnError struct {
	ID       string
	Endpoint string
	Err      error
}

func (*NodeConnError) Error

func (e *NodeConnError) Error() string

type ServicePortConflictError

type ServicePortConflictError struct {
	Name          string
	Namespace     string
	PublishedPort string
	Err           error
}

func (*ServicePortConflictError) Error

func (e *ServicePortConflictError) Error() string

Jump to

Keyboard shortcuts

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