client

package
v0.0.0-...-f5b5a7a Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	BaseURL() string
	CreateJob(job dockworker.Job) (dockworker.Job, error)
	GetJob(ID dockworker.JobID) (dockworker.Job, error)
	StopJob(ID dockworker.JobID) error
	GetLogs(ID dockworker.JobID) ([]byte, error)
}

Client represents a client which can be used to interact with Dockworker

func NewClient

func NewClient(baseURL string) Client

NewClient returns a new Client

Jump to

Keyboard shortcuts

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