client

package
v0.0.0-...-2677422 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnectionRefused = errors.New("Cannot connect to the Docker daemon. Is 'docker -d' running on this host?")
)

Functions

This section is empty.

Types

type KraneClientApi

type KraneClientApi struct {
	// contains filtered or unexported fields
}

func NewKraneClientApi

func NewKraneClientApi(ship types.Ship, strict bool, job *dockerEngine.Job) *KraneClientApi

func (*KraneClientApi) Call

func (cli *KraneClientApi) Call(method, path string, data interface{}, passAuthInfo bool) (io.ReadCloser, int, error)

func (*KraneClientApi) HTTPClient

func (cli *KraneClientApi) HTTPClient() *http.Client

func (*KraneClientApi) Stream

func (cli *KraneClientApi) Stream(method, path string, in io.Reader, out io.Writer, headers map[string][]string) error

Jump to

Keyboard shortcuts

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