agentproxy

package
v0.0.0-...-7e7fb06 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(ctx context.Context, clt client.ImageAPIClient, image string) (bool, error)

ImageExists and InspectImage taken from libcompose Exists return whether or not the service image already exists

func InspectImage

func InspectImage(ctx context.Context, client client.ImageAPIClient, image string) (types.ImageInspect, error)

InspectImage inspect the specified image (can be a name, an id or a digest) with the specified client.

Types

type AgentProxy

type AgentProxy struct {
	SocketPath  string
	ContainerID string
	// contains filtered or unexported fields
}

func NewAgentProxy

func NewAgentProxy(docker client.APIClient, sess ssh.Session) (*AgentProxy, error)

func (*AgentProxy) Shutdown

func (ap *AgentProxy) Shutdown() error

func (*AgentProxy) Start

func (ap *AgentProxy) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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