juju: github.com/wallyworld/juju Index | Files | Directories

package juju

import "github.com/wallyworld/juju"

Package juju is devops distilled.

Project homepage: https://github.com/juju/juju

For more information please refer to the README file in this directory.

Index

Package Files

doc.go

Directories

PathSynopsis
agent
agent/agentbootstrap
agent/tools
api
api/action
api/agent
api/agenttools
api/annotations
api/applicationPackage application provides access to the application api facade.
api/applicationoffers
api/applicationscaler
api/authentication
api/backups
api/base
api/base/mocksPackage mocks is a generated GoMock package.
api/base/testing
api/block
api/bundle
api/caasagent
api/caasfirewaller
api/caasoperator
api/caasoperatorprovisioner
api/caasoperatorupgrader
api/caasunitprovisioner
api/charmrevisionupdater
api/charmscharms provides a client for accessing the charms API.
api/cleaner
api/cloud
api/common
api/common/cloudspec
api/common/stream
api/controller
api/credentialmanager
api/credentialvalidator
api/crosscontroller
api/crossmodelrelations
api/deployer
api/diskmanager
api/externalcontrollerupdater
api/fanconfigurer
api/firewaller
api/firewallrules
api/highavailability
api/hostkeyreporterPackage hostkeyreporter implements the client-side API facade used by the hostkeyreporter worker.
api/http
api/imagemanager
api/imagemetadatamanager
api/instancemutater
api/instancemutater/mocksPackage mocks is a generated GoMock package.
api/instancepoller
api/keymanager
api/keyupdater
api/leadershipPackage leadership implements the client to the analog leadership service.
api/lifeflag
api/logfwd
api/logger
api/logsenderPackage logsender implements the API for storing log messages on the API server.
api/logstream
api/machineactionsmachineactions implements the the api side of running actions on machines
api/machinemanager
api/machiner
api/machineundertaker
api/meterstatusPackage meterstatus contains an implementation of the api facade to watch the meter status of a unit for changes and return the current meter status.
api/metricsadderPackage metricsadder contains an implementation of the api facade to add metrics to the state.
api/metricsdebugThe metricsdebug package contains the implementation of a client to access metrics debug functions within state.
api/metricsmanagerThe metricsmanager package contains implementation for an api facade to access metrics functions within state
api/migrationflag
api/migrationmaster
api/migrationminion
api/migrationtargetPackage migrationtarget defines the client side API facade for use by the migration master worker when communicating with the target controller.
api/modelconfig
api/modelgeneration
api/modelmanager
api/modelupgrader
api/provisioner
api/provisioner/mocksPackage mocks is a generated GoMock package.
api/proxyupdater
api/pubsubPackage pubsub implements the API for streaming pubsub messages between api servers.
api/reboot
api/remoterelations
api/resumer
api/retrystrategy
apiserver
apiserver/apiserverhttp
apiserver/authentication
apiserver/bakeryutil
apiserver/common
apiserver/common/apihttp
apiserver/common/cloudspec
apiserver/common/credentialcommon
apiserver/common/crossmodel
apiserver/common/firewall
apiserver/common/imagecommon
apiserver/common/mocksPackage mocks is a generated GoMock package.
apiserver/common/networkingcommon
apiserver/common/storagecommonPackage storagecommon provides common storage-related services for API server facades.
apiserver/common/testing
apiserver/facade
apiserver/facade/facadetest
apiserver/facade/mocksPackage mocks is a generated GoMock package.
apiserver/httpattachmentPackage 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.
apiserver/httpcontext
apiserver/logsink
apiserver/logsink/mocksPackage mocks is a generated GoMock package.
apiserver/observer
apiserver/observer/fakeobserver
apiserver/observer/metricobserverPackage metricobserver provides an implementation of apiserver/observer.ObserverFactory that maintains Prometheus metrics.
apiserver/observer/metricobserver/mocksPackage mocks is a generated GoMock package.
apiserver/params
apiserver/stateauthenticator
apiserver/testing
apiserver/testserver
apiserver/websocket
apiserver/websocket/websockettest
api/singular
api/spaces
api/sshclient
api/statushistory
api/storage
api/storageprovisioner
api/subnets
api/testing
api/undertaker
api/unitassigner
api/uniter
api/upgrader
api/upgradeseries
api/upgradesteps
api/usermanager
api/watcher
caas
caas/specs
cert
charmstore
cloudPackage cloud provides functionality to parse information describing clouds, including regions, supported auth types etc.
cloudconfig
cloudconfig/cloudinitThe cloudinit package implements a way of creating a cloud-init configuration file.
cloudconfig/cloudinit/cloudinittest
cloudconfig/containerinit
cloudconfig/instancecfg
cloudconfig/podcfg
cloudconfig/providerinitThis package offers userdata in a gzipped format to be used by different cloud providers
cloudconfig/providerinit/renderersThe renderers package implements a way to encode the userdata depending on the OS and the provider.
cloudconfig/sshinit
cmd
cmd/cmdtest
cmd/juju
cmd/juju/action
cmd/juju/application
cmd/juju/application/mocksPackage mocks is a generated GoMock package.
cmd/juju/backups
cmd/juju/block
cmd/juju-bridge
cmd/juju/caas
cmd/juju/caas/mocksPackage mocks is a generated GoMock package.
cmd/juju/cachedimages
cmd/juju/charmcmd
cmd/juju/cloud
cmd/juju/commands
cmd/juju/common
cmd/juju/controllerThe controller package groups various commands that are based on talking directly to the controller, and not environments in the controller.
cmd/juju/crossmodel
cmd/jujud
cmd/jujud/agentagent contains jujud's machine agent.
cmd/jujud/agent/agenttest
cmd/jujud/agent/caasoperator
cmd/jujud/agent/engine
cmd/jujud/agent/engine/enginetest
cmd/jujud/agent/machine
cmd/jujud/agent/model
cmd/jujud/agent/unit
cmd/jujud/dumplogs
cmd/jujud/introspect
cmd/jujud/reboot
cmd/jujud/util
cmd/juju/firewall
cmd/juju/gui
cmd/juju/interactPackage interact provides helper methods for interacting with the CLI user at command run time.
cmd/juju/machine
cmd/juju/machine/mocksPackage mocks is a generated GoMock package.
cmd/juju/metricsdebug
cmd/juju/model
cmd/juju/model/mocksPackage mocks is a generated GoMock package.
cmd/juju/resource
cmd/juju/romulus
cmd/juju/romulus/agree
cmd/juju/romulus/budgetPackage budget defines the command used to update budgets.
cmd/juju/romulus/commandsPackage commands provides functionality for registering all the romulus commands.
cmd/juju/romulus/createwallet
cmd/juju/romulus/listagreements
cmd/juju/romulus/listplansThe listplans package contains implementation of the command that can be used to list plans that are available for a charm.
cmd/juju/romulus/listwallets
cmd/juju/romulus/setplanThe setplan package contains the implementation of the juju set-plan command.
cmd/juju/romulus/setwallet
cmd/juju/romulus/showwallet
cmd/juju/romulus/slaThe sla package contains the implementation of the juju sla command.
cmd/juju/setmeterstatus
cmd/juju/space
cmd/juju/status
cmd/juju/storageThe storage command provides a storage management interface, for manipulating and inspecting storage entities (volumes, filesystems, charm storage).
cmd/juju/subnet
cmd/juju/user
cmd/modelcmd
cmd/output
cmd/service
container
container/broker
container/broker/mocksPackage mocks is a generated GoMock package.
container/factory
container/kvmPackage kvm provides the facilities to deploy to kvm instances.
container/kvm/libvirt
container/kvm/mock
container/kvm/testing
container/lxd
container/lxd/mocksPackage mocks is a generated GoMock package.
container/lxd/testingPackage testing is a generated GoMock package.
container/testingPackage testing is a generated GoMock package.
controller
controller/authentication
controller/modelmanagerPackage modelmanager provides the business logic for model management operations in the controller.
corePackage core exists to hold concepts and pure logic pertaining to juju's domain.
core/actions
core/annotations
core/application
core/auditlog
core/cachePackage cache is responsible for keeping an in memory representation of the controller's models.
core/cache/cachetest
core/constraints
core/crossmodel
core/devices
core/globalclock
core/instance
core/leadershipPackage leadership holds code pertaining to application leadership in juju.
core/leadership/mocksPackage mocks is a generated GoMock package.
core/lease
core/life
core/lxdprofilePackage lxdprofile defines a set of functions and constants that can interact with LXD Profiles.
core/lxdprofile/mocksPackage mocks is a generated GoMock package.
core/machinelock
core/migration
core/model
core/network
core/paths
core/presenceThe presence package works on the premise that an agent it alive if it has a current connection to one of the API servers.
core/raftlease
core/relation
core/resources
core/series
core/settings
core/snap
core/status
core/watcher
core/watcher/watchertest
docker
downloader
environs
environs/bootstrap
environs/config
environs/context
environs/filestorage
environs/gui
environs/imagedownloadsPackage imagedownloads implements image-downloads metadata from simplestreams.
environs/imagemetadataThe imagemetadata package supports locating, parsing, and filtering Ubuntu image metadata in simplestreams format.
environs/imagemetadata/testing
environs/instances
environs/instances/instancetest
environs/jujutest
environs/manual
environs/manual/sshprovisioner
environs/manual/winrmprovisioner
environs/simplestreamsThe simplestreams package supports locating, parsing, and filtering metadata in simplestreams format.
environs/simplestreams/testing
environs/storage
environs/sync
environs/tags
environs/testingPackage testing is a generated GoMock package.
environs/toolsThe tools package supports locating, parsing, and filtering Ubuntu tools metadata in simplestreams format.
environs/tools/testing
environs/utils
featurePackage feature package defines the names of the current feature flags.
featuretestsThis package contains functional tests only.
generate
generate/filetoconst
generate/schemagen
generate/schemagen/genPackage gen is a generated GoMock package.
generate/winuserdata
juju
jujuclient
jujuclient/jujuclienttesting
juju/keys
juju/names
juju/osenv
juju/sockets
juju/testing
logfwdThe logfwd package contains the tools needed to do log record forwarding in juju.
logfwd/syslogThe syslog package holds the tools needed to perform log forwarding from Juju to a remote syslog (RFC 5424) host.
migration
mongo
mongo/mongometricsPackage mongometrics contains MongodB-related Prometheus metric collectors.
mongo/mongotest
mongo/utils
network
network/containerizer
network/debinterfaces
network/iptables
network/netplan
network/ssh
network/ssh/testing
packaging
packaging/dependency
payloadThe payload package (and subpackages) contain the implementation of the charm payload feature component.
payload/api
payload/api/client
payload/api/private
payload/api/private/client
payload/context
payload/status
permission
provider/all
provider/azure
provider/cloudsigma
provider/common
provider/common/mocksPackage mocks is a generated GoMock package.
provider/dummyThe dummy provider implements an environment provider for testing purposes, registered with environs under the name "dummy".
provider/ec2
provider/gce
provider/gce/google
provider/joyent
provider/lxd
provider/lxd/lxdnamesPackage lxdnames provides names for the lxd provider.
provider/maas
provider/manual
provider/oci
provider/oci/common
provider/oci/testingPackage testing is a generated GoMock package.
provider/openstack
provider/oracle
provider/oracle/common
provider/oracle/network
provider/oracle/testing
provider/rackspace
provider/vsphere
resourceThe resource package provides the functionality of the "resources" feature in Juju.
resource/api
resource/api/client
resource/api/private
resource/api/private/client
resource/charmstore
resource/context
resource/context/cmd
resource/context/internal
resource/resourceadapters
resource/resourcetestingThis package provides helpers for testing with resources.
resource/workers
rpc
rpc/jsoncodecThe jsoncodec package provides a JSON codec for the rpc package.
service
service/common
service/common/testing
service/snapPackage snap is a minimal service.Service implementation, derived from the on service/upstart package.
service/systemd
service/systemd/testing
service/upstart
service/windows
statePackage state enables reading, observing, and changing the state stored in MongoDB of a whole model managed by juju.
state/backupsPackage backups contains all the stand-alone backup-related functionality for juju state.
state/backups/testing
state/bakerystoragePackage bakerystorage provides an implementation of the bakery Storage interface that uses MongoDB to store items.
state/binarystorage
state/cloudimagemetadata
state/globalclockPackage globalclock provides clients for updating and reading the global virtual time, stored in the MongoDB database.
state/imagestorage
state/leaseThe lease package exists to implement distributed lease management on top of mgo/txn, and to expose assert operations that allow us to gate other mgo/txn transactions on lease state.
state/logdb
state/migrations
state/mocksPackage mocks is a generated GoMock package.
state/presence
state/raftlease
state/stateenvironsPackage stateenvirons provides types and functions that interface the state and environs packages.
state/statetest
state/storage
state/testing
state/watcherThe watcher package provides an interface for observing changes to arbitrary MongoDB documents that are maintained via the mgo/txn transaction package.
state/watcher/watchertest
storagePackage storage defines structures and functions relating to charm storage.
storage/looputil
storage/plans
storage/plans/common
storage/plans/iscsi
storage/plans/local
storage/poolmanager
storage/provider
storage/provider/dummy
testcharmsPackage testcharms holds a corpus of charms for testing.
testing
testing/factory
tools
upgradesThe upgrades package provides infrastructure to upgrade previous Juju deployments to the current Juju version.
versionPackage version contains versioning information for juju.
watcher/legacyPackage legacy contains state-watcher-tuned worker harnesses; the canonical implementations are in the watcher package, but aren't type-compatible with original-style watchers -- such as those returned from state methods -- which we still have a couple of uses for (and the certupdater use might even be legitimate).
worker
worker/actionpruner
worker/agent
worker/agentconfigupdater
worker/apiaddressupdater
worker/apicaller
worker/apiconfigwatcher
worker/apiserver
worker/apiservercertwatcher
worker/applicationscaler
worker/auditconfigupdater
worker/authenticationworker
worker/caasbroker
worker/caasenvironupgrader
worker/caasfirewaller
worker/caasoperator
worker/caasoperator/mocksPackage mocks is a generated GoMock package.
worker/caasoperatorprovisioner
worker/caasoperator/remotestate
worker/caasunitinit
worker/caasunitprovisioner
worker/caasupgrader
worker/centralhub
worker/certupdater
worker/charmrevision
worker/charmrevision/charmrevisionmanifold
worker/cleaner
worker/common
worker/common/charmrunner
worker/containerbroker
worker/containerbroker/mocksPackage mocks is a generated GoMock package.
worker/controller
worker/controllerport
worker/conv2state
worker/credentialvalidator
worker/deployer
worker/diskmanagerPackage diskmanager defines a worker that periodically lists block devices on the machine it runs on.
worker/environ
worker/externalcontrollerupdater
worker/fanconfigurer
worker/featureflag
worker/firewaller
worker/fortressPackage fortress implements a convenient metaphor for an RWLock.
worker/gatepackage gate provides a mechanism by which independent workers can wait for one another to finish a task, without introducing explicit dependencies between those workers.
worker/globalclockupdater
worker/hostkeyreporter
worker/httpserver
worker/httpserverargs
worker/identityfilewriter
worker/instancemutater
worker/instancemutater/mocksPackage mocks is a generated GoMock package.
worker/instancepoller
worker/instancepoller/mocksPackage mocks is a generated GoMock package.
worker/introspectionPackage introspection defines the worker that can report internal agent state through the use of a machine local socket.
worker/introspection/pprofPackage pprof is a fork of net/http/pprof modified to communicate over a unix socket.
worker/leadership
worker/lease
worker/lease/manifold
worker/lifeflag
worker/logforwarder
worker/logforwarder/sinks
worker/logger
worker/logsender
worker/logsender/logsendermetrics
worker/logsender/logsendertestPackage logsendertest provides testing utilities related to the logsender package.
worker/machineactions
worker/machiner
worker/machineundertaker
worker/meterstatusPackage meterstatus provides a worker that executes the meter-status-changed hook periodically.
worker/metricworker
worker/migrationflag
worker/migrationmaster
worker/migrationminion
worker/minunitsworker
worker/mocksPackage mocks is a generated GoMock package.
worker/modelcache
worker/modelupgrader
worker/modelworkermanager
worker/peergrouper
worker/presence
worker/provisioner
worker/provisioner/mocksPackage mocks is a generated GoMock package.
worker/proxyupdater
worker/pruner
worker/pubsub
worker/raft
worker/raft/raftbackstop
worker/raft/raftclusterer
worker/raft/raftflag
worker/raft/raftforwarder
worker/raft/rafttest
worker/raft/rafttransport
worker/raft/raftutil
worker/reboot
worker/remoterelations
worker/restorewatcher
worker/resumer
worker/retrystrategy
worker/singular
worker/state
worker/stateconfigwatcher
worker/statushistorypruner
worker/storageprovisionerPackage storageprovisioner provides a worker that manages the provisioning and deprovisioning of storage volumes and filesystems, and attaching them to and detaching them from machines.
worker/terminationworker
worker/toolsversionchecker
worker/txnpruner
worker/undertaker
worker/unitassigner
worker/uniter
worker/uniter/actions
worker/uniter/charm
worker/uniter/hookPackage hook provides types that define the hooks known to the Uniter
worker/uniter/leadership
worker/uniter/operation
worker/uniter/operation/mocksPackage mocks is a generated GoMock package.
worker/uniter/relationrelation implements persistent local storage of a unit's relation state, and translation of relation changes into hooks that need to be run.
worker/uniter/remotestate
worker/uniter/resolver
worker/uniter/runcommands
worker/uniter/runner
worker/uniter/runner/contextPackage context contains the ContextFactory and Context definitions.
worker/uniter/runner/debug
worker/uniter/runner/jujucThe worker/uniter/runner/jujuc package implements the server side of the jujuc proxy tool, which forwards command invocations to the unit agent process so that they can be executed against specific state.
worker/uniter/runner/jujuc/jujuctesting
worker/uniter/runner/testing
worker/uniter/storagePackage storage contains the storage subsystem for the uniter, responding to changes in storage attachments (lifecycle, volume/filesystem details) by queuing hooks and managing the storage attachments' lifecycle.
worker/uniter/upgradeseries
worker/upgradedatabase
worker/upgradedatabase/mocksPackage mocks is a generated GoMock package.
worker/upgrader
worker/upgradeseries
worker/upgradeseries/mocksPackage mocks is a generated GoMock package.
worker/upgradesteps
wrench

Updated 2019-11-22. Refresh now. Tools for package owners.