Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶
type ClusterInfo struct {
Cpus float64 `json:"cpus,omitempty"`
Memory float64 `json:"memory,omitempty"`
ContainerCount int `json:"container_count,omitempty"`
EngineCount int `json:"engine_count,omitempty"`
ImageCount int `json:"image_count,omitempty"`
ReservedCpus float64 `json:"reserved_cpus,omitempty"`
ReservedMemory float64 `json:"reserved_memory,omitempty"`
Version string `json:"version,omitempty"`
}
type ConsoleSession ¶
type Event ¶
type Event struct {
Type string `json:"type,omitempty"`
ContainerInfo *dockerclient.ContainerInfo `json:"container_info,omitempty"`
Time time.Time `json:"time,omitempty"`
Message string `json:"message,omitempty"`
Username string `json:"username,omitempty"`
Tags []string `json:"tags,omitempty"`
}
type Node ¶
type Node struct {
ID string `json:"id,omitempty" gorethink:"id,omitempty"`
Name string `json:"name,omitempty" gorethink:"name,omitempty"`
Addr string `json:"addr,omitempty" gorethink:"addr,omitempty"`
Containers string `json:"containers,omitempty"`
ReservedCPUs string `json:"reserved_cpus,omitempty"`
ReservedMemory string `json:"reserved_memory,omitempty"`
Labels []string `json:"labels,omitempty"`
ResponseTime float64 `json:"response_time" gorethink:"response_time,omitempty"`
}
type Registry ¶
type Registry struct {
ID string `json:"id,omitempty" gorethink:"id,omitempty"`
Name string `json:"name,omitempty" gorethink:"name,omitempty"`
Addr string `json:"addr,omitempty", gorethink:"addr,omitempty"`
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) DeleteRepository ¶
func (*Registry) Repositories ¶
func (r *Registry) Repositories() ([]*registry.Repository, error)
func (*Registry) Repository ¶
func (r *Registry) Repository(name string) (*registry.Repository, error)
type Usage ¶
type Usage struct {
ID string `json:"id,omitempty"`
Version string `json:"version,omitempty"`
NumOfEngines int `json:"num_of_engines,omitempty"`
NumOfImages int `json:"num_of_images,omitempty"`
NumOfContainers int `json:"num_of_containers,omitempty"`
TotalCpus float64 `json:"total_cpus,omitempty"`
TotalMemory float64 `json:"total_memory,omitempty"`
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Godeps
|
|
|
_workspace/src/github.com/Sirupsen/logrus
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
|
Package logrus is a structured logger for Go, completely API compatible with the standard library logger. |
|
_workspace/src/github.com/cenkalti/backoff
Package backoff implements backoff algorithms for retrying operations.
|
Package backoff implements backoff algorithms for retrying operations. |
|
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
|
Package cli provides a minimal framework for creating and organizing command line Go applications. |
|
_workspace/src/github.com/codegangsta/negroni
Package negroni is an idiomatic approach to web middleware in Go.
|
Package negroni is an idiomatic approach to web middleware in Go. |
|
_workspace/src/github.com/davecgh/go-spew/spew
Package spew implements a deep pretty printer for Go data structures to aid in debugging.
|
Package spew implements a deep pretty printer for Go data structures to aid in debugging. |
|
_workspace/src/github.com/docker/go-units
Package units provides helper function to parse and print size and time units in human-readable format.
|
Package units provides helper function to parse and print size and time units in human-readable format. |
|
_workspace/src/github.com/golang/protobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
|
Package proto converts data structures to and from the wire format of protocol buffers. |
|
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
|
Package context stores values shared during a request lifetime. |
|
_workspace/src/github.com/gorilla/mux
Package mux implements a request router and dispatcher.
|
Package mux implements a request router and dispatcher. |
|
_workspace/src/github.com/gorilla/securecookie
Package securecookie encodes and decodes authenticated and optionally encrypted cookie values.
|
Package securecookie encodes and decodes authenticated and optionally encrypted cookie values. |
|
_workspace/src/github.com/gorilla/sessions
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.
|
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends. |
|
_workspace/src/github.com/hailocab/go-hostpool
A Go package to intelligently and flexibly pool among multiple hosts from your Go application.
|
A Go package to intelligently and flexibly pool among multiple hosts from your Go application. |
|
_workspace/src/github.com/mailgun/oxy/forward
package forwarder implements http handler that forwards requests to remote server and serves back the response websocket proxying support based on https://github.com/yhat/wsutil
|
package forwarder implements http handler that forwards requests to remote server and serves back the response websocket proxying support based on https://github.com/yhat/wsutil |
|
_workspace/src/github.com/nu7hatch/gouuid
This package provides immutable UUID structs and the functions NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4 and 5 UUIDs as specified in RFC 4122.
|
This package provides immutable UUID structs and the functions NewV3, NewV4, NewV5 and Parse() for generating versions 3, 4 and 5 UUIDs as specified in RFC 4122. |
|
_workspace/src/github.com/pmezard/go-difflib/difflib
Package difflib is a partial port of Python difflib module.
|
Package difflib is a partial port of Python difflib module. |
|
_workspace/src/github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
|
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. |
|
_workspace/src/golang.org/x/crypto/bcrypt
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm.
|
Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing algorithm. |
|
_workspace/src/golang.org/x/crypto/blowfish
Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
|
Package blowfish implements Bruce Schneier's Blowfish encryption algorithm. |
|
_workspace/src/golang.org/x/crypto/pbkdf2
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0.
|
Package pbkdf2 implements the key derivation function PBKDF2 as defined in RFC 2898 / PKCS #5 v2.0. |
|
_workspace/src/golang.org/x/net/websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
|
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455. |
|
_workspace/src/golang.org/x/sys/unix
Package unix contains an interface to the low-level operating system primitives.
|
Package unix contains an interface to the low-level operating system primitives. |
|
_workspace/src/gopkg.in/dancannon/gorethink.v2
Package gorethink implements a Go driver for RethinkDB Current version: v2.0.2 (RethinkDB v2.3) For more in depth information on how to use RethinkDB check out the API docs at http://rethinkdb.com/api
|
Package gorethink implements a Go driver for RethinkDB Current version: v2.0.2 (RethinkDB v2.3) For more in depth information on how to use RethinkDB check out the API docs at http://rethinkdb.com/api |
|
_workspace/src/gopkg.in/dancannon/gorethink.v2/ql2
Package ql2 is a generated protocol buffer package.
|
Package ql2 is a generated protocol buffer package. |
|
_workspace/src/gopkg.in/fatih/pool.v2
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
|
Package pool implements a pool of net.Conn interfaces to manage and reuse them. |
|
plugin/manager
command
|
|
|
plugin/plugin_pipeline
command
|
|
|
registry
|
|
Click to show internal directories.
Click to hide internal directories.