server

package
v1.1.2-0...-a3e9a69 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2014 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

DEPRECATION NOTICE. PLEASE DO NOT ADD ANYTHING TO THIS FILE.

For additional commments see server/server.go

DEPRECATION NOTICE. PLEASE DO NOT ADD ANYTHING TO THIS FILE.

For additional commments see server/server.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServer

func InitServer(job *engine.Job) engine.Status

jobInitApi runs the remote api server `srv` as a daemon, Only one api server can run at the same time - this is enforced by a pidfile. The signals SIGINT, SIGQUIT and SIGTERM are intercepted for cleanup.

Types

type Server

type Server struct {
	sync.RWMutex

	Eng *engine.Engine
	// contains filtered or unexported fields
}

func NewServer

func NewServer(eng *engine.Engine, config *daemonconfig.Config) (*Server, error)

func (*Server) Build

func (srv *Server) Build(job *engine.Job) engine.Status

func (*Server) ImagePull

func (srv *Server) ImagePull(job *engine.Job) engine.Status

func (*Server) ImagePush

func (srv *Server) ImagePush(job *engine.Job) engine.Status

FIXME: Allow to interrupt current push when new push of same image is done.

Jump to

Keyboard shortcuts

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