Packages imported by apiserver

Path Synopsis
archive/tar Package tar implements access to tar archives.
archive/zip Package zip provides support for reading and writing ZIP archives.
bytes Package bytes implements functions for the manipulation of byte slices.
compress/bzip2 Package bzip2 implements bzip2 decompression.
context Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
crypto/rand Package rand implements a cryptographically secure random number generator.
crypto/sha256 Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4.
encoding/hex Package hex implements hexadecimal encoding and decoding.
encoding/json Package json implements encoding and decoding of JSON as defined in RFC 7159.
fmt Package fmt implements formatted I/O with functions analogous to C's printf and scanf. Package handlers is a collection of handlers (aka "HTTP middleware") for use with Go's net/http package (or any framework supporting http.Handler). Package gorilla/schema fills a struct with form values. Package websocket implements the WebSocket protocol defined in RFC 6455. Package errors provides an easy way to annotate errors without losing the original error context. The featureflag package gives other parts of Juju the ability to easily check to see if a feature flag has been defined. Package storagecommon provides common storage-related services for API server facades. Package uniter implements the API interface used by the uniter worker. Package application contains api calls for functionality related to deploying and managing applications and their related charms. Package bundle defines an API endpoint for functions dealing with bundles. Package cloud defines an API end point for functions dealing with the controller's cloud definition, and cloud credentials. Package modelmanager defines an API end point for functions dealing with models. Package metricsmanager contains the implementation of an api endpoint for calling metrics functions in state. Package httpattachment provides facilities for attaching a streaming blob of data and associated metadata to an HTTP API request, and for reading that blob on the server side. Package metricobserver provides an implementation of apiserver/observer.ObserverFactory that maintains Prometheus metrics. Package leadership holds code pertaining to application leadership in juju. The presence package works on the premise that an agent it alive if it has a current connection to one of the API servers. The tools package supports locating, parsing, and filtering Ubuntu tools metadata in simplestreams format. Package feature package defines the names of the current feature flags. The jsoncodec package provides a JSON codec for the rpc package. Package state enables reading, observing, and changing the state stored in MongoDB of a whole model managed by juju. Package stateenvirons provides types and functions that interface the state and environs packages. Package version contains versioning information for juju. Package pubsub provides publish and subscribe functionality within a single process. Package ratelimit provides an efficient token bucket implementation that can be used to limit the rate of arbitrary things. Package version implements version parsing. Package pretty provides pretty-printing for Go values. Package prometheus is the core instrumentation package. Package secretbox encrypts and authenticates small messages. The tomb package handles clean goroutine tracking and termination.
io Package io provides basic interfaces to I/O primitives.
io/ioutil Package ioutil implements some I/O utility functions.
mime Package mime implements parts of the MIME spec.
net Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
net/http Package http provides HTTP client and server implementations.
net/url Package url parses URLs and implements query escaping.
os Package os provides a platform-independent interface to operating system functionality.
path Package path implements utility routines for manipulating slash-separated paths.
path/filepath Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
reflect Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
sort Package sort provides primitives for sorting slices and user-defined collections.
strconv Package strconv implements conversions to and from string representations of basic data types.
strings Package strings implements simple functions to manipulate UTF-8 encoded strings.
sync Package sync provides basic synchronization primitives such as mutual exclusion locks.
sync/atomic Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms.
syscall Package syscall contains an interface to the low-level operating system primitives.
text/template Package template implements data-driven templates for generating textual output.
time Package time provides functionality for measuring and displaying time.

Go back to previous page.