client

package
v0.0.0-...-b1baf6d Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2016 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Ping() error
}

type ClientFactory

type ClientFactory interface {
	Create(ip string, cert string, key string, ca string) (Client, error)
}
var Factory ClientFactory

type DockerFactory

type DockerFactory struct {
}

func (DockerFactory) Create

func (f DockerFactory) Create(ip string, cert string, key string, ca string) (Client, error)

type ErrorPingClient

type ErrorPingClient struct{}

func (ErrorPingClient) Ping

func (f ErrorPingClient) Ping() error

type ErrorPingFactory

type ErrorPingFactory struct{}

func (ErrorPingFactory) Create

func (f ErrorPingFactory) Create(ip string, cert string, key string, ca string) (Client, error)

type MockClient

type MockClient struct{}

func (MockClient) Ping

func (f MockClient) Ping() error

type MockFactory

type MockFactory struct{}

func (MockFactory) Create

func (f MockFactory) Create(ip string, cert string, key string, ca string) (Client, error)

Jump to

Keyboard shortcuts

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