module

package
v0.0.0-...-b9a05f1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	//UNKNOWN is
	UNKNOWN = "UNKNOWN"
	//DIGEST_INVALID is
	DIGEST_INVALID = "DIGEST_INVALID"
	//NAME_INVALID is
	NAME_INVALID = "NAME_INVALID"
	//TAG_INVALID is
	TAG_INVALID = "TAG_INVALID"
	//NAME_UNKNOWN is
	NAME_UNKNOWN = "NAME_UNKNOWN"
	//MANIFEST_UNKNOWN is
	MANIFEST_UNKNOWN = "MANIFEST_UNKNOWN"
	//MANIFEST_INVALID is
	MANIFEST_INVALID = "MANIFEST_INVALID"
	//MANIFEST_UNVERIFIED is
	MANIFEST_UNVERIFIED = "MANIFEST_UNVERIFIED"
	//MANIFEST_BLOB_UNKNOWN is
	MANIFEST_BLOB_UNKNOWN = "MANIFEST_BLOB_UNKNOWN"
	//BLOB_UNKNOWN is
	BLOB_UNKNOWN = "BLOB_UNKNOWN"
	//BLOB_UPLOAD_UNKNOWN is
	BLOB_UPLOAD_UNKNOWN = "BLOB_UPLOAD_UNKNOWN"
	//BLOB_UPLOAD_INVALID is
	BLOB_UPLOAD_INVALID = "BLOB_UPLOAD_INVALID"
)

Variables

View Source
var ErrorDescription = make(map[string]string)

Functions

func CheckDockerVersion19

func CheckDockerVersion19(headers string) (bool, error)

CheckDockerVersion19 is

func EncodingError

func EncodingError(code string, detail interface{}) ([]byte, error)

EncodingError is

func GetTarsumlist

func GetTarsumlist(data []byte) ([]string, string, int64, error)

GetTarsumlist is

Types

type ErrorUnit

type ErrorUnit struct {
	Code    string      `json:"code"`
	Message string      `json:"message"`
	Detail  interface{} `json:"detail,omitempty"`
}

ErrorUnit is

type Errors

type Errors struct {
	Errors []ErrorUnit `json:"errors"`
}

Errors is

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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