Directories ¶
Path | Synopsis |
---|---|
bin
|
|
p2-finish-env-extractor
This package provides a binary that extracts data from commandline arguments as well as process environment and writes exit information about a recently-exited runit pod to a sqlite database for processing by the preparer.
|
This package provides a binary that extracts data from commandline arguments as well as process environment and writes exit information about a recently-exited runit pod to a sqlite database for processing by the preparer. |
p2-norm
p2-norm is a CLI tool for printing a normalized pod manifest.
|
p2-norm is a CLI tool for printing a normalized pod manifest. |
p2-rctl-server
p2-rctl-server contains the server code for running Farms for resource controllers and rolling updates.
|
p2-rctl-server contains the server code for running Farms for resource controllers and rolling updates. |
p2-rm
p2-rm is a command line tool for removing a pods and its labels.
|
p2-rm is a command line tool for removing a pods and its labels. |
p2-sum
p2-sum is a CLI tool for printing the canonical hash of a P2 pod manifest.
|
p2-sum is a CLI tool for printing the canonical hash of a P2 pod manifest. |
integration
|
|
pkg
|
|
artifact
Package artifact provides utilities to configure a system to use a Platypus artifact.
|
Package artifact provides utilities to configure a system to use a Platypus artifact. |
cli
package cli provides functionality that may be useful in multiple CLIs
|
package cli provides functionality that may be useful in multiple CLIs |
config
Package config provides convenience facilities for Golang-based pods to read their configuration files provided either by the environment or a custom path.
|
Package config provides convenience facilities for Golang-based pods to read their configuration files provided either by the environment or a custom path. |
docker
package docker implements a docker launchable type
|
package docker implements a docker launchable type |
grpc/auditlogstore/protos
Package auditlogstore is a generated protocol buffer package.
|
Package auditlogstore is a generated protocol buffer package. |
grpc/daemonsetstore/protos
Package daemonsetstore is a generated protocol buffer package.
|
Package daemonsetstore is a generated protocol buffer package. |
grpc/labelstore/client
package client implements the normal labels.Applicator functions but maps them onto a grpc server call
|
package client implements the normal labels.Applicator functions but maps them onto a grpc server call |
grpc/labelstore/protos
Package label_store_protos is a generated protocol buffer package.
|
Package label_store_protos is a generated protocol buffer package. |
grpc/podstore/protos
Package podstore is a generated protocol buffer package.
|
Package podstore is a generated protocol buffer package. |
grpc/scheduler/protos
Package scheduler_protos is a generated protocol buffer package.
|
Package scheduler_protos is a generated protocol buffer package. |
logbridge
This package implements a log bridge.
|
This package implements a log bridge. |
logging
The logging package is a wrapper around github.com/sirupsen/logrus that provides some convenience methods and improved error reporting.
|
The logging package is a wrapper around github.com/sirupsen/logrus that provides some convenience methods and improved error reporting. |
manifest
Package pods borrows heavily from the Kubernetes definition of pods to provide p2 with a convenient way to colocate several related launchable artifacts, as well as basic shared runtime configuration.
|
Package pods borrows heavily from the Kubernetes definition of pods to provide p2 with a convenient way to colocate several related launchable artifacts, as well as basic shared runtime configuration. |
opencontainer
The "opencontainer" package implements support for launching services packaged in an OpenContainer image.
|
The "opencontainer" package implements support for launching services packaged in an OpenContainer image. |
pc/control
Package control wraps a pcstore with convenience functions suitable for operational tasks.
|
Package control wraps a pcstore with convenience functions suitable for operational tasks. |
preparer/podprocess
This package provides a Reporter which scans a sqlite database for process exit information, writing it to the consul datastore.
|
This package provides a Reporter which scans a sqlite database for process exit information, writing it to the consul datastore. |
runit
Package runit provides a programmatic way to interact with runit and servicebuilder (https://github.com/square/prodeng/blob/master/servicebuilder/README.md).
|
Package runit provides a programmatic way to interact with runit and servicebuilder (https://github.com/square/prodeng/blob/master/servicebuilder/README.md). |
schedule
This package contains code used by p2-schedule that is useful to import elsewhere, e.g.
|
This package contains code used by p2-schedule that is useful to import elsewhere, e.g. |
store
Package store is a work-in-progress package that gives access to data storage for P2 objects.
|
Package store is a work-in-progress package that gives access to data storage for P2 objects. |
store/consul
package consul provides a generalized API for reading and writing pod manifests in consul.
|
package consul provides a generalized API for reading and writing pod manifests in consul. |
store/consul/consulutil
package consulutil contains common routines for setting up a live Consul server for use in unit tests.
|
package consulutil contains common routines for setting up a live Consul server for use in unit tests. |
store/consul/flags
Package flags provides frequently used kingpin flags for command-line tools that connect to Consul.
|
Package flags provides frequently used kingpin flags for command-line tools that connect to Consul. |
store/consul/podstore
TODO: update this comment as things change.
|
TODO: update this comment as things change. |
store/consul/transaction
Package transaction provides an interface for crafting transactional updates to consul.
|
Package transaction provides an interface for crafting transactional updates to consul. |
types
Package for declaring types that will be used by various other packages.
|
Package for declaring types that will be used by various other packages. |
util/param
The param package is a management system for configuration parameters.
|
The param package is a management system for configuration parameters. |
util/size
Package size provides a converter between a string representation of a size and a number of bytes, and reverse.
|
Package size provides a converter between a string representation of a size and a number of bytes, and reverse. |
Click to show internal directories.
Click to hide internal directories.